/* General Styles */

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

h1,
h2,
h3 {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #fffefe;
    font-style: italic;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ff6f61;
    color: #fff;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #ff4a3d;
}

/* Header */
header {
    background: #812f06;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    height: 50%;
    font-style: italic;
}

header h1 {
    font-size: 1.5rem;
}

.nav-menu {
    background-color: #812f06;
    text-align: center;
    background-color: #812f06;
    /* Same as header background */
    padding: 10px 0;
    /* Add padding for better spacing */
    width: 100%;
    /* Ensure it spans the full width */
    margin: 0;
    /* Remove any default margin */
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    font-weight: bold;
}

/* slogan section */
.slogan {
    position: relative;
    width: 100%;
    height: 50px;
    /* Adjust as needed */
    overflow: hidden;
    /* Hide overflow */
    background: rgb(43, 1, 1);
    /* Set background color */
    display: flex;
    align-items: center;
    /* Vertically center */
}

.scrolling-text {
    position: absolute;
    white-space: nowrap;
    font-size: 1.3rem;
    font-weight: bold;
    color: rgb(4, 202, 199);
    animation: scroll-text 16s linear infinite;
}

/* Keyframes for smooth continuous scrolling */
@keyframes scroll-text {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}




/* Hero Section */
/* Hero Section */
.hero {
    position: relative;
    height: 50vh;
    /* Fill the viewport height */
    overflow: hidden;
    /* Prevent image size leakage */
}

/* Carousel Container */
.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    /* Arrange slides horizontally */
    transition: transform 1s ease-in-out;
    /* Smooth sliding transition */
}

/* Carousel Slides */
.carousel-slide {
    min-width: 100%;
    /* Each slide takes full width */
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure the image covers the container without distortion */
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    background: rgba(56, 26, 11, 0.852);
    /* Semi-transparent overlay */
    padding: 20px;
    border-radius: 10px;
    z-index: 2;
    /* Place above the carousel */
    width: 80%;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-style: italic;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Tiffin Cards Section */
.tiffin-cards {
    background: #812f06;
    color: #fff;
    padding: 30px 15px;
    /* Adjusted padding for mobile */
    text-align: center;
}

.tiffin-cards h2 {
    font-size: 1.8rem;
    /* Slightly smaller for mobile */
    margin-bottom: 25px;
    color: #fff;
}

.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    /* Removed padding to use full width */
    width: 100%;
    /* Ensure container takes full width */
}

.card {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    flex: 1 1 300px;
    max-width: 100%;
    /* Changed from 350px to 100% */
    margin: 0 15px;
    /* Added horizontal margin */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: calc(100% - 30px);
    /* Full width minus margins */
}

.card:hover {
    transform: translateY(-5px);
    /* Reduced hover effect for mobile */
    background: rgba(0, 0, 0, 0.8);
}

.card img {
    width: 100%;
    height: 180px;
    /* Slightly reduced for mobile */
    object-fit: cover;
    opacity: 0.9;
}

.card-content {
    padding: 15px;
    /* Reduced padding for mobile */
}

.card-content h3 {
    font-size: 1.3rem;
    /* Slightly smaller for mobile */
    margin-bottom: 8px;
}

.card-content p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    /* Slightly smaller text for mobile */
}

.card-content .btn {
    padding: 6px 12px;
    /* Smaller button for mobile */
    font-size: 0.8rem;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        gap: 15px;
        /* Reduced gap for mobile */
    }

    .card {
        flex: 1 1 auto;
        /* Allow cards to grow naturally */
        margin: 0 10px;
        /* Smaller margins on mobile */
        width: calc(100% - 20px);
        /* Adjust width to account for margins */
    }
}

@media (max-width: 480px) {
    .tiffin-cards {
        padding: 20px 10px;
    }

    .card img {
        height: 150px;
        /* Even smaller image for very small devices */
    }

    .card-content {
        padding: 10px;
    }
}

/* Menu Section */
.menu {
    background-color: #812f06;
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.menu h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.menu-items {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.menu-item {
    background: #070707;
    color: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(3, 245, 237, 0.1);
    flex: 1 1 30%;
}

.menu-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.menu-item ul {
    list-style: none;
    padding: 0;
}

.menu-item ul li {
    margin: 10px 0;
}

.division {
    position: relative;
    width: 100%;
    height: 10px;
    text-align: center;
    /* Adjust as needed */
    overflow: hidden;
    /* Hide overflow */
    background: rgb(43, 1, 1);
    background-color: rgb(43, 1, 1);
    /* Set background color */
    display: flex;
    align-items: center;
    /* Vertically center */
    font-size: 1.3rem;
    font-weight: bold;
}

/* Reservation Section */
/*  .reservation {
    background: #fff;
    padding: 50px 0;
    text-align: center;
}

.reservation h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.reservation p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.reservation form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.reservation label {
    display: block;
    margin: 10px 0 5px;
}

.reservation input,
.reservation select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.reservation button {
    background: #ff6f61;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.reservation button:hover {
    background: #ff4a3d;
} */

/* Contact Section */
.contact {
    background: #812f06;
    color: #ffffff;
    padding: 50px 0;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact label {
    display: block;
    margin: 10px 0 5px;
}

.contact input,
.contact textarea {
    width: 95%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact button {
    display: block;
    /* Make the button a block-level element */
    margin: 20px auto;
    /* Center the button horizontally */
    background: #ff6f61;
    color: #fff;
    border: none;
    margin: 20px auto;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.contact button:hover {
    background: #ff4a3d;
}

/* About Section */
.about {
    color: #fffefe;
    background: #812f06;
    padding: 50px 0;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin: 0;
}

.social-media a {
    font-size: 34px;
    color: #e1c9c9;
    transition: color 0.3s;
}

.social-media a:hover {
    color: #0073e6;
}
