/* --- Global Styles --- */
:root {
    --primary-color: #C19A6B; /* Softer Gold/Beige */
    --secondary-color: #343A40; /* Dark Grey/Charcoal */
    --light-bg: #F8F9FA;     /* Off-White */
    --white-color: #FFFFFF;
    --text-color: #495057;   /* Slightly softer grey for body */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Lato', sans-serif;
    --border-radius: 8px; /* Slightly more rounded corners */
    --box-shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
    --box-shadow-medium: 0 6px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: var(--body-font);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white-color);
    font-size: 16px;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--secondary-color);
    margin-top: 0; /* Reset default top margin */
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.4rem; text-align: center; margin-bottom: 3rem; font-weight: 700;}
h3 { font-size: 1.6rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius); /* Apply border-radius to all images */
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px; /* Slightly more padding */
}

.section-padding {
    padding: 80px 0; /* Increase padding */
}

.bg-light {
    background-color: var(--light-bg);
}
.bg-dark {
    background-color: var(--secondary-color);
    color: var(--light-bg);
}
.bg-dark h2, .bg-dark p, .bg-dark a {
     color: var(--white-color);
}
.bg-dark address {
    font-style: normal;
}
.bg-dark a {
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.5);
}
.bg-dark a:hover {
     color: var(--primary-color);
     text-decoration-color: var(--primary-color);
}

.text-center {
    text-align: center;
    margin-top: 2rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px; /* Slightly wider */
    border-radius: 50px; /* Pill shape */
    font-weight: 700; /* Bolder */
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: var(--brand-gold-darker);
    box-shadow: var(--box-shadow-medium);
}

.btn-secondary {
    background-color: var (--white-color);
    color: var (--secondary-color);
    border-color: #ccc; /* Lighter border */
}
.bg-dark .btn-secondary {
     background-color: transparent;
     color: var(--white-color);
     border-color: rgba(255, 255, 255, 0.7);
}


.btn-secondary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.bg-dark .btn-secondary:hover {
     background-color: var(--white-color);
     color: var(--secondary-color);
     border-color: var(--white-color);
}


.btn-link {
    color: var(--primary-color);
    font-weight: bold;
    background: none; /* Ensure no background interference */
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    border: none;
}
.btn-link:hover {
    text-decoration: underline;
    color: var (--secondary-color);
    transform: none;
    box-shadow: none;
}


/* --- Header --- */
header {
    background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

.logo a {
    font-family: var(--logo-font-main);
    color: var(--brand-gold-darker);
    text-decoration: none;
    font-size: 2.5rem;
}

.logo a:hover {
    color: var(--brand-gold-lighter);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 30px; /* Increase spacing */
}

nav a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700; /* Bolder nav links */
    padding-bottom: 8px; /* More space for border */
    border-bottom: 3px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
    letter-spacing: 0.5px;
}

nav a:hover, nav a.active { /* Style active link */
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Contact Number in Header */
.contact-number {
    font-size: 1rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-left: auto; /* Push it to the right */
}

.contact-number a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-number a:hover {
    color: var(--secondary-color);
}

/* --- Logo SVG Styles --- */
/* Adjusted for header placement */
.logo .logo-svg { /* Target SVG specifically within the .logo div */
    height: 55px; /* Adjust height for the header */
    width: auto;  /* Let width adjust automatically */
    display: block;
    line-height: normal; /* Reset line-height */
}

.text-monogram {
    font-family: var(--logo-font-monogram);
    font-size: 90px; /* These sizes are relative to the SVG viewbox */
    font-weight: 400;
    fill: var(--brand-gold-darker); /* Use logo gold */
    text-anchor: middle;
}

.text-aadhya {
    font-family: var(--logo-font-main);
    font-size: 40px;
    fill: var(--brand-gold-darker);
    text-anchor: middle;
}

.text-convention {
    font-family: var(--logo-font-main);
    font-size: 18px;
    fill: var(--brand-gold-darker);
    text-anchor: middle;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.text-tagline {
    font-family: var(--logo-font-tagline); /* Using main site font */
    font-size: 9px;
    font-weight: 400;
    fill: var(--primary-color); /* Use site's primary gold */
    text-anchor: middle;
    letter-spacing: 0.75px;
    text-transform: uppercase;
}

/* Optional: Adjust alignment if needed */
header .container .logo {
    flex-shrink: 0;/* You might need to adjust padding or flex properties if alignment is off */
    /*line-height: 0; /* Can sometimes help align SVGs */
}

/* --- Hero Section --- */
#hero {
    height: 100vh;
    background-color: var(--light-bg); /* Use a plain background color */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    text-align: center;
    position: relative;
}

#hero .hero-overlay {
    display: none; /* Remove the overlay since there's no background image */
}

#hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 2rem;
}

.hero-content h1 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 3.8rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var (--text-color);
}

/* Contact Number in Hero Section */
.hero-contact {
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.hero-contact a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-contact a:hover {
    color: var(--secondary-color);
}

/* --- Home Highlights Section --- */
#home-highlights {
    margin-top: 2rem;
}

.highlight-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.highlight-grid .highlight-row1 {
    grid-column: span 3; /* Full-width landscape image */
}

.highlight-grid .highlight-row2,
.highlight-grid .highlight-row3 {
    display: flex;
    gap: 20px;
}

.highlight-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* --- About Section --- */
#about {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--box-shadow-medium);
}

/* --- Venues Preview --- */
.venue-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.venue-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column; /* Stack content vertically */
}
.venue-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-medium);
}

.venue-card img {
    width: 100%;
    height: 220px; /* Slightly taller */
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0; /* Only top corners rounded */
}

.venue-card-content {
    padding: 1.5rem;
    flex-grow: 1; /* Allow content to fill space */
    display: flex;
    flex-direction: column;
}
.venue-card-content h3 {
    margin-top: 0;
}
.venue-card-content p {
    flex-grow: 1; /* Push link to bottom */
    margin-bottom: 1rem;
}

/* --- Gallery Page Specific --- */
#gallery-main .gallery-grid {
    display: grid;
    /* More columns on larger screens */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

#gallery-main .gallery-item {
    overflow: hidden; /* Needed for hover effect */
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
}

#gallery-main .gallery-grid img {
    width: 100%;
    height: 250px; /* Consistent height */
    object-fit: cover;
    transition: transform 0.4s ease;
}
#gallery-main .gallery-item:hover img {
    transform: scale(1.1); /* Zoom effect on hover */
}

/* --- Venues Page Specific --- */
#venues-main .venue {
    display: flex;
    gap: 3rem; /* Increased gap */
    margin-bottom: 4rem; /* Increased margin */
    background: var(--white-color);
    padding: 2.5rem; /* Increased padding */
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    align-items: center; /* Vertically center content */
}
#venues-main .venue:nth-child(even) {
    flex-direction: row-reverse;
}

#venues-main .venue-image,
#venues-main .venue-description {
    flex: 1;
}
#venues-main .venue-image img {
     box-shadow: var(--box-shadow-medium);
}
#venues-main .venue-image img {
    width: 100%; /* Ensure the image takes up the full width of its container */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Crop the image to fit its container */
    border-radius: 8px; /* Add rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for depth */
}

/* --- Contact Section --- */
#contact {
    color: #fff;
    text-align: center;
    padding: 2rem;
    background-color: #333;
}

#contact address {
    font-style: normal;
    line-height: 1.8;
}

#contact a {
    color: var(--primary-color);
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

#contact address {
    font-size: 1.1rem;
    line-height: 1.9; /* Slightly more line height */
    margin-top: 1.5rem;
    text-align: center;
}
#contact .container > p { /* Target the paragraph directly under container */
    text-align: center;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* --- Footer --- */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
}

footer a {
    color: #eee;
    text-decoration: underline;
}
footer a:hover {
    color: var(--primary-color);
}

footer .social-links a {
    color: #fff;
    margin: 0 0.5rem;
    text-decoration: none;
}

footer .social-links a:hover {
    text-decoration: underline;
}


/* --- Responsive Design Adjustments --- */

/* Make highlight rows stack simply on mobile */
@media (max-width: 767px) {
    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .venue-cards {
        grid-template-columns: 1fr;
    }

    #home-highlights .highlight-grid {
        grid-template-areas: none; /* Remove grid areas */
    }
     #home-highlights .highlight-row2,
     #home-highlights .highlight-row3 {
         flex-direction: column; /* Stack images within rows 2 and 3 */
         aspect-ratio: auto; /* Reset aspect ratio */
    }
    #home-highlights .highlight-row1 img,
    #home-highlights .highlight-row2 img,
    #home-highlights .highlight-row3 img {
        aspect-ratio: 16/9; /* Consistent aspect ratio for mobile */
        height: auto; /* Let aspect ratio define height */
    }

    #venues-main .venue,
    #venues-main .venue:nth-child(even) {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    .hero-content h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .section-padding { padding: 50px 0; } /* Reduced padding */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; margin-bottom: 2rem;}
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }
    #hero { height: 70vh; }

    /* Mobile Menu Styles */
    .menu-toggle {
        display: block; /* This is the critical line! */
        margin-left: auto;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        box-shadow: var(--box-shadow-medium);
        border-top: 1px solid #eee;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        padding: 15px;
        border-bottom: none;
        font-weight: 600;
    }

    nav a:hover {
        background-color: var(--light-bg);
        color: var(--primary-color);
    }

    nav a.active {
        background-color: var(--light-bg);
        color: var(--primary-color);
    }
}

@media (max-width: 576px) {
     h1 { font-size: 1.8rem; }
     h2 { font-size: 1.6rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .btn { padding: 10px 20px; font-size: 0.8rem;}
    .container { padding: 0 15px; }
    #gallery-main .gallery-grid { gap: 10px; }
    #gallery-main .gallery-grid img { height: 200px; } /* Adjust height on small screens */
    #home-highlights .highlight-grid,
    #home-highlights .highlight-row2,
    #home-highlights .highlight-row3 { gap: 10px; }
}