/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

h1,
h2,
h3 {
    color: #2c3e50;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

/* Navigation */
header {
    background: #fff;
    color: #333;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .brand {
    font-size: 24px;
    font-weight: bold;
    color: #c0392b;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

header nav a {
    font-weight: bold;
    transition: color 0.3s;
}

header nav a:hover {
    color: #c0392b;
}

.btn-book {
    background: #c0392b;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-book:hover {
    background: #a93226;
}

/* Hero/Welcome Section with Background Image */
#about {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(Public/main_DSC_2433.jpg);
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 80px 0;
}

.hero-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1 1 50%;
    min-width: 300px;
}

#about h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#about p {
    font-size: 19px;
    margin-bottom: 20px;
}

.hero-form {
    flex: 0 1 400px;
    max-width: 400px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #333;
}

.hero-form h3 {
    margin-top: 0;
    text-align: center;
    color: #c0392b;
}

/* Form Common Styles */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button[type="submit"] {
    width: 100%;
    background: #c0392b;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
}

button[type="submit"]:hover {
    background: #a93226;
}

/* Sections General */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

/* Halls Section (Horizontal Grid Layout) */
#halls {
    background: #fff;
}

.halls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.hall-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.hall-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.hall-image {
    height: 270px;
    background: #bdc3c7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    transition: background 0.3s;
}

.hall-image:hover {
    background: #95a5a6;
}

.hall-image::after {
    content: 'Click to view photos';
    position: absolute;
    bottom: 10px;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 8px;
    border-radius: 4px;
}

.hall-info {
    padding: 25px;
}

.hall-info h3 {
    color: #c0392b;
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 24px;
}

.capacity-badge {
    display: inline-block;
    color: #2c3e50;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
    width: 100%;
}

.hall-info p {
    margin: 0;
    font-size: 15px;
    color: #555;
}

/* Food Section */
#food {
    background: #ecf0f1;
    text-align: center;
}

.pricing {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.price-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.price-box h3 {
    margin-top: 0;
}

.price {
    font-size: 28px;
    font-weight: bold;
    color: #27ae60;
}

.price.non-veg {
    color: #c0392b;
}

.btn-menu {
    margin-top: auto;
    padding: 10px;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-menu:hover {
    opacity: 0.8;
}

.btn-veg {
    background: #27ae60;
}

.btn-nonveg {
    background: #c0392b;
}

/* Modal Styles (Shared for both Photo and Menu Modals) */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    position: relative;
}

.close-btn {
    color: #7f8c8d;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: #c0392b;
}

/* Gallery Specific Styles inside Modal */
.scrollable-gallery {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.gallery-slide {
    min-width: 300px;
    height: 250px;
    object-fit: cover;
    /* This makes the image fill the box perfectly */
    border-radius: 8px;
    scroll-snap-align: center;
}

.scrollable-gallery::-webkit-scrollbar {
    height: 10px;
}

.scrollable-gallery::-webkit-scrollbar-thumb {
    background: #c0392b;
    border-radius: 5px;
}

/* Menu PDF Placeholder Styles inside Modal */
.pdf-placeholder {
    width: 100%;
    height: 60vh;
    background: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    border: 2px dashed #bdc3c7;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
}

/* Contact Section (Smaller) */
#contact {
    background: #f4f4f4;
    padding: 50px 0;
}

.small-contact-form {
    max-width: 500px;
    margin: auto;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Footer (3 Columns) */
footer {
    background: #2c3e50;
    color: #fff;
    padding: 50px 0 20px;
}

#footer {
    display: flex;
    flex-direction: column-reverse;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid #c0392b;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-col p {
    margin-bottom: 10px;
    font-size: 15px;
    color: #bdc3c7;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #bdc3c7;
}

.footer-col ul li::before {
    content: "• ";
    color: #c0392b;
    font-weight: bold;
}

.footer-map {
    width: 100%;
    margin-top: 50px;
    height: 200px;
    background: #34495e;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #bdc3c7;
    text-align: center;
    font-size: 14px;
}

.copyright {
    text-align: center;
    border-top: 1px solid #34495e;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 14px;
    color: #95a5a6;
}

/* Mobile adjustments */
@media(max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 10px;
    }

    header nav ul {
        gap: 12px;
        /* Reduces space between links to fit small screens */
        justify-content: center;
        flex-wrap: wrap;
        /* Allows links to center and stack cleanly if they run out of room */
    }

    .btn-book {
        white-space: nowrap;
        /* Forces "Book Now" to stay on one single line */
        padding: 8px 15px;
        /* Slightly smaller padding for mobile */
    }

    /* Event Section Mobile Styles */
    .event-row,
    .event-row.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }

    .event-gallery {
        width: 100%;
    }

    .event-img {
        height: 150px;
    }
}


/* =========================================
   Thank you image Section Styles 
   ========================================= */
.thankyou-img {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 10px;
}

.btn-menu {
    margin-top: auto;
    padding: 10px;
    border: none;
    border-radius: 4px;
    color: #000000;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}


/* =========================================
   Event Section Styles 
   ========================================= */

.event-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.event-row.reverse {
    flex-direction: row-reverse;
}

.event-text {
    flex: 1;
}

.event-text h2 {
    color: #c0392b;
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 15px;
}

.event-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.event-gallery {
    flex: 1.2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.event-img {
    background-color: #bdc3c7;
    height: 200px;
    width: 100%;
    /* Ensures it fills the grid space */
    object-fit: cover;
    /* This makes an <img> behave exactly like background-size: cover */
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.event-img:hover {
    transform: scale(1.02);
}

/* Event Mobile Responsive */
@media(max-width: 768px) {

    .event-row,
    .event-row.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }

    .event-gallery {
        width: 100%;
    }

    .event-img {
        height: 150px;
    }

}


/* ==========================================
   THANK YOU PAGE STYLES
   ========================================== */

/* Scoped specifically to the Thank You page body */
.thankyou-page {
    text-align: center;
    padding: 40px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #fff;
}

/* View Menu Button */
.btn-thankyou {
    background: #2661c6;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin: 20px 0;
}

.btn-thankyou:hover {
    background: #a93226;
}

/* Contact Section Styles */
.thankyou-contact-info {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    margin: 30px auto;
    text-align: center;
}

.thankyou-contact-info h2 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 22px;
}

.thankyou-contact-info p {
    margin: 10px 0;
    font-size: 16px;
}

.thankyou-contact-info a {
    color: #c0392b;
    text-decoration: none;
    font-weight: bold;
}

.thankyou-contact-info a:hover {
    text-decoration: underline;
}

/* Scrollable Gallery Styles */
.thankyou-gallery-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Scrollable Gallery Styles */
.thankyou-gallery-container {
    max-width: 1000px;
    margin: 0 auto;
}

.thankyou-gallery {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    /* Hide scrollbar for IE, Edge and Firefox */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.thankyou-gallery::-webkit-scrollbar {
    display: none;
}

/* Image sizing: exactly 3 across on desktop */
.thankyou-img {
    flex: 0 0 calc(33.333% - 10px);
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    scroll-snap-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Image sizing: exactly 3 across on desktop */
.thankyou-img {
    flex: 0 0 calc(33.333% - 10px);
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    scroll-snap-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile Adjustments for Thank You Page */
@media (max-width: 768px) {
    .thankyou-page {
        padding: 20px 15px;
    }

    .thankyou-img {
        flex: 0 0 100%;
        /* Forces exactly 1 image visible at a time */
        height: 220px;
    }
}