/* Import Brand Fonts: Lora (Headings) and Poppins (Body/UI) */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Brand Color Variables */
:root {
    --honey-gold: #D4A017;
    --lavender: #C8A2C8;
    --vanilla-cream: #F3E5AB;
    --dark-truffle: #2B1B17;
    --rose-blush: #F4C2C2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Body: Vanilla Cream background with Subtle Dot Pattern (NO WHITE SPACE) */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--vanilla-cream);
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 10px 10px; /* Dot Pattern Texture */
    color: var(--dark-truffle);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: var(--dark-truffle);
    font-family: 'Lora', serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    color: var(--dark-truffle);
}

/* Key Gradients from Moodboard */
.main-brand-gradient {
    background: linear-gradient(135deg, var(--lavender) 0%, var(--vanilla-cream) 100%); /* Main Brand Gradient */
}

.blush-gradient-bg {
    background: linear-gradient(135deg, var(--vanilla-cream) 0%, var(--rose-blush) 100%); /* Blush Gradient */
}

/* Pattern Textures */
.warm-stripe-texture {
    background-image: linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 5px 5px; /* Warm Stripe Texture */
}

/* Premium Navigation: Vanilla Cream + Dot Pattern (NO WHITE) */
header {
    background-color: var(--vanilla-cream);
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 5px 5px; /* Subtle texture overlay */
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--honey-gold);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.nav-logo {
    height: 60px;
    width: auto;
    border-radius: 50%;
    border: 2px solid var(--honey-gold);
}

.brand-name {
    font-family: 'Lora', serif;
    font-size: 24px;
    font-weight: bold;
    color: var(--dark-truffle);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-truffle);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--honey-gold);
}

.cart-icon {
    position: relative;
    font-size: 1.3rem;
}

#cart-count {
    position: absolute;
    top: -10px;
    right: -15px;
    background-color: var(--rose-blush);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 7px;
    border-radius: 50%;
}

/* Premium Buttons: Honey Gold */
.btn-primary {
    display: inline-block;
    background-color: var(--honey-gold);
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-truffle);
    transform: translateY(-3px);
}

/* Page titles */
.page-header {
    text-align: center;
    padding: 50px 20px 30px 20px;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--dark-truffle);
}

.page-subtitle {
    font-size: 1.1rem;
    color: #666;
}

/* Products Grid (Products.html) - Vanilla Cream background + Dot Pattern Texture */
.products-section {
    padding: 30px 5%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Premium Cards with Bouncy hover */
.card {
    background-color: #fff;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 3px 3px; /* subtle card texture */
    border: 1px solid var(--lavender);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--honey-gold); 
}

.image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .product-img {
    transform: scale(1.05); /* zoom effect */
}

.card h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
    color: var(--dark-truffle);
    padding: 15px 15px 0 15px;
}

/* Size Selector for Pies */
.size-selector {
    padding: 10px 15px 15px 15px;
    display: flex;
    gap: 10px;
}

.size-btn {
    flex: 1;
    padding: 8px;
    border: 1px solid var(--lavender);
    background: #fff;
    color: var(--dark-truffle);
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.size-btn.active {
    border-color: var(--honey-gold);
    background-color: var(--vanilla-cream);
    color: var(--dark-truffle);
    font-weight: bold;
}

.card .price {
    font-weight: bold;
    color: var(--honey-gold);
    font-size: 1.2rem;
    padding: 0 15px;
    margin-bottom: 15px;
}

.card .btn-primary {
    width: 80%;
    margin: 0 auto;
}

/* Order/Checkout Page Layout - Using Blush Gradient + Dot Pattern (NO WHITE) */
.checkout-section {
    padding: 40px 5%;
}

.checkout-layout {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

/* Premium Content Area: Blush Gradient + Dot Pattern */
.cart-summary, .delivery-form {
    flex: 1;
    min-width: 320px;
    background-color: var(--vanilla-cream); /* Blush Gradient Texture */
    background-image: 
        linear-gradient(135deg, var(--vanilla-cream) 0%, var(--rose-blush) 100%),
        linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: cover, 5px 5px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--lavender);
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
}

.item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
}

.item-info {
    flex: 1;
}

.item-name {
    font-weight: bold;
    color: var(--dark-truffle);
}

.item-price {
    color: var(--honey-gold);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--dark-truffle);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--lavender);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    background-color: #fff;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--honey-gold);
}

/* Premium Animated Footer: Dark Truffle + Rose Blush */
.premium-footer {
    position: relative;
    background-color: var(--dark-truffle);
    color: var(--vanilla-cream);
    margin-top: 100px;
    padding-top: 60px;
}

/* SVG Wave Divider */
.footer-wave {
    position: absolute;
    top: -45px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.footer-wave .shape-fill {
    fill: var(--dark-truffle);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 40px 40px 40px;
}

.footer-logo-title {
    font-family: 'Lora', serif;
    color: var(--honey-gold);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-col h3 {
    color: var(--rose-blush);
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--vanilla-cream);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--honey-gold);
    padding-left: 8px; /* Slides right on hover */
}

.social-icons-wrapper {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons-wrapper a {
    color: var(--vanilla-cream);
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.social-icons-wrapper a:hover {
    color: var(--honey-gold);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.85rem;
    color: #aaa;
}

/* --- OTHER PAGES --- */
.simple-content {
    background-color: var(--vanilla-cream); /* Blush Gradient Texture */
    background-image: 
        linear-gradient(135deg, var(--vanilla-cream) 0%, var(--rose-blush) 100%),
        linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: cover, 5px 5px;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--lavender);
    max-width: 800px;
    margin: 30px auto;
}

/* Media Queries */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .page-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .page-title {
        font-size: 2.2rem;
    }
    .hero-title {
        font-size: 2.5rem; /* This shrinks the big text on mobile properly */
    }
}