/* ===================================
   My Sister Can Do That! - Main Styles
   =================================== */

/* CSS Variables */
:root {
    /* Warm Bakery Palette */
    --primary-color: #d4a574; /* Warm Gold/Biscuit */
    --primary-dark: #b8935f;
    --secondary-color: #f8e1e7; /* Soft Pink */
    --accent-color: #5d4037; /* Chocolate */
    
    --text-dark: #4a4a4a; /* Softer Black */
    --text-light: #7a7a7a;
    
    --bg-cream: #fffaf0; /* Creamy White */
    --bg-white: #ffffff;
    --bg-pink-light: #fff0f5;
    --bg-gradient: linear-gradient(135deg, #fffaf0 0%, #fff5f8 100%);
    --bg-gradient-warm: linear-gradient(135deg, #fffaf0 0%, #fdfbf7 100%);
    --bg-gradient-card: linear-gradient(to bottom right, #ffffff, #fff9f9);
    
    --border-color: #e8e4df;
    
    --shadow-sm: 0 4px 6px rgba(93, 64, 55, 0.05);
    --shadow-md: 0 8px 15px rgba(93, 64, 55, 0.1);
    --shadow-lg: 0 15px 30px rgba(93, 64, 55, 0.15);
    
    --transition: all 0.3s ease;
    
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

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

/* Accessibility Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 2000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-cream);
    background-image: radial-gradient(#d4a574 0.5px, transparent 0.5px);
    background-size: 20px 20px; /* Subtle dot pattern */
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Spacing */
.section {
    padding: 6rem 0;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(212, 165, 116, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(212, 165, 116, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

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

.btn-full {
    width: 100%;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    width: 50px; /* Fixed small size */
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-toggle,
.nav-close {
    display: none;
    cursor: pointer;
    color: var(--accent-color);
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-lg);
        padding: 6rem 3rem;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 100;
    }

    .nav-menu.show-menu {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }

    .nav-toggle,
    .nav-close {
        display: block;
    }

    .nav-close {
        position: absolute;
        top: 2rem;
        right: 2rem;
    }
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-cream);
    background-image: linear-gradient(rgba(255, 250, 240, 0.9), rgba(255, 250, 240, 0.8)), url('/images/gallery/Cake/custom_wedding_cake.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
    text-align: center;
    position: relative;
}

/* Fallback for browsers that don't support WebP (uses gradient only) */
@supports not (background-image: url('/images/gallery/Cake/custom_wedding_cake.webp')) {
    .hero {
        background-image: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-pink-light) 100%);
    }
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.hero-label {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about {
    background: var(--bg-gradient-warm);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--accent-color);
    font-weight: 600;
}

.about-quote {
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--bg-pink-light);
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
}

.about-quote p {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--accent-color);
    line-height: 1.6;
}

.about-image {
    position: relative;
    text-align: center;
}

.image-placeholder-styled {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.about-logo-img {
    width: 100%;
    max-width: 300px; /* Limit width */
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-white);
    display: block;
    margin: 0 auto; /* Center image */
}

.about-caption {
    margin-top: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 1px;
    text-align: center;
    width: 100%;
    display: block;
}

@media screen and (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .image-placeholder-styled {
        aspect-ratio: 4/3;
        border-radius: 20px;
    }
    
    .image-placeholder-styled::before {
        border-radius: 10px;
    }
}

/* ===================================
   MENU & PRICING SECTION
   =================================== */

.menu {
    background-color: var(--bg-cream);
}

.menu-category {
    margin-bottom: 5rem;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.category-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.menu-card {
    background: var(--bg-gradient-card);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
}

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

.menu-card:hover::before {
    opacity: 1;
}

.click-hint {
    display: block;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.menu-card:hover .click-hint {
    opacity: 1;
    transform: translateY(0);
}

.menu-thumb {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: contain;
    background-color: var(--bg-white); /* Fallback for transparent images */
    margin: 0 auto 1.5rem; /* Center horizontally */
    border: 4px solid var(--bg-pink-light);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: block; /* Ensure block for margin auto */
    padding: 5px;
}

.menu-card:hover .menu-thumb {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--primary-color);
}

.menu-gallery-dropdown {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-light);
}

.menu-gallery-dropdown.active {
    display: flex;
    gap: 10px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s;
}

.dropdown-img:hover {
    transform: scale(1.05);
}

.dropdown-loading {
    width: 100%;
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    padding: 1rem;
}

.menu-item-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.menu-item-price {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.menu-item-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.menu-notes {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    margin-top: 4rem;
    border-left: 6px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.menu-notes h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.menu-notes ul {
    list-style: none;
}

.menu-notes li {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.menu-notes li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.menu-notes a {
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 1px solid transparent;
}

.menu-notes a:hover {
    border-bottom-color: var(--primary-color);
}

.menu-cta {
    text-align: center;
    margin-top: 4rem;
}

/* ===================================
   REVIEWS SECTION
   =================================== */

.reviews {
    background: linear-gradient(135deg, #fff0f5 0%, #ffe4e1 100%); /* Richer pink gradient */
    overflow: hidden;
    padding: 6rem 0;
    position: relative;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a574' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.reviews-container {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.review-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(212, 165, 116, 0.2);
    border-color: var(--primary-color);
}

.review-stars {
    color: #ffb400;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.review-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.review-author {
    font-weight: 700;
    color: var(--accent-color);
    text-align: right;
    font-size: 1.1rem;
    position: relative;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* ===================================
   GALLERY SECTION
   =================================== */

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

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    background: transparent;
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    aspect-ratio: 1; /* Square images */
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--bg-white); /* Fallback for transparent images */
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    object-fit: contain;
    animation: zoom 0.3s;
}

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

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.gallery-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover::after {
    opacity: 1;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-pink-light);
    color: var(--accent-color);
    text-align: center;
    padding: 1rem;
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact {
    background-color: var(--bg-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: var(--bg-gradient-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    background: linear-gradient(to bottom right, #ffffff, #fff0f5);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--bg-pink-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 1.05rem;
    color: var(--text-dark);
}

.contact-note {
    font-size: 0.9rem !important;
    color: var(--text-light) !important;
    margin-top: 0.5rem;
}

.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--bg-cream);
    border: 2px solid transparent;
    border-radius: 12px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

@media screen and (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.footer-contact a {
    color: var(--bg-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-contact a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.share-section {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.share-section h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.share-btn svg {
    width: 20px;
    height: 20px;
}

/* Brand Colors */
.share-btn.fb { background-color: #1877f2; }
.share-btn.tw { background-color: #000000; }
.share-btn.pin { background-color: #bd081c; }
.share-btn.li { background-color: #0a66c2; }
.share-btn.rd { background-color: #ff4500; }
.share-btn.em { background-color: var(--primary-color); }
.share-btn.sms { background-color: #4CAF50; }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   ANIMATIONS
   =================================== */

/* Base classes for JS to trigger */
.fade-in, 
.fade-in-up, 
.fade-in-left, 
.fade-in-right {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in {
    /* Just opacity */
}

.fade-in-up {
    transform: translateY(30px);
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-right {
    transform: translateX(30px);
}

/* Active state added by JS */
.animate-active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Staggered delays for children */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* ===================================
   MODAL
   =================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--bg-white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--text-light);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

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

#modalTitle {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    text-align: center;
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.modal-img-card {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.modal-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modal-img-card:hover img {
    transform: scale(1.05);
}

.modal-loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-style: italic;
}

.modal-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

/* ===================================
   PROCESS SECTION
   =================================== */

.process {
    background-color: var(--bg-cream);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: center;
    position: relative;
}

.process-step {
    background: var(--bg-gradient-card);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    z-index: 1;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 165, 116, 0.15);
    border-color: var(--primary-color);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===================================
   FAQ SECTION
   =================================== */

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

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   MOBILE STICKY CTA
   =================================== */

.mobile-cta {
    display: none; /* Hidden by default on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 1rem;
    gap: 1rem;
}

.mobile-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

.call-btn {
    background-color: var(--bg-pink-light);
    color: var(--accent-color);
}

.order-btn {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

@media screen and (max-width: 768px) {
    .mobile-cta {
        display: flex;
    }
    
    .footer {
        padding-bottom: 6rem; /* Space for sticky CTA */
    }
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary-color);
    color: var(--bg-white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

@media screen and (max-width: 768px) {
    .back-to-top {
        bottom: 5rem; /* Above sticky CTA */
        right: 1rem;
    }
}
