/* --- Custom Fonts --- */
@font-face {
    font-family: 'Sedan';
    src: url('assets/fonts/Sedan/Sedan-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sedan';
    src: url('assets/fonts/Sedan/Sedan-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* --- Variables --- */
:root {
    --color-background: #F8F8F8;
    --color-text: #FCFFFF;
    --color-text-secondary: #222222;
    --color-headline: #222222;
    --color-accent: #A0A0A0;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

/* --- Base Styles --- */


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-text-secondary);
    background-color: var(--color-background);
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    margin-bottom: 0.5em;
    color: var(--color-headline);
}

h1 {
    font-size: 4.5rem;
    letter-spacing: 3px;
    font-weight: 700;
}

h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5em;
    text-align: center;
    font-weight: 300;
    letter-spacing: 1px;
}

h3 {
    font-size: 2rem;
    margin-bottom: 0.5em;
    font-weight: 400;
    letter-spacing: 0.5px;
}

p {
    margin-bottom: 1em;
}

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

a:hover {
    color: #000;
}

/* --- Layout & Utility --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 32px; /* 32px padding per side */
    }
}

.content-section {
    padding: 80px 0;
    text-align: center;
}

.content-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.text-block {
    flex: 1;
    min-width: 280px;
    padding: 20px;
}

/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)), url('assets/background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-text);
}

@media (max-width: 768px) {
    .hero-section {
        /* Darker gradient overlay for mobile */
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('assets/background.jpg');
    }
}

.hero-content {
    padding: 20px;
}

.hero-headline {
    color: var(--color-text);
    font-size: 5.5rem;
    margin-bottom: 0.2em;
    font-weight: 700;
    letter-spacing: 4px;
}

.hero-pre-headline {
    font-family: var(--font-sans);
    font-size: 1rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-date {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    letter-spacing: 6px;
    margin-top: 20px;
    font-weight: 300;
}

/* --- Two Column Layout --- */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.column-left {
    display: flex;
    justify-content: center;
}

.column-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
}

/* --- Event Content Styling (Unified for both sections) --- */
.event-content {
    text-align: left;
    padding: 20px;
}

.event-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 1.5em;
}

.event-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 0.3em;
}

.event-time {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 1.5em;
    color: var(--color-text-secondary);
}

.event-label {
    font-size: 1.1rem; /* Same size as event-location-name */
    text-transform: none; /* Not uppercase */
    letter-spacing: normal; /* Normal spacing */
    color: var(--color-text-secondary); /* Same color as event-location-name (which is black/dark) */
    margin-bottom: 0.2em; /* Same margin as event-location-name */
    font-weight: 600; /* Same weight as event-location-name */
}

.event-detail {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 1em;
    color: var(--color-text-secondary);
}

.event-location-name {
    font-weight: 600;
    margin-bottom: 0.2em;
    font-size: 1.1rem;
    color: var(--color-text-secondary); /* Ensure color is explicitly set */
}

.event-location-city {
    margin-bottom: 1em;
    color: #999;
    font-size: 0.95rem;
    font-weight: 400;
}

.event-location {
    font-size: 1rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-location i {
    color: #000;
    font-size: 1.1rem;
}

.map-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    border: 1px solid #999;
    color: #999;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: background-color 0.3s, color 0.3s;
}

.map-link:hover {
    background-color: #999;
    color: #fff;
}

.map-link i {
    margin-right: 8px;
}

/* --- Section 1: Celebration --- */
.celebration-section {
    background-color: #fff;
}

/* --- Section 2: Ceremony --- */
.ceremony-section {
    background-color: #f5f5f5;
}

.ceremony-layout {
    grid-template-columns: 1fr 1fr;
}

/* --- Section 3: Program --- */
.program-section {
    background-color: #000F2E; /* Custom Dark Blue */
    color: #FCFFFF; /* Cream White Text */
}

.program-section .section-title {
    color: #FCFFFF;
    text-align: center; /* Ensure the title is centered */
}

.program-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 40px;
    /* Remove border-top from here, will be applied to the first row */
}

.program-row {
    display: grid;
    grid-template-columns: 120px 1fr 200px; /* Time (fixed), Title (flexible), Location (fixed) */
    align-items: baseline; /* Align all text to the baseline */
    padding: 0; /* Remove padding from row, apply to cells */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Full-width divider */
    color: white;
    min-height: 64px; /* Consistent minimum height per row */
    line-height: 1.4; /* Consistent line height */
}

.program-row:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Add top border to the first row */
}

.program-row:last-child {
    border-bottom: none; /* Remove bottom border from the last row */
}

.program-time, .program-activity, .program-location {
    font-family: var(--font-sans); /* Use consistent font for all columns */
    font-size: 1.1em; /* Use consistent size for all columns */
    color: white; /* Ensure consistent color */
    padding: 16px 10px; /* Apply 16px top/bottom padding to cells */
    display: flex; /* Use flex to control content alignment within the cell */
    align-items: center; /* Vertically center content within the cell */
    margin: 0; /* Remove any default margins from p tags */
    padding: 16px 10px; /* Apply 16px top/bottom padding to cells */
}

.program-time {
    font-weight: bold; /* Time column text is bold */
    justify-content: flex-start; /* Left-align content within the flex container */
    padding-left: 0;
    align-self: center; /* Ensure vertical centering within the grid cell */
}

.program-activity {
    justify-content: center; /* Center-align content within the flex container */
    text-align: center; /* Activity column text is center-aligned horizontally */
    padding: 16px 20px; /* Apply 16px top/bottom padding to cells */
    align-self: center; /* Ensure vertical centering within the grid cell */
}

.program-location {
    font-style: normal; /* Location column text is not italic */
    justify-content: flex-end; /* Right-align content within the flex container */
    padding-right: 0;
    align-self: center; /* Ensure vertical centering within the grid cell */
}

/* Mobile Timeline Style - Keep the existing mobile styles, but adjust the grid */
@media (max-width: 768px) {
    .program-table {
        display: block; /* Revert to block for mobile timeline */
        padding: 0;
    }

    .program-row {
        display: flex;
        flex-wrap: wrap;
        position: relative;
        padding: 20px 0 20px 80px; /* Space for the timeline dot/line */
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        text-align: left;
        grid-template-columns: 1fr; /* Override grid for mobile */
        min-height: auto;
    }

    .program-row:first-child {
        border-top: none; /* Remove top border on mobile */
    }

    .program-row:last-child {
        border-bottom: none;
    }

    .program-row::before {
        /* Clock icon removed for mobile view */
        content: none;
    }

    .program-time {
        order: 1;
        width: 100%;
        display: block;
        font-size: 1.1rem;
        font-weight: bold;
        padding: 0;
        margin-bottom: 5px;
        color: var(--color-accent);
        text-align: left;
    }

    .program-activity {
        order: 2;
        width: 100%;
        display: block;
        padding: 0;
        font-size: 1rem;
        text-align: left;
    }

    .program-location {
        order: 3;
        width: 100%;
        display: block;
        padding: 0;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
        text-align: left;
        font-style: normal;
    }
}ivity {
    justify-content: center;
    text-align: center;
}

.program-location {
    justify-content: flex-end;
}

/* --- Section 4: RSVP and Practical Information --- */
.rsvp-button, .info-link {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 40px; /* Increased padding */
    background-color: var(--color-accent);
    color: var(--color-background);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    border: 2px solid var(--color-accent);
    transition: background-color 0.3s, color 0.3s;
}



.rsvp-button:hover {
    transform: scale(1.03);.info-link:hover {
    background-color: var(--color-background);
}

.liquid-glass-button {
    /* Base styles for the hero button */
    display: inline-block;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    
    /* Liquid Glass Specifications */
    padding: 12px 36px;
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    
    /* Inner glow gradient */
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 100%);
    
    /* Transitions for hover/active effects */
    transition: all 0.25s ease;
}

.liquid-glass-button:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.04);
}

.liquid-glass-button:active {
    transform: scale(0.98);
}   transition: transform 0.1s ease;
@keyframes liquid-glow {
    0% { opacity: 0.95; }
    100% { opacity: 1; }
}



/* --- Footer --- */
footer {
    text-align: left; /* Reverting to left-align to check if it was the centering that broke it */
    padding: 20px 0;
    font-size: 0.7rem;
    color: #B0B0B0;
    background-color: #F8F8F8;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 48px;
}
/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    /* Sticky Mobile CTA */
    .mobile-sticky-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 10px 0;
        background-color: rgba(255, 255, 255, 0.95); /* Semi-transparent white background */
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        text-align: center;
        display: block;
    }

    .mobile-sticky-cta .cta-button {
        width: 80%;
        padding: 12px 0;
        margin: 0;
    }
}

/* Hide sticky CTA on desktop */
@media (min-width: 769px) {
    .mobile-sticky-cta {
        display: none;
    }
}
    h2 {
        font-size: 2.5rem;
    }

    .content-grid {
        flex-direction: column;
        gap: 20px;
    }

    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .program-grid {
        grid-template-columns: 1fr;
    }

    .program-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .program-event {
        text-align: left;
        margin-top: 5px;
    }

    .event-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .event-title {
        font-size: 2.5rem;
    }

    .event-time {
        font-size: 1.1rem;
    }
}

/* --- Liquid Glass Button Style --- */
.liquid-glass-button {
    display: inline-block;
    padding: 12px 30px;
    margin-top: 30px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    color: #FCFFFF; /* Creme white text */
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white background */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Light border */
    border-radius: 50px;
    backdrop-filter: blur(10px); /* The glass effect */
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.liquid-glass-button:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15), 0 2px 5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
".rsvp-cta-section {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-image: url('assets/rsvp-placeholder.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 200px 0; /* Increased bottom padding from 160px to 200px for more space before the footer */
    text-align: center;
    color: #fff;
}



.rsvp-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center; /* Ensure content inside is centered */
}

.cta-pre-headline {
    font-family: var(--font-sans);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1em;
}

.cta-headline {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    margin-top: 0; /* Ensure no extra margin above */
    margin-bottom: 0.5em; /* Reduced margin below the headline */
}.cta-button {
    display: inline-block;
    padding: 12px 40px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #FCFFFF; /* White text */
    background: #001542; /* Dark Blue background */
    border: 1px solid #001542;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.cta-button:hover {
    background: #002562; /* Slightly lighter blue on hover */
}-sans);
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-top: 20px;
}
.hero-venue {
    display: block;
    font-family: var(--font-sans);
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text);
}    font-weight: 400; /* Match default font weight */
}

.hero-location a {
    /* Remove the link styling that was causing issues */
    display: none;
}



.hero-city {
    display: block;
    font-family: var(--font-sans);
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text);
    margin-top: 5px;
    margin-bottom: 70px; /* Increased margin for padding */
    font-weight: 400; /* Ensure consistency */
}

/* Practical Information Section Styling */
.practical-info-section {
    padding: 80px 0; /* Increased padding */
    background-color: #F9F9F9; /* Subtle background tint */
}   text-align: center;
    background-color: var(--color-background);
    color: var(--color-primary);
}

.practical-info-section .info-content {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 40px;
}

.practical-info-section .info-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: left;
}

.practical-info-section .info-item {
    padding: 30px; /* Increased padding inside card */
    background-color: #fff; /* White background for the card */
    border-radius: 16px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0,0,0,0.04); /* Soft shadow */
    transition: transform 0.3s ease;
    border: none; /* Remove border */
}

.practical-info-section .info-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.practical-info-section .info-item p {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .practical-info-section .info-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    .practical-info-section .info-item {
        text-align: center;
    }
}

/* Custom styling for IBAN and Name in Gifts tile */
.iban-details {
    display: block;
    font-size: 80%;
    color: #A0A0A0; /* Light grey color, using the accent color for a subtle look */
    margin-top: 10px;
}

/* Custom styling for CTA contact info */
.cta-contact-info {
    display: block;
    font-family: var(--font-sans);
    font-size: 90%; /* 70% size of parent font size */
    color: #001542; /* Dark blue color as requested */
    margin-top: -10px; /* Pull it closer to the headline */
    margin-bottom: 20px; /* Space before the button */
}


/* Custom styling for CTA couple photo */
.cta-couple-photo {
    display: block;
    margin: 0 auto 32px auto; /* margin-top: 32px, margin-bottom: 48px, auto for horizontal centering */
    width: 113px; /* Approx 3cm */
    height: 113px; /* Approx 3cm */
    max-width: 113px;
    max-height: 113px;
    border-radius: 50%; /* Perfect circle */
    object-fit: cover;
    border: 2px solid #1E2A44; /* Dark blue border */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Soft shadow */
    transition: all 0.3s ease;
}

/* Mobile responsiveness for the photo - keeping the same size as it's already small */
@media (max-width: 768px) {
    .cta-couple-photo {
        width: 113px;
        height: 113px;
        margin-top: 24px; /* Slightly reduced margin for mobile */
        margin-bottom: 32px;
    }
}

.cta-couple-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2); /* Slightly increased shadow opacity and spread */
}

/* Hover effect for info tiles */
.info-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Increased shadow for depth */
}
