/* --------------------------------------------------------------------------
   Teahill (千茶丘) Style Sheet
   Designed with premium aesthetics: Forest Green, Warm Cream, Gold accents
   -------------------------------------------------------------------------- */

/* CSS Variables & Theme Setup */
:root {
    --primary: #1C3F24;          /* Deep Forest Green */
    --primary-light: #285430;    /* Medium Green */
    --secondary: #5A8F7B;        /* Sage Green */
    --accent: #C9A054;           /* Warm Premium Gold */
    --accent-hover: #B48C43;     /* Darker Gold */
    --bg-cream: #FAF7F2;         /* Traditional Warm Ceramic Cream */
    --bg-white: #FFFFFF;
    --bg-dark: #0F2314;          /* Midnight Forest Green */
    --text-main: #2C3E33;        /* Organic Dark Charcoal */
    --text-muted: #6C7D73;       /* Muted Green-Gray */
    --border-color: #E2DBD0;     /* Muted Ceramic Border */
    --shadow-sm: 0 4px 6px rgba(28, 63, 36, 0.05);
    --shadow-md: 0 10px 20px rgba(28, 63, 36, 0.08);
    --shadow-lg: 0 20px 40px rgba(28, 63, 36, 0.12);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --font-serif: 'Noto Serif TC', 'Cinzel', serif;
    --font-sans: 'Inter', 'Noto Sans TC', sans-serif;
}

/* 1. Global Resets & Elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-cream);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography & Headers */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
}

p {
    font-size: 1rem;
    font-weight: 300;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-cream);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* 2. Common Components */
.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-white);
}

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

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

/* Section Header styling */
.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    position: relative;
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    margin: 0 auto 20px auto;
}

.section-divider.text-left {
    margin-left: 0;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
    letter-spacing: 1px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(201, 160, 84, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(201, 160, 84, 0.4);
}

.btn-outline {
    border: 1.5px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* 3. Main Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 219, 208, 0.3);
    padding: 0;
    transition: var(--transition-smooth);
}

.main-header.shrunk {
    background-color: var(--bg-cream);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    transition: var(--transition-smooth);
}

.main-header.shrunk .header-container {
    padding: 12px 0;
}

/* Header Top Bar / Status Announcement */
.header-top-bar {
    background-color: var(--primary);
    color: var(--bg-cream);
    font-size: 0.82rem;
    padding: 8px 0;
    text-align: center;
    border-bottom: 1px solid rgba(201, 160, 84, 0.25);
    transition: var(--transition-smooth);
    overflow: hidden;
    height: 38px;
    opacity: 1;
}

.main-header.shrunk .header-top-bar {
    height: 0;
    padding: 0;
    border-bottom: none;
    opacity: 0;
}

.top-bar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    height: 100%;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.top-bar-link {
    color: var(--accent);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px dashed var(--accent);
    padding-bottom: 1px;
}

.top-bar-link:hover {
    color: var(--bg-white);
    border-bottom-color: var(--bg-white);
}

.top-bar-link i {
    font-size: 0.7rem;
    transition: var(--transition-smooth);
}

.top-bar-link:hover i {
    transform: translateX(2px);
}

/* Pulsing Status Dot & Badges */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.status-dot.open {
    background-color: #2ec4b6; /* Vibrant Premium Green/Teal */
    box-shadow: 0 0 0 0 rgba(46, 196, 182, 0.7);
    animation: pulse-green 2s infinite;
}

.status-dot.closed {
    background-color: #e71d36; /* Vibrant Premium Red */
    box-shadow: 0 0 0 0 rgba(231, 29, 54, 0.7);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 196, 182, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(46, 196, 182, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 196, 182, 0);
    }
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(231, 29, 54, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(231, 29, 54, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(231, 29, 54, 0);
    }
}

/* Store Status Badge in Store Info */
.store-status-badge-wrapper {
    margin-top: 10px;
}

.store-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
    transition: var(--transition-smooth);
}

.store-status-badge.open {
    background-color: rgba(46, 196, 182, 0.1);
    color: #1a7f75;
    border: 1px solid rgba(46, 196, 182, 0.2);
}

.store-status-badge.closed {
    background-color: rgba(231, 29, 54, 0.1);
    color: #b31025;
    border: 1px solid rgba(231, 29, 54, 0.2);
}

.store-status-badge .status-dot {
    margin-right: 8px;
}

/* Logo Area */
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-zh {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

.brand-en {
    font-family: var(--font-serif);
    font-size: 0.65rem;
    color: var(--accent);
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: -2px;
}

/* Nav Menu */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-main);
    position: relative;
    padding: 8px 0;
}

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

.nav-link:hover {
    color: var(--accent);
}

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

.nav-link.active {
    color: var(--accent);
    font-weight: 500;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-call {
    font-size: 0.85rem;
    padding: 8px 16px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

/* 4. Hero Section */
.hero-section {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--bg-cream);
    text-align: center;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px auto;
    filter: invert(1) brightness(2); /* Make the dark logo white */
    border-radius: 50%;
    object-fit: cover;
}

.hero-title {
    font-size: 4rem;
    color: var(--bg-cream);
    margin-bottom: 8px;
    letter-spacing: 8px;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--accent);
    letter-spacing: 5px;
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.hero-divider {
    width: 100px;
    height: 2px;
    background-color: var(--accent);
    margin: 20px auto;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 40px;
    letter-spacing: 3px;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-buttons .btn-outline {
    border-color: var(--bg-cream);
    color: var(--bg-cream);
}

.hero-buttons .btn-outline:hover {
    background-color: var(--bg-cream);
    color: var(--primary);
}

.hero-badge {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
}

.badge-text {
    font-size: 0.9rem;
    background-color: rgba(15, 35, 20, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 219, 208, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bg-cream);
    box-shadow: var(--shadow-sm);
}

.badge-text i {
    color: var(--accent);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--bg-cream);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 2;
    opacity: 0.8;
}

.scroll-down:hover {
    color: var(--accent);
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -10px);
    }
    60% {
        transform: translate(-50%, -5px);
    }
}

/* 5. About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 20px;
}

.about-card {
    background-color: var(--bg-white);
    padding: 48px 32px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--bg-cream);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 24px auto;
    transition: var(--transition-smooth);
}

.about-card:hover .card-icon {
    background-color: var(--primary);
    color: var(--bg-cream);
}

.about-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.about-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 6. Signatures Section */
.sig-container {
    display: flex;
    align-items: center;
    gap: 64px;
}

.sig-image-side {
    flex: 1;
}

.sig-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sig-img {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sig-image-wrapper:hover .sig-img {
    transform: scale(1.05);
}

.sig-image-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
}

.overlay-tag {
    background-color: var(--primary);
    color: var(--bg-cream);
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 50px;
    letter-spacing: 1px;
}

.sig-content-side {
    flex: 1.2;
}

.sig-label {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.sig-title {
    font-size: 2.25rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.sig-desc {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 32px;
}

.sig-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.sig-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
}

.sig-feature-item i {
    color: var(--accent);
    font-size: 1.15rem;
}

/* 7. Menu Section */
.menu-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.tab-btn {
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background-color: var(--bg-cream);
}

.tab-btn.active {
    color: var(--bg-cream);
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    transition: opacity 0.2s ease;
}

.menu-grid.fade-out {
    opacity: 0;
}

/* Menu Item Card */
.menu-item-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    animation: fadeInUp 0.5s ease both;
}

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

.menu-item-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

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

.menu-item-name-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-item-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
}

.decaf-tag {
    font-size: 0.7rem;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.decaf-dot {
    color: var(--accent);
    font-size: 0.6rem;
}

.item-prices {
    display: flex;
    gap: 12px;
    font-family: var(--font-serif);
    font-weight: 700;
}

.price-size {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price-val {
    font-size: 1.05rem;
    color: var(--accent);
    margin-top: -2px;
}

.menu-item-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.menu-item-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    max-width: 70%;
}

.item-cat-badge {
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.item-cat-badge.cat-highland { background-color: #E2ECE5; color: #1C3F24; }
.item-cat-badge.cat-classic { background-color: #F8EFE4; color: #8A5F28; }
.item-cat-badge.cat-milk { background-color: #E6EAF5; color: #2B4E8A; }
.item-cat-badge.cat-fruit { background-color: #FAF4E5; color: #8B7A1C; }
.item-cat-badge.cat-special { background-color: #F5EAE6; color: #8F3B1A; }

/* Toppings Box */
.menu-footer-notes {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.toppings-box {
    background-color: var(--bg-white);
    border: 2px dashed var(--accent);
    border-radius: 12px;
    padding: 36px;
    width: 100%;
    max-width: 800px;
    box-shadow: var(--shadow-sm);
}

.toppings-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary);
    margin-bottom: 24px;
}

.toppings-header i {
    color: var(--accent);
    font-size: 1.35rem;
}

.toppings-header h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

.toppings-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.topping-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(226, 219, 208, 0.5);
}

.topping-names {
    font-size: 0.95rem;
    font-weight: 400;
}

.topping-price {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--accent);
}

.topping-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}

.menu-action-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.caffeine-legend {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 8. Info & Maps Section */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.info-details-side {
    display: flex;
    flex-direction: column;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 20px;
    margin-bottom: 40px;
}

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

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: var(--bg-white);
    color: var(--accent);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.info-text p, .info-text a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.info-text a:hover {
    color: var(--accent);
}

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

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-white);
    color: var(--primary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: var(--shadow-sm);
}

.social-btn:hover {
    transform: translateY(-3px);
    color: var(--bg-cream);
}

.social-btn.facebook:hover { background-color: #3b5998; border-color: #3b5998; }
.social-btn.instagram:hover { background-color: #e1306c; border-color: #e1306c; }
.social-btn.line:hover { background-color: #06C755; border-color: #06C755; }

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.map-wrapper iframe {
    display: block;
}

/* 9. Contact Section */
.contact-card-box {
    background-color: var(--bg-white);
    border-radius: 16px;
    padding: 60px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    max-width: 900px;
    margin: 0 auto;
}

.contact-form {
    margin-top: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
}

.required {
    color: #c0392b;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 16px 14px 44px;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-cream);
    border-radius: 6px;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.input-wrapper textarea {
    padding-left: 16px; /* Textareas don't need absolute icon */
    resize: vertical;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(201, 160, 84, 0.15);
}

.form-success-message {
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 24px;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.form-success-message h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.form-success-message p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 32px auto;
}

/* 10. Footer Section */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--bg-cream);
    padding: 60px 0;
    border-top: 3px solid var(--accent);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    object-fit: cover;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand-text h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--bg-cream);
    letter-spacing: 2px;
}

.footer-brand-text span {
    font-family: var(--font-serif);
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 1px;
}

.footer-links ul {
    display: flex;
    gap: 24px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.footer-copyright {
    border-top: 1px solid rgba(226, 219, 208, 0.1);
    width: 100%;
    padding-top: 24px;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.design-credit {
    font-size: 0.85rem;
}

/* 11. Lightbox / Modal Component */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 35, 20, 0.9);
    backdrop-filter: blur(8px);
}

.modal-content-wrapper {
    position: relative;
    z-index: 2001;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-content-wrapper {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    font-size: 2.5rem;
    color: var(--bg-cream);
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--accent);
}

.modal-body {
    width: 100%;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background-color: var(--bg-white);
    border: 2px solid var(--accent);
}

.modal-menu-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 12. Entrance Animations States */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* Page Load Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpAnimation 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* 13. Responsive Media Queries */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.25rem;
    }
    
    .hero-tagline {
        font-size: 1.25rem;
    }
    
    .about-grid {
        gap: 20px;
    }
    
    .sig-container {
        gap: 32px;
    }
    
    .info-grid {
        gap: 32px;
    }
}

@media (max-width: 992px) {
    /* Header & Mobile Navigation */
    .main-header {
        padding: 0;
    }
    
    .header-container {
        padding: 16px 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%; /* Dynamically matches the height of the header! */
        left: 0;
        width: 100%;
        background-color: var(--bg-cream);
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        padding: 24px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    /* Hamburger active state */
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .btn-call {
        display: none; /* Hide on phone header to save space, but show in info */
    }
}

@media (max-width: 768px) {
    /* Hero */
    .hero-title {
        font-size: 2.75rem;
        letter-spacing: 4px;
    }
    
    .hero-tagline {
        font-size: 1.15rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-badge {
        bottom: -180px;
        left: 10%;
        right: 10%;
        width: auto;
        transform: none;
        flex-direction: column;
        gap: 12px;
    }
    
    .badge-text {
        justify-content: center;
        display: flex;
        width: 100%;
    }

    /* About Grid */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .about-card {
        padding: 32px 24px;
    }

    /* Signatures */
    .sig-container {
        flex-direction: column;
    }
    
    .sig-content-side {
        text-align: center;
    }
    
    .sig-features {
        align-items: center;
    }

    /* Menu Toppings */
    .toppings-content {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .toppings-box {
        padding: 24px;
    }
    
    .menu-action-buttons {
        flex-direction: column;
        gap: 20px;
    }

    /* Info Grid */
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-details-side {
        align-items: center;
        text-align: center;
    }
    
    .info-list {
        align-items: center;
    }
    
    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    /* Contact Form */
    .contact-card-box {
        padding: 32px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Footer */
    .footer-copyright {
        flex-direction: column;
        gap: 12px;
    }
}

/* 14. Delivery Calculator Section */
.calc-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.calc-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    gap: 40px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.calc-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.calc-left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.calc-right {
    flex: 1;
}

.calc-form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 1px;
}

.calc-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.calc-select-icon {
    position: absolute;
    left: 16px;
    color: var(--secondary);
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
}

.calc-select-wrapper select {
    width: 100%;
    padding: 14px 16px 14px 44px;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-cream);
    border-radius: 8px;
    color: var(--text-main);
    cursor: pointer;
    appearance: none;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.calc-select-wrapper select:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(201, 160, 84, 0.15);
}

/* Custom dropdown arrow */
.calc-select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 18px;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 2;
}

.calc-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.calc-qty-badge {
    background-color: var(--primary);
    color: var(--bg-cream);
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Range Input styling */
.calc-range-slider {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    outline: none;
    appearance: none;
    cursor: pointer;
    margin: 8px 0;
}

.calc-range-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.calc-range-slider::-webkit-slider-thumb:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
}

.calc-slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 8px;
}

/* Result box */
.calc-result-box {
    background-color: var(--bg-cream);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: inset 0 2px 8px rgba(28, 63, 36, 0.03);
}

.calc-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.calc-result-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.calc-result-value {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-main);
}

.calc-discount-badge {
    background-color: rgba(201, 160, 84, 0.12);
    border: 1px solid rgba(201, 160, 84, 0.3);
    color: var(--accent-hover);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
}

.calc-result-divider {
    border-top: 1px solid var(--border-color);
    margin: 8px 0 16px 0;
}

.total-row {
    margin-bottom: 20px;
}

.calc-result-label-lg {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.calc-total-value {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.calc-delivery-msg {
    border-top: 1px dashed var(--border-color);
    padding-top: 16px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.calc-delivery-msg.success {
    color: var(--primary);
}

.calc-delivery-msg.success i {
    color: var(--accent);
}

.calc-delivery-msg.warning {
    color: #c0392b;
}

.calc-delivery-msg.warning i {
    color: #c0392b;
}

/* Responsive for Calculator */
@media (max-width: 768px) {
    .calc-card {
        flex-direction: column;
        padding: 24px;
        gap: 24px;
    }
    
    .calc-result-box {
        padding: 20px;
    }
    
    .calc-total-value {
        font-size: 1.5rem;
    }
}

/* 15. LINE Integration Contact Box */
.line-contact-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-top: 40px;
    background-color: var(--bg-cream);
    border: 1px dashed var(--accent);
    border-radius: 16px;
    padding: 40px;
    box-shadow: inset 0 2px 8px rgba(28, 63, 36, 0.02);
}

.line-qr-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-border-frame {
    background-color: var(--bg-white);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.line-qr-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    display: block;
}

.line-qr-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.line-info-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.line-id-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.line-id-text .highlight {
    color: var(--accent-hover);
    font-weight: 700;
    background-color: var(--bg-white);
    padding: 2px 10px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    margin-left: 6px;
}

.line-desc-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* LINE Green Button */
.btn-line {
    background-color: #06C755;
    color: var(--bg-white);
    border: none;
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.25);
    align-self: flex-start;
}

.btn-line:hover {
    background-color: #05b04b;
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(6, 199, 85, 0.35);
}

/* Mobile responsive for LINE box */
@media (max-width: 768px) {
    .line-contact-box {
        flex-direction: column;
        gap: 32px;
        padding: 30px 20px;
        text-align: center;
    }
    
    .line-info-wrapper {
        align-items: center;
        text-align: center;
    }
    
    .btn-line {
        align-self: center;
        width: 100%;
        max-width: 280px;
    }
    
    .line-id-text {
        font-size: 1.25rem;
    }
}


