/* Color Variables - Palette based on welcome2.jpg */
:root {
    --primary-color: #D95A00; /* Burnt Orange - Warm, Appetizing */
    --secondary-color: #006064; /* Dark Teal - Sophisticated contrast */
    --accent-color: #FFB300; /* Amber Yellow - Bright, Energetic */
    --text-dark: #333333; /* Dark gray for general text */
    --text-light: #FFFFFF; /* Pure White for light text on dark backgrounds */
    --background-light: #FAFAFA; /* Very light gray, subtle background */
    --background-white: #FFFFFF; /* Crisp white for sections/cards */
    --background-dark: #212121; /* Deep Charcoal - for navbar/footer, matches hero image */
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.18); /* Slightly more prominent shadows */
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Palatino Linotype', 'Book Antiqua', 'Times New Roman', serif;
    color: var(--primary-color); /* Headings in vibrant Burnt Orange */
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Navbar */
.navbar {
    background-color: var(--background-dark); /* Deep Charcoal */
    box-shadow: 0 4px 8px var(--shadow-medium);
    transition: background-color 0.3s ease;
}

.navbar-brand {
    color: var(--text-light) !important;
    font-size: 1.7rem;
    font-weight: 700;
    font-family: 'Georgia', serif;
    letter-spacing: 0.5px;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 600;
    margin: 0 12px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important; /* Amber Yellow on hover */
    transform: translateY(-2px);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2);
}
.navbar-toggler-icon {
    filter: invert(1);
}


/* Hero Section */
.hero {
    position: relative;
    /* Image overlay handled by background-image linear-gradient */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/welcome2.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    padding: 80px 0;
}

.hero .overlay {
    /* This overlay is no longer strictly necessary if handled by linear-gradient in .hero */
    /* Kept for potential future use or specific layering */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent; /* Changed to transparent */
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(-50px);
    animation: fadeDown 1s ease-out forwards;
    padding: 0 25px;
}

.hero-text h1 {
    font-size: 4.2rem;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
}

.hero-text .lead {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: var(--accent-color); /* Amber Yellow for lead text */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes fadeDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* General Section Styling */
.section {
    padding: 90px 0;
    position: relative;
}

.section:nth-child(even) {
    background-color: var(--background-light); /* Light gray background */
}
.section:nth-child(odd) {
    background-color: var(--background-white); /* Pure white background */
}
.section.bg-light {
    background-color: var(--background-light);
}


/* Buttons */
.btn-custom {
    background-color: var(--primary-color); /* Burnt Orange button */
    color: var(--text-light);
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 6px 12px var(--shadow-medium);
    text-transform: uppercase;
}

.btn-custom:hover {
    background-color: var(--secondary-color); /* Dark Teal on hover */
    color: var(--text-light);
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.btn-lg {
    font-size: 1.3rem;
    padding: 16px 45px;
}

/* Menu Card Styling */
.menu-card {
    background-color: var(--background-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px var(--shadow-light);
    margin-bottom: 35px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 35px var(--shadow-medium);
}

.menu-img {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.overlay-desc {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(33, 33, 33, 0.9); /* Dark Charcoal overlay */
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    font-size: 1.05rem;
    line-height: 1.6;
}

.menu-img:hover .overlay-desc {
    opacity: 1;
}

.menu-card h4 {
    color: var(--secondary-color); /* Menu item titles in Dark Teal */
    margin-top: 25px;
    padding: 0 20px 20px;
    text-align: center;
    flex-grow: 1;
    font-size: 1.5rem;
}


/* About Section */
.about-img {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: 0 12px 30px var(--shadow-medium);
}

/* Gallery Section */
.gallery-item img {
    border-radius: 15px;
    object-fit: cover;
    width: 100%;
    height: 280px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

/* Testimonials Section */
.testimonial-card {
    max-width: 750px;
    background-color: var(--background-white);
    padding: 45px;
    border-radius: 15px;
    box-shadow: 0 10px 25px var(--shadow-light);
    margin: auto;
    text-align: center;
}

.testimonial-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 4px solid var(--primary-color); /* Thicker border in Burnt Orange */
    margin-bottom: 25px;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.testimonial-card h5 {
    color: var(--secondary-color); /* Testimonial name in Dark Teal */
    font-weight: 700;
    font-size: 1.3rem;
}

.testimonial-card .stars {
    color: var(--accent-color); /* Stars in Amber Yellow */
    font-size: 1.4rem;
    margin-top: 15px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(0.8);
}

.carousel-control-prev,
.carousel-control-next {
    width: 6%;
}


/* Contact Section */
.contact-info {
    background-color: var(--background-white);
    border-radius: 15px;
    padding: 45px;
    box-shadow: 0 10px 25px var(--shadow-light);
}

.contact-info p {
    font-size: 1.15rem;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.contact-info a {
    color: var(--primary-color); /* Links in Burnt Orange */
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.contact-info a:hover {
    color: var(--secondary-color); /* Links hover in Dark Teal */
}

.social-icons .social-icon {
    font-size: 2.2rem;
    color: var(--primary-color); /* Social icons in Burnt Orange */
    margin: 0 18px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons .social-icon:hover {
    color: var(--secondary-color); /* Social icons hover in Dark Teal */
    transform: translateY(-7px) scale(1.1);
}


/* Footer */
.footer {
    background-color: var(--background-dark); /* Deep Charcoal footer */
    color: var(--text-light);
    padding: 50px 0;
    font-size: 0.95rem;
}

.footer-links li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--accent-color); /* Footer links hover in Amber Yellow */
}


/* Animation Classes - Refined timing and values for impressiveness */
.fade-in-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-in-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--background-dark);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
    }
    .navbar-nav .nav-item {
        margin: 8px 0;
    }
    .hero-text h1 {
        font-size: 3.5rem;
    }
    .hero-text .lead {
        font-size: 1.4rem;
    }
    .section {
        padding: 70px 0;
    }
    .about-img {
        height: 350px;
        margin-top: 30px;
    }
    .menu-img {
        height: 250px;
    }
    .gallery-item img {
        height: 220px;
    }
    .btn-lg {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }
    .hero-text .lead {
        font-size: 1.1rem;
    }
    .btn-lg {
        padding: 10px 25px;
        font-size: 1rem;
    }
    .menu-img {
        height: 200px;
    }
    .testimonial-card {
        padding: 35px;
    }
    .testimonial-text {
        font-size: 1.05rem;
    }
    .social-icons .social-icon {
        font-size: 1.8rem;
        margin: 0 12px;
    }
    .menu-card h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 575.98px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }
    .hero-text .lead {
        font-size: 0.95rem;
    }
    .section {
        padding: 50px 0;
    }
    .about-img {
        height: 280px;
    }
    .menu-card {
        margin-bottom: 25px;
    }
    .gallery-item img {
        height: 180px;
    }
}