:root {
    --primary: #ff6b6b;
    --secondary: #ffd93d;
    --accent: #4ECDC4;
    --dark: #2D3436;
    --light: #ffffff;
    --font-title: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

/* Hide hero video and CTA container on mobile */
@media (max-width: 768px) {
    .hero-video {
        display: none !important;
    }

    .cta-container {
        display: none !important;
    }

}

@media (max-width: 768px) {
    .nav-links li a {
        font-size: 0.8em;
    }
}

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

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Navigation */
.main-nav {
    background: var(--light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95); /* Add a semi-transparent background */
    backdrop-filter: blur(5px); /* Add a blur effect */
}

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

@media (max-width: 768px) {
    .nav-container {
        justify-content: center;
    }
    .logo {
        align-items: center;
        margin-right: 0;
    }
}

.logo h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--primary-color);
    margin: 0;
}

.eggless {
  font-family: 'Lora', serif;
    font-size: 2.5rem;
    color: #222; /* A little softer black */
    margin: 0;
}

.h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--primary-color);
    margin: 0;
}

.logo-animation {
    height: 200px;
    width: auto;
    margin: 0 1rem;
    
 
}

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

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s;
    font-size: 1.1rem;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark);
    transition: all 0.3s;
}

/* Updated Navigation */
.phone-number {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-number a {
    color: var(--dark);
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-left: 1rem;
}

/* Menu Section */
.menu-section {
    padding: 5rem 2rem;
    background: var(--light);
}

.menu {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.menu-category {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.menu-category h4 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.menu-category li {
    margin-bottom: 0.5rem;
}

.menu-category a {
    text-decoration: none;
    color: var(--dark);
    transition: color 0.3s;
}

.menu-category a:hover {
    color: var(--primary);
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .nav-links .phone-number,
    .nav-links .social-icons {
        display: none;
    }

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

    .hero-tagline {
        font-size: 2rem; /* Adjust font size for better fit */
        margin-bottom: 1rem; /* Adjust spacing */
        line-height: 1.2; /* Adjust line height for better fit */
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column {
        margin-bottom: 2rem;
    }

    .footer-social {
        justify-content: center;
    }
}

.back-button {
    display: inline-block;
    margin: 1rem 2rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: var(--light);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    position: fixed;
    top: 20px; /* Adjust as needed */
    left: 20px; /* Adjust as needed */
    z-index: 100; /* Ensure it's above other elements */
}

.back-button:hover {
    background-color: var(--secondary);
}

/* Modal Navigation */
.modal-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.modal-nav button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-nav button:hover {
    background-color: var(--secondary);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Enhanced video quality for hero video */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Enhanced video quality settings */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Prevent video compression artifacts */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    /* Optimize for high-quality playback */
    will-change: transform;
    /* Additional quality enhancements */
    filter: contrast(1.05) brightness(1.02);
    -webkit-filter: contrast(1.05) brightness(1.02);
}

/* Ensure video loads at highest quality */
.hero-video video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.hero-cta {
	z-index: 1;
}

.hero-content {
    text-align: center;
    color: var(--light);
    padding: 2rem;
    background: rgba(0,0,0,0.7);
    border-radius: 15px;
    margin-top: 7rem;
}

.hero-tagline {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.cta-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.cta-btn {
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s;
}

/* Increase contrast for accessibility */
.cta-btn {
    filter: brightness(1.2);
}

.cta-btn:hover {
    transform: translateY(-3px);
}

.social-container {
    display: flex !important;
    gap: 1.5rem;
    justify-content: center !important;
}

.social-icon {
    color: #fff !important;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.social-icon.instagram {
    color: #fff !important;
}

.social-icon:hover {
    transform: translateY(-3px);
}

/* Quick Intro Section */
.quick-intro {
    padding: 5rem 2rem !important;
    background: var(--light);
}

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

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.highlight-item {
    padding: 2rem;
    background: rgba(255,107,107,0.1);
    border-radius: 15px;
}

.highlight-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Gallery Section */
.gallery-subsection {
    margin: 4rem 0;
}

.gallery-subsection h4 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 2rem;
    border-left: 4px solid var(--secondary);
    padding-left: 1rem;
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

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

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}

/* About Section */
.about-section {
    padding: 5rem 2rem !important;
}

.about-content {
    text-align: center;
}

.about-paragraph {
    text-align: center;
}

.testimonials {
    display: grid;
    gap: 2rem;
}

.review-card {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}



/* Reviews Carousel */
.review-carousel {
    position: relative;
    min-height: 150px;
}

.review {
    display: none;
    position: absolute;
    width: 100%;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.review.active {
    display: block;
    position: relative;
    opacity: 1;
    animation: fade 0.5s;
}

.review-carousel {
    position: relative;
    min-height: 250px; /* Adjust based on your content */
}

.carousel-controls button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}

.see-all {
    color: var(--primary);
    text-decoration: none;
}

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


/* Contact Section */
.contact-section {
    padding: 5rem 2rem !important;
    background: #f8f9fa !important;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

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

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

/* Footer */
.main-footer {
    background: #2c3e50;
    color: white;
    padding: 5rem 2rem !important;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h5 {
    font-family: var(--font-title);
    margin-bottom: 1.5rem;
}

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

.footer-column li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #ecf0f1;
}

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

.footer-social a {
    color: #bdc3c7;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #ecf0f1;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Category Links Grid */
.category-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.category-card {
    text-decoration: none;
    color: var(--dark);
    transition: transform 0.3s;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    overflow: auto;
}

/* Smooth Animation */
@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Modal Adjustments */
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80vw;  /* 80% of viewport width */
    max-height: 80vh; /* 80% of viewport height */
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 15px;
    box-shadow: 0 0 40px rgba(0,0,0,0.4);
    animation: modalOpen 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes contentScale {
    from { transform: translate(-50%, -50%) scale(0.9); }
    to { transform: translate(-50%, -50%) scale(1); }
}

.close {
    position: fixed;
    top: 25px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

.close:hover {
    transform: scale(1.1);
}

/* Perfect Centering for Various Aspect Ratios */
.modal-content-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .modal-content {
        max-width: 90vw;
        max-height: 90vh;
        padding: 10px;
    }
    
    .close {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }
}

/* Category Page Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.image-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

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

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

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

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

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

    .nav-links li {
        display: block; /* Show all nav links on mobile */
        margin-bottom: 1rem; /* Add spacing between links */
    }

    .phone-number,
    .social-icons {
        display: none; /* Hide phone number and social icons */
    }

    .nav-links .phone-number,
    .nav-links .social-icons {
        display: flex;
        align-items: center;
    }

    .nav-links .phone-number {
        margin-left: auto;
    }

    .nav-links .social-icons {
        margin-left: 1rem;
    }

    .hero {
        height: auto; /* Adjust hero height for mobile */
    }

    .hero-content {
        padding: 1rem; /* Reduce padding for hero content */
    }

    .hero-tagline {
        font-size: 1.8rem; /* Further reduce font size */
        margin-bottom: 0.5rem; /* Reduce margin */
        position: relative; /* Ensure hero tagline is positioned correctly */
        z-index: 1; /* Ensure hero tagline is above the video */
    }

    .category-card img {
        max-height: 150px;
        object-fit: contain;
    }

    .contact-section .social-links a {
        font-size: 2rem; /* Increase social icon size */
    }

    /* Ensure social icons are visible */
    .contact-section .social-links {
        display: flex;
        justify-content: center;
    }

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

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

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

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

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

    .cta-container {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .modal-content {
        max-width: 90vw;
        max-height: 90vh;
        padding: 10px;
    }
    
    .close {
        top: 15px;
        right: 15px;
        font-size: 30px;
    }
}
