/* --- PHANTOM AUDIO WAVE GLOBAL STYLES --- */

:root {
    --bg-color: #0c1112;
    --teal: #41A9AD;
    --purple: #8A2BE2;
    --text-main: #ffffff;
    --text-muted: #cccccc;
    --card-bg: rgba(65, 169, 173, 0.05);
    --card-hover: rgba(138, 43, 226, 0.05);
    --gradient-brand: linear-gradient(135deg, #41A9AD, #8A2BE2);
}

/* --- ACCESSIBILITY --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--teal);
    color: #000;
    padding: 10px 20px;
    font-weight: bold;
    z-index: 9999;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

*:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --- BASE RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Arial', sans-serif;
    background: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 74px; /* Room for fixed header */
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; transition: 0.3s; color: inherit; }

.background-shade {
    background: rgba(138, 43, 226, 0.1);
}

/* --- HEADER & NAVIGATION --- */
header {
    background: rgba(12, 17, 18, 0.95);
    backdrop-filter: blur(10px);
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000; padding: 1rem 0;
    border-bottom: 2px solid var(--teal);
}

nav { display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center; gap: 15px; }
.ghost-icon { width: 40px; height: 40px; fill: var(--teal); }

.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }

/* --- BUTTONS --- */
.cta-btn, .btn, .submit-btn {
    display: inline-block;
    background: var(--gradient-brand);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.cta-btn:hover, .btn:hover, .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

/* --- COMMON CARD STYLES --- */
/* (Used for Features, Shop, Portfolio, and Services) */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(65, 169, 173, 0.2);
    text-align: center;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--purple);
    background: var(--card-hover);
}

.card i { font-size: 3rem; color: var(--teal); margin-bottom: 20px; }
.card h2, .card h3 { color: var(--teal); margin-bottom: 15px; }

/* --- SECTION HEADERS --- */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

/* --- REFINED HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Darker background with a more pronounced teal radial glow */
    background: radial-gradient(circle at 20% 80%, #41A9AD22 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, #8A2BE244 0%, transparent 50%);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #41A9AD, #8A2BE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7);
}

/* --- NEW CONTACT PAGE LAYOUT --- */
.contact-flex-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap; /* Stacks on mobile */
}

.form-column {
    flex: 1;
    max-width: 500px;
    min-width: 320px;
}

.social-column {
    flex: 1;
    max-width: 450px;
    min-width: 320px;
    text-align: left;
}

.social-title {
    color: var(--purple);
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: bold;
}

/* Styled social buttons */
.social-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 18px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    color: var(--text-muted);
    transition: 0.3s ease;
}

.social-link-item i {
    font-size: 1.4rem;
    color: var(--teal);
}

.social-link-item:hover {
    background: rgba(65, 169, 173, 0.08);
    transform: translateX(10px);
    color: var(--text-main);
    border-color: var(--teal);
}

/* Ensures labels match the screenshot teal */
.form-group label {
    color: var(--teal);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* --- FIXING THE BLEED --- */

.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(65, 169, 173, 0.3);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    transition: 0.3s;
    /* This is the key fix: prevent horizontal stretching */
    resize: none;
}

.contact-flex-container {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Keeps columns at the top */
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap; 
}

.form-column, .social-column {
    flex: 1 1 400px; /* Allow growth, but set a base width for wrapping */
    max-width: 550px; /* Limits how far they can stretch apart */
    min-width: 320px; /* Keeps it mobile friendly */
}

/* Ensure the form container doesn't overflow */
.form-container {
    overflow: hidden; 
}

/* --- ENHANCED FORM STYLING --- */

.form-container {
    background: rgba(65, 169, 173, 0.03); /* Very subtle teal tint */
    border: 1px solid rgba(65, 169, 173, 0.15); /* Match the sidebar border style */
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--teal);
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: bold;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2); /* Darker input for contrast */
    border: 1px solid rgba(65, 169, 173, 0.3);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
    background: rgba(138, 43, 226, 0.05);
}

/* Make the Submit Button fill the width like in the screenshot */
.submit-btn {
    width: 100%;
    padding: 18px;
    margin-top: 10px;
}

/* --- PORTFOLIO SPECIFIC STYLES --- */

.portfolio-header {
    text-align: center; 
    margin-bottom: 50px; 
}
.portfolio-header h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, #41A9AD, #8A2BE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-title {
    color: var(--teal);
    border-left: 4px solid var(--purple);
    padding-left: 15px;
    margin: 40px 0 20px;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Audio Card overrides for Portfolio */
.audio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.audio-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(65, 169, 173, 0.2);
    transition: 0.3s;
}

.audio-card:hover {
    border-color: var(--purple);
    background: var(--card-hover);
    transform: translateY(-5px);
}

.audio-info {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Tag Styling */
.tag {
    display: inline-block;
    background: rgba(138, 43, 226, 0.15);
    color: #d1a3ff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-right: 8px;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Audio Player Container */
.player-container {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}

/* The actual player color fix */
audio {
    width: 100%;
    height: 35px;
    filter: invert(100%) hue-rotate(180deg) brightness(1.5);
}

/* --- AUDIO PLAYER (Portfolio) --- */
.audio-player {
    width: 100%;
    filter: invert(100%) hue-rotate(180deg) brightness(1.5);
    margin-top: 15px;
}

/* --- ABOUT PAGE LAYOUT --- */
.about-flex-container {
    display: flex;
    gap: 60px;
    align-items: start;
    margin: 60px 0;
    flex-wrap: wrap;
}

.about-visual {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-bio {
    flex: 2;
    min-width: 320px;
}

.about-bio h2 {
    color: var(--purple);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* --- HIGHLIGHTS BAR --- */
.highlights-bar {
    display: flex;
    justify-content: space-around;
    background: rgba(138, 43, 226, 0.08);
    padding: 50px 20px;
    border-radius: 20px;
    margin: 60px 0;
    text-align: center;
    border: 1px solid rgba(138, 43, 226, 0.2);
    flex-wrap: wrap;
    gap: 30px;
}

.highlight-item i {
    font-size: 2.5rem;
    color: var(--teal);
    margin-bottom: 15px;
}

.highlight-item span {
    display: block;
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

/* --- SHOP PAGE --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(65, 169, 173, 0.2);
    text-align: center;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple);
    background: var(--card-hover);
}

.product-img-placeholder {
    background: rgba(255, 255, 255, 0.05);
    height: 250px;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price { color: var(--teal); font-size: 1.5rem; font-weight: bold; margin: 15px 0; }

/* --- COOKIE BANNER --- */
#cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(12, 17, 18, 0.97);
    border-top: 2px solid var(--teal);
    padding: 16px 24px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 2000;
    flex-wrap: wrap;
}

#cookie-banner p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
#cookie-banner a { color: var(--teal); }

#cookie-accept {
    background: var(--gradient-brand);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: 0.3s;
}

#cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.4);
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--teal);
    margin-top: 80px;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .nav-links { gap: 15px; font-size: 0.9rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
}

/* --- RESPONSIVE HAMBURGER MENU --- */

/* The Menu Icon (Hidden on Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--teal);
    border-radius: 5px;
    transition: 0.3s;
}

/* Mobile View Logic (Screens under 768px) */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Show the hamburger */
    }

    .nav-links {
        position: fixed;
        right: -100%; /* Hide off-screen to the right */
        top: 80px;
        flex-direction: column;
        background: rgba(12, 17, 18, 0.98);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.5s;
        padding-top: 50px;
        gap: 40px;
        border-top: 1px solid var(--teal);
    }

    /* When the menu is "active", slide it in */
    .nav-links.active {
        right: 0;
    }

    /* Hero text scaling for mobile */
    .hero h1 {
        font-size: 2.5rem !important;
        letter-spacing: 4px !important;
    }
}