/* =========================================
   1. CSS VARIABLES & RESET
   ========================================= */
:root {
    --primary-brown: #4a3b32;
    --dark-brown: #2e2622;
    --accent-gold: #d4a373;
    --text-cream: #faebd7; 
    --light-bg: #fdfbf7;
    --white: #ffffff;
    --grey-light: #f4f4f4;
    --input-border: #e0e0e0;
    --meta-text: #888;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Poppins', sans-serif; 
    overflow-x: hidden; 
    background-color: var(--light-bg);
    color: var(--primary-brown);
}

a { text-decoration: none; color: inherit; transition: 0.3s; cursor: pointer; }
ul { list-style: none; }
img { width: 100%; display: block; }
p { line-height: 1.7; color: #666; }

/* SPA Logic: Pages are hidden by default */
.page-section { display: none; animation: fadeInPage 0.5s ease-out; }
.page-section.active { display: block; }
@keyframes fadeInPage { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   2. LOADING ANIMATION
   ========================================= */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: var(--light-bg);
    z-index: 9999; /* Above Navbar */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease-out, visibility 0.6s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Spinning Ring */
.loader-ring {
    width: 120px;
    height: 120px;
    border: 4px solid rgba(212, 163, 115, 0.2);
    border-top: 4px solid var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
}

/* Center Icon */
.loader-icon {
    font-size: 3rem;
    color: var(--primary-brown);
    animation: pulse 1s ease-in-out infinite alternate;
}

/* Text below */
.loader-text {
    margin-top: 80px; /* Push below ring */
    font-family: 'Pacifico', cursive;
    font-size: 1.5rem;
    color: var(--primary-brown);
    letter-spacing: 1px;
    animation: fadeInText 2s ease-in-out;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(0.9); opacity: 0.8; } 100% { transform: scale(1.1); opacity: 1; } }
@keyframes fadeInText { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: translateY(0); } }

/* =========================================
   3. GLOBAL ANIMATIONS
   ========================================= */
.fade-in {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   4. NAVBAR
   ========================================= */
.navbar {
    position: fixed; top: 0; width: 100%; height: 90px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 5%; z-index: 1000; background: transparent; 
    transition: all 0.4s ease-in-out;
}
.navbar.scrolled, .navbar.menu-open {
    background-color: var(--dark-brown);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 75px; 
}
.logo {
    font-family: 'Pacifico', cursive; font-size: 1.8rem;
    color: var(--accent-gold); text-shadow: 0 2px 5px rgba(0,0,0,0.2);
    flex-shrink: 0;
    display: flex; align-items: center;
}
.logo i { margin-right: 5px; font-size: 1.6rem; }

.nav-links { display: flex; gap: 25px; }
.nav-links li a {
    color: var(--text-cream); font-size: 0.9rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.5px; position: relative;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3); white-space: nowrap; 
}
.nav-links li a:hover, .nav-links li a.active-link { color: var(--accent-gold); }
.nav-links li a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -5px; left: 0; background-color: var(--accent-gold); transition: 0.3s;
}
.nav-links li a:hover::after { width: 100%; }

.hamburger { display: none; cursor: pointer; width: 30px; height: 20px; position: relative; z-index: 1001; }
.bar { display: block; width: 100%; height: 3px; background-color: var(--text-cream); position: absolute; left: 0; transition: all 0.3s ease-in-out; border-radius: 2px; }
.bar:nth-child(1) { top: 0; }
.bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
.bar:nth-child(3) { bottom: 0; }
.hamburger.active .bar:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* =========================================
   5. HERO SECTIONS
   ========================================= */
.hero {
    position: relative; width: 100%; height: 100vh;
    background-image: url('../hero-bg.jpg'); /* Adjusted path assuming image is in root */
    background-size: cover; background-position: center; background-repeat: no-repeat;
    display: flex; align-items: center; justify-content: flex-start; padding-left: 8%;
}
.hero-content { width: 50%; text-align: left; color: var(--text-cream); padding-right: 20px; }
.hero-subtitle { font-family: 'Pacifico', cursive; font-size: 2.5rem; color: var(--accent-gold); display: block; margin-bottom: 10px; }
.hero-title { font-size: 4.5rem; font-weight: 700; line-height: 1.1; margin-bottom: 25px; }
.hero-desc { font-size: 1.1rem; line-height: 1.6; margin-bottom: 40px; opacity: 0.95; max-width: 550px; }

.page-hero {
    position: relative; width: 100%; height: 50vh;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../hero-bg.jpg'); /* Adjusted path */
    background-size: cover; background-position: center;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; color: var(--text-cream); padding-top: 60px;
}

.page-title { font-size: 3.5rem; font-weight: 700; margin-bottom: 10px; }
.hero-sub { font-size: 1.2rem; font-family: 'Pacifico', cursive; color: var(--accent-gold); margin-bottom: 10px; }
.breadcrumb { font-size: 1rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.breadcrumb span { color: var(--accent-gold); }

/* =========================================
   6. COMMON UTILS & BUTTONS
   ========================================= */
.section-padding { padding: 80px 8%; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header span { font-family: 'Pacifico', cursive; color: var(--accent-gold); font-size: 1.5rem; display: block; margin-bottom: 5px; }
.section-header h2 { font-size: 2.5rem; color: var(--primary-brown); }

.btn-group { display: flex; justify-content: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.btn-main {
    padding: 15px 45px; background-color: var(--accent-gold); color: var(--dark-brown);
    font-weight: 600; border-radius: 50px; box-shadow: 0 5px 15px rgba(212, 163, 115, 0.4);
    white-space: nowrap; cursor: pointer; border: none; display: inline-block;
}
.btn-main:hover { background-color: #fff; transform: translateY(-3px); }

.btn-outline {
    padding: 13px 43px; border: 2px solid var(--primary-brown); color: var(--primary-brown);
    font-weight: 600; border-radius: 50px; display: inline-block; cursor: pointer;
}
.btn-outline:hover { background: var(--primary-brown); color: #fff; transform: translateY(-3px); }

/* =========================================
   7. SECTION STYLES
   ========================================= */
.features-section { padding: 80px 8%; background-color: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.feature-box { padding: 30px; text-align: center; border: 1px solid #eee; border-radius: 15px; transition: 0.3s; background: var(--white); }
.feature-box:hover { background: var(--light-bg); border-color: var(--accent-gold); transform: translateY(-10px); }
.feature-icon { font-size: 2.5rem; color: var(--accent-gold); margin-bottom: 20px; }
.feature-box h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-box p { font-size: 0.9rem; color: #777; }

.welcome-section { padding: 100px 8%; display: flex; align-items: center; gap: 50px; }
.welcome-text { flex: 1; }
.welcome-text h3 { font-size: 2rem; margin-bottom: 20px; line-height: 1.3; }
.welcome-img { flex: 1; height: 400px; background: #ddd; border-radius: 20px; overflow: hidden; }
.welcome-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.welcome-img:hover img { transform: scale(1.05); }

.products-section { padding: 100px 8%; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-bottom: 40px; }
.product-card { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: 0.3s; }
.product-card:hover { transform: translateY(-5px); }
.p-img { height: 250px; background: #ccc; }
.p-img img { width: 100%; height: 100%; object-fit: cover; }
.p-details { padding: 25px; text-align: center; }
.p-details h4 { font-size: 1.2rem; margin-bottom: 5px; }
.p-price { color: var(--accent-gold); font-weight: 700; margin-bottom: 15px; display: block; }

.story-container { display: flex; align-items: center; gap: 50px; }
.story-img { flex: 1; }
.story-img img { border-radius: 15px; box-shadow: 10px 10px 0px var(--accent-gold); }
.story-text { flex: 1; }
.story-text h3 { font-size: 2rem; margin-bottom: 20px; color: var(--primary-brown); }

.mv-section { background-color: var(--white); }
.mv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.mv-card { background: var(--light-bg); padding: 40px; border-radius: 15px; text-align: center; transition: 0.3s; border: 1px solid #eee; }
.mv-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.mv-icon { font-size: 3rem; color: var(--accent-gold); margin-bottom: 20px; }

.stats-section { background-color: var(--dark-brown); color: var(--text-cream); text-align: center; padding: 60px 8%; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 30px; }
.stat-item h2 { font-size: 3rem; color: var(--accent-gold); font-weight: 700; margin-bottom: 5px; }
.stat-item p { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.team-card { text-align: center; }
.team-img { width: 200px; height: 200px; margin: 0 auto 20px; border-radius: 50%; overflow: hidden; border: 5px solid var(--white); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.team-card:hover .team-img img { transform: scale(1.1); }
.team-role { color: var(--accent-gold); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; }

.menu-section { padding: 60px 8% 0px; }
.filter-container, .tags-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 50px; }
.filter-btn, .tag {
    background: transparent; border: 2px solid var(--accent-gold);
    color: var(--primary-brown); padding: 8px 25px; border-radius: 30px;
    font-family: 'Poppins', sans-serif; font-weight: 600; cursor: pointer;
    transition: 0.3s; font-size: 0.9rem;
}
.tag { border: 1px solid #ddd; background: var(--white); border-color: #ddd; font-weight: 500; padding: 8px 20px; }
.filter-btn:hover, .filter-btn.active, .tag:hover, .tag.active {
    background-color: var(--accent-gold); color: var(--white); border-color: var(--accent-gold);
}

.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.menu-item {
    background: var(--white); border-radius: 15px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; position: relative; border: 1px solid #eee;
}
.menu-item:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.item-img { height: 250px; overflow: hidden; position: relative; }
.item-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.menu-item:hover .item-img img { transform: scale(1.05); }

.badge { position: absolute; top: 15px; left: 15px; padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; color: #fff; z-index: 2; }
.badge-bestseller { background-color: #ff6b6b; }
.badge-eggless { background-color: #4caf50; top: 15px; right: 15px; left: auto; }

.item-details { padding: 20px; text-align: center; }
.item-name { font-size: 1.25rem; font-weight: 600; margin-bottom: 5px; color: var(--primary-brown); }
.item-desc { font-size: 0.9rem; color: #888; margin-bottom: 15px; }
.item-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid #eee; }
.price { font-size: 1.1rem; font-weight: 700; color: var(--accent-gold); }
.order-btn {
    background-color: var(--primary-brown); color: var(--white);
    padding: 8px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: 500;
    border: none; cursor: pointer; display: flex; align-items: center; gap: 5px; transition: 0.3s;
}
.order-btn:hover { background-color: #25D366; color: var(--white); }

.hide { display: none !important; }
.show { animation: popIn 0.5s ease; display: block; }
.gallery-item.show { display: block; } 
.blog-card.show { display: flex; }

@keyframes popIn { 0% { opacity: 0; transform: scale(0.9); } 100% { opacity: 1; transform: scale(1); } }

.how-to-order-section { padding: 80px 8%; text-align: center; background: var(--white); }
.how-to-order-section h2 { font-size: 2.5rem; margin-bottom: 15px; color: var(--primary-brown); }
.order-steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.order-step-card, .trust-box { padding: 20px; }
.order-step-icon, .trust-box i { width: 70px; height: 70px; background: var(--light-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.8rem; color: var(--accent-gold); border: 1px solid var(--accent-gold); }

.custom-cake-section { background-color: var(--primary-brown); color: var(--text-cream); padding: 80px 8%; text-align: center; }
.custom-cake-section h2 { font-size: 2.5rem; margin-bottom: 15px; color: var(--accent-gold); }
.notes-section { background-color: var(--grey-light); padding: 50px 8%; text-align: center; }
.notes-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.note-item { display: flex; align-items: center; gap: 10px; font-weight: 500; color: #555; }
.note-item i { color: var(--accent-gold); }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }
.step-card { padding: 20px; }
.step-icon { width: 80px; height: 80px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 2rem; color: var(--accent-gold); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

.form-section { background-color: var(--white); }
.form-container, .form-wrapper { max-width: 900px; margin: 0 auto; background: var(--light-bg); padding: 50px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #eee; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full-width { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 0.9rem; color: var(--primary-brown); }
input, select, textarea {
    padding: 12px 15px; border: 1px solid var(--input-border); border-radius: 8px;
    font-family: 'Poppins', sans-serif; font-size: 0.95rem; background: var(--white);
    transition: 0.3s; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-gold); box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.1); }
textarea { resize: vertical; height: 120px; }

.file-upload-wrapper { position: relative; width: 100%; height: 150px; border: 2px dashed var(--accent-gold); border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--white); cursor: pointer; transition: 0.3s; overflow: hidden; }
.file-upload-wrapper:hover { background: #fff8f0; }
.file-upload-wrapper input { position: absolute; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-content { text-align: center; color: #888; pointer-events: none; }
.upload-content i { font-size: 2rem; color: var(--accent-gold); margin-bottom: 10px; display: block; }
#image-preview { display: none; width: 100%; height: 100%; object-fit: contain; }

.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 15px; background: var(--white); padding: 20px; border-radius: 10px; border: 1px solid #eee; }
.trust-item i { color: var(--accent-gold); font-size: 1.5rem; }
.trust-item h5 { font-size: 1rem; color: var(--primary-brown); }

.faq-section { background-color: var(--white); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 1000px; margin: 0 auto; }
.faq-item h4 { font-size: 1.1rem; margin-bottom: 8px; color: var(--primary-brown); }

/* Gallery */
.gallery-section { padding: 60px 8% 80px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.gallery-item {
    position: relative; border-radius: 15px; overflow: hidden; height: 300px; cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.3s; touch-action: manipulation;
}
.gallery-item:hover { transform: translateY(-5px); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-item:hover img, .gallery-item.touch-hover img { transform: scale(1.1); }
.overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 100%;
    background: rgba(46, 38, 34, 0.7); display: flex; justify-content: center; align-items: center;
    flex-direction: column; opacity: 0; transition: 0.3s; padding: 20px; text-align: center;
}
.gallery-item:hover .overlay, .gallery-item.touch-hover .overlay { opacity: 1; }
.overlay h4 { color: var(--accent-gold); font-family: 'Pacifico', cursive; font-size: 1.5rem; margin-bottom: 5px; transform: translateY(20px); transition: 0.3s; }
.overlay p { color: var(--text-cream); font-size: 0.9rem; transform: translateY(20px); transition: 0.3s; }
.gallery-item:hover .overlay h4, .gallery-item.touch-hover .overlay h4, 
.gallery-item:hover .overlay p, .gallery-item.touch-hover .overlay p { transform: translateY(0); }

/* Lightbox */
.lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9); z-index: 2000;
    display: none; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s; padding: 20px; 
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox img { width: auto; height: auto; max-width: 90vw; max-height: 90vh; border-radius: 5px; box-shadow: 0 0 20px rgba(255,255,255,0.1); object-fit: contain; transform: scale(0.9); transition: 0.3s; }
.lightbox.active img { transform: scale(1); }
.close-lightbox { position: absolute; top: 30px; right: 30px; color: var(--white); font-size: 2.5rem; cursor: pointer; transition: 0.3s; z-index: 2001; }
.close-lightbox:hover { color: var(--accent-gold); transform: rotate(90deg); }

/* Testimonials */
.swiper { width: 100%; padding-top: 50px; padding-bottom: 50px; }
.swiper-slide {
    background-position: center; background-size: cover; width: 320px; background: var(--white);
    border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid #eee;
    display: flex; flex-direction: column; justify-content: center; padding: 40px 30px;
    position: relative; transition: all 0.3s;
}
.swiper-slide::before {
    content: '\201C'; position: absolute; top: 15px; left: 20px;
    font-family: serif; font-size: 4rem; color: rgba(212, 163, 115, 0.2); line-height: 1;
}
.stars { margin-bottom: 15px; color: #ffc107; font-size: 0.9rem; }
.review-text { font-size: 1rem; color: #666; line-height: 1.6; margin-bottom: 20px; font-style: italic; min-height: 80px; }
.customer-info { display: flex; align-items: center; gap: 10px; }
.avatar-placeholder {
    width: 45px; height: 45px; background-color: var(--light-bg);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--accent-gold); font-weight: 600; border: 1px solid var(--accent-gold); font-size: 1.1rem;
}
.info-text h4 { font-size: 1rem; color: var(--primary-brown); margin-bottom: 2px; }
.info-text span { font-size: 0.8rem; color: #999; }
.swiper-button-next, .swiper-button-prev {
    color: var(--accent-gold); background: rgba(255, 255, 255, 0.8);
    width: 50px; height: 50px; border-radius: 50%; box-shadow: 0 2px 10px rgba(0,0,0,0.1); transition: 0.3s;
}
.swiper-button-next:hover, .swiper-button-prev:hover { background: var(--primary-brown); color: var(--white); }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 1.2rem; font-weight: bold; }

/* Blog */
.featured-post {
    display: flex; gap: 40px; background: var(--white); border-radius: 20px;
    overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); margin-bottom: 60px;
    align-items: center; border: 1px solid #eee;
}
.featured-img { flex: 1; height: 400px; overflow: hidden; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.featured-post:hover .featured-img img { transform: scale(1.05); }
.featured-content { flex: 1; padding: 40px; }
.featured-label {
    background: var(--accent-gold); color: var(--dark-brown); padding: 5px 12px;
    border-radius: 5px; font-size: 0.8rem; font-weight: 600; display: inline-block; margin-bottom: 15px;
}
.featured-content h2 { font-size: 2rem; margin-bottom: 15px; line-height: 1.3; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.blog-card {
    background: var(--white); border-radius: 15px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s;
    border: 1px solid #eee; display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.blog-img { height: 220px; overflow: hidden; position: relative; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.blog-card:hover .blog-img img { transform: scale(1.1); }
.blog-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 0.85rem; color: var(--meta-text); margin-bottom: 10px; display: flex; justify-content: space-between; }
.blog-title { font-size: 1.3rem; margin-bottom: 10px; line-height: 1.4; color: var(--primary-brown); }
.blog-excerpt { font-size: 0.95rem; color: #666; line-height: 1.6; margin-bottom: 20px; flex: 1; }
.read-more { color: var(--accent-gold); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 5px; }
.read-more:hover { color: var(--primary-brown); gap: 8px; }

/* Contact */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.info-card {
    background: var(--white); padding: 40px 20px; text-align: center;
    border-radius: 15px; border: 1px solid #eee; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: 0.3s;
}
.info-card:hover { transform: translateY(-10px); border-color: var(--accent-gold); }
.info-icon {
    font-size: 2rem; color: var(--accent-gold); margin-bottom: 20px;
    width: 70px; height: 70px; background: var(--light-bg); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.submit-btn {
    background-color: var(--accent-gold); color: var(--dark-brown);
    padding: 15px 30px; border: none; border-radius: 50px;
    font-size: 1rem; font-weight: 600; cursor: pointer; transition: 0.3s;
    text-transform: uppercase; letter-spacing: 1px; width: 100%;
}
.submit-btn:hover { background-color: var(--primary-brown); color: var(--white); transform: translateY(-3px); }
.map-section { width: 100%; height: 450px; }
.map-container { width: 100%; height: 100%; filter: grayscale(20%); }
iframe { width: 100%; height: 100%; border: 0; }

/* Unified CTA */
.cta-section {
    background: linear-gradient(rgba(46, 38, 34, 0.9), rgba(46, 38, 34, 0.9)), url('../hero-bg.jpg'); /* Adjusted path */
    background-size: cover; background-attachment: fixed;
    padding: 100px 8%; text-align: center; color: var(--text-cream);
}
.cta-section h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--accent-gold); }
.cta-section p { max-width: 600px; margin: 0 auto 30px; line-height: 1.6; opacity: 0.9; }
.cta-section .btn-outline { border-color: var(--white); color: var(--white); }
.cta-section .btn-outline:hover { background-color: var(--white); color: var(--primary-brown); border-color: var(--white); }

footer { background: var(--dark-brown); color: #999; padding: 50px 0 20px; text-align: center; }
.footer-logo { font-family: 'Pacifico', cursive; font-size: 2rem; color: var(--accent-gold); display: block; margin-bottom: 20px; }
.socials a { color: var(--text-cream); margin: 0 10px; font-size: 1.2rem; transition: 0.3s; }
.socials a:hover { color: var(--accent-gold); }
.copyright { margin-top: 30px; font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.footer-note { font-size: 0.8rem; color: #777; margin-top: 10px; display: block; }

/* Media Queries */
@media (max-width: 1677px) { .hero { background-position: 75% center; } }
@media (max-width: 1050px) {
    .navbar { padding: 0 2%; } .nav-links { gap: 15px; } .nav-links li a { font-size: 0.8rem; }
    .logo { font-size: 1.5rem; } .hero-title { font-size: 3.5rem; } .hero-subtitle { font-size: 2rem; }
    .hero-content { width: 60%; } .story-container { gap: 30px; }
}
@media (max-width: 900px) {
    .logo i { margin-right: 12px; }

    .hamburger { display: block; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; z-index: 999; background: var(--dark-brown); flex-direction: column; justify-content: center; align-items: center; transition: 0.4s; gap: 30px; padding-top: 80px; }
    .nav-links.active { right: 0; } .nav-links li a { font-size: 1.2rem; }
    .hero { justify-content: center; padding: 0 20px; background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../hero-bg.jpg'); }
    .hero-content { width: 100%; padding: 0; text-align: center; } .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-title { font-size: 3rem; } .page-hero { height: 40vh; min-height: 280px; } .page-title { font-size: 2.5rem; }
    .welcome-section, .story-container, .featured-post { flex-direction: column; } .welcome-img, .story-img { width: 100%; }
    .stats-section { padding: 30px 20px; } .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } .stat-item h2 { margin-bottom: 5px; font-size: 2rem; } .stat-item p { font-size: 0.8rem; }
    .menu-grid, .faq-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; } .form-container { padding: 30px 20px; } form { grid-template-columns: 1fr; } .map-section { height: 350px; }
    .featured-img { width: 100%; height: 250px; } .featured-content { padding: 30px 20px; } .featured-content h2 { font-size: 1.8rem; } .blog-grid { grid-template-columns: 1fr; }
    .gallery-section { padding: 40px 15px; } .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .gallery-item { height: 180px; } .overlay h4 { font-size: 1.1rem; } .overlay p { font-size: 0.8rem; }
}
@media (max-width: 500px) { .menu-grid { grid-template-columns: 1fr; } .filter-btn { padding: 6px 15px; font-size: 0.8rem; } .swiper-slide { width: 280px; } }
@media (max-width: 400px) { 
    .hero-title, .page-title { font-size: 2.2rem; } .hero-subtitle { font-size: 1.8rem; } .btn-main { padding: 12px 30px; font-size: 0.9rem; }
    .features-grid, .product-grid, .mv-grid, .team-grid { grid-template-columns: 1fr; } 
    .features-section, .products-section, .welcome-section, .cta-section, .section-padding, .menu-section { padding: 50px 20px; }
    .cta-section h2, .custom-cake-section h2 { font-size: 2rem; } .notes-grid { flex-direction: column; gap: 15px; } .order-steps-grid { grid-template-columns: 1fr; gap: 20px; }
}