/* Custom CSS for MudSpot, Briyani & More. Website */

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Animation for fade-in elements */
.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.fade-in.appear {
    opacity: 1;
}

/* Primary color variables */
:root {
    --primary-color: #800000; /* Maroon */
    --primary-hover: #600000;
    --accent-color: #F4C430; /* Saffron */
    --accent-hover: #E6B800;
    --warm-brown: #8B4513;
}

/* Hero section overlay gradient */
.hero-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

/* Apply primary color to various elements */
.bg-primary {
    background-color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color);
}

.border-primary {
    border-color: var(--primary-color);
}

/* Logo styling */
.no-underline {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* Custom hover effects for navigation */
.nav-link:hover {
    border-bottom: 2px solid #800000;
    transition: border-bottom 0.3s ease;
}

/* Custom styling for buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Custom styling for testimonial cards */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Custom styling for food cards */
.food-card {
    overflow: hidden;
}

.food-card img {
    transition: transform 0.5s ease;
}

.food-card:hover img {
    transform: scale(1.05);
}

/* Mobile menu animation */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.mobile-menu.open {
    max-height: 300px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

/* Menu navigation styling */
.menu-nav a {
    transition: all 0.3s ease;
}

.menu-nav a:hover {
    transform: translateY(-2px);
}

.menu-nav a.active {
    background-color: var(--accent-color);
    color: var(--warm-brown);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
}