/* Compa Drinks Co — shared styles for sub-pages.
   Mirrors the design language of index.html (Anton display, Inter body,
   Manrope small caps, glass surfaces, flavor-tinted radial backgrounds). */

:root {
    --bg-color: #0a0a0a;
    --text-color: #fff9ec;
    --accent-color: #f2d500;
    --accent-text: #2a0808;
    --muted-color: rgba(255, 249, 236, 0.72);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.12);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Anton', sans-serif;

    /* Default tint — overridden per page on <body> */
    --bg-inner: #b5484f;
    --bg-mid: #5f2129;
    --bg-outer: #150507;
}

body.page-story {
    --bg-inner: #b5484f;
    --bg-mid: #5f2129;
    --bg-outer: #150507;
}

body.page-tequila {
    --bg-inner: #6f9d23;
    --bg-mid: #3a5510;
    --bg-outer: #0d1402;
}

body.page-stockists {
    --bg-inner: #3e8fc4;
    --bg-mid: #1d4a68;
    --bg-outer: #051019;
}

body.page-contact {
    --bg-inner: #a5326e;
    --bg-mid: #571738;
    --bg-outer: #140409;
}

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

body {
    background: radial-gradient(circle at 50% 20%, var(--bg-inner) 0%, var(--bg-mid) 45%, var(--bg-outer) 100%) fixed;
    color: var(--text-color);
    font-family: var(--font-main);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============ Bubbles ============ */
#bubbles-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bubble-img {
    position: absolute;
    pointer-events: none;
}

@keyframes floatUpImg {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.4;
    }

    90% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-110vh) translateX(30px) rotate(360deg);
        opacity: 0;
    }
}

/* ============ Floating citrus decor ============ */
.floaters {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.floaters img {
    position: absolute;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    animation: floatDrift 9s ease-in-out infinite;
}

.floaters img:nth-child(2n) {
    animation-duration: 12s;
    animation-delay: -3s;
}

.floaters img:nth-child(3n) {
    animation-duration: 7s;
    animation-delay: -5s;
}

@keyframes floatDrift {

    0%,
    100% {
        transform: translateY(0) rotate(-4deg);
    }

    50% {
        transform: translateY(-22px) rotate(6deg);
    }
}

/* ============ Header (same as home) ============ */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 200;
}

.logo img {
    height: 38px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 0.5rem;
    background: var(--glass-bg);
    padding: 0.4rem;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
}

.nav.glass {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-item {
    font-family: 'Manrope', sans-serif;
    color: var(--muted-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-item:hover,
.nav-item.active {
    background: var(--accent-color);
    color: var(--accent-text);
}

.contact-btn {
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-color);
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.contact-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-2px);
}

.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
    align-items: center;
    flex-shrink: 0;
}

.menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--text-color);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(21, 5, 7, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    text-transform: uppercase;
    color: var(--text-color);
    text-decoration: none;
    line-height: 1;
    transition: color 0.2s ease;
}

.mobile-menu a.active,
.mobile-menu a:hover {
    color: var(--accent-color);
}

.menu-close {
    position: absolute;
    top: 1.4rem;
    right: 5%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
}

.menu-logo {
    width: 140px;
    margin-top: 1.5rem;
    opacity: 0.7;
}

/* ============ Age gate ============ */
.age-gate {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: radial-gradient(circle at center, #b5484f 0%, #5f2129 55%, #150507 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
    padding: 0 1.5rem;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.age-gate.hidden {
    opacity: 0;
    visibility: hidden;
}

.age-gate img {
    width: 180px;
}

.age-gate .gate-greeting {
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    color: var(--muted-color);
    text-transform: uppercase;
}

.age-gate h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    text-transform: uppercase;
    line-height: 1;
}

.gate-buttons {
    display: flex;
    gap: 1rem;
}

.gate-buttons button,
.gate-buttons a {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 1rem 2.2rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.gate-yes {
    background: var(--accent-color);
    color: var(--accent-text);
}

.gate-no {
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-color);
    border: 1px solid var(--glass-border) !important;
}

.gate-buttons button:hover,
.gate-buttons a:hover {
    transform: translateY(-2px);
}

/* ============ Page scaffolding ============ */
.page {
    position: relative;
    z-index: 2;
    max-width: 1160px;
    margin: 0 auto;
    padding: 10rem 4% 6rem;
}

.kicker {
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.35em;
    padding-left: 0.35em;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--accent-color);
    display: block;
    margin-bottom: 1.2rem;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8.5vw, 7.5rem);
    line-height: 0.92;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-bottom: 2rem;
}

.page-title .outline {
    color: var(--accent-color);
}

.lede {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--muted-color);
    max-width: 560px;
}

.section-head {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1.6rem;
}

.section-head .outline {
    color: var(--accent-color);
}

.prose p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--muted-color);
    margin-bottom: 1.2rem;
    max-width: 62ch;
}

.prose strong {
    color: var(--text-color);
    font-weight: 600;
}

/* Glass card */
.card-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Grid helpers */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.2rem;
}

/* Numbered step cards */
.step-num {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.8rem;
}

.card-glass h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 400;
    margin-bottom: 0.6rem;
}

.card-glass p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--muted-color);
}

/* Stat row */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.2rem;
    margin: 3rem 0;
}

.stat {
    text-align: center;
    padding: 1.6rem 1rem;
}

.stat .value {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: var(--accent-color);
    line-height: 1;
}

.stat .label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted-color);
    margin-top: 0.7rem;
}

/* Pull quote */
.pull-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    text-transform: uppercase;
    line-height: 1.15;
    text-align: center;
    max-width: 820px;
    margin: 5rem auto;
}

.pull-quote em {
    font-style: normal;
    color: var(--accent-color);
}

/* Primary button (matches home Shop Now) */
.primary-btn {
    background: #000;
    color: var(--text-color);
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 1rem 1.6rem;
    border: none;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
}

.primary-btn .plus-icon {
    background: var(--accent-color);
    color: var(--accent-text);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Sections spacing */
.section {
    margin-top: 5rem;
}

/* Entry reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: revealUp 0.9s ease forwards;
}

.reveal.d1 { animation-delay: 0.12s; }
.reveal.d2 { animation-delay: 0.24s; }
.reveal.d3 { animation-delay: 0.36s; }

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer note */
.drinkwise {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
    .nav {
        display: none;
    }

    .contact-btn {
        display: none;
    }

    .menu-btn {
        display: flex;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .page {
        padding-top: 8rem;
    }

    .floaters {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .reveal,
    .floaters img {
        animation: none !important;
        opacity: 1;
        transform: none;
    }

    .bubble-img {
        display: none;
    }
}
