/* ==========================================================================
   HIMALAYAN COFFEE HOUSE - STYLE GUIDE & CUSTOM STYLES
   Colors: Red, Black, White
   Design Concept: Modern Premium Lounge, 3D CSS Elements, Glowing Neon Accents
   ========================================================================== */

/* Custom Properties / Variables */
:root {
    --bg-primary: #faf9f5; /* Soft cream white */
    --bg-secondary: #f4f3ed; /* Warm grey-white */
    --bg-tertiary: #ffffff; /* Pure card white */
    --color-red: #d9141f; /* Crimson Red for text contrast */
    --color-red-hover: #b80f18;
    --color-red-glow: rgba(217, 20, 31, 0.15);
    --color-red-muted: rgba(217, 20, 31, 0.06);
    --color-white: #1a1a1a; /* Main text: Charcoal */
    --color-silver: #555555; /* Muted text: Dark grey */
    --color-grey: #e6e6e6; /* Border grey */
    --color-light-grey: #cccccc;
    
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    --shadow-red: 0 4px 12px var(--color-red-glow);
    --shadow-red-strong: 0 6px 20px rgba(217, 20, 31, 0.35);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.05);
    
    --transition-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --header-height: 80px;
    
    /* New Constants */
    --color-real-white: #ffffff;
    --color-real-black: #0c0c0c;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--color-white);
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-primary);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--color-grey);
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-red);
}

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

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-glow-red {
    color: var(--color-white);
    text-shadow: var(--shadow-red);
}
.text-red {
    color: var(--color-red);
}
.w-full { width: 100%; }
.font-bold { font-weight: 700; }

section {
    padding: 100px 0;
    position: relative;
}

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

h2.section-title {
    font-size: 2.8rem;
    margin-bottom: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.section-divider {
    width: 60px;
    height: 4px;
    background-color: var(--color-red);
    margin: 0 auto 24px auto;
    border-radius: 2px;
    box-shadow: var(--shadow-red);
}

.section-divider.align-left {
    margin-left: 0;
    margin-right: auto;
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    padding: 14px 28px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    gap: 8px;
}

.btn-red {
    background-color: var(--color-red);
    color: var(--color-real-white);
    box-shadow: var(--shadow-red);
}

.btn-red:hover {
    background-color: var(--color-red-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-red-strong);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

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

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
    border-radius: 10px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
    border-radius: 6px;
}

/* Header & Navigation */
.header {
    height: var(--header-height);
    background: rgba(250, 249, 245, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-fast);
}

.header.scrolled {
    height: 70px;
    background: rgba(250, 249, 245, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    gap: 6px;
}

.logo-red {
    color: var(--color-red);
    text-shadow: 0 0 10px rgba(255, 42, 52, 0.3);
}

.logo-white {
    color: var(--color-white);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--color-silver);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 6px 0;
}

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

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-toggle-btn {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.4rem;
    cursor: pointer;
    position: relative;
    padding: 8px;
    transition: var(--transition-fast);
}

.cart-toggle-btn:hover {
    color: var(--color-red);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--color-red);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px var(--color-red);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition-fast);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(250, 249, 245, 0.98);
    z-index: 99;
    padding: 120px 40px 40px 40px;
    transition: var(--transition-smooth);
}

.mobile-nav-drawer.open {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.mobile-nav-link {
    color: var(--color-silver);
    font-size: 1.4rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

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

.mobile-order-btn {
    margin-top: 20px;
    width: 100%;
    max-width: 280px;
}

/* Background Parallax Elements */
.parallax-bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-bean {
    position: absolute;
    opacity: 0.08;
    color: var(--color-white);
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.8));
    animation: drift-bean linear infinite;
    pointer-events: none;
}

@keyframes drift-bean {
    0% {
        transform: translateY(110vh) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.08;
    }
    90% {
        opacity: 0.08;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg) scale(1.2);
        opacity: 0;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 40px);
    overflow: hidden;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-red-muted);
    border: 1px solid rgba(255, 42, 52, 0.3);
    color: var(--color-red);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-silver);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions-btns {
    display: flex;
    gap: 20px;
}

/* 3D Coffee Cup Design */
.hero-graphic-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 450px;
    perspective: 1000px;
}

.scene-3d {
    width: 250px;
    height: 300px;
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
}

.coffee-cup-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: floatCup 6s ease-in-out infinite;
}

@keyframes floatCup {
    0%, 100% { transform: translateY(0px) rotateY(15deg) rotateX(10deg); }
    50% { transform: translateY(-20px) rotateY(25deg) rotateX(5deg); }
}

.cup-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, #6b4028 30%, #3d2110 70%);
    border: 8px solid var(--color-real-white);
    transform: rotateX(90deg) translateZ(30px);
    z-index: 10;
}

.cup-liquid {
    position: absolute;
    top: 5px;
    left: 10px;
    width: 180px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, #d8ac8b 0%, #6f3d22 60%, #44200d 100%);
    transform: rotateX(90deg) translateZ(28px);
    z-index: 9;
}

.cup-body {
    position: absolute;
    top: 30px;
    left: 0;
    width: 200px;
    height: 220px;
    background: linear-gradient(135deg, #1e1e1e 0%, #0a0a0a 100%);
    border: 3px solid rgba(255,255,255,0.05);
    border-radius: 0 0 100px 100px;
    box-shadow: inset 0 -30px 40px rgba(0,0,0,0.8), 0 15px 35px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cup-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.1), transparent);
}

.cup-logo {
    color: var(--color-red);
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: rotate(-10deg);
    text-shadow: var(--shadow-red);
}

.cup-handle {
    position: absolute;
    top: 60px;
    right: -30px;
    width: 70px;
    height: 120px;
    border: 15px solid var(--color-real-white);
    border-left-color: transparent;
    border-radius: 0 80px 80px 0;
    transform: rotateY(-20deg);
    z-index: -1;
}

.cup-sleeve {
    position: absolute;
    top: 80px;
    left: -5px;
    width: 210px;
    height: 80px;
    background: var(--color-red);
    transform: rotateX(5deg);
    box-shadow: 0 5px 15px rgba(255, 42, 52, 0.2), inset 0 0 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-real-white);
    font-size: 1.5rem;
}

.cup-shadow {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, transparent 70%);
    z-index: -2;
    animation: shadowScale 6s ease-in-out infinite;
}

@keyframes shadowScale {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.9; }
    50% { transform: translateX(-50%) scale(0.85); opacity: 0.6; }
}

/* Steam animation */
.steam-container {
    position: absolute;
    top: 20px;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: space-around;
    z-index: 12;
}

.steam-line {
    width: 4px;
    height: 60px;
    background: linear-gradient(to top, rgba(255,255,255,0.2), transparent);
    border-radius: 50%;
    filter: blur(4px);
    animation: steamRising 3s linear infinite;
}

.steam-line:nth-child(2) {
    animation-delay: 1s;
    height: 80px;
}

.steam-line:nth-child(3) {
    animation-delay: 1.8s;
}

@keyframes steamRising {
    0% {
        transform: translateY(20px) scaleX(1) scaleY(0.5);
        opacity: 0;
    }
    30% {
        opacity: 0.5;
        transform: translateY(0px) scaleX(1.5) scaleY(1);
    }
    100% {
        transform: translateY(-80px) scaleX(2) scaleY(1.5);
        opacity: 0;
    }
}

.hero-scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-mouse {
    width: 28px;
    height: 45px;
    border: 2px solid var(--color-silver);
    border-radius: 20px;
    display: block;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-red);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 1.5s ease-in-out infinite;
}

@keyframes wheelScroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(15px); opacity: 0; }
}

/* Menu & Ordering Layout */
.menu-section {
    background-color: var(--bg-secondary);
    z-index: 1;
}

.menu-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 20px;
}

/* Category Sidebar */
.menu-categories {
    background-color: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-premium);
}

.categories-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: 1px solid transparent;
    color: var(--color-silver);
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    transition: var(--transition-fast);
}

.category-btn i {
    font-size: 1.1rem;
    width: 20px;
}

.category-btn:hover {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.02);
}

.category-btn.active {
    background-color: var(--color-red-muted);
    border-color: rgba(255, 42, 52, 0.2);
    color: var(--color-red);
    box-shadow: inset 0 0 10px rgba(255, 42, 52, 0.1);
}

/* Menu Items Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

/* Menu Card 3D Tilt Effect */
.menu-card {
    background-color: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
    transform-style: preserve-3d;
    perspective: 1000px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    border-color: rgba(255, 42, 52, 0.25);
    box-shadow: 0 15px 30px rgba(0,0,0,0.7), var(--shadow-red);
}

.menu-card-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
    transform: translateZ(20px);
}

.menu-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.menu-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--color-red);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.menu-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    transform: translateZ(30px);
}

.menu-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-white);
}

.menu-card-desc {
    font-size: 0.85rem;
    color: var(--color-silver);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.menu-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.menu-card-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-white);
}

.add-to-cart-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--color-red);
    color: var(--color-real-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-fast);
    box-shadow: 0 4px 8px rgba(255, 42, 52, 0.2);
}

.add-to-cart-btn:hover {
    background-color: var(--color-red-hover);
    transform: scale(1.05);
    box-shadow: 0 4px 12px var(--color-red-glow);
}

/* Shopping Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--bg-tertiary);
    z-index: 150;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-title {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-close-btn {
    background: none;
    border: none;
    color: var(--color-silver);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cart-close-btn:hover {
    color: var(--color-red);
}

.cart-items-wrapper {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
}

/* Empty State */
.cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--color-silver);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--color-light-grey);
}

.close-cart-btn-link {
    margin-top: 20px;
}

/* Cart item list */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 16px;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item-details h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cart-item-options {
    font-size: 0.75rem;
    color: var(--color-silver);
    margin-bottom: 6px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-qty-btn {
    background-color: var(--bg-secondary);
    color: var(--color-white);
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cart-qty-btn:hover {
    background-color: var(--color-red);
}

.cart-item-qty-val {
    font-size: 0.85rem;
    min-width: 16px;
    text-align: center;
}

.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.cart-item-price {
    font-weight: 700;
    font-size: 1rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--color-light-grey);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.cart-item-remove:hover {
    color: var(--color-red);
}

/* Cart Footer */
.cart-footer {
    padding: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background-color: rgba(240, 240, 240, 0.5);
}

.price-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--color-silver);
}

.price-row.font-bold {
    font-size: 1.15rem;
    color: var(--color-white);
}

.checkout-btn {
    padding: 16px;
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 140;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

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

/* Modal Core Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    padding: 20px;
}

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

.modal-container {
    background-color: var(--bg-tertiary);
    border: 1px solid rgba(255, 42, 52, 0.2);
    border-radius: 20px;
    width: 100%;
    max-width: 780px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), var(--shadow-red);
    transform: scale(0.9) translateY(20px);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.modal-overlay.open .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: var(--color-real-white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background-color: var(--color-red);
    transform: rotate(90deg);
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    max-height: 85vh;
}

.modal-img-container {
    height: 100%;
    min-height: 350px;
    position: relative;
}

.modal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details-container {
    padding: 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
}

.modal-item-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.modal-item-desc {
    font-size: 0.9rem;
    color: var(--color-silver);
    margin-bottom: 16px;
}

.modal-item-base-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-red);
    margin-bottom: 24px;
}

.modal-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.customizer-section {
    margin-bottom: 24px;
}

.section-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-silver);
    margin-bottom: 12px;
}

/* Customizer Options: Sizes */
.size-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.size-option-card {
    cursor: pointer;
}

.size-option-card input {
    display: none;
}

.size-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-grey);
    border-radius: 8px;
    padding: 12px;
    background-color: var(--bg-primary);
    transition: var(--transition-fast);
}

.size-option-card input:checked + .size-card-content {
    border-color: var(--color-red);
    background-color: var(--color-red-muted);
    color: var(--color-red);
    box-shadow: 0 0 10px rgba(255, 42, 52, 0.1);
}

.size-name {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.size-diff {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Customizer Options: Add-ons */
.addons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.addon-checkbox-card {
    cursor: pointer;
}

.addon-checkbox-card input {
    display: none;
}

.addon-card-content {
    display: block;
    border: 1px solid var(--color-grey);
    border-radius: 8px;
    padding: 10px 14px;
    background-color: var(--bg-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.addon-checkbox-card input:checked + .addon-card-content {
    border-color: var(--color-red);
    background-color: var(--color-red-muted);
    color: var(--color-white);
    box-shadow: 0 0 10px rgba(255, 42, 52, 0.1);
}

/* Quantity Selector */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-primary);
    border: 1px solid var(--color-grey);
    border-radius: 8px;
    padding: 4px;
}

.qty-btn {
    background: none;
    border: none;
    color: var(--color-white);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.qty-btn:hover {
    background-color: var(--color-grey);
}

.qty-val {
    min-width: 40px;
    text-align: center;
    font-weight: 700;
}

.modal-action-row {
    margin-top: auto;
    padding-top: 20px;
}

/* Checkout Form Layout */
.checkout-container {
    max-width: 600px;
}

.checkout-form-wrapper {
    padding: 40px;
    max-height: 90vh;
    overflow-y: auto;
}

.checkout-title {
    font-size: 1.6rem;
    text-transform: uppercase;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 20px;
}

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

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-silver);
}

.form-group input, .form-group select, .form-group textarea {
    background-color: var(--bg-primary);
    border: 1px solid var(--color-grey);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 10px var(--color-red-glow);
}

.checkout-summary-box {
    background-color: var(--bg-primary);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 20px;
    margin-top: 10px;
}

.checkout-summary-box h4 {
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.summary-items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 120px;
    overflow-y: auto;
    margin-bottom: 12px;
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 10px;
}

.submit-order-btn {
    padding: 16px;
    font-size: 1rem;
}

/* Success Modal Layout */
.success-container {
    max-width: 480px;
    padding: 40px;
}

.success-icon-wrapper {
    font-size: 4rem;
    color: var(--color-red);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px var(--color-red));
}

.success-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.success-text {
    font-size: 0.95rem;
    color: var(--color-silver);
    margin-bottom: 30px;
}

.order-details-card {
    background-color: var(--bg-primary);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.order-details-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

/* About Section Styles */
.about-section {
    background-color: var(--bg-primary);
    z-index: 1;
}

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

.about-images-showcase {
    position: relative;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-card {
    position: absolute;
    width: 280px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background-color: var(--bg-tertiary);
    transition: transform var(--transition-smooth), z-index var(--transition-fast);
}

.about-image-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.image-label {
    padding: 14px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-silver);
}

.card-storefront {
    transform: rotate(-6deg) translateX(-50px) translateY(-30px);
    z-index: 2;
}

.card-interior {
    transform: rotate(6deg) translateX(70px) translateY(50px);
    z-index: 1;
}

.about-image-card:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 5;
    border-color: var(--color-red);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), var(--shadow-red);
}

.about-content {
    display: flex;
    flex-direction: column;
}

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

.features-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-item i {
    font-size: 1.8rem;
    margin-top: 4px;
}

.feature-item h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--color-silver);
}

/* 3D Carousel Gallery Styles */
.gallery-section {
    background-color: var(--bg-secondary);
    overflow: hidden;
    z-index: 1;
}

.gallery-carousel-container {
    position: relative;
    max-width: 900px;
    height: 480px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.gallery-slider {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.gallery-slide {
    position: absolute;
    width: 320px;
    height: 400px;
    left: 50%;
    top: 50%;
    margin-left: -160px;
    margin-top: -200px;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth), z-index var(--transition-smooth);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.slide-card {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background-color: var(--bg-tertiary);
    display: flex;
    flex-direction: column;
}

.slide-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.slide-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-info h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.slide-info p {
    font-size: 0.8rem;
    color: var(--color-silver);
    line-height: 1.4;
}

/* 3D Slide Alignments (Carousel Math in CSS) */
.gallery-slide.active {
    opacity: 1;
    z-index: 10;
    transform: translate3d(0, 0, 100px);
    pointer-events: auto;
}

.gallery-slide.prev {
    opacity: 0.75;
    z-index: 5;
    transform: translate3d(-240px, 0, 0) rotateY(30deg) scale(0.85);
    pointer-events: auto;
}

.gallery-slide.next {
    opacity: 0.75;
    z-index: 5;
    transform: translate3d(240px, 0, 0) rotateY(-30deg) scale(0.85);
    pointer-events: auto;
}

.gallery-slide.far-prev {
    opacity: 0.2;
    z-index: 1;
    transform: translate3d(-400px, 0, -100px) rotateY(45deg) scale(0.7);
}

.gallery-slide.far-next {
    opacity: 0.2;
    z-index: 1;
    transform: translate3d(400px, 0, -100px) rotateY(-45deg) scale(0.7);
}

.gallery-nav-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: var(--transition-fast);
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

.gallery-nav-btn:hover {
    background-color: var(--color-red);
    border-color: var(--color-red);
    box-shadow: var(--shadow-red);
    color: var(--color-real-white);
}

.prev-btn { left: 40px; }
.next-btn { right: 40px; }

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-light-grey);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: var(--color-red);
    box-shadow: var(--shadow-red);
}

/* Contact & Map Section Styles */
.contact-section {
    background-color: var(--bg-primary);
    z-index: 1;
}

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

.contact-info-card {
    background-color: var(--bg-tertiary);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-premium);
}

.contact-lead-text {
    color: var(--color-silver);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
}

.contact-detail-item i {
    font-size: 1.6rem;
    margin-top: 2px;
}

.contact-detail-item h5 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-detail-item p {
    font-size: 0.95rem;
    color: var(--color-silver);
}

.maps-button-action {
    display: flex;
    padding: 16px;
    font-size: 1rem;
}

.map-iframe-container {
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 42, 52, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05), var(--shadow-red);
    transition: transform var(--transition-smooth), border-color var(--transition-fast);
    transform-style: preserve-3d;
}

.map-iframe-container:hover {
    border-color: var(--color-red);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1), var(--shadow-red-strong);
}

/* Footer Styles */
.footer {
    background-color: var(--bg-secondary);
    padding: 60px 0 30px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.footer-logo {
    justify-content: center;
    margin-bottom: 16px;
}

.footer-tagline {
    color: var(--color-silver);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--color-silver);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--color-red);
    color: var(--color-real-white);
    border-color: var(--color-red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-red);
}

.footer-copyright {
    color: var(--color-silver);
    font-size: 0.8rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
}

/* Scroll Fade In Animation Classes (triggered by intersection observer) */
.scroll-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h2.section-title {
        font-size: 2.3rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .menu-layout {
        grid-template-columns: 1fr;
    }
    
    .menu-categories {
        position: relative;
        top: 0;
        margin-bottom: 20px;
        overflow-x: hidden;
        padding: 16px;
    }
    
    .category-list {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
    }
    
    .category-btn {
        flex: 0 0 auto;
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-images-showcase {
        height: 380px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .btn-header {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
        gap: 20px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions-btns {
        justify-content: center;
    }
    
    .hero-graphic-container {
        height: 320px;
    }
    
    .scene-3d {
        width: 180px;
        height: 220px;
    }
    
    .cup-top { width: 140px; height: 42px; transform: rotateX(90deg) translateZ(21px); }
    .cup-liquid { width: 126px; height: 35px; transform: rotateX(90deg) translateZ(20px); }
    .cup-body { top: 21px; width: 140px; height: 160px; border-radius: 0 0 70px 70px; }
    .cup-sleeve { top: 60px; width: 147px; height: 60px; }
    .cup-handle { top: 40px; right: -21px; width: 49px; height: 84px; border-width: 10px; }
    
    .about-images-showcase {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        position: relative;
    }
    
    .about-image-card {
        position: relative;
        width: 100%;
        max-width: 100%;
        transform: none !important;
        margin: 0 auto;
    }
    
    .about-image-card img {
        height: 220px;
        border-radius: 12px 12px 0 0;
    }
    
    .map-iframe-container {
        height: 300px;
    }
    
    .modal-content-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-img-container {
        min-height: 200px;
        height: 200px;
    }
    
    .modal-details-container {
        padding: 24px;
    }
    
    .gallery-carousel-container {
        height: 420px;
    }
    
    .gallery-slide {
        width: 260px;
        height: 340px;
        margin-left: -130px;
        margin-top: -170px;
    }
    
    .gallery-slide.prev {
        transform: translate3d(-150px, 0, 0) rotateY(30deg) scale(0.8);
    }
    
    .gallery-slide.next {
        transform: translate3d(150px, 0, 0) rotateY(-30deg) scale(0.8);
    }
    
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
    }
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
}

@media (max-width: 576px) {
    .modal-container {
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-details-container {
        max-height: none;
        padding: 20px;
    }
    
    .modal-content-grid {
        display: block;
    }
    
    .cart-sidebar {
        padding: 16px;
    }
    
    .cart-items-wrapper {
        padding: 16px;
    }
    
    .checkout-form-wrapper {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-actions-btns {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions-btns .btn {
        width: 100%;
    }
    
    .size-options-grid {
        grid-template-columns: 1fr;
    }
    
    .addons-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .gallery-slide.prev, .gallery-slide.next {
        opacity: 0;
        pointer-events: none;
        transform: scale(0) !important;
    }
}
