/* CSS Stylesheet for Utsav - The Celebration */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary-cedar: #b85c24;
    --primary-cedar-hover: #964619;
    --navy-barn: #1d2a44;
    --accent-orange: #ff7315;
    --charcoal-slate: #232b2b;
    --light-bg: #fbfaf7;
    --white: #ffffff;
    --gray-border: #e2e8f0;
    --gray-text: #64748b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light-bg);
    color: var(--charcoal-slate);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 28px;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--charcoal-slate);
    line-height: 1.1;
}

.logo-sub {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-cedar);
    font-weight: 600;
    margin-top: 4px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--charcoal-slate);
    padding: 8px 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-cedar);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: var(--primary-cedar);
}

.nav-cta {
    background-color: var(--primary-cedar);
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 4px;
    font-weight: 600 !important;
    transition: background 0.3s ease !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background-color: var(--primary-cedar-hover);
    color: var(--white) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--charcoal-slate);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background: linear-gradient(rgba(29, 42, 68, 0.6), rgba(29, 42, 68, 0.4)), url('images/Utsav_Entrygate1.jpg?auto=format&fit=crop&q=80&w=1600') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 54px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 20px;
    margin-bottom: 35px;
    font-weight: 300;
    letter-spacing: 1px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-cedar);
    color: var(--white);
    border: 2px solid var(--primary-cedar);
}

.btn-primary:hover {
    background-color: var(--primary-cedar-hover);
    border-color: var(--primary-cedar-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--charcoal-slate);
    transform: translateY(-2px);
}

/* Page Headers */
.page-header {
    background: linear-gradient(rgba(35, 43, 43, 0.7), rgba(35, 43, 43, 0.7)), url('images/Utsav_Entrygate2.jpg?auto=format&fit=crop&q=80&w=1600') no-repeat center center/cover;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.page-header p {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-orange);
}

/* Section Common Layouts */
section {
    padding: 80px 24px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title-block {
    text-align: center;
    margin-bottom: 50px;
}

.section-title-block h2 {
    font-size: 36px;
    color: var(--charcoal-slate);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-cedar);
}

.section-title-block p {
    font-size: 16px;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Flex / Grid Layout alternatives (using block & float/table or custom flex margins fallback) */
.grid-3 {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.grid-3 .col {
    flex: 1 1 300px;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.grid-3 .col:hover {
    transform: translateY(-5px);
}

/* Cards & Content */
.card-img {
    height: 240px;
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 30px;
}

.card-body h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--navy-barn);
}

.card-body p {
    color: var(--gray-text);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Two Column Layouts */
.split-section {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.split-col {
    flex: 1 1 450px;
}

.split-img {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background-size: cover;
    background-position: center;
    border-left: 8px solid var(--primary-cedar);
}

.split-text h2 {
    font-size: 38px;
    margin-bottom: 20px;
    color: var(--navy-barn);
}

.split-text p {
    color: var(--gray-text);
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.8;
}

.amenity-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: #f1e7e0;
    color: var(--primary-cedar);
    font-weight: 600;
    font-size: 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Gallery Style */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery-item {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 42, 68, 0.8);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.gallery-item:hover .gallery-bg {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-orange);
}

/* Contact Details & Form */
.contact-grid {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1 1 350px;
    background-color: var(--navy-barn);
    color: var(--white);
    padding: 50px;
    border-radius: 12px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--white);
    border-left: 4px solid var(--accent-orange);
    padding-left: 15px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--accent-orange);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-item p {
    font-size: 16px;
    opacity: 0.9;
}

.contact-form-container {
    flex: 1 1 500px;
    background-color: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--charcoal-slate);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-cedar);
}

/* FAQs */
.faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.faq-item {
    background-color: var(--white);
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.faq-item h3 {
    font-size: 18px;
    color: var(--navy-barn);
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--gray-text);
    font-size: 14px;
}

/* Footer styling */
footer {
    background-color: var(--charcoal-slate);
    color: var(--white);
    padding: 80px 24px 40px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 50px;
}

.footer-col {
    flex: 1 1 250px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-orange);
}

.footer-col p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-orange);
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0 auto;
    text-align: center;
    font-size: 13px;
    opacity: 0.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }
    .nav-container {
        padding: 10px 24px;
    }
    .menu-toggle {
        display: flex;
    }
    nav ul {
        display: none; /* Hide for simple template, easily toggled */
    }
    .hero h1 {
        font-size: 38px;
    }
    .hero p {
        font-size: 16px;
    }
    .split-section {
        gap: 30px;
    }
    .split-img {
        height: 300px;
    }
}

/* --- Top Page Image Slideshow Banner --- */
.slideshow-banner {
    position: relative;
    width: 100%;
    height: 350px; /* Adjust height to your liking */
    overflow: hidden;
    background-color: var(--navy-barn);
}

.slide-container {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: fadeSlideshow 9s infinite; /* 9 seconds total loop duration */
    background-size: cover;
    background-position: center;
}

/* Stagger the animation start times for each slide */
.slide-container:nth-child(1) {
    animation-delay: 0s;
}
.slide-container:nth-child(2) {
    animation-delay: 3s; /* Shows after 3 seconds */
}
.slide-container:nth-child(3) {
    animation-delay: 6s; /* Shows after 6 seconds */
}

/* Keyframes to manage smooth crossfading */
@keyframes fadeSlideshow {
    0% { opacity: 0; }
    5% { opacity: 1; }  /* Fade in */
    33% { opacity: 1; } /* Stay visible */
    38% { opacity: 0; } /* Fade out */
    100% { opacity: 0; }
}

/* Optional Overlay text to label the venue */
.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(29,42,68,0.4), rgba(35,43,43,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Responsive adjustment for mobile screens */
@media (max-width: 768px) {
    .slideshow-banner {
        height: 200px;
    }
}

.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darkened overlay shield so white titles pop perfectly over your sunny images */
    background: linear-gradient(rgba(29, 42, 68, 0.65), rgba(35, 43, 43, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container holding the text pane */
/* 1. The overlay is now completely clear—no gray backgrounds, no boxes */
.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* 100% clear so your images shine through perfectly */
    display: flex;
    justify-content: center;
    align-items: center; 
    z-index: 5;
}

/* 2. The text box is just an invisible container */
.slideshow-text-box {
    text-align: center;
    max-width: 900px;
    width: 100%;
    padding: 0 24px;
    background: rgba(29, 42, 68, 0.75);
    box-shadow: 0 4px 90px rgba(0, 0, 0, 0.3);
    backdrop-filter: none;
}

/* 3. The magic: using a heavy text-shadow to make white text pop on light backgrounds */
.slideshow-text-box h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 2px;
    color: #ffffff;
    /* Deep multi-layered shadow so it's readable over chairs, tables, or bright walls */
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.9);
}

/* 4. The orange subtext with matching high-contrast shadow */
.slideshow-text-box p {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ff7315; /* Your warm orange */
    font-weight: 600;
    margin-bottom: 0;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
}

