/* CSS Variables */
:root {
    /* Font families */
    /* --font-heading: 'Barrio', cursive; */
    /* --font-heading: 'Fascinate Inline', cursive; */
    --font-heading: 'Rock Salt', cursive;
    --font-body: 'Noto Serif', serif;

    /* Colors */
    --color-text-primary: #1d0e0b;
    --color-text-hero: #2c3e50;
    --color-text-dark: #2c3e50;
    --color-text-muted: #5a6c7d;
    --color-accent: #3498db;
    --color-button-bg: #2c3e50;
    --color-button-hover: #34495e;

    /* Card transparency */
    --card-transparency: 0.4;

    /* Font sizes */
    --size-hero-title: 4rem;
    --size-hero-subtitle: 2rem;
    --size-hero-date: 1.5rem;
    --size-hero-location: 1.5rem;
    --size-section-title: 2.5rem;
    --size-card-title: 1.5rem;
    --size-nav-brand: 1.5rem;
    --size-button: 1.2rem;
    --size-body: 1.2rem;

    /* Spacing */
    --hero-image-size: 800px;
    --card-padding: 2.5rem;
    --section-padding: 80px 20px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body), -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/A_and_I_watercolor_shore_background.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(1.05) saturate(1) contrast(1);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, var(--card-transparency));
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: var(--size-nav-brand);
    font-weight: 600;
    font-family: var(--font-heading);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 100px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    color: var(--color-text-hero);
    animation: fadeIn 1s ease-in;
    position: relative;
    z-index: 1;
}

.hero-image {
    max-width: var(--hero-image-size);
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: var(--size-hero-title);
    font-weight: 600;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

.subtitle {
    font-size: var(--size-hero-subtitle);
    font-weight: 600;
    margin-bottom: 5rem;
}

.hero-date {
    font-size: var(--size-hero-date);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.hero-location {
    font-size: var(--size-hero-location);
    font-weight: 500;
}

/* Details Section */
.details {
    padding: var(--section-padding);
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.details h2 {
    text-align: center;
    font-size: var(--size-section-title);
    margin-bottom: 3rem;
    color: var(--color-text-dark);
    font-family: var(--font-heading);
    position: relative;
    z-index: 1;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.detail-card {
    background: rgba(255, 255, 255, var(--card-transparency));
    backdrop-filter: blur(10px);
    padding: var(--card-padding);
    border-radius: 15px;
    text-align: center;
    color: var(--color-text-dark);
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.detail-card h3 {
    font-size: var(--size-card-title);
    margin-bottom: 1rem;
    font-weight: 600;
}

.detail-card p {
    font-size: var(--size-body);
    line-height: 1.8;
}

.tba {
    font-style: italic;
    opacity: 0.9;
    font-size: 0.95rem !important;
    margin-top: 0.5rem;
}

/* Accommodation Section */
.accommodation {
    padding: var(--section-padding);
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.accommodation h2 {
    text-align: center;
    font-size: var(--size-section-title);
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    position: relative;
    z-index: 1;
}

.section-intro {
    text-align: left;
    font-size: var(--size-body);
    margin-bottom: 2rem;
    color: var(--color-text-primary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.accommodation-placeholder {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, var(--card-transparency));
    backdrop-filter: blur(10px);
    border-radius: 15px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    font-size: var(--size-body);
}

.accommodation-placeholder ul {
    list-style-position: inside;
    padding-left: 0;
}

/* RSVP Section */
.rsvp {
    padding: var(--section-padding);
    background: transparent;
    color: var(--color-text-dark);
    position: relative;
    overflow: hidden;
}

.rsvp h2 {
    text-align: center;
    font-size: var(--size-section-title);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    position: relative;
    z-index: 1;
}

.rsvp .section-intro {
    color: var(--color-text-dark);
    position: relative;
    z-index: 1;
}

.rsvp-content {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.rsvp-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--color-button-bg);
    color: white;
    text-decoration: none;
    font-size: var(--size-button);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.rsvp-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    background-color: var(--color-button-hover);
}

.rsvp-note {
    margin-top: 1.5rem;
    font-style: italic;
    opacity: 0.8;
}

/* Footer */
.footer {
    padding: 2rem 20px;
    background-color: var(--color-button-bg);
    color: white;
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .hero-date {
        font-size: 1.5rem;
    }

    .hero-location {
        font-size: 1.1rem;
    }

    .hero-image {
        max-width: 550px;
    }

    .details h2,
    .accommodation h2,
    .rsvp h2 {
        font-size: 2rem;
    }

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

@media (max-width: 480px) {
    .nav-brand {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-image {
        max-width: 400px;
    }
}
