/* ========================================
   ISLAND BUBBLE DRINKS — Custom Styles
   Premium Dark Luxury: Emerald + Cream + Gold
======================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #fefdf8;
}

/* ---------- Animated Hero Gradient ---------- */
.hero-gradient {
    background: linear-gradient(
        135deg,
        #011a14 0%,
        #022c22 20%,
        #044630 35%,
        #065f46 50%,
        #047857 65%,
        #022c22 80%,
        #011a14 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

/* ---------- Floating Bubbles ---------- */
.bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    animation: floatBubble 6s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.bubble::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 25%;
    width: 30%;
    height: 20%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    filter: blur(2px);
}

.bubble:nth-child(odd) {
    background: radial-gradient(circle at 30% 30%, #34d399, #10b981);
}

.bubble:nth-child(even) {
    background: radial-gradient(circle at 30% 30%, #fbbf24, #f59e0b);
}

@keyframes floatBubble {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.08);
    }
}

/* ---------- Shimmer Text Animation ---------- */
@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.animate-shimmer {
    animation: shimmer 4s linear infinite;
}

/* ---------- Gold Button ---------- */
.gold-btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.gold-btn:hover {
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.gold-btn:active {
    transform: translateY(0);
}

/* ---------- Section Labels & Titles ---------- */
.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fbbf24;
    position: relative;
    padding-left: 2rem;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.2rem;
    height: 1.5px;
    background: linear-gradient(90deg, #fbbf24, transparent);
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fefdf8;
}

.section-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(254, 253, 248, 0.55);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Divider Line ---------- */
.divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(251, 191, 36, 0.3) 50%, transparent 100%);
}

/* ---------- Tag Badge ---------- */
.tag-badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(52, 211, 153, 0.2));
    color: #6ee7b7;
    border: 1px solid rgba(110, 231, 183, 0.3);
}

/* ---------- Menu Card ---------- */
.menu-card {
    background: rgba(2, 44, 34, 0.4);
    border: 1px solid rgba(254, 253, 248, 0.07);
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: all 0.4s ease;
}

.menu-card:hover {
    border-color: rgba(251, 191, 36, 0.2);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(251, 191, 36, 0.1);
    transform: translateY(-4px);
}

.menu-card:hover img {
    transform: scale(1.05);
}

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

#navbar.scrolled {
    background: rgba(1, 26, 20, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(254, 253, 248, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #fbbf24, transparent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

#mobile-menu.open .mobile-link {
    animation: slideIn 0.3s ease forwards;
    opacity: 0;
}

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

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

/* Mobile menu button animation */
#menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

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

/* Staggered delays for grid children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ---------- Back to Top ---------- */
.back-to-top {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* ---------- Hero Animations ---------- */
.hero-badge {
    animation: fadeInDown 0.8s ease forwards;
}

.hero-title {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-ctas {
    animation: fadeInUp 0.8s ease 0.6s both;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .hero-gradient {
        animation: none;
        background: linear-gradient(135deg, #011a14 0%, #022c22 50%, #044630 100%);
    }
    
    .bubble {
        animation: none;
        opacity: 0.08;
    }
    
    .animate-shimmer {
        animation: none;
        background-position: center;
    }
    
    .reveal[data-reveal] {
        opacity: 1;
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ---------- Focus Styles ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #011a14;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #047857, #022c22);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #10b981, #047857);
}
