/* Basic Reset & Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Base font size */
}

body {
    font-family: 'Montserrat', 'Georgia', sans-serif;
    /* Giona uses a clean sans-serif, Montserrat is a good option */
    line-height: 1.7;
    color: #0A1F10;
    /* Dark grey for text */
    background-color: #CCC4A4;
    /* Very light off-white, almost white */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 860px;
    /* Slightly narrower for a more focused content feel */
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography - Giona Style */
h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', serif;
    /* Elegant serif for headings */
    color: #0A1F10;
    /* Near black for strong headings */
    margin-bottom: 0.5em;
    /* Tighter bottom margin */
    font-weight: 400;
    /* Playfair often looks good at normal weight */
}

h1 {
    /* Specifically for Hero Names */
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    /* Responsive font size */
    font-weight: 700;
    /* Bolder for the main names */
    line-height: 1.1;
    letter-spacing: 1px;
}

h2 {
    /* Section Titles */
    font-size: clamp(3.0rem, 4vw, 2.5rem);
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5em;
}

/* Subtle separator line for H2, like Giona */
h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 2px;
    background-color: #0A1F10;
    /* A subtle, muted gold accent, or use #cccccc for grey */
    margin: 0.5em auto 0;
}


h3 {
    font-size: clamp(2.5rem, 3vw, 1.8rem);
    color: #0A1F10;
    font-weight: 600;
}

h4 {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #0A1F10;
    font-family: 'Montserrat', 'Georgia', sans-serif;
    /* Sans-serif for sub-headings in FAQ etc. */
    font-weight: 600;
}

p {
    margin-bottom: 1.25em;
    color: #0A1F10;
    /* Softer grey for paragraph text */
    font-size: 1rem;
}

a {
    color: #0A1F10;
    /* Muted Gold for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #0A1F10;
    /* Darker gold on hover */
    text-decoration: none;
    /* Giona style often avoids underlines */
}

/* Hero Section - Giona Style */
.hero-section {
    position: relative;
    width: 100%;
    height: 85vh;
    /* Taller hero section */
    min-height: 400px;
    max-height: 700px;
    /* You can adjust this if needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #CCC4A4;
    /* White background for "side boxes" effect */
    overflow: hidden;
    /* Keep this if hero-image-container could exceed hero-section bounds */
}

.hero-image-container {
    max-width: 820px;
    height: 100%;
    /* Fill the height of hero-section */
    margin: 0 auto;
    /* Centers the container if hero-section is wider */
    overflow: hidden;
    /* Ensures image containment for object-fit */
    position: relative;
    /* For potential future absolute children if any */
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    /* Ensure this is centered */
    filter: brightness(0.75) contrast(1.0);
    /* Slightly darker for better text contrast */
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0A1F10;
    /* White text on image */
    padding: 20px;
    width: 90%;
    max-width: 700px;
    /* Removed background box for hero text, relying on image filter and text shadow */
}

.hero-text h1 {
    /* Couple's Names */
    color: #0A1F10;
    /* Subtle shadow for readability */
    text-shadow:
        0 0 7px rgba(255, 255, 255, 0.9),
        0 0 20px rgba(255, 255, 255, 0.7);
    margin-bottom: 0.1em;
}

.hero-text p {
    /* "GIFTER SIG!" */
    font-family: 'Montserrat', 'Georgia', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0A1F10;
    margin-bottom: 0.5em;
    font-weight: 700;
    text-shadow:
        0 0 7px rgba(255, 255, 255, 0.9),

        /* Layer 2: A wider, softer glow to create the shimmer effect */
        0 0 20px rgba(255, 255, 255, 0.7);
}

.hero-text .date {
    /* Wedding Date */
    font-family: 'Montserrat', 'Georgia', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    color: #0A1F10;
    letter-spacing: 1.5px;
    margin-top: 10px;
    display: block;
    text-shadow:
        0 0 7px rgba(255, 255, 255, 0.9),

        /* Layer 2: A wider, softer glow to create the shimmer effect */
        0 0 20px rgba(255, 255, 255, 0.7);
}

/* Table of Contents (Navigation) - Giona Style */
.table-of-contents {
    background-color: 0A1F10(253, 253, 253, 0.95);
    /* Slightly transparent off-white */
    /* backdrop-filter: blur(5px); /* Less critical if not sticky, but can keep for style */
    /* -webkit-backdrop-filter: blur(5px); */
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #eeeeee;
    /* Very subtle border */
    /* position: sticky; */
    /* Removed sticky positioning */
    /* top: 0;           */
    /* Removed top positioning */
    /* z-index: 1000;    */
    /* Removed z-index, not needed if not sticky */
    width: 100%;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    display: inline-block;
    margin: 0 clamp(10px, 2vw, 20px);
    /* Responsive margin */
}

.table-of-contents a {
    font-family: 'Montserrat', 'Georgia', sans-serif;
    font-weight: 600;
    /* Bolder nav links */
    color: #0A1F10;
    /* Dark grey nav links */
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    /* Giona often uses uppercase nav */
    padding: 8px 0px;
    position: relative;
    /* For hover effect */
    transition: color 0.3s ease;
}

.table-of-contents a::after {
    /* Underline hover effect */
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: #D4AF37;
    /* Muted gold */
    transition: width 0.3s ease;
    -webkit-transition: width 0.3s ease;
}

.table-of-contents a:hover::after,
.table-of-contents a:focus::after {
    width: 100%;
    left: 0;
    background: #CCC4A4;
}

.table-of-contents a:hover,
.table-of-contents a:focus {
    color: #0A1F10;
    /* Darken text on hover */
}


/* Content Sections - Giona Style */
.content-section {
    padding: 50px 0;
    /* Vertical padding for sections */
    /* scroll-margin-top: 100px; */
    /* No longer needed as nav isn't sticky */
}

.content-section:first-of-type {
    margin-top: 0;
}

.content-section ul {
    list-style-position: inside;
    padding-left: 0;
    list-style-type: none;
}

.content-section ul li {
    margin-bottom: 0.75em;
    padding-left: 1.5em;
    position: relative;
}

.content-section ul li::before {
    content: "•";
    color: #0A1F10;
    position: absolute;
    left: 0;
    font-weight: bold;
}


/* FAQ Specific Styling */
.faq-item {
    margin-bottom: 2em;
}

.faq-item h4 {
    /* Question */
    margin-bottom: 0.5em;
    font-weight: 700;
    color: #0A1F10;
}

.faq-item p {
    /* Answer */
    color: #0A1F10;
    margin-left: 0;
}

/* Footer - Giona Style */
footer {
    text-align: center;
    padding: 50px 20px;
    background-color: #CCC4A4;
    /* Light grey footer background */
    color: #0A1F10;
    /* Muted text color */
    margin-top: 60px;
    border-top: 1px solid #e0e0e0;
}

footer p {
    margin-bottom: 0.5em;
    font-size: 0.9rem;
    color: #0A1F10;
}

footer a {
    color: #0A1F10;
    /* Darker links in footer for readability */
}

footer a:hover {
    color: #CCC4A4;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }

    /* .hero-image-container max-width will still apply if screen is wider, 
       but width: 100% ensures it's responsive */

    .table-of-contents {
        padding: 15px 0;
    }

    .table-of-contents ul {
        display: flex;
        flex-direction: column;
        /* Stack nav items */
        align-items: center;
    }

    .table-of-contents li {
        margin: 10px 0;
        /* Adjust spacing for stacked items */
    }

    .content-section {
        /* scroll-margin-top: 150px; */
        /* No longer needed as nav isn't sticky */
    }

    h2 {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    h2::after {
        margin: 0.3em auto 0;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
        /* Slightly smaller base font for small devices */
    }

    .hero-section {
        height: 60vh;
    }

    .container {
        padding: 0 15px;
    }

    .table-of-contents a {
        font-size: 0.85rem;
    }
}