body {
    font-family: 'Georgia', serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fdfbf7;
    line-height: 1.6;
}

header {
    background: #ffffff;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

main {
    padding-top: 80px;
}

section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero {
    background-image: url('images/Untitled_Artwork-7.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: saturation;

    width: 100%;
    min-height: 80vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Radial mask fade to 0 opacity at the outer boundary */
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.date {
    font-style: italic;
    font-size: 1.2rem;
}

.button {
    display: inline-block;
    background: #b89772;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #f4f0eb;
    color: #777;
}

/* Styling the Details Section Container */
#details {
    background-color: #fdfbf7;
    padding: 4rem 2rem;
}

#details h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c2c2c;
    font-family: 'Georgia', serif;
}

/* The Wedding Detail Card */
.detail-card {
    background: #ffffff;
    border: 1px solid #eae3d9;
    border-radius: 8px;
    padding: 2.5rem;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.detail-card h3 {
    font-size: 1.5rem;
    color: #4a4a4a;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f4f0eb;
    padding-bottom: 0.5rem;
}

/* Venue specifics */
.venue-name a {
    font-size: 1.25rem;
    font-weight: bold;
    color: #b89772;
    text-decoration: none;
}

.venue-name a:hover {
    text-decoration: underline;
}

.venue-time {
    margin: 0.75rem 0;
    color: #555;
}

/* Address Block formatting */
.address-block {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px dashed #eae3d9;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Styled Button Link for Google Maps */
.map-link {
    display: inline-block;
    margin-top: 1rem;
    background-color: #f4f0eb;
    color: #4a4a4a;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    transition: background 0.2s;
}

.map-link:hover {
    background-color: #b89772;
    color: white;
}

#countdown-section {
    padding: 3rem 1rem;
    text-align: center;
    background-color: #fdfbf7;
    /* Matches overall site background */
}

#countdown-section h2 {
    font-family: 'Georgia', serif;
    font-size: 1.75rem;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border: 1px solid #eae3d9;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    min-width: 75px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.time-box span {
    font-size: 2.25rem;
    font-weight: bold;
    color: #b89772;
    /* Warm accent color */
    font-family: 'Georgia', serif;
}

.time-box label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
    margin-top: 0.25rem;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .countdown-container {
        gap: 0.5rem;
    }

    .time-box {
        min-width: 60px;
        padding: 0.75rem 0.5rem;
    }

    .time-box span {
        font-size: 1.5rem;
    }
}

#accommodation {
    background-color: #fdfbf7;
    padding: 5rem 2rem;
    text-align: center;
}

#accommodation h2 {
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 0.75rem;
}

.section-intro {
    color: #666;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.05rem;
    line-height: 1.5;
}

/* Grid layout for multiple Airbnbs */
.accommodation-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

/* Update the card to use Flexbox */
.accommodation-card {
    background: #ffffff;
    border: 1px solid #eae3d9;
    border-radius: 8px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);

    /* Flexbox magic */
    display: flex;
    flex-direction: column;
}

.accommodation-card h3 {
    font-size: 1.25rem;
    color: #4a4a4a;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #f4f0eb;
    padding-bottom: 0.5rem;
    font-family: 'Georgia', serif;
}

.property-details {
    color: #b89772;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.property-cost {
    color: #444;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.property-note {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.75rem;
    border-top: 1px dashed #eae3d9;
    padding-top: 0.5rem;
}


/* Update the link to stick to the bottom */
.airbnb-link {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;

    /* This pushes the button to the bottom of the flex card */
    margin-top: auto;

    background-color: #f4f0eb;
    color: #4a4a4a;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    transition: background 0.2s, color 0.2s;
    text-align: center;
}

.airbnb-link:hover {
    background-color: #b89772;
    color: white;
}

.property-info {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}