/* Shared structural styles used by avora.html and crazyheads.html */
/* Colors are controlled via --accent-main set in each page's stylesheet */

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

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--accent-main, #d4af37);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: #f5d78d; }

/* Firefox */
* { scrollbar-width: thin; scrollbar-color: var(--accent-main, #d4af37) transparent; }

html { scroll-behavior: smooth; }

section { scroll-margin-top: 100px; }

body, html {
    width: 100%;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    overflow-x: hidden;
}

/* Hero Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 50;
    max-height: 90px;
    transition: background 0.4s ease, padding 0.4s ease, border-bottom 0.4s ease;
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    padding: 1.2rem 5%;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: none;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    font-family: 'Great Vibes', cursive;
    text-transform: none;
    line-height: 1;
    color: #d4af37;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #d4af37;
    opacity: 0.9;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #b0b0b0;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.nav-links a:hover {
    color: var(--accent-main);
}

/* Navbar CTA buttons */
.nav-cta-gold {
    background: #d4af37 !important;
    color: #0c0800 !important;
    padding: 0.42rem 1.15rem !important;
    border-radius: 50px;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    font-size: 0.7rem !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease !important;
}
.nav-cta-gold:hover {
    background: #f0cc55 !important;
    color: #0c0800 !important;
    box-shadow: 0 4px 20px rgba(212,175,55,0.45);
    transform: translateY(-1px);
}

.nav-cta-purple {
    background: #a855f7 !important;
    color: #fff !important;
    padding: 0.42rem 1.15rem !important;
    border-radius: 50px;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    font-size: 0.7rem !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease !important;
}
.nav-cta-purple:hover {
    background: #c084fc !important;
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(168,85,247,0.45);
    transform: translateY(-1px);
}

/* Hero Content */
.hero-content {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    z-index: 5;
}

.sub-1 {
    font-family: 'Cinzel', serif;
    color: var(--accent-main);
    letter-spacing: 0.4em;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(4rem, 8vw, 8rem);
    line-height: 1;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.sub-2 {
    font-family: 'Cinzel', serif;
    color: #ffffff;
    letter-spacing: 0.5em;
    font-size: clamp(1.5rem, 3.5vw, 3rem);
    font-weight: 400;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.desc {
    color: #ffdd00;
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3.5rem;
    font-weight: 400;
}

.cta-btn {
    border: 2px solid var(--accent-main);
    color: var(--accent-main);
    padding: 1.35rem 4rem;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.28em;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.4s ease;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(4px);
}

.bottom-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    z-index: 5;
}

/* Section shared styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-family: 'Cinzel', serif;
    color: var(--accent-main);
    letter-spacing: 0.3em;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.section-desc {
    color: #a0a0a0;
    font-size: 1rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.section-line {
    width: 60px;
    height: 1px;
    margin: 0 auto;
}

/* Brand Switcher Dock — Glassmorphic */
.brand-dock {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset 0 -1px 0 rgba(0,0,0,0.15),
        0 12px 40px rgba(0,0,0,0.45),
        0 2px 8px rgba(0,0,0,0.3);
    border-radius: 50px;
    padding: 0.55rem 0.45rem;
    z-index: 200;
    gap: 0.1rem;
}

.dock-item {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.dock-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: color 0.3s ease, filter 0.3s ease;
}

.avora-dock .dock-icon { color: rgba(212,175,55,0.3); }
.avora-dock:hover .dock-icon,
.avora-dock.active .dock-icon {
    color: #d4af37;
    filter: drop-shadow(0 0 7px rgba(212,175,55,0.65));
}
.avora-dock.active {
    background: rgba(212,175,55,0.16);
    box-shadow: 0 0 0 1px rgba(212,175,55,0.28), inset 0 1px 0 rgba(212,175,55,0.12);
}
.avora-dock:hover:not(.active) { background: rgba(212,175,55,0.08); }

.ch-dock .dock-icon { color: rgba(168,85,247,0.3); }
.ch-dock:hover .dock-icon,
.ch-dock.active .dock-icon {
    color: #c084fc;
    filter: drop-shadow(0 0 7px rgba(168,85,247,0.65));
}
.ch-dock.active {
    background: rgba(168,85,247,0.16);
    box-shadow: 0 0 0 1px rgba(168,85,247,0.28), inset 0 1px 0 rgba(168,85,247,0.12);
}
.ch-dock:hover:not(.active) { background: rgba(168,85,247,0.08); }

.dock-divider {
    width: 20px;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0.2rem 0;
}

.dock-tooltip {
    position: absolute;
    left: calc(100% + 14px);
    background: rgba(6,4,10,0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 0.32rem 0.78rem;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #888;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    font-family: 'Montserrat', sans-serif;
}
.dock-item:hover .dock-tooltip { opacity: 1; }

/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    z-index: 100;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* ── Hamburger Nav Toggle ────────────────────────────────────── */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 4px;
    z-index: 60;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #b0b0b0;
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease, background 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--accent-main); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--accent-main); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
    .nav-toggle { display: flex; }

    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0;
        padding: 1rem 5%;
    }
    nav.scrolled { padding: 1rem 5%; }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(300px, 82vw);
        height: 100vh;
        background: rgba(6,4,12,0.96);
        backdrop-filter: blur(28px) saturate(180%);
        -webkit-backdrop-filter: blur(28px) saturate(180%);
        border-left: 1px solid rgba(255,255,255,0.07);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
        padding: 5rem 2.2rem 2.5rem;
        transform: translateX(100%);
        transition: transform 0.42s cubic-bezier(0.16,1,0.3,1);
        z-index: 55;
        overflow-y: auto;
    }
    .nav-links.open { transform: translateX(0); }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .nav-links li:first-child { border-top: 1px solid rgba(255,255,255,0.04); }
    .nav-links a {
        display: block;
        padding: 1.1rem 0;
        font-size: 0.85rem;
        letter-spacing: 0.2em;
        color: #888;
    }
    .nav-links a:hover { color: var(--accent-main); padding-left: 6px; }

    section { scroll-margin-top: 72px; }
}

@media (max-width: 600px) {
    .brand-dock { right: 0.75rem; }
    .dock-item { width: 38px; height: 38px; }
    .dock-icon { width: 15px; height: 15px; }
    .dock-tooltip { display: none; }

    .hero-content { padding: 0 1.2rem; }
    .sub-1 { font-size: 0.72rem; letter-spacing: 0.28em; margin-bottom: 1rem; }
    .sub-2 { letter-spacing: 0.3em; margin-bottom: 1.5rem; }
    .desc { font-size: 0.88rem; margin-bottom: 2.5rem; }
    .cta-btn { padding: 1rem 2.5rem; font-size: 0.72rem; }

    .section-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }
    .section-header { margin-bottom: 2.5rem; }

    .whatsapp-btn { width: 48px; height: 48px; bottom: 1.5rem; right: 1.2rem; }
    .whatsapp-btn svg { width: 22px; height: 22px; }
}

@media (max-width: 380px) {
    .brand-dock { display: none; }
}
