:root {
    --primary-pink: #FF80AB;
    --light-pink: #FFB2C9;
    --dark-pink: #C75076;
    --gold: #D4AF37;
    --light-gold: #F5E7A3;
    --black: #1A1A1A;
    --white: #FFFFFF;
    --gray: #F5F5F5;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 0.5rem auto;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Sprinkles Animation */
.sprinkles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Header and Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.75rem;
    color: var(--dark-pink);
    margin: 0;
}

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

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    font-weight: 500;
    color: var(--black);
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.order-btn {
    background-color: var(--primary-pink);
    color: var(--white) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.order-btn:hover {
    background-color: var(--dark-pink);
}

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    margin: 2px 0;
    transition: transform 0.3s ease;
}

/* Hero Section */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1605807646983-377bc5a76493') no-repeat center center;
    background-size: cover;
    color: var(--white);
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,128,171,0.7) 0%, rgba(212,175,55,0.7) 100%);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 1rem;
}

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

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--gold);
    color: var(--black);
    font-weight: bold;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--gold);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--white);
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--gray);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px; /* Define container height for consistent sizing */
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Scales image to fill container while maintaining aspect ratio */
    transition: transform 0.5s ease;
}

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

.crown-decoration {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

/* Featured Section */
.featured {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.featured-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-10px);
}

.item-image {
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.item-image img {
    transition: transform 0.5s ease;
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.featured-item:hover .item-image img {
    transform: scale(1.1);
}

.featured-item h3 {
    color: var(--dark-pink);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Video Section */
.video-section {
    padding: 3rem 0;
    background-color: var(--black);
}

.video-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

#pastry-video {
    width: 100%;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, rgba(26, 26, 26, 0.7), rgba(255, 128, 171, 0.3));
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

.video-overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.video-overlay h2::after {
    background: var(--white);
}

/* Menu Section */
.menu {
    padding: 5rem 0;
    background-color: var(--gray);
}

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

.menu-category {
    padding: 0.5rem 1.5rem;
    background-color: var(--white);
    border: 2px solid var(--light-pink);
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-category.active, .menu-category:hover {
    background-color: var(--primary-pink);
    color: var(--white);
    border-color: var(--primary-pink);
}

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

.menu-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.menu-item h3 {
    padding: 1rem 1rem 0.5rem;
    color: var(--dark-pink);
}

.menu-item p {
    padding: 0 1rem 1rem;
    color: var(--gold);
    font-weight: bold;
}

/* Locations Section */
.locations {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.location {
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--gray);
    transition: transform 0.3s ease;
}

.location:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.location h3 {
    color: var(--dark-pink);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--gray);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-pink);
}

.submit-btn {
    background-color: var(--gold);
    color: var(--black);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--light-gold);
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--gold);
    margin-right: 1rem;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-pink);
    color: var(--white);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--dark-pink);
}

/* Order Section */
.order {
    padding: 5rem 0;
    background-color: var(--black);
    color: var(--white);
    text-align: center;
}

.order h2::after {
    background-color: var(--primary-pink);
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto 0;
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 30px 0 0 30px;
    font-family: var(--font-body);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background-color: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 0 30px 30px 0;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--light-gold);
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo, .footer-links, .footer-newsletter {
    flex: 1;
    min-width: 250px;
}

.footer-logo h2 {
    text-align: left;
    margin-bottom: 0.5rem;
}

.footer-logo h2::after {
    display: none;
}

.footer-links h3, .footer-newsletter h3 {
    color: var(--primary-pink);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

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

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

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

.footer-newsletter form {
    display: flex;
    margin-top: 1.5rem;
}

.footer-newsletter input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: var(--font-body);
}

.footer-newsletter button {
    padding: 0.75rem 1rem;
    background-color: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 0 5px 5px 0;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-newsletter button:hover {
    background-color: var(--light-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-policies {
    display: flex;
    gap: 1.5rem;
}

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

/* Media Queries */
@media (max-width: 992px) {
    h2 {
        font-size: 2rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
    }

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

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

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

    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .contact-form, .contact-info {
        flex: 100%;
    }

    .footer-content > div {
        flex: 100%;
        text-align: center;
    }

    .footer-logo h2::after {
        display: block;
        margin: 0.5rem auto;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: 30px;
        margin-bottom: 1rem;
    }

    .newsletter-form button {
        border-radius: 30px;
    }

    .image-wrapper {
        height: 300px; /* Adjust height for smaller screens */
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.75rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
    }

    .footer-policies {
        flex-direction: column;
        gap: 0.75rem;
    }

    .image-wrapper {
        height: 250px; /* Further adjust height for very small screens */
    }
}