/* ═══════════════════════════════════════════
   VJVSound – stylesheet
   Design: dark background, orange accents, white text
   Faithfully based on print flyer
   ═══════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400;1,600;1,700&display=swap');

/* ── Variables ── */
:root {
    --orange: #e65100;
    --orange-hover: #ff6d00;
    --black: #0d0d0d;
    --dark: #131313;
    --dark-warm: #161210;
    --white: #f2f2f2;
    --gray: #aaa;

    --font-heading: 'Bebas Neue', 'Arial Narrow', sans-serif;
    --font-body: 'Montserrat', 'Segoe UI', sans-serif;
    --font-accent: 'Montserrat', 'Segoe UI', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}


/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    height: 64px;
    border-bottom: 1px solid rgba(230, 81, 0, 0.15);
    transition: background 0.3s;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
}

.logo span {
    color: var(--orange);
}

.nav-links {
    display: flex;
    gap: 2.2rem;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray);
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 0;
    background: var(--orange);
    transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: 0.3s;
}


/* ── Background – mixer, parallax layer ── */
.bg-mixer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60vh;
    background: url('../img/mixer.jpg') center bottom / cover no-repeat;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ═══════════════════════════════════════════
   HERO  (Image 1 – front of flyer)
   ═══════════════════════════════════════════ */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5rem 2rem 4rem;
    background: transparent;
}

/* Dark gradient overlay – fade from top into the image */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(13,13,13,0.95) 0%,
        rgba(13,13,13,0.5) 60%,
        transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
}

/* Main heading */
.hero-heading {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(3.5rem, 10vw, 6.5rem);
    line-height: 1.0;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

.hero-heading .orange {
    color: var(--orange);
}

/* Subtle flicker – each line has its own rhythm */
.flicker {
    display: inline-block;
}

.flicker-1 {
    animation: flicker1 4s ease-in-out infinite;
}

.flicker-2 {
    animation: flicker2 5s ease-in-out 0.6s infinite;
}

.flicker-3 {
    animation: flicker3 6s ease-in-out 1.2s infinite;
}

@keyframes flicker1 {
    0%, 100% { opacity: 1; }
    47%      { opacity: 1; }
    50%      { opacity: 0.7; }
    53%      { opacity: 1; }
    78%      { opacity: 1; }
    80%      { opacity: 0.75; }
    82%      { opacity: 1; }
}

@keyframes flicker2 {
    0%, 100% { opacity: 1; }
    30%      { opacity: 1; }
    33%      { opacity: 0.65; }
    35%      { opacity: 1; }
    36%      { opacity: 0.8; }
    38%      { opacity: 1; }
    70%      { opacity: 1; }
    72%      { opacity: 0.7; }
    74%      { opacity: 1; }
}

@keyframes flicker3 {
    0%, 100% { opacity: 1; }
    55%      { opacity: 1; }
    57%      { opacity: 0.6; }
    59%      { opacity: 1; }
    60%      { opacity: 0.75; }
    62%      { opacity: 1; }
    88%      { opacity: 1; }
    90%      { opacity: 0.8; }
    92%      { opacity: 1; }
}

/* Subtitle paragraph */
.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.8rem;
    color: #ddd;
}

.hero-subtitle .bold-orange {
    color: var(--orange);
    font-weight: 700;
    font-style: normal;
}

.hero-subtitle .bold-italic {
    font-weight: 700;
    color: var(--orange);
}

/* Tagline */
.hero-tagline {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: #ccc;
    margin-bottom: 2.8rem;
    line-height: 1.6;
}

/* CTA button */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 1rem 2.8rem;
    border: 2px solid var(--orange);
    background: var(--orange);
    color: #fff;
    border-radius: 3px;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 81, 0, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--orange);
}

.btn-outline:hover {
    background: var(--orange);
    color: #fff;
}


/* ═══════════════════════════════════════════
   ABOUT  (Top of Image 2)
   ═══════════════════════════════════════════ */
.about {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
    background: rgba(22, 18, 16, 0.72);
}


.about-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-quote {
    font-family: var(--font-accent);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-style: italic;
    line-height: 1.6;
    color: var(--white);
}


/* ═══════════════════════════════════════════
   SERVICES  (Interactive cards)
   ═══════════════════════════════════════════ */
.services {
    position: relative;
    z-index: 1;
    padding: 5rem 2rem 6rem;
    background: rgba(13, 13, 13, 0.72);
}

.section-heading {
    font-family: var(--font-accent);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--orange);
    text-align: center;
    letter-spacing: 6px;
    margin-bottom: 3rem;
}

/* Cards grid */
.cards-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Single card */
.card {
    position: relative;
    border-radius: 12px;
    background: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: default;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(230, 81, 0, 0.4);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(230, 81, 0, 0.08),
        inset 0 1px 0 rgba(230, 81, 0, 0.1);
}

/* Flashlight glow layer – positioned by JS */
.card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
    border-radius: 12px;
}

.card:hover .card-glow {
    opacity: 1;
}

/* Neon border glow on hover */
.card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 13px;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        rgba(230, 81, 0, 0.3) 25%,
        transparent 50%,
        rgba(230, 81, 0, 0.3) 75%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.card:hover::before {
    opacity: 1;
    animation: neon-rotate 4s linear infinite;
}

@keyframes neon-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Card inner content */
.card-content {
    position: relative;
    z-index: 1;
    padding: 2rem 1.5rem;
    background: #1e1e1e;
    border-radius: 11px;
    height: 100%;
}

/* Icon */
.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.2rem;
    color: var(--gray);
    transition: color 0.4s ease, filter 0.4s ease;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card:hover .card-icon {
    color: var(--orange);
    filter: drop-shadow(0 0 8px rgba(230, 81, 0, 0.5));
}

/* Title */
.card-title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.6rem;
    transition: color 0.3s;
}

.card:hover .card-title {
    color: var(--orange);
}

/* Text */
.card-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray);
}


/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact {
    position: relative;
    z-index: 1;
    padding: 5rem 2rem;
    background: rgba(22, 18, 16, 0.72);
    text-align: center;
    border-top: 1px solid rgba(230, 81, 0, 0.1);
}

.contact-heading {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2.5rem;
    color: var(--white);
}

.contact-heading .orange {
    color: var(--orange);
}

.contact-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
}

.contact-value {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 1px;
}

.contact-value a {
    color: var(--orange);
    transition: color 0.3s;
}

.contact-value a:hover {
    color: var(--orange-hover);
}

.contact-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.12);
}


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
    position: relative;
    z-index: 1;
    padding: 2rem;
    background: rgba(13, 13, 13, 0.75);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .logo {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.footer p {
    font-size: 0.78rem;
    color: #555;
    letter-spacing: 0.5px;
}


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .navbar {
        padding: 0 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(13, 13, 13, 0.97);
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(230, 81, 0, 0.15);
    }

    .nav-links.open {
        display: flex;
    }

    .bg-mixer {
        height: 35vh;
        opacity: 0.5;
    }

    .hero {
        padding: 5rem 1.5rem 3rem;
        background: transparent;
    }

    .hero::after {
        background: linear-gradient(to bottom,
            rgba(13,13,13,0.95) 0%,
            rgba(13,13,13,0.5) 60%,
            transparent 100%);
    }

    .about {
        padding: 4rem 1.5rem;
        background: rgba(22, 18, 16, 0.75);
    }

    .services {
        padding: 4rem 1.5rem;
        background: rgba(13, 13, 13, 0.75);
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .contact {
        padding: 3.5rem 1.5rem;
        background: rgba(22, 18, 16, 0.75);
    }

    .contact-divider {
        display: none;
    }

    .contact-row {
        flex-direction: column;
        gap: 2rem;
    }

    .footer {
        background: rgba(13, 13, 13, 0.78);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-heading {
        font-size: 3rem;
    }

    .section-heading {
        letter-spacing: 4px;
    }
}
