/* ================================================================= 
   PICHWAI WEDDING INVITATION CSS (style.css)
   
   Features:
   - Fixed background (Pichwai image)
   - Scrolling content wrapper (semi-transparent)
   - Solid, fixed Maroon header
   - UI/UX compliant event timeline
   - Fix for header overlapping section headings (scroll-padding-top)
   - Image Logo for 'SS' monogram
   - All content in Hindi
================================================================= */

/* --- GLOBAL STYLES & PICHWAI THEME --- */
:root {
    --color-primary: #8B0000; /* Deep Maroon/Red (Bougainvillea color) */
    --color-secondary: #DAA520; /* Golden Rod (Accents/Highlights) */
    --color-text-dark: #3a1c0d; /* Dark Brown (Body Text) */
    --color-text-light: #fff; /* White */
    --color-background-soft: rgba(255, 255, 255, 0.7); /* Semi-transparent content background */
    --color-background-card: rgba(255, 255, 255, 0.9); /* Opaque card background */
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    /* Consider adding a Hindi font here if 'Lato' or 'Playfair' doesn't render Hindi well */
    /* For example: --font-hindi: 'Hind Siliguri', sans-serif; */
    
    --header-height: 80px; /* Consistent height for fixed header */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: var(--header-height); 
}

body {
    font-family: var(--font-body); /* Or var(--font-hindi) if defined */
    color: var(--color-text-dark);
    line-height: 1.6;
    
    background: url('pichwai-wedding-background.jpg') no-repeat center center fixed;
    background-size: cover; 
    background-color: #f0ebe4; 
}

h1, h2, h3 {
    font-family: var(--font-heading); /* Or var(--font-hindi) if defined */
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; }

a {
    text-decoration: none;
    color: var(--color-primary);
}


/* --- NAV BAR (Fixed, Solid Background) --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    
    background-color: var(--color-primary); 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.logo-img { 
    /* The filter is REMOVED because the image is now pre-colored correctly */
    height: 50px; 
    width: auto;
    /* Optional: Add a slight drop shadow if the gold needs more definition on the maroon header */
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5); 
}

.navbar ul {
    list-style: none;
    display: flex;
}

.navbar li a {
    color: var(--color-secondary); 
    padding: 0 15px;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s;
}

.navbar li a:hover {
    color: var(--color-text-light); 
}

/* --- MAIN CONTENT WRAPPER (Scrollable Area) --- */
main.content-wrapper { 
    max-width: 800px; 
    margin: 0 auto;
    padding-top: var(--header-height); /* Use variable for dynamic padding */
    padding-bottom: 50px; 
    min-height: calc(100vh + 200px); 
    
    background-color: var(--color-background-soft); 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); 
    border-radius: 10px;
    margin-top: 20px; 
}

/* --- SECTION STYLES --- */
.hero-content-pichwai {
    text-align: center;
    padding: 60px 20px 20px;
}

.invocation-text {
    font-family: var(--font-body); /* Or var(--font-hindi) */
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.names {
    display: block;
    font-family: var(--font-heading); /* Or var(--font-hindi) */
    color: var(--color-primary);
    font-size: 3rem;
    line-height: 1.1;
}

.ampersand {
    font-size: 1.5rem;
    display: block;
    margin: 5px 0;
    font-style: italic;
    color: var(--color-secondary);
}

.parent-line {
    font-family: var(--font-body); /* Or var(--font-hindi) */
    font-size: 1rem;
    color: var(--color-text-dark);
    margin: 25px 0 40px;
}

.date-location-hero h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    padding: 10px 30px;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    font-weight: 700;
    border: 2px solid var(--color-secondary);
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s;
    text-transform: uppercase;
    margin-top: 30px;
}

.cta-button:hover {
    background-color: var(--color-primary);
    color: var(--color-secondary);
}

/* --- EVENT CARD/SECTION STYLES --- */
.event-details-pichwai {
    max-width: 650px;
    margin: 40px auto; 
    text-align: center;
    padding: 0 20px;
}

.event-card-transparent {
    background-color: var(--color-background-card); 
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--color-secondary);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.couple-wrap {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.couple-half {
    width: 45%;
    min-width: 250px;
    padding: 10px;
}

.heart {
    font-size: 2rem;
    color: var(--color-primary);
    margin: 10px 0;
}

/* --- RSVP SECTION --- */
.rsvp-section {
    padding: 40px;
    margin: 40px auto;
    max-width: 600px;
    text-align: center;
    
    background-color: var(--color-background-card); 
    border-radius: 10px;
    border: 1px solid var(--color-secondary);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.rsvp-form {
    max-width: 350px;
    margin: 30px auto;
    padding: 20px;
    background-color: white;
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    box-shadow: 5px 5px 0 var(--color-primary);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rsvp-form input,
.rsvp-form select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-body); /* Or var(--font-hindi) */
}

.cta-button-rsvp {
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    padding: 10px;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.cta-button-rsvp:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

/* --- EVENT TIMELINE STYLES --- */
.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
    max-width: 650px; 
    margin: 30px auto 0;
    text-align: left;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    margin-left: -1.5px;
    background-color: var(--color-primary);
}

.timeline-item {
    margin-bottom: 25px;
    position: relative;
    width: 50%;
}

.timeline-item {
    padding-right: 30px;
    padding-left: 0;
    text-align: right;
}

.timeline-item.inverted {
    left: 50%;
    padding-left: 30px;
    padding-right: 0;
    text-align: left;
}

.timeline-item:after {
    content: '';
    position: absolute;
    top: 5px; 
    width: 12px; 
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-secondary); 
    border: 2px solid var(--color-primary); 
    z-index: 1; 
}

.timeline-item:after {
    right: -6px; 
}

.timeline-item.inverted:after {
    left: -6px; 
    right: auto;
}

.timeline-heading h3 {
    font-family: var(--font-heading); /* Or var(--font-hindi) */
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.timeline-heading .date {
    display: block;
    color: var(--color-secondary);
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.timeline-body p {
    margin: 0 0 10px;
    font-size: 0.95rem;
    font-family: var(--font-body); /* Or var(--font-hindi) */
}
.timeline-note {
    font-style: italic;
    color: var(--color-text-dark);
    font-size: 0.85rem;
    font-family: var(--font-body); /* Or var(--font-hindi) */
}

.timeline-body hr {
    border-color: var(--color-secondary); 
    margin: 15px 0;
}

/* --- FOOTER --- */
footer {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
    margin-top: 50px; 
    font-family: var(--font-body); /* Or var(--font-hindi) */
}

/* --- MEDIA QUERIES (Mobile Responsiveness) --- */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 5%;
        height: 60px; 
    }
    
   .logo-img { /* Adjust logo size for mobile */
        height: 40px; 
    }

    :root {
        --header-height: 60px;
    }
    
    html {
        scroll-padding-top: var(--header-height); 
    }

    main.content-wrapper {
        margin: 10px auto; 
        width: 95%; 
        padding-top: 20px; 
    }
    
    h1 { font-size: 2rem; }
    .names { font-size: 2.5rem; }
    
    .timeline:before {
        left: 20px;
    }
    .timeline-item,
    .timeline-item.inverted {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        left: 0 !important;
        text-align: left !important;
    }
    
    .timeline-item:after,
    .timeline-item.inverted:after {
        left: 14px; 
        right: auto;
    }
}

#fh5co-contact-section { /* New ID for the contact section */
    padding-top: 20px;
    padding-bottom: 20px;
}

.contact-details-section {
    max-width: 750px; /* Slightly wider container for contact info */
    margin: 40px auto;
    padding: 0 20px;
}

.contact-card {
    background-color: var(--color-background-card);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--color-secondary);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

.contact-row-desktop {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

/* Adjusting columns for contact page layout */
.contact-col {
    /* Use fixed widths here for the two-column layout */
    width: 45%; 
    min-width: 250px;
}

.contact-col.form-push-right {
    margin-left: auto;
}

.contact-info-block {
    padding: 10px;
    border-right: 2px solid var(--color-secondary); /* Visual separator */
}

.contact-info-block h3 {
    text-align: left;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.contact-info-block ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.contact-info-block li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--color-text-dark);
}

.contact-info-block li a {
    color: var(--color-primary);
    font-weight: 700;
}

/* Form Styles */
.contact-form h3 {
    text-align: left;
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-form .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-body);
}

.venue-details-card {
    padding-top: 15px; /* Add padding for separation from previous block */
    text-align: center;
}
.venue-details-card ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.venue-details-card li {
    margin: 10px 0;
    font-size: 1.1rem;
}


/* --- MEDIA QUERIES (Mobile Adjustments for Contact) --- */
@media (max-width: 768px) {
    .contact-col {
        width: 100%;
        min-width: 100%;
    }
    
    .contact-col.form-push-right {
        margin-left: 0;
        margin-top: 20px;
    }

    .contact-info-block {
        border-right: none;
        border-bottom: 2px solid var(--color-secondary); /* Use bottom border for mobile */
        padding-bottom: 20px;
    }
}