body {
    font-family: 'Segoe UI', sans-serif;
    background: #fff8f0;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.navbar {
    background: linear-gradient(90deg, #8b0000, #c0392b);
}

.navbar-brand {
    color: white !important;
    font-weight: bold;
    font-size: 22px;
}

.navbar .navbar-nav .nav-link {
    font-size: 20px;
}

.navbar .navbar-nav {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
}

.navbar .navbar-collapse {
    justify-content: center !important;
}

.navbar .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    color: #8b0000;
    font-weight: bold;
    margin-bottom: 40px;
}

.hero {
    padding: 40px 0;
    background: linear-gradient(to right, #ffecd2, #fcb69f);
    text-align: center;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.btn-primary {
    background: #8b0000;
    border: none;
}

.btn-primary:hover {
    background: #a30000;
}

#contact{
    padding: 20px 0;
}

footer {
    background: linear-gradient(90deg, #8b0000, #c0392b);
    color: white;
    padding: 10px 0;
    text-align: center;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    max-width: 90vw;
    box-sizing: border-box;
}

/* Responsive logo styles */
.main_logo {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 576px) {
    .main_logo {
        width: 80vw;
        max-width: 90vw;
    }

    .navbar .navbar-nav {
        justify-content: flex-start;
    }

    .navbar .container {
        align-items: flex-start;
    }

    .navbar .navbar-collapse {
        justify-content: flex-start !important;
    }
}

.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.868);
    z-index: 9999;
}

.modal-dialog {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    max-width: 95vw;
    max-height: 90vh;
}

.modal-dialog {
    max-width: 98vw;
    max-height: 70vh;
    padding: 0 2vw;
}

.modal-dialog {
    margin: auto;
    max-width: 98vw;
    max-height: 70vh;
    padding: 0 2vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: transparent !important;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#closeMenuModal {
    position: fixed;
    top: 24px;
    right: 32px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    background: transparent;
    border: none;
    padding: 0;
}

#menuImage {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    image-rendering: auto;
}

.card.snacks-bg,
.card.pickles-bg,
.card.chilli-bg,
.card.tiffin-bg,
.card.chutney-bg,
.card.desserts-bg {
    background-size: cover;
    background-position: center;
}

.card.snacks-bg {
    background-image: url('../images/Items/Snacks-Namkeen.jpg');
}

.card.pickles-bg {
    background-image: url('../images/Items/pickles.webp');
}

.card.chilli-bg {
    background-image: url('../images/Items/chillipowders.jpg');
}

.card.tiffin-bg {
    background-image: url('../images/Items/south-indian-tiffin.jpg');
}   

.card.chutney-bg {
    background-image: url('../images/Items/chutneys.jpg');
}

.card.desserts-bg {
    background-image: url('../images/Items/desserts.webp');
}

.card .card-body {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    color: #fff;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.card .card-title {
    min-height: 48px;
    font-family: 'Segoe UI Semibold', 'Segoe UI', Arial, sans-serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}
.card .card-text {
    min-height: 72px;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1.08rem;
    letter-spacing: 0.5px;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    text-align: center;
}

@media (max-width: 576px) {
    #menuImage {
        max-width: 95vw;
        max-height: 50vh;
        border-radius: 8px;
    }
}
