:root {
    --gold: #d4a373;
    --dark: #1a1a1a;
    --cream: #fefae0;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body, .menu-section, .sub-menu-page {
    background-color: #3e2b23 !important; /* This is the deep coffee brown */
    color: #3e2b23; /* This makes all text a soft cream so you can read it */
}
/* NAVBAR */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%; background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgb(190, 136, 86);
}
/* Styling the logo in the Navbar */

.nav-logo:hover {
    transform: scale(1.05); /* Subtle grow effect when hovered on PC */
}

/* Ensure the navbar items stay aligned */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
}

/* --- NAVBAR TEXT STYLE --- */
.logo {
    text-decoration: none;
    font-family: 'Playfair Display', serif; 
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fdfaf5 !important; 
    
    /* THE GLOW EFFECT */
    /* This adds a soft orange light behind the letters */
    text-shadow: 
        0 0 10px rgba(192, 115, 77, 0.8),
        0 0 20px rgba(192, 115, 77, 0.4);
        
    /* Optional: This makes the glow "flicker" slightly like a real lamp */
    animation: text-glow 3s infinite alternate;
}

/* This makes the glow breathe in and out */
@keyframes text-glow {
    from { text-shadow: 0 0 10px rgba(192, 115, 77, 0.6); }
    to { text-shadow: 0 0 20px rgba(192, 115, 77, 1), 0 0 30px rgba(192, 115, 77, 0.4); }
}

.logo span {
    color: #c0734d !important; /* The brand orange */
    margin-left: 2px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #3e2723 !important; /* Dark coffee brown */
}
.call-btn { text-decoration: none; background: var(--cream); color: rgb(70, 41, 3); padding: 0.6rem 1.2rem; border-radius: 50px; font-weight: 600; font-size: 0.8rem; }

/* HERO */
.hero {
    height: 85vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('bakery.jpg') center/cover no-repeat;
    text-align: center; color: white; padding: 20px;
}
.hero-overlay h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 8vw, 4rem); animation: fadeUp 0.8s ease-out; }
.hero-overlay p { margin: 1rem 0 2rem; font-size: 1.1rem; animation: fadeUp 1s ease-out 0.2s backwards; }
.primary-btn { text-decoration: none; background: var(--gold); color: white; padding: 1rem 2rem; border-radius: 12px; font-weight: 600; transition: 0.3s; }
.primary-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(212,163,115,0.3); }

/* PRODUCTS */
.menu-section { padding: 5rem 5%; background: var(--cream); }
.section-header { text-align: center; margin-bottom: 3rem; }
.product-card {
    background: #3e2723; /* Lighter brown to pop against the background */
    border-radius: 25px;
    padding: 20px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Make sure the headings inside the cards stay readable */
.product-card h3, .product-card p {
    color: #ffffff !important;
}
.product-card:hover {
    transform: translateY(-10px);
    background: #5d4037; /* Brightens up when touched/hovered */
}
.emoji { font-size: 3rem; display: block; margin-bottom: 1rem; }
.badge { position: absolute; top: 15px; right: 15px; background: var(--gold); color: white; font-size: 0.7rem; padding: 4px 12px; border-radius: 20px; }
.price { display: block; margin-top: 1rem; font-weight: 700; color: var(--gold); font-size: 1.2rem; }

/* FOOTER & FLOATING BTN */
footer { padding: 3rem; text-align: center; background: white; color: #888; font-size: 0.9rem; }
.floating-btn { position: fixed; bottom: 25px; right: 25px; background: var(--dark); color: white; padding: 12px 24px; border-radius: 50px; text-decoration: none; font-weight: 600; box-shadow: 0 10px 20px rgba(0,0,0,0.2); z-index: 2000; }

/* ANIMATIONS */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .hero { height: 90vh; }
    .product-card { flex: 1 1 100%; }
}/* Ensure the link wraps the card perfectly */
.category-card {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1 1 300px; /* Adjusts for mobile/PC automatically */
    max-width: 350px;
    transition: transform 0.2s ease;
}

/* Add a visual cue that it is clickable */
.category-card:active {
    transform: scale(0.95); /* Shrinks slightly when tapped on phone */
}

.view-btn {
    display: inline-block;
    margin-top: 15px;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Hide the border we used for testing earlier */
.hero {
    border: none !important;
}
/* Back button styling */
.back-link {
    text-decoration: none;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Placeholder for your cake photos */
.image-box {
    width: 100%;
    height: 200px;
    background: #f9f9f9;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.order-notice {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    border: 1px dashed var(--gold);
}

.order-notice p {
    margin-bottom: 1.5rem;
}
/* --- SUB-PAGE SPECIFIC STYLES --- */

/* Ensures the layout starts below the sticky navbar */
.menu-section {
    padding-top: 100px; 
    min-height: 100vh;
}

/* Styling for the Back button in the navbar */
.back-link {
    text-decoration: none;
    color: var(--gold);
    font-weight: 600;
    transition: 0.3s;
    padding: 10px;
}

.back-link:hover {
    color: var(--dark);
}

/* Styling for the image placeholders on product pages */
.image-box {
    width: 100%;
    height: 220px;
    background: #fdfaf5;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0,0,0,0.05);
}

/* The notice box at the bottom (Great for Cake orders) */
.order-notice {
    max-width: 600px;
    margin: 4rem auto;
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 30px;
    border: 2px dashed var(--gold);
}

/* Ensure images fit perfectly inside cards when you add them */
.product-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
}
/* Styling for the product images */
.product-img {
    width: 100%;
    height: 200px; /* Fixed height for a clean grid */
    object-fit: cover; /* Ensures your photos aren't stretched */
    border-radius: 15px;
    margin-bottom: 1.5rem;
    background-color: #f9f9f9; /* Shows light grey while image loads */
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.03);
}

/* Container for the grid */
.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px 0;
}
.sub-menu-page {
    padding-top: 120px; /* Space for the navbar */
    padding-bottom: 5rem;
    min-height: 100vh;
    
    /* This is your blurry background */
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
                url('menu-bg.jpg') center/cover no-repeat fixed;
    
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- CHRISTMAS LIGHTS --- */
.lightrope {
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
  z-index: 1;
  margin: -15px 0 0 0;
  padding: 0;
  pointer-events: none;
  width: 100%;
}

.lightrope li {
  position: relative;
  animation-fill-mode: both; 
  animation-iteration-count:infinite;
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-block;
  width: 12px;
  height: 28px;
  border-radius: 50%;
  margin: 20px;
  background: #c0734d; /* Brand Orange */
  box-shadow: 0px 4px 24px 3px #c0734d;
  animation-name: flash-1;
  animation-duration: 2s;
}

/* Make every other light green for a holiday look */
.lightrope li:nth-child(2n+1) {
  background: #2e7d32; /* Christmas Green */
  box-shadow: 0px 4px 24px 3px rgba(46, 125, 50, 0.5);
  animation-name: flash-2;
  animation-duration: 0.4s;
}

/* The Blinking Animation */
@keyframes flash-1 { 
    0%, 100% { opacity: 1; } 
    50% { opacity: 0.3; } 
}
@keyframes flash-2 { 
    0%, 100% { opacity: 0.3; } 
    50% { opacity: 1; } 
}
.xmas-lights-drape {
    position: fixed; /* Stays at the top even when scrolling */
    top: 60px;       /* Just below your navbar */
    left: 0;
    width: 100%;
    height: 40px;    /* Height of your gif */
    background-image: url('xmas lamps.gif');
    background-repeat: repeat-x; /* Repeats the string across the screen */
    background-size: contain;
    z-index: 999;    /* Below the nav but above the cards */
    pointer-events: none; /* So phone users don't accidentally click it */
}
.divider-lights {
    width: 200px; /* A small string */
    height: 40px;
    margin: 10px auto;
    background: url('xmas lamps.gif') center/contain no-repeat;
}
.seasonal-tag {
    background: #c0734d; /* Your brand orange */
    color: white;
    font-size: 0.7rem;
    padding: 2px 10px;
    border-radius: 15px;
    margin-bottom: 10px;
    font-weight: bold;
    display: inline-block;
}
.menu-section {
    position: relative;
    background-color: #3e2723;
    /* This adds a subtle texture so the brown isn't "flat" */
    background-image: url('https://www.transparenttextures.com/patterns/dark-matter.png'); 
}

/* Add a faint decorative icon in the corner of the section */
.menu-section::after {
    content: '🥖'; /* Or a Christmas tree 🎄 */
    position: absolute;
    bottom: 10%;
    right: 5%;
    font-size: 10rem;
    opacity: 0.03; /* Make it BARELY visible */
    pointer-events: none;
}
.snow-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.snow {
    width: 10px; height: 10px;
    background: white;
    border-radius: 50%;
    filter: blur(2px); /* Makes it look soft */
    box-shadow: 
        20vw 10vh 2px white, 
        40vw 30vh 3px white, 
        60vw 15vh 1px white, 
        80vw 50vh 4px white,
        10vw 80vh 2px white;
    opacity: 0.3;
}
.snow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    /* We add more layers to fill the "empty" brown gaps */
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(3px 3px at 40px 70px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 50px 160px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(4px 4px at 110px 10px, rgba(255,255,255,0.8), rgba(0,0,0,0)), /* Larger flakes */
        radial-gradient(2px 2px at 150px 150px, #ffffff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 250px 250px;
    animation: snow-fall 12s linear infinite;
    opacity: 0.4;
}

@keyframes snow-fall {
    from { background-position: 0px 0px; }
    to { background-position: 100px 500px; } /* Makes it fall diagonally */
}
.product-title {
    font-family: 'Playfair Display', serif;
    color: #fdfaf5;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.product-desc {
    color: rgba(252, 250, 245, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.price-tag {
    display: block;
    color: #c0734d; /* Brand Orange */
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* THE CREAMY BUTTON */
.order-now-btn {
    display: block;
    background-color: #c7a182; /* Cream background */
    color: #3e2723 !important; /* Brown text */
    text-align: center;
    padding: 15px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    transition: 0.3s;
}

.order-now-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.bakery-gallery {
    padding: 50px 5%;
    background-color: #3e2723; /* Matching your main brown */
    text-align: center;
}

.section-title {
    color: #fdfaf5;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
}

.video-container {
    display: grid;
    /* This creates 4 columns on PC, 2 on Tablet, 1 on Phone */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-item {
    aspect-ratio: 9/16; /* TikTok/Reel style vertical videos */
    background: #2d1b18;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(253, 250, 245, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Special hover effect to make it interactive */
.video-item:hover {
    transform: scale(1.02);
    border-color: #c0734d; /* Glows orange on hover */
    transition: 0.3s ease;
}
.video-item video {
    will-change: transform; /* Tells the phone to prepare its graphics card */
    transform: translateZ(0); /* Forces hardware acceleration */
}
.order-page {
    background-color: #2d1b18; /* Deep brown */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.order-container {
    background-color: #fdfaf5; /* Creamy white */
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    text-align: center;
}

.order-container h2 { color: #3e2723; }
.order-container p { color: #795548; margin-bottom: 20px; }

.input-group {
    text-align: left;
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-weight: bold;
    color: #3e2723;
    margin-bottom: 5px;
}

.input-group input, .input-group select, .input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
}

.confirm-btn {
    background-color: #c0734d; /* Warm orange/brown */
    color: white;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.confirm-btn:hover { background-color: #3e2723; }

.back-link {
    display: block;
    margin-top: 20px;
    color: #795548;
    text-decoration: none;
}