@font-face {
    font-family: 'Monoline Script Std';
    src: url('../fonts/Monoline\ Script\ Regular/MonolineScriptStd-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #f5e6d3;
    --secondary-color: #8B4513;
    --text-color: #2c1810;
    --accent-color: #D2691E;
    --white: #ffffff;
    --gold: #D4AF37;
    --dark-gold: #B8860B;
    --maroon: #800000;
    --dark-maroon: #5D0000;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

h1, h2, h3, h4 {
    font-family: 'Dancing Script', cursive;
}

/* Indian Border Pattern */
.indian-border {
    height: 20px;
    position: relative;
    background: var(--maroon);
    background: linear-gradient(to bottom, 
        var(--dark-maroon) 0%, 
        var(--maroon) 50%, 
        var(--dark-maroon) 100%);
    overflow: hidden;
}

.indian-border::before, .indian-border::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.indian-border::before {
    background-image: 
        radial-gradient(circle at 10px 10px, var(--gold) 3px, transparent 3px),
        radial-gradient(circle at 20px 10px, var(--gold) 3px, transparent 3px),
        radial-gradient(circle at 30px 10px, var(--gold) 3px, transparent 3px),
        radial-gradient(circle at 40px 10px, var(--gold) 3px, transparent 3px),
        radial-gradient(circle at 50px 10px, var(--gold) 3px, transparent 3px),
        radial-gradient(circle at 60px 10px, var(--gold) 3px, transparent 3px);
    background-size: 60px 20px;
    background-repeat: repeat-x;
}

.indian-border::after {
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 2px, var(--gold) 2px, var(--gold) 4px),
        repeating-linear-gradient(-45deg, transparent, transparent 2px, var(--gold) 2px, var(--gold) 4px);
    background-size: 20px 10px;
    opacity: 0.3;
}

/* Decorative Indian Pattern */
.decorated-border {
    position: relative;
    padding: 20px 0;
}

.decorated-border::before, .decorated-border::after {
    display: none;
}

/* Heading Decorations */
.decorated-heading {
    position: relative;
    display: inline-block;
}

.decorated-heading::before, .decorated-heading::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 15px;
    background: var(--maroon);
    border: 1px solid var(--gold);
}

.decorated-heading::before {
    left: -50px;
    background-image: 
        radial-gradient(circle at center, var(--gold) 2px, transparent 3px),
        linear-gradient(90deg, var(--gold), var(--gold));
    background-size: 8px 8px, 100% 1px;
    background-position: center, center;
    background-repeat: no-repeat;
}

.decorated-heading::after {
    right: -50px;
    background-image: 
        radial-gradient(circle at center, var(--gold) 2px, transparent 3px),
        linear-gradient(90deg, var(--gold), var(--gold));
    background-size: 8px 8px, 100% 1px;
    background-position: center, center;
    background-repeat: no-repeat;
}

/* Wave Divider */
.wave-divider {
    display: none;
}

/* Header Container */
.header-container {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 237, 221, 0.95);
    backdrop-filter: blur(10px);
}

/* Navbar Styles */
.navbar {
    padding: 0.8rem 2rem;
    background-color: rgba(255, 237, 221, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
    transition: transform 0.3s ease;
    padding: 0.3rem;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo {
    width: 60px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.navbar .text h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #B00015;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    margin: 0;
}

.text h6 {
    font-family: 'Poppins', sans-serif;
    color: #FEA311;
    font-weight: 500;
    letter-spacing: 1px;
}

.nav-links a {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    text-decoration: none;
    margin-left: 20px;
    margin-right: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

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

/* Hero Section */
.hero {
    background-image: url('../css/Images/bakerymain.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 5% 6rem;
    text-align: center;
    position: relative;
    margin-bottom: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
}

.hero-content h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 5.5rem;
    margin-bottom: 10px;
    color: #B00015;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content .tagline {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: #753409;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.caption {
    width: 20%;
    height: auto;
    object-fit: cover;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.cta-button {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Featured Products */
.featured-products {
    padding: 6rem 5%;
    background-color: #ffeddd;
    position: relative;
    margin: 0;
}

.featured-products h2 {
    font-family: 'Dancing Script', cursive;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding: 0 30px;
}

.featured-products h2::before, .featured-products h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 15px;
    background-image: url('../css/Images/border.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    transform: translateY(-50%);
}

.featured-products h2::before {
    left: -15px;
}

.featured-products h2::after {
    right: -15px;
}

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

.product-card {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.product-card:first-child {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../css/Images/Cake\ BG\ 2.jpg');
}

.product-card:nth-child(2) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../css/Images/chef.jpeg');
}

.product-card:last-child {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../css/Images/Pastries\ BG.jpg');
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.product-card:hover .product-card-content {
    transform: translateY(0);
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
}

.product-card-content {
    width: 100%;
    padding: 2rem;
    color: white;
    transform: translateY(60px);
    transition: all 0.3s ease;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
}

.product-card h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.product-card p {
    font-family: 'Poppins', sans-serif;
    color: #ffeddd;
    font-size: 1.1rem;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 5%;
    background-color: #ffeddd;
    position: relative;
    margin: 0;
}

.testimonials h2 {
    font-family: 'Dancing Script', cursive;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding: 0 30px;
}

.testimonials h2::before, .testimonials h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 15px;
    background-image: url('../css/Images/border.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    transform: translateY(-50%);
}

.testimonials h2::before {
    left: -15px;
}

.testimonials h2::after {
    right: -15px;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 20px;
    font-size: 6rem;
    color: #B00015;
    font-family: 'Dancing Script', cursive;
    opacity: 0.2;
}

.testimonial-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
}

.customer-name {
    font-weight: 600;
    color: #B00015;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
}

/* Footer */
footer {
    font-family: 'Monoline Script Std', cursive;
    background-color: #B00015;
    padding: 4rem 5%;
    margin-top: 0;
    color: white;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    width: 80px;
    height: auto;
   
}

.footer-logo h3 {
    font-family: 'Monoline Script Std', cursive;
    color: white;
    font-size: 1.8rem;
    margin: 0;
}

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

.footer-links h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-links a {
    font-family: 'Poppins', sans-serif;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.footer-info p {
    font-family: 'Poppins', sans-serif;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-logo {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info, .hours {
        text-align: center;
    }
}

/* Menu Page Styles */
.menu-page {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 2rem 40px;
    background-color: var(--white);
    margin-top: 1rem;
}

.menu-section {
    margin-bottom: 5rem;
    position: relative;
}

.menu-section h2 {
    color: #B00015;
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    font-weight: bold;
    font-family: 'Dancing Script', cursive;
    position: relative;
}

.menu-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #B00015, transparent);
}

.menu-grid {
    display: grid;
    gap: 3rem;
    padding: 0 1rem;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2.5rem;
}

.menu-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    padding: 1.5rem;
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    background-color: #ffeddd;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    align-items: center;
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, #ffeedd 50%, transparent);
    opacity: 0.5;
    z-index: 0;
}

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

.item-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.item-name {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.item-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.item-price {
    font-weight: 600;
    color: #B00015;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.item-image {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.menu-item:hover .item-image {
    transform: scale(1.05);
}

@media (max-width: 1200px) {
    .menu-page {
        padding: 2rem 25px;
        margin-top: 60px;
    }
    
    .menu-items {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }

    .menu-section h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .menu-page {
        padding: 1rem 15px;
        margin-top: 70px;
    }
    
    .menu-items {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .menu-item {
        padding: 1.2rem;
        gap: 1.2rem;
        border-radius: 12px;
    }
    
    .item-image {
        width: 110px;
        height: 110px;
        border-radius: 10px;
    }
    
    .item-name {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }

    .item-description {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
        line-height: 1.5;
    }

    .item-price {
        font-size: 1.1rem;
    }
    
    .menu-section h2 {
        font-size: 2.3rem;
        margin-bottom: 2rem;
    }

    .menu-section h2::after {
        bottom: -10px;
        width: 60px;
    }

    .menu-section {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .menu-page {
        padding: 1rem 12px;
        margin-top: 65px;
    }

    .menu-item {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1rem;
        gap: 1rem;
    }
    
    .item-image {
        margin: 0 auto 0.8rem;
        order: -1;
        width: 140px;
        height: 140px;
    }
    
    .item-info {
        align-items: center;
    }

    .item-name {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .item-description {
        font-size: 0.9rem;
        margin-bottom: 0.7rem;
    }

    .menu-section h2 {
        font-size: 2rem;
        margin-bottom: 1.8rem;
    }

    /* Price container adjustments for mobile */
    .price-container {
        justify-content: center;
        margin-top: 0.3rem;
    }

    .price-container > div {
        align-items: center;
        text-align: center;
    }

    .price-label {
        text-align: center;
    }
}

/* Additional adjustments for very small devices */
@media (max-width: 360px) {
    .menu-page {
        padding: 1rem 10px;
    }

    .menu-item {
        padding: 0.8rem;
    }

    .item-image {
        width: 120px;
        height: 120px;
    }

    .item-name {
        font-size: 1.2rem;
    }

    .item-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .menu-section h2 {
        font-size: 1.8rem;
    }
}

/* Two Column Layout for Classic Cakes */
.menu-items.two-column .menu-item {
    grid-template-columns: 1fr auto;
}

.menu-items.two-column .item-info {
    grid-column: 1;
}

.menu-items.two-column .price-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.price-container {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 0.5rem;
    justify-content: flex-start;
}

.price-container > div {
    flex: 0 1 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.price-label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.25rem;
    text-align: left;
}

.price-container .item-price {
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

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

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

    .featured-products {
        padding: 3rem 5%;
    }

    .product-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
        background-color: #ffeddd;
    }

    .header {
        display: flex;
        align-items: center;
        margin-right: auto;
    }

    .logo {
        width: 60px;
        height: 50px;
        margin-right: 10px;
    }

    .text h1 {
        font-size: 1.2rem;
        margin: 0;
    }

    .text h6 {
        font-size: 0.8rem;
        margin: 0;
    }

    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        margin-left: 1rem;
        z-index: 1101;
        position: relative;
    }

    .bar {
        width: 100%;
        height: 3px;
        background-color: #333;
        transition: all 0.3s ease-in-out;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: #ffeddd;
        padding: 80px 20px 20px;
        transition: right 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        z-index: 1100;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 10px 0;
        font-size: 1.1rem;
        color: #333;
        text-decoration: none;
        transition: color 0.3s ease;
        width: 100%;
        padding: 10px 15px;
        border-radius: 5px;
    }

    .nav-links a:hover {
        background-color: rgba(176, 0, 21, 0.1);
    }

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

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

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

    body.menu-open {
        overflow: hidden;
    }

    /* Menu page specific mobile styles */
    .menu-nav-section {
        margin-top: 70px; /* Add space for fixed navbar */
        padding-top: 1rem;
    }

    .menu-nav-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.5rem;
        gap: 1rem;
        justify-content: flex-start;
    }

    .menu-nav-item {
        flex: 0 0 auto;
        padding: 0.5rem;
        min-width: auto;
    }

    .menu-nav-item img {
        width: 30px;
        height: 30px;
    }

    .menu-nav-item span {
        font-size: 0.8rem;
    }

    /* Add backdrop when menu is open */
    .menu-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    .menu-backdrop.active {
        display: block;
    }

    /* Ensure menu appears above other content */
    .menu-nav-section {
        position: relative;
        z-index: 500;
    }
}

/* Tablet Responsive Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 3rem;
    }

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

    .nav-links a {
        margin: 0 10px;
        font-size: 0.9rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

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

    .text h1 {
        font-size: 1.5rem;
    }

    .text h6 {
        font-size: 0.8rem;
    }

    .logo {
        width: 50px;
        height:auto;
    }
}

/* Ensure smooth transitions */
.nav-links, .hamburger-menu, .bar {
    transition: all 0.3s ease;
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
    .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .hamburger-menu {
        padding: 10px;
        margin: 0;
    }
}

/* Prevent text selection during menu transitions */
.nav-links {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Add backdrop when menu is open */
.menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.menu-backdrop.active {
    display: block;
}

/* Ensure proper stacking context */
.navbar {
    position: relative;
    z-index: 1000;
}

.nav-links {
    z-index: 1100;
}

/* Improve accessibility */
@media (max-width: 768px) {
    .nav-links a:focus {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
    }

    .hamburger-menu:focus {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
    }
}

/* Section Background Images */
.section-header {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.section-header h2 {
    color: white;
    position: relative;
    z-index: 1;
    font-size: 3rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#delicious-pastry-header {
    background-image: url('../css/Images/Pastries\ BG.jpg');
}

#classic-cakes-header {
    background-image: url('../css/Images/Cake\ BG\ 2.jpg');
}

#chef-specials-header {
    background-image: url('../css/Images/chef.jpeg');
}

#bakery-specials-header {
    background-image: url('../css/Images/Bakery-style.jpg');
}

#classic-drinks-header {
    background-image: url('../css/Images/Rosa\ Falooda.jpg');
}

@media (max-width: 768px) {
    .section-header {
        height: 200px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* About Page Styles */
.about-hero {
    background-image: url('../css/Images/about-hero.png');
    background-size: cover;
    background-position: center;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 4rem;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.about-hero-content {
    position: relative;
    z-index: 1;
    color: white;
}

.about-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Dancing Script', cursive;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.about-hero-content p {
    font-size: 1.5rem;
    font-weight: 300;
}

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

.story-section, .values-section, .process-section, .commitment-section {
    margin-bottom: 6rem;
}

.story-section, .values-section, .process-section, .commitment-section p{
    font-family: 'Poppins', sans-serif;
}

.story-section h2, .commitment-section h2 {
    color: #B00015;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-family: 'Dancing Script', cursive;
}

.values-section {
    background-color: rgba(254, 163, 17, 0.1);
    padding: 4rem 0;
}

.values-section h2 {
    color: #B00015;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-family: 'Dancing Script', cursive;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    color: #B00015;
    margin-bottom: 1rem;
    font-family: 'Dancing Script', cursive;
}

.process-section {
    padding: 4rem 0;
}

.process-section h2 {
    color: #B00015;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-family: 'Dancing Script', cursive;
}

.process-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #B00015;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem;
}

.process-card h3 {
    color: #B00015;
    margin-bottom: 1rem;
    font-family: 'Dancing Script', cursive;
}

@media (max-width: 768px) {
    .about-hero {
        height: 300px;
    }

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

    .about-hero-content p {
        font-size: 1rem;
    }

    .story-section h2, .commitment-section h2, .values-section h2, .process-section h2 {
        font-size: 2rem;
    }

    .value-card, .process-card {
        margin-bottom: 2rem;
    }

    .process-steps {
        flex-direction: column;
    }

    .process-card {
        margin-bottom: 2rem;
    }
}

/* Video Popup Styles */
.video-popup {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    cursor: move;
    animation: slideIn 0.5s ease-out;
    filter: drop-shadow(0 8px 24px rgba(139, 33, 49, 0.15));
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
}

.popup-content {
    position: relative;
    background: var(--white);
    width: 320px;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: linear-gradient(135deg, var(--maroon) 0%, #B00015 100%);
    cursor: move;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.drag-icon {
    color: var(--gold);
    font-size: 18px;
    cursor: move;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.drag-icon:hover {
    opacity: 1;
}

.close-popup {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.close-popup:hover {
    background: var(--gold);
    color: var(--maroon);
    transform: scale(1.05);
    opacity: 1;
}

.video-container {
    position: relative;
    padding: 0;
    background: var(--white);
    overflow: hidden;
}

.video-container video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    background: var(--white);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(50px, -50%);
    }
    to {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .video-popup {
        right: auto;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 320px;
        margin: 0;
        position: fixed;
    }
    
    .popup-content {
        width: 100%;
    }
    
    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translate(-50%, -40%);
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%);
        }
    }
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1101;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

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

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        padding: 80px 20px;
        flex-direction: column;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        z-index: 1100;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 15px 0;
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        padding: 10px;
        border-radius: 5px;
        transition: background-color 0.3s ease;
    }

    .nav-links a:hover {
        background-color: rgba(176, 0, 21, 0.1);
    }

    body.menu-open {
        overflow: hidden;
    }

    .navbar {
        padding: 1rem;
    }

    .header {
        flex: 1;
    }

    .logo {
        width: 60px;
    }

    .text h1 {
        font-size: 1.8rem;
    }

    .text h6 {
        font-size: 0.9rem;
    }

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

    .hero-content p {
        font-size: 1.1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        height: 250px;
    }

    .testimonial-content {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 1.1rem;
    }
}

/* Tablet Responsive Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 3rem;
    }

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

    .nav-links a {
        margin: 0 10px;
        font-size: 0.9rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

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

    .text h1 {
        font-size: 1.5rem;
    }

    .text h6 {
        font-size: 0.8rem;
    }

    .logo {
        width: 50px;
        height:auto;
    }
}

/* Ensure smooth transitions */
.nav-links, .hamburger-menu, .bar {
    transition: all 0.3s ease;
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
    .nav-links a, .hamburger-menu {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Prevent text selection during menu transitions */
.nav-links {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Add backdrop when menu is open */
.menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.menu-backdrop.active {
    display: block;
}

/* Ensure proper stacking context */
.navbar {
    position: relative;
    z-index: 1000;
}

.nav-links {
    z-index: 1100;
}

/* Improve accessibility */
@media (max-width: 768px) {
    .nav-links a:focus {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
    }

    .hamburger-menu:focus {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
    }
}

/* Menu Navigation Styles */
.menu-nav-section {
    position: sticky;
    top: 0;
    background-color: #B00015;
    z-index: 100;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.menu-nav-title {
    position: relative;
    z-index: 100;
    font-family: 'Dancing Script', cursive;
    color: white;
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    text-align: center;
    padding: 0.5rem 0;
}

.menu-nav-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 0.5rem 20px;
    margin: 0 auto;
    max-width: 1200px;
    flex-wrap: wrap;
}

.menu-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    min-width: 80px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    position: relative;
}

.menu-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.menu-nav-item.active::after {
    transform: scaleX(1);
}

.menu-nav-item img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.menu-nav-item span {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Mobile styles for menu navigation */
@media (max-width: 768px) {
    .menu-nav-section {
        padding: 0.5rem 0;
    }

    .menu-nav-buttons {
        gap: 0.8rem;
        padding: 0.5rem 15px;
        justify-content: center;
    }

    .menu-nav-item {
        min-width: 60px;
        padding: 0.3rem;
    }

    .menu-nav-item img {
        width: 24px;
        height: 24px;
    }

    .menu-nav-item span {
        font-size: 0.7rem;
        text-align: center;
        word-wrap: break-word;
        max-width: 100%;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .menu-nav-buttons {
        gap: 0.5rem;
        padding: 0.5rem 10px;
    }

    .menu-nav-item {
        min-width: 55px;
    }

    .menu-nav-item img {
        width: 22px;
        height: 22px;
    }

    .menu-nav-item span {
        font-size: 0.65rem;
    }
}

/* Hide scrollbar but keep functionality */
.menu-nav-buttons {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.menu-nav-buttons::-webkit-scrollbar {
    display: none;
}

/* Contact Page Styles */
.contact-page {
    padding: 0 0 4rem;
    background-color: #ffffff;
}

.contact-hero {
    position: relative;
    height: 300px;
    background: linear-gradient(rgba(176, 0, 21, 0.9), rgba(176, 0, 21, 0.9)), url('../css/Images/contact-hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
}

.contact-content {
    text-align: center;
    color: white;
    z-index: 1;
}

.contact-content h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-content p {
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info-section h2 {
    font-family: 'Dancing Script', cursive;
    color: #B00015;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.info-card {
    display: grid;
    gap: 2rem;
}

.info-item {
    padding: 1rem;
    background: var(--background-color);
    border-radius: 8px;
}

.info-item h3 {
    color: #B00015;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-item p {
    margin: 0.5rem 0;
    color: #2c1810;
}

.contact-form-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form-section h2 {
    font-family: 'Dancing Script', cursive;
    color: #B00015;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c1810;
    font-weight: 500;
}

.contact-form .form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form .form-control:focus {
    border-color: #B00015;
    outline: none;
    box-shadow: 0 0 0 2px rgba(176, 0, 21, 0.1);
}

.contact-form .submit-btn {
    background-color: #B00015;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.contact-form .submit-btn:hover {
    background-color: #8B0000;
}

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

.map-section h2 {
    font-family: 'Dancing Script', cursive;
    color: #B00015;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-hero {
        height: 250px;
    }

    .contact-content h1 {
        font-size: 2rem;
    }

    .contact-content p {
        font-size: 1rem;
    }

    .contact-info-section,
    .contact-form-section {
        padding: 1.5rem;
    }

    .info-card {
        gap: 1rem;
    }

    .map-section {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        height: 200px;
    }

    .contact-content h1 {
        font-size: 1.8rem;
    }

    .contact-info-section h2,
    .contact-form-section h2,
    .map-section h2 {
        font-size: 1.5rem;
    }
}

/* Add specific mobile adjustments for the hero section */
@media (max-width: 768px) {
    .hero {
        background-image: url('../css/Images/mobile.png');
        background-attachment: scroll;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        min-height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 6rem 5% 4rem;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
    }

    .hero-content {
        position: relative;
        z-index: 2;
    }
}

/* Adjust caption size for mobile devices */
@media (max-width: 768px) {
    .caption {
        width: 45%; /* Increased width for mobile */
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    .caption {
        width: 35%; /* Even larger for smaller devices */
        margin: 1.2rem 0;
    }
} 