/* ============================================
   Tacos and Beer Paola — Custom Styles
   Premium Dark Luxury Theme
   Colors: Midnight Blue (#060d1f) + Mint (#7dd3c0)
============================================ */

/* ---------- Base ---------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #060d1f;
    color: #ffffff;
    overflow-x: hidden;
}

.font-['Playfair_Display'] {
    font-family: 'Playfair Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

::selection {
    background-color: rgba(125, 211, 192, 0.3);
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #060d1f;
}

::-webkit-scrollbar-thumb {
    background: rgba(125, 211, 192, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(125, 211, 192, 0.5);
}

/* ---------- Navbar ---------- */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(6, 13, 31, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(125, 211, 192, 0.1);
}

#navbar.scrolled .faux-gold {
    color: #c9a84c;
}

/* ---------- Hero Animations ---------- */
.hero-subtitle {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-title-line {
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
}

.hero-title-line:nth-child(1) { animation-delay: 0.4s; }
.hero-title-line:nth-child(2) { animation-delay: 0.55s; }
.hero-title-line:nth-child(3) { animation-delay: 0.7s; }
.hero-title-line:nth-child(4) { animation-delay: 0.85s; }

.hero-desc {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

.hero-cta {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 1.15s;
    opacity: 0;
}

.hero-image {
    animation: fadeIn 1.2s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ---------- Scroll Indicator ---------- */
@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(200%);
        opacity: 0;
    }
}

.animate-scroll-down {
    animation: scrollDown 1.5s ease infinite;
}

/* ---------- Marquee ---------- */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    animation: marquee 25s linear infinite;
}

/* ---------- Reveal on Scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ---------- Mobile Menu ---------- */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* ---------- Hamburger ---------- */
#bar1 {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#bar2 {
    transition: opacity 0.3s ease;
}

#bar3 {
    transition: transform 0.3s ease, width 0.3s ease;
}

#menu-toggle.active #bar1 {
    transform: translateY(4px) rotate(45deg);
}

#menu-toggle.active #bar2 {
    opacity: 0;
}

#menu-toggle.active #bar3 {
    transform: translateY(-4px) rotate(-45deg);
    width: 1.5rem;
}

/* ---------- Gold accent utilities ---------- */
.gold-text {
    color: #c9a84c;
}

.gold-border {
    border-color: rgba(201, 168, 76, 0.3);
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .hero-title-line {
        font-size: 3.5rem !important;
    }

    .hero-title-line:nth-child(2),
    .hero-title-line:nth-child(4) {
        font-size: 3.5rem !important;
    }

    #hero {
        padding-top: 80px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-title-line {
        font-size: 5rem !important;
    }
}

/* ---------- Print ---------- */
@media print {
    body {
        background: white;
        color: black;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
