/* CSS Variables for Color Palette */
:root {
    --primary-pink: #8b5f82;
    --secondary-lavender: #e6d7ff;
    --accent-mint: #b8e6b8;
    --neutral-ivory: #fefefe;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--neutral-ivory);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(254, 254, 254, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo i {
    color: #8b5f82;
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--secondary-lavender) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/index/Hero.avif') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* As Seen On TV Badge */
.tv-badge {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 3;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.tv-badge:hover {
    transform: translateY(-3px);
}

.tv-badge-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: white;
    background: rgba(0, 0, 0, 0.45);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.tv-badge-thumb {
    position: relative;
    width: 180px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.tv-badge:hover .tv-badge-thumb {
    border-color: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.tv-badge-thumb img {
    width: 100%;
    display: block;
}

.tv-badge-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.tv-badge-play i {
    background: white;
    color: var(--primary-pink);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    padding-left: 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.tv-badge:hover .tv-badge-play {
    background: rgba(0, 0, 0, 0.15);
}

.tv-badge:hover .tv-badge-play i {
    background: var(--primary-pink);
    color: white;
    transform: scale(1.1);
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(4px);
}

.video-modal-content {
    position: relative;
    z-index: 1;
    width: 90vw;
    max-width: 900px;
    transform: scale(0.92);
    transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: var(--transition);
}

.video-modal-close:hover {
    opacity: 1;
    transform: scale(1.15);
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: black;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
}

.video-modal-label {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .tv-badge {
        bottom: 1.5rem;
        right: 1rem;
    }

    .tv-badge-thumb {
        width: 130px;
    }

    .video-modal-content {
        width: 95vw;
    }
}

/* Button Base Styles */
.cta-button,
.secondary-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button {
    background: white;
    color: var(--primary-pink);
    box-shadow: var(--shadow-soft);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.secondary-button {
    background: transparent;
    color: var(--primary-pink);
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-pink);
    font-size: 1rem;
}

.secondary-button:hover {
    background: var(--primary-pink);
    color: white;
}

/* Intro Section */
.intro {
    padding: 5rem 0;
    background: white;
}

.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* Featured Cakes Section */
.featured-cakes {
    padding: 5rem 0;
    background: var(--secondary-lavender);
}

.featured-cakes h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.cakes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Card Base Styles */
.cake-card,
.process-step,
.philosophy-item,
.faq-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.cake-card:hover,
.process-step:hover,
.philosophy-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.cake-image {
    height: 250px;
    overflow: hidden;
}

.cake-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    cursor: pointer;
}

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

.cake-info {
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.cake-info:hover {
    background: rgba(230, 215, 255, 0.3);
}

.cake-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.cake-info p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* About Preview Section */
.about-preview {
    padding: 5rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Social Media Section */
.social-media {
    padding: 5rem 0;
    background: var(--accent-mint);
    text-align: center;
}

.social-media h2 {
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    min-width: 120px;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    color: var(--primary-pink);
}

.social-icon i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.social-icon span {
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-pink);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-pink);
}

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

.footer-social a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary-pink);
}

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

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-pink);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    z-index: 1000;
}

.scroll-top:hover {
    background: var(--secondary-lavender);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.scroll-top.show {
    display: flex;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-soft);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cakes-grid {
        grid-template-columns: 1fr;
    }

    .social-icons {
        flex-direction: column;
        align-items: center;
    }

    .social-icon {
        min-width: 200px;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .logo span {
        font-size: 1.2rem;
    }
}

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--secondary-lavender) 100%);
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

/* Gallery Styles */
.gallery {
    padding: 5rem 0;
    background: white;
}

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

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
    cursor: pointer;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(184, 230, 184, 0.75); /* Changed from rgba(0,0,0,0.55) to semi-transparent accent-mint */
    color: #fff;
    padding: 1.5rem 1.2rem 1.2rem;
    transform: translateY(100%);
    transition: var(--transition);
    z-index: 10;
    border-radius: 0 0 12px 12px;
    box-shadow: none;
    cursor: pointer;
}

.gallery-caption:hover {
    background: rgba(184, 230, 184, 0.9);
}

.gallery-caption h3,
.gallery-caption p {
    color: #fff !important;
    background: none !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5) !important;
    margin: 0 0 0.5rem 0;
    padding: 0;
    border: none;
    display: block;
}

.gallery-caption h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.gallery-caption p {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.5;
    opacity: 1;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--accent-mint);
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Form Styles */
.request-form,
.contact-section {
    padding: 5rem 0;
    background: white;
}

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

.form-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
}

.form-section h3 {
    color: var(--primary-pink);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(248, 180, 217, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.submit-button {
    background: var(--primary-pink);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-button:hover {
    background: var(--secondary-lavender);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background: var(--secondary-lavender);
}

.process-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
}

/* Icon Base Styles */
.step-icon,
.timeline-icon,
.philosophy-icon,
.contact-icon {
    background: var(--primary-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.process-step h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* About Page Styles */
.about-section {
    padding: 5rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-text h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: var(--accent-mint);
    border-radius: var(--border-radius);
}

.stat h3 {
    font-size: 2rem;
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Story Section */
.story-section {
    padding: 5rem 0;
    background: var(--secondary-lavender);
}

.story-content h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.story-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.timeline-content h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Philosophy Section */
.philosophy-section {
    padding: 5rem 0;
    background: white;
}

.philosophy-content h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.philosophy-item {
    text-align: center;
    padding: 2rem;
    background: var(--accent-mint);
}

.philosophy-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.philosophy-item h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Contact Page Styles */
.contact-section {
    padding: 5rem 0;
    background: white;
}

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

.contact-info h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info > p {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    margin-bottom: 0.25rem;
}

.contact-details a {
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-details small {
    color: var(--text-light);
    font-size: 0.875rem;
}

.social-contact {
    margin-top: 2rem;
}

.social-contact h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-mint);
    color: var(--primary-pink);
}

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.contact-form-container h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--accent-mint);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    padding: 2rem;
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-pink);
    font-size: 1.1rem;
}

.faq-item p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* Responsive Design for New Components */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image img {
        height: 300px;
    }
}

/* Admin Panel Styles */
.admin-dashboard {
    padding: 2rem 0;
    background: white;
}

.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--secondary-lavender);
    padding-bottom: 1rem;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-button:hover {
    background: var(--accent-mint);
    color: var(--text-dark);
}

.tab-button.active {
    background: var(--primary-pink);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.admin-section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
}

.admin-section h2 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.admin-section > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-image-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.admin-image-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.admin-image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.image-info {
    padding: 1rem;
}

.image-info h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.image-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.image-actions {
    display: flex;
    gap: 0.5rem;
    padding: 0 1rem 1rem;
}

.action-button {
    background: var(--primary-pink);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.action-button:hover {
    background: var(--secondary-lavender);
    color: var(--text-dark);
}

.action-button.small {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

.action-button.delete {
    background: #ff6b6b;
}

.action-button.delete:hover {
    background: #ff5252;
}

.gallery-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.upload-section {
    background: var(--accent-mint);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.upload-section h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    margin-bottom: 0;
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.gallery-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

/* Content Management Styles */
.content-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.content-section {
    background: var(--accent-mint);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.content-section h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.content-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Responsive Admin Styles */
@media (max-width: 768px) {
    .admin-tabs {
        flex-direction: column;
    }
    
    .tab-button {
        justify-content: center;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-controls {
        flex-direction: column;
    }
    
    .content-sections {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}

/* Form Validation */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

.error-message {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.success-message {
    background: var(--accent-mint);
    color: var(--text-dark);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

/* Interactive card/image cursors */
.cake-card .cake-image img,
.gallery-item img,
.cake-info,
.gallery-caption {
    cursor: pointer;
}

.cake-card .cake-image img:hover,
.gallery-item img:hover {
    opacity: 0.9;
}

.cake-info:hover h3,
.cake-info:hover p {
    color: var(--primary-pink) !important;
}

/* Page load fade-in */
body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }
.hidden { display: none; }
.visible { display: block; }

/* Loading Styles */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-pink);
}

/* Loading States for Different Contexts */
.about-image .loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 500px;
    background: var(--secondary-lavender);
    border-radius: var(--border-radius);
}

.cake-image .loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 250px;
    background: var(--accent-mint);
}

.cakes-grid .loading {
    grid-column: 1 / -1;
    background: var(--accent-mint);
    border-radius: var(--border-radius);
    padding: 2rem;
}

/* Image Placeholder Styles */
.image-placeholder {
    background: var(--secondary-lavender);
    border: 2px dashed var(--primary-pink);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-style: italic;
}

/* Fade-in animation for loaded content */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

.instagram-link {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #e4405f;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}

.gallery-item:hover .instagram-link {
    opacity: 1;
}

.instagram-link:hover {
    background: #e4405f;
    color: white;
    transform: scale(1.1);
} 

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
} 

/* Enhanced Image Modal Styles */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 44, 44, 0.95);
    backdrop-filter: blur(5px);
}

.image-modal-content {
    position: relative;
    margin: auto;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.image-modal.active .image-modal-content {
    transform: scale(1);
}

.image-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    color: var(--text-dark);
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.image-modal-close:hover {
    background: var(--primary-pink);
    color: white;
    transform: scale(1.1);
}

.image-modal-body {
    display: flex;
    flex-direction: column;
}

.image-modal-image-container {
    position: relative;
    background: var(--neutral-ivory);
}

.image-modal-image {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    display: block;
}

.image-modal-info {
    padding: 2rem;
    background: white;
    border-top: 4px solid var(--accent-mint);
}

.image-modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.image-modal-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments for modal */
@media (min-width: 768px) {
    .image-modal-content {
        max-width: 800px;
        max-height: 85vh;
    }
    
    .image-modal-body {
        flex-direction: row;
        align-items: stretch;
    }
    
    .image-modal-image-container {
        flex: 1.2;
        min-height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .image-modal-image {
        max-height: none;
        height: 100%;
        max-width: 100%;
    }
    
    .image-modal-info {
        flex: 0.8;
        border-top: none;
        border-left: 4px solid var(--accent-mint);
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 300px;
    }
}

@media (min-width: 1024px) {
    .image-modal-content {
        max-width: 1000px;
    }
    
    .image-modal-title {
        font-size: 2rem;
    }
    
    .image-modal-description {
        font-size: 1.2rem;
    }
}

/* Animation for modal entrance */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.image-modal.active .image-modal-content {
    animation: modalFadeIn 0.3s ease;
}

 