/* ============================================
   CHUBBY BANH MI & BUBBLE TEA
   Restaurant Landing Page Styles
   Color Palette from Logo:
   - Primary Orange: #E8923E
   - Dark Brown: #4A3728
   - Cream: #FFF8E7
   - Light Brown: #8B6B4C
   - Accent Orange: #F5A623
============================================ */

/* CSS Variables */
:root {
    --primary: #E8923E;
    --primary-dark: #D4792A;
    --primary-light: #F5A623;
    --brown-dark: #4A3728;
    --brown-medium: #5D4037;
    --brown-light: #8B6B4C;
    --cream: #FFF8E7;
    --cream-dark: #F5EDD6;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray: #6B7280;
    --gray-light: #F3F4F6;

    /* Chubby Color Palette */
    --chubby-dark: #3E2723;
    --chubby-brown: #5D4037;
    --chubby-orange: #FF9800;
    --chubby-light: #FFCC80;
    --chubby-cream: #FFF8E1;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --font-accent: 'Pacifico', cursive;
    --font-display: 'Fredoka', sans-serif;
    --font-sans: 'Nunito', sans-serif;

    --shadow-sm: 0 2px 8px rgba(74, 55, 40, 0.08);
    --shadow-md: 0 4px 20px rgba(74, 55, 40, 0.12);
    --shadow-lg: 0 8px 40px rgba(74, 55, 40, 0.16);
    --shadow-xl: 0 20px 60px rgba(74, 55, 40, 0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--brown-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
    position: relative;
    padding-left: 40px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 2px;
    background: var(--primary);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--brown-dark);
    margin-bottom: 16px;
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 48px;
}

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

.text-center .section-tag {
    padding-left: 0;
}

.text-center .section-tag::before {
    display: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(232, 146, 62, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 146, 62, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--brown-dark);
    border: 2px solid var(--brown-dark);
}

.btn-secondary:hover {
    background: var(--brown-dark);
    color: var(--white);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* Image Placeholders */
.img-placeholder {
    background: linear-gradient(135deg, var(--cream-dark) 0%, #E8DCC8 100%);
    border: 2px dashed var(--brown-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brown-light);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    padding: 20px;
    min-height: 200px;
    width: 100%;
    height: 100%;
}

/* ============================================
   NAVIGATION
============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 248, 231, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo img {
    height: 50px;
    width: 50px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 8px 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.navbar.scrolled .nav-link {
    color: var(--brown-dark);
    text-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-link::after {
    background: var(--primary);
}

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

.nav-cta {
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .hamburger span {
    background: var(--brown-dark);
    box-shadow: none;
}

/* ============================================
   HERO SECTION (New Design)
============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Image Layer */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(62, 39, 35, 0.7) 0%,
        rgba(62, 39, 35, 0.5) 50%,
        var(--chubby-cream) 100%
    );
}

/* Floating Decorative Blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    animation: pulse 4s ease-in-out infinite;
}

.hero-blob-1 {
    top: 25%;
    left: 40px;
    width: 128px;
    height: 128px;
    background: rgba(255, 152, 0, 0.2);
}

.hero-blob-2 {
    bottom: 33%;
    right: 40px;
    width: 160px;
    height: 160px;
    background: rgba(255, 204, 128, 0.3);
    animation-delay: 1s;
}

/* Main Content Container */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 16px;
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
}

/* Logo Container */
.hero-logo-container {
    margin-bottom: 32px;
    position: relative;
}

.hero-logo-glow {
    position: absolute;
    inset: -24px;
    background: rgba(255, 152, 0, 0.3);
    border-radius: 50%;
    filter: blur(32px);
    transition: all 500ms ease;
}

.hero-logo-container:hover .hero-logo-glow {
    background: rgba(255, 152, 0, 0.4);
}

.hero-logo-circle {
    position: relative;
    background: var(--white);
    padding: 12px;
    border-radius: 50%;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--chubby-cream);
    width: 176px;
    height: 176px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 500ms ease;
}

.hero-logo-circle:hover {
    transform: scale(1.05) rotate(2deg);
}

.hero-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

/* Tagline Badge */
.hero-tagline-badge {
    margin-bottom: 24px;
    display: inline-block;
    background: rgba(255, 152, 0, 0.9);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 9999px;
    box-shadow: var(--shadow-lg);
    font-family: var(--font-sans);
}

/* Main Heading */
.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 36px;
    line-height: 1.25;
    margin-bottom: 24px;
}

.hero-title-line1 {
    display: block;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title-line2 {
    display: block;
    color: var(--chubby-cream);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Description */
.hero-description {
    font-family: var(--font-sans);
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 500;
    max-width: 672px;
    line-height: 1.625;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Info Cards */
.hero-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 500px;
}

.hero-info-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 16px 24px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.hero-info-icon {
    background: rgba(255, 152, 0, 0.1);
    padding: 12px;
    border-radius: 50%;
}

.hero-info-icon i {
    font-size: 24px;
    color: var(--chubby-orange);
}

.hero-info-text {
    text-align: left;
}

.hero-info-label {
    display: block;
    font-size: 12px;
    color: #6B7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-sans);
}

.hero-info-value {
    display: block;
    color: var(--chubby-dark);
    font-weight: 700;
    font-family: var(--font-sans);
}

/* CTA Buttons */
.hero-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    justify-content: center;
}

.hero-btn-primary {
    background: var(--chubby-orange);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 18px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 300ms ease;
    font-family: var(--font-sans);
}

.hero-btn-primary:hover {
    background: var(--chubby-dark);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-4px);
}

.hero-btn-secondary {
    background: var(--white);
    color: var(--chubby-dark);
    border: 2px solid var(--chubby-dark);
    padding: 16px 32px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 300ms ease;
    font-family: var(--font-sans);
}

.hero-btn-secondary i {
    font-size: 20px;
}

.hero-btn-secondary:hover {
    background: var(--chubby-dark);
    color: var(--white);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s ease infinite;
}

.hero-scroll-indicator i {
    font-size: 32px;
    color: rgba(62, 39, 35, 0.5);
    transition: color 300ms ease;
}

.hero-scroll-indicator:hover i {
    color: var(--chubby-orange);
}

/* Bottom Gradient Fade */
.hero-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 128px;
    background: linear-gradient(to top, var(--chubby-cream) 0%, transparent 100%);
    pointer-events: none;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Desktop Styles */
@media (min-width: 768px) {
    .hero-logo-circle {
        width: 224px;
        height: 224px;
    }

    .hero-title {
        font-size: 60px;
    }

    .hero-description {
        font-size: 20px;
    }

    .hero-info-cards {
        flex-direction: row;
        max-width: none;
        width: auto;
    }

    .hero-cta-buttons {
        flex-direction: row;
        width: auto;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 72px;
    }
}

/* ============================================
   MARQUEE BANNER
============================================ */
.marquee-banner {
    background: var(--brown-dark);
    padding: 16px 0;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 48px;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    color: var(--cream);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* ============================================
   ABOUT SECTION
============================================ */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-main .img-placeholder {
    min-height: 450px;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.about-img-secondary .img-placeholder {
    min-height: 150px;
}

.about-experience {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 40px 0;
}

.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.2rem;
    color: var(--white);
}

.feature-text h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--brown-dark);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ============================================
   MENU SECTION
============================================ */
.menu {
    padding: 100px 0;
    background: var(--cream);
    position: relative;
}

.menu-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234A3728' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--brown-dark);
    cursor: pointer;
    transition: var(--transition);
}

.category-btn:hover {
    border-color: var(--primary);
}

.category-btn.active {
    background: var(--primary);
    color: var(--white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 1;
}

.menu-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.menu-card-image {
    position: relative;
    overflow: hidden;
}

.menu-card-image .img-placeholder {
    min-height: 200px;
    border-radius: 0;
}

.menu-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-card-badge.bestseller {
    background: var(--primary);
    color: var(--white);
}

.menu-card-badge.popular {
    background: var(--brown-dark);
    color: var(--white);
}

.menu-card-badge.spicy {
    background: #DC2626;
    color: var(--white);
}

.menu-card-badge.vegan {
    background: #16A34A;
    color: var(--white);
}

.menu-card-badge.new {
    background: #7C3AED;
    color: var(--white);
}

.menu-card-content {
    padding: 24px;
}

.menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.menu-card-header h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brown-dark);
}

.price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.menu-card-content > p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 16px;
}

.menu-card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 12px;
    background: var(--cream);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--brown-light);
}

/* Sides Section */
.sides-section {
    margin-top: 64px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.sides-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--brown-dark);
    text-align: center;
    margin-bottom: 32px;
}

.sides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.side-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--cream);
    border-radius: var(--radius-md);
}

.side-name {
    font-size: 0.95rem;
    color: var(--brown-dark);
}

.side-price {
    font-weight: 600;
    color: var(--primary);
}

/* ============================================
   BUBBLE TEA SECTION
============================================ */
.bubble-tea {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.boba-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 64px;
}

.boba-header-image .img-placeholder {
    min-height: 350px;
    border-radius: var(--radius-lg);
}

.boba-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.boba-category {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.boba-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.boba-category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.boba-category-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.boba-category h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brown-dark);
    margin-bottom: 20px;
}

.boba-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.boba-list li {
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--cream-dark);
}

.boba-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.boba-name {
    font-size: 0.95rem;
    color: var(--brown-dark);
}

.boba-price {
    font-weight: 600;
    color: var(--primary);
}

/* Toppings */
.toppings-section {
    margin-top: 64px;
    text-align: center;
}

.toppings-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--brown-dark);
    margin-bottom: 32px;
}

.toppings-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.topping {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
}

.topping-price {
    font-weight: 600;
    color: var(--primary);
}

/* ============================================
   TESTIMONIALS SECTION
============================================ */
.testimonials {
    padding: 100px 0;
    background: var(--brown-dark);
}

.testimonials .section-tag {
    color: var(--primary-light);
}

.testimonials .section-tag::before {
    background: var(--primary-light);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials .section-title span {
    color: var(--primary-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-stars {
    color: var(--primary-light);
    font-size: 1.2rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.testimonial-text {
    color: var(--cream);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--white);
}

.author-info h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--cream-dark);
}

.testimonial-cta {
    text-align: center;
    margin-top: 48px;
}

.google-rating {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--cream);
    font-size: 1rem;
}

.google-rating i {
    font-size: 1.5rem;
    color: #4285F4;
}

/* ============================================
   GALLERY SECTION
============================================ */
.gallery {
    padding: 100px 0;
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item .img-placeholder {
    height: 100%;
    min-height: 100%;
    border-radius: 0;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(232, 146, 62, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--white);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .img-placeholder {
    transform: scale(1.05);
}

.gallery-cta {
    margin-top: 48px;
}

/* ============================================
   CONTACT SECTION
============================================ */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--cream);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--primary);
}

.contact-text h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--brown-dark);
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
}

.contact-text a {
    color: var(--primary);
}

.contact-text a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--cream);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link i {
    font-size: 1.1rem;
    color: var(--brown-dark);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
}

.social-link:hover i {
    color: var(--white);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-placeholder {
    background: var(--cream);
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.map-pin {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-pin i {
    font-size: 1.5rem;
    color: var(--white);
}

.map-placeholder p {
    font-weight: 600;
    color: var(--brown-dark);
}

.map-placeholder span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ============================================
   ORDER CTA SECTION
============================================ */
.order-cta {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.order-cta-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.order-cta-content {
    position: relative;
    text-align: center;
}

.order-cta-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--white);
    margin-bottom: 12px;
}

.order-cta-content > p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.order-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.order-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--white);
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--brown-dark);
    transition: var(--transition);
}

.order-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.order-btn i {
    font-size: 1.1rem;
}

.order-btn.doordash:hover { color: #FF3008; }
.order-btn.ubereats:hover { color: #06C167; }
.order-btn.skip:hover { color: #FF8000; }
.order-btn.phone:hover { color: var(--primary); }

/* ============================================
   NEWSLETTER SECTION
============================================ */
.newsletter {
    padding: 60px 0;
    background: var(--brown-dark);
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.newsletter-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.newsletter-text h3 {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.newsletter-text p {
    font-size: 0.95rem;
    color: var(--cream-dark);
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 1rem;
    min-width: 280px;
    outline: none;
}

.newsletter-form input:focus {
    box-shadow: 0 0 0 3px rgba(232, 146, 62, 0.3);
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: #2D1F15;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--cream-dark);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a i {
    color: var(--cream);
    font-size: 1rem;
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--cream-dark);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--cream-dark);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-contact a {
    color: var(--cream-dark);
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 24px 0;
}

.footer-bottom p {
    color: rgba(255, 248, 231, 0.6);
    font-size: 0.9rem;
}

.footer-bottom i {
    color: var(--primary);
}

/* ============================================
   BACK TO TOP
============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: var(--primary-dark);
}

.back-to-top i {
    color: var(--white);
    font-size: 1.2rem;
}

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0.5; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

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

/* ============================================
   RESPONSIVE STYLES - ENHANCED MOBILE FIRST
============================================ */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .about-grid,
    .boba-header,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-images {
        order: -1;
    }

    .about-img-secondary {
        right: 20px;
        bottom: -30px;
        width: 160px;
    }

    .about-experience {
        left: 20px;
        top: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 180px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
    }

    /* Mobile Navigation - Clean Slide-in Panel */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 280px;
        height: 100vh;
        height: 100dvh;
        background: var(--cream);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 24px 32px;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
        z-index: 1000;
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        color: var(--brown-dark);
        text-shadow: none;
        font-size: 0.95rem;
        font-weight: 500;
        padding: 14px 0;
        border-bottom: 1px solid rgba(74, 55, 40, 0.08);
        width: 100%;
        text-align: left;
        letter-spacing: 0.3px;
    }

    .nav-link:last-of-type {
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary);
    }

    /* Hide the Order Now CTA in mobile menu - users can find it in the page */
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .hamburger.active span {
        background: var(--brown-dark);
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Mobile Menu Overlay */
    body.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
    }

    /* Mobile Navbar - Compact */
    .navbar {
        padding: 10px 0;
    }

    .navbar.scrolled {
        padding: 8px 0;
    }

    .nav-container {
        padding: 0 16px;
    }

    .nav-logo img {
        height: 44px;
        width: 44px;
    }

    .navbar.scrolled .nav-logo img {
        height: 40px;
        width: 40px;
    }

    .hamburger {
        padding: 6px;
        gap: 5px;
    }

    .hamburger span {
        width: 24px;
        height: 2.5px;
    }

    /* Hero Mobile */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-content {
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .hero-logo-circle {
        width: 140px;
        height: 140px;
    }

    .hero-title {
        font-size: 40px;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 16px;
        padding: 0 8px;
        margin-bottom: 32px;
    }

    .hero-info-cards {
        flex-direction: column;
        gap: 12px;
        max-width: 320px;
    }

    .hero-info-card {
        padding: 14px 20px;
    }

    .hero-cta-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 300px;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        padding: 14px 28px;
        font-size: 16px;
        width: 100%;
    }

    .hero-scroll-indicator {
        bottom: 20px;
    }

    /* Marquee Banner Mobile */
    .marquee-banner {
        padding: 12px 0;
    }

    .marquee-content span {
        font-size: 0.85rem;
    }

    /* Section Spacing Mobile */
    .about,
    .menu,
    .bubble-tea,
    .testimonials,
    .gallery,
    .contact {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* About Section Mobile */
    .about-img-main .img-placeholder,
    .about-img-main img {
        min-height: 300px;
        border-radius: var(--radius-md);
    }

    .about-img-secondary {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: -40px;
        margin-left: 40px;
        max-width: 200px;
    }

    .about-experience {
        position: absolute;
        top: -15px;
        left: -10px;
        padding: 16px;
    }

    .exp-number {
        font-size: 2rem;
    }

    .about-features {
        gap: 20px;
        margin: 32px 0;
    }

    .feature {
        flex-direction: row;
        align-items: flex-start;
        gap: 14px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
    }

    /* Menu Section Mobile */
    .menu-categories {
        gap: 8px;
        padding: 0 8px;
        margin-bottom: 32px;
    }

    .category-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .menu-card {
        border-radius: var(--radius-md);
    }

    .menu-card-image .img-placeholder,
    .menu-card-image img {
        min-height: 180px;
    }

    .menu-card-content {
        padding: 20px;
    }

    .menu-card-header h3 {
        font-size: 1rem;
    }

    .price {
        font-size: 1.1rem;
    }

    /* Sides Section Mobile */
    .sides-section {
        margin-top: 40px;
        padding: 24px;
    }

    .sides-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .side-item {
        padding: 14px 16px;
    }

    /* Bubble Tea Section Mobile */
    .boba-header {
        gap: 32px;
    }

    .boba-header-image {
        order: -1;
    }

    .boba-header-image .img-placeholder,
    .boba-header-image img {
        min-height: 250px;
        border-radius: var(--radius-md);
    }

    .boba-categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .boba-category {
        padding: 24px;
    }

    .boba-category-icon {
        width: 50px;
        height: 50px;
    }

    .boba-category h3 {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    .boba-list li {
        padding-bottom: 10px;
    }

    .boba-name,
    .boba-price {
        font-size: 0.9rem;
    }

    /* Toppings Mobile */
    .toppings-section {
        margin-top: 40px;
    }

    .toppings-grid {
        gap: 10px;
    }

    .topping {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    /* Testimonials Mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 24px;
    }

    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .google-rating {
        font-size: 0.9rem;
    }

    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
        gap: 10px;
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item .img-placeholder,
    .gallery-item img {
        border-radius: var(--radius-sm);
    }

    .gallery-cta {
        margin-top: 32px;
    }

    /* Contact Section Mobile */
    .contact-intro {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .contact-details {
        gap: 20px;
        margin-bottom: 32px;
    }

    .contact-item {
        gap: 16px;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
    }

    .contact-text h4 {
        font-size: 0.95rem;
    }

    .contact-text p {
        font-size: 0.9rem;
    }

    .social-links {
        gap: 10px;
        justify-content: flex-start;
    }

    .social-link {
        width: 42px;
        height: 42px;
    }

    .contact-map {
        margin-top: 20px;
    }

    .map-placeholder {
        min-height: 300px;
    }

    /* Order CTA Mobile */
    .order-cta {
        padding: 60px 0;
    }

    .order-cta-content h2 {
        font-size: 1.75rem;
    }

    .order-cta-content > p {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .order-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .order-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 24px;
    }

    /* Newsletter Mobile */
    .newsletter {
        padding: 40px 0;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .newsletter-icon {
        width: 56px;
        height: 56px;
    }

    .newsletter-text h3 {
        font-size: 1.15rem;
    }

    .newsletter-text p {
        font-size: 0.9rem;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .newsletter-form input {
        min-width: 100%;
        text-align: center;
    }

    /* Footer Mobile */
    .footer {
        padding: 60px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-logo {
        margin: 0 auto 20px;
    }

    .footer-brand p {
        max-width: 300px;
        margin: 0 auto 24px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links ul {
        align-items: center;
    }

    .footer-contact p {
        justify-content: center;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 20px 0;
    }

    /* Back to Top Mobile */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* Small Phones */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 14px;
    }

    /* Hero Extra Small */
    .hero-logo-circle {
        width: 120px;
        height: 120px;
        padding: 8px;
    }

    .hero-tagline-badge {
        font-size: 12px;
        padding: 5px 14px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-info-cards {
        max-width: 100%;
    }

    .hero-info-card {
        padding: 12px 16px;
    }

    .hero-info-icon {
        padding: 10px;
    }

    .hero-info-icon i {
        font-size: 20px;
    }

    .hero-info-value {
        font-size: 0.9rem;
    }

    .hero-cta-buttons {
        max-width: 100%;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        padding: 12px 24px;
        font-size: 15px;
    }

    /* Section Titles Small */
    .section-title {
        font-size: 1.5rem;
    }

    .section-tag {
        font-size: 0.75rem;
        padding-left: 32px;
    }

    .section-tag::before {
        width: 22px;
    }

    /* About Small */
    .about-text {
        font-size: 0.95rem;
    }

    .about-img-secondary {
        max-width: 160px;
        margin-left: 20px;
    }

    .feature-text h4 {
        font-size: 0.95rem;
    }

    .feature-text p {
        font-size: 0.85rem;
    }

    /* Menu Small */
    .menu-categories {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .menu-categories::-webkit-scrollbar {
        display: none;
    }

    .category-btn {
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .menu-card-image .img-placeholder,
    .menu-card-image img {
        min-height: 160px;
    }

    .menu-card-content {
        padding: 16px;
    }

    .menu-card-header {
        flex-direction: column;
        gap: 4px;
    }

    .menu-card-content > p {
        font-size: 0.85rem;
    }

    .tag {
        font-size: 0.7rem;
        padding: 3px 10px;
    }

    /* Bubble Tea Small */
    .boba-category {
        padding: 20px;
    }

    /* Testimonials Small */
    .testimonial-card {
        padding: 20px;
    }

    .testimonial-stars {
        font-size: 1rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    /* Gallery Small */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 120px;
        gap: 8px;
    }

    /* Contact Small */
    .contact-text p {
        font-size: 0.85rem;
    }

    .map-placeholder {
        min-height: 250px;
    }

    /* Order CTA Small */
    .order-cta-content h2 {
        font-size: 1.5rem;
    }

    .order-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    /* Newsletter Small */
    .newsletter-text h3 {
        font-size: 1.1rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Extra Small Phones */
@media (max-width: 360px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-logo-circle {
        width: 100px;
        height: 100px;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .menu-card-header {
        align-items: flex-start;
    }

    .gallery-grid {
        grid-auto-rows: 100px;
    }
}

/* Landscape Mode on Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .hero-content {
        padding-top: 20px;
    }

    .hero-logo-circle {
        width: 80px;
        height: 80px;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .hero-description {
        display: none;
    }

    .hero-info-cards {
        flex-direction: row;
    }

    .hero-cta-buttons {
        flex-direction: row;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-link:hover::after {
        width: 0;
    }

    .menu-card:hover {
        transform: none;
    }

    .boba-category:hover {
        transform: none;
    }

    .gallery-item:hover .gallery-overlay {
        opacity: 0;
    }

    .gallery-item:hover .img-placeholder {
        transform: none;
    }

    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }

    .hero-btn-primary:hover,
    .hero-btn-secondary:hover {
        transform: none;
    }

    .order-btn:hover {
        transform: none;
    }

    /* Make touch targets larger */
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .social-link {
        min-width: 44px;
        min-height: 44px;
    }

    .category-btn {
        min-height: 44px;
    }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .marquee-content {
        animation: none;
    }

    .hero-blob {
        animation: none;
    }

    .hero-scroll-indicator {
        animation: none;
    }
}

/* ============================================
   MOBILE POLISH & ACTIVE STATES
============================================ */

/* Active states for touch feedback */
.btn:active,
.hero-btn-primary:active,
.hero-btn-secondary:active {
    transform: scale(0.97);
    opacity: 0.9;
}

.order-btn:active {
    transform: scale(0.97);
}

.nav-link:active {
    opacity: 0.7;
}

.social-link:active {
    transform: scale(0.9);
}

.category-btn:active {
    transform: scale(0.95);
}

.menu-card:active {
    transform: scale(0.98);
}

/* Better image handling across all screen sizes */
.about-img-main img,
.about-img-secondary img,
.boba-header-image img,
.menu-card-image img,
.gallery-item img,
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-main img,
.about-img-secondary img {
    border-radius: var(--radius-lg);
}

.menu-card-image img {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.gallery-item img {
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.boba-header-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* Ensure images don't break layouts */
.about-img-main,
.about-img-secondary,
.menu-card-image,
.gallery-item,
.boba-header-image {
    overflow: hidden;
}

/* Nice image loading placeholder colors */
.menu-card-image,
.gallery-item,
.about-img-main,
.about-img-secondary {
    background: linear-gradient(135deg, var(--cream-dark) 0%, #E8DCC8 100%);
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    .nav-container {
        padding-left: max(24px, env(safe-area-inset-left));
        padding-right: max(24px, env(safe-area-inset-right));
    }

    .hero-content {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    .footer-bottom {
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }
}

/* Improve text legibility on mobile */
@media (max-width: 768px) {
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* Improve tap targets for links */
    .footer-links a {
        display: inline-block;
        padding: 8px 0;
    }

    /* Make prices more prominent on mobile */
    .price {
        font-weight: 700;
    }

    /* Better spacing for menu card description */
    .menu-card-content > p {
        line-height: 1.5;
    }

    /* Ensure toppings wrap nicely */
    .toppings-grid {
        justify-content: center;
    }

    /* Improve testimonial readability */
    .testimonial-text {
        font-style: normal;
    }

    /* Center align author info on mobile */
    .testimonial-author {
        justify-content: flex-start;
    }
}

/* Swipe hint animation for menu categories on mobile */
@media (max-width: 480px) {
    .menu-categories {
        position: relative;
    }

    .menu-categories::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 8px;
        width: 40px;
        background: linear-gradient(to left, var(--cream) 0%, transparent 100%);
        pointer-events: none;
    }
}

/* Prevent horizontal scroll issues */
html, body {
    overflow-x: hidden;
}

/* Make sure hero blobs don't cause overflow */
.hero-blob {
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-blob-1 {
        left: -20px;
        width: 80px;
        height: 80px;
    }

    .hero-blob-2 {
        right: -20px;
        width: 100px;
        height: 100px;
    }
}

/* Smooth scrolling container for mobile */
@media (max-width: 768px) {
    section {
        overflow-x: hidden;
    }
}

/* Card shadows optimized for mobile (lighter for better performance) */
@media (max-width: 768px) {
    .menu-card,
    .boba-category,
    .testimonial-card {
        box-shadow: 0 2px 12px rgba(74, 55, 40, 0.1);
    }

    .hero-info-card {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }
}

/* Better focus states for accessibility */
.btn:focus-visible,
.nav-link:focus-visible,
.category-btn:focus-visible,
.social-link:focus-visible,
.order-btn:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Smooth hamburger animation */
.hamburger span {
    transform-origin: center;
}

/* Loading state for images */
img {
    background-color: var(--cream-dark);
}

/* Nice selection color */
::selection {
    background: var(--primary);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary);
    color: var(--white);
}
