/* CSS Variables */
:root {
    --primary-yellow: #FFD700;
    --primary-yellow-glow: rgba(255, 215, 0, 0.8);
    --ice-blue: #00E5FF;
    --deep-blue: #041221;
    --glass-bg: rgba(10, 25, 47, 0.4);
    --glass-border: rgba(0, 229, 255, 0.3);
    --text-main: #ffffff;
    --text-muted: #e2e8f0;
}

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

body, html {
    font-family: 'Be Vietnam Pro', sans-serif;
    background-color: var(--deep-blue);
    background-image: radial-gradient(circle at top right, #084c61, transparent 50%),
                      radial-gradient(circle at bottom left, #17b978, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Parallax Hero */
.parallax-hero {
    position: relative;
    height: 150vh;
    min-height: 700px;
    background-image: url('assets/hero-tea.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

/* Condensation and Frost Effects */
.condensation-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Add a frosted blur + slight dark tint to make text readable */
    background: rgba(4, 18, 33, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 1;
}

/* Noise overlay to look like tiny frost/water drops */
.condensation-overlay::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.2"/></svg>');
    mix-blend-mode: overlay;
    opacity: 0.6;
}

.ice-frost-edge {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 150px;
    background: linear-gradient(to top, var(--deep-blue), transparent);
    z-index: 2;
    pointer-events: none;
}

.hero-content-wrapper {
    position: sticky;
    top: 25vh;
    z-index: 10;
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 3rem;
    max-width: 900px;
    width: 90%;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

mark {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.25) 50%, rgba(255, 215, 0, 0.1) 100%);
    color: #ffffff;
    padding: 0.1em 0.4em;
    border-radius: 6px;
    font-weight: inherit;
    border-bottom: 2px solid var(--primary-yellow);
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.1);
}

h1.headline {
    font-size: clamp(2rem, 5vw, 4rem);
    text-transform: uppercase;
    text-shadow: 0 5px 15px rgba(0,0,0,0.6);
}

.highlight {
    color: var(--primary-yellow);
    text-shadow: 0 0 20px var(--primary-yellow-glow), 0 0 40px var(--primary-yellow);
    display: inline-block;
    margin-top: 10px;
    will-change: transform, opacity;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--ice-blue);
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Main Container */
.glass-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.section {
    padding: 5rem 0;
}

.text-center { text-align: center; }

/* Buttons & FOMO CTA */
.btn-primary {
    position: relative;
    overflow: hidden;
    display: inline-block;
    background: linear-gradient(90deg, #FF0055, #FF5500, #FFD700, #FF0055);
    background-size: 300% auto;
    color: #fff;
    padding: 1.2rem 3rem;
    font-size: 1.4rem;
    font-weight: 900;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(255, 0, 85, 0.6);
    border: none;
    animation: fomo-gradient 3s linear infinite, fomo-heartbeat 1.5s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: sweep 2.5s infinite;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 0, 85, 0.8);
    color: #fff;
}

.fomo-text {
    font-size: 1.1rem;
    color: var(--primary-yellow);
    margin-top: 1rem;
    font-weight: 600;
    animation: blink 2s infinite;
}

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

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .grid-2.reverse .text-content {
        order: -1;
    }
}

/* Tabbed Menu (Starbucks Vibe) */
.menu-tabs {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 1.5rem;
    scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar {
    display: none;
}
.menu-tab {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    white-space: nowrap;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
.menu-tab.active {
    background: var(--primary-yellow);
    color: #000;
    border-color: var(--primary-yellow);
}
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(10, 25, 47, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--glass-border);
}
.menu-list-item {
    display: flex;
    align-items: center;
    width: 100%;
}
.item-name {
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
}
.item-dots {
    flex-grow: 1;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
    margin: 0 10px;
    position: relative;
    top: -4px;
}
.item-price {
    font-weight: bold;
    color: var(--primary-yellow);
    margin-right: 15px;
}
.btn-add-sm {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-yellow);
    border: 1px solid var(--primary-yellow);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-add-sm:hover {
    background: var(--primary-yellow);
    color: #000;
}
.fade-in {
    animation: fadeIn 0.3s ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-15px);
    background: rgba(10, 25, 47, 0.6);
    border-color: var(--ice-blue);
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.2);
}

/* Images */
.img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    border: 2px solid var(--glass-border);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.img-wrapper:hover img {
    transform: scale(1.08);
}

.owner-img {
    height: 500px;
}

/* Phone Number */
.phone-number {
    display: block;
    font-size: clamp(2.2rem, 8vw, 5rem);
    font-weight: 900;
    color: var(--primary-yellow);
    text-decoration: none;
    margin: 1.5rem 0;
    letter-spacing: 2px;
    white-space: nowrap;
}

.text-glow {
    text-shadow: 0 0 25px var(--primary-yellow-glow);
}

/* FOMO Animations */
@keyframes fomo-gradient {
    0% { background-position: 0% center; }
    100% { background-position: 300% center; }
}

@keyframes fomo-heartbeat {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.7); }
    15% { transform: scale(1.08); box-shadow: 0 0 0 15px rgba(255, 0, 85, 0); }
    30% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 85, 0); }
    45% { transform: scale(1.08); box-shadow: 0 0 0 15px rgba(255, 0, 85, 0); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

@keyframes sweep {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes popIn {
    0% { opacity: 0; transform: scale(0.9) translateY(30px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
.animate-pop { animation: popIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }

/* Refreshing Bubbles Background */
.bubbles {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: rise 10s infinite ease-in;
    backdrop-filter: blur(2px);
    box-shadow: inset 0 0 10px rgba(255,255,255,0.5);
}

.bubble:nth-child(1) { left: 10%; width: 80px; height: 80px; animation-duration: 8s; }
.bubble:nth-child(2) { left: 20%; width: 30px; height: 30px; animation-duration: 5s; animation-delay: 1s;}
.bubble:nth-child(3) { left: 35%; width: 50px; height: 50px; animation-duration: 7s; animation-delay: 2s;}
.bubble:nth-child(4) { left: 50%; width: 60px; height: 60px; animation-duration: 11s; animation-delay: 0s;}
.bubble:nth-child(5) { left: 65%; width: 40px; height: 40px; animation-duration: 6s; animation-delay: 3s;}
.bubble:nth-child(6) { left: 80%; width: 70px; height: 70px; animation-duration: 9s; animation-delay: 1s;}
.bubble:nth-child(7) { left: 90%; width: 25px; height: 25px; animation-duration: 5s; animation-delay: 2s;}

@keyframes rise {
    0% { bottom: -100px; transform: translateX(0); opacity: 0; }
    10% { opacity: 1; }
    50% { transform: translateX(100px); }
    100% { bottom: 1200px; transform: translateX(-200px); opacity: 0; }
}

footer {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-muted);
    font-size: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 2rem;
}
