/* --- Global Styles --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1A1A1D; /* Dark background */
    color: #F5F5F5; /* Light text */
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky nav */
}

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

h1, h2 {
    font-family: "Georgia", "Times New Roman", serif;
    color: #C5A880; /* Muted gold accent */
    margin-bottom: 10px;
}

h1 {
    font-size: 2.8rem;
    text-align: center;
    border-bottom: 2px solid #444; /* Darker border */
    padding-bottom: 10px;
}

h2 {
    font-size: 2rem;
    border-bottom: 1px solid #444; /* Darker border */
    padding-bottom: 5px;
    margin-top: 30px;
}

p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

ul, ol {
    padding-left: 20px;
}

li {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* --- Header --- */
.header {
    text-align: center;
    padding: 40px 20px;
    background-color: #2C2C34; /* Darker header background */
    border-bottom: 1px solid #444; /* Darker border */
}

.header h1 {
    border: none;
    font-size: 3.5rem;
    margin: 0;
}

.header p {
    font-size: 1.3rem;
    color: #A9A9A9; /* Lighter secondary text */
    margin-top: 10px;
}

/* --- Sections --- */
.section {
    display: none; /* Hide sections by default */
    background: #2C2C34; /* Darker section background */
    padding: 25px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.section.active {
    display: block; /* Show the active section */
    opacity: 0; /* Initially invisible for anime.js to fade in */
}

/* --- Hamburger Menu & Navigation --- */
.navbar {
    background-color: rgba(44, 44, 52, 0.85); /* Dark semi-transparent background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #444;
    position: sticky;
    display: flex;
    justify-content: flex-end;
    top: 0;
    z-index: 1000;
    padding: 15px 20px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Above nav links */
}

.hamburger .bar {
    width: 2rem;
    height: 0.25rem;
    background-color: #A9A9A9; /* Lighter bar color */
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #1A1A1D; /* Dark background for mobile menu */
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.nav-links.active {
    transform: translateX(0);
}

.nav-links li {
    padding: 20px 0;
}

.nav-links a {
    display: block;
    text-decoration: none;
    color: #A9A9A9; /* Lighter link color */
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #C5A880; /* Gold for hover and active state */
}


/* --- Guest List --- */
.guest-list li {
    list-style-type: none;
    padding: 5px 0;
}

.guest-list strong {
    color: #C5A880; /* Gold accent */
}

/* --- Menu & Drinks --- */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 20px;
}

.menu-section h3 {
    font-family: "Georgia", serif;
    font-size: 1.5rem;
    color: #C5A880; /* Gold accent */
    margin-bottom: 10px;
}

/* --- Location --- */
.location-section .sub-heading {
    font-size: 1.3rem;
    font-weight: bold;
    color: #F5F5F5; /* Light text */
}

.location-link {
    display: inline-block;
    background-color: #C5A880; /* Gold accent */
    color: #1A1A1D; /* Dark text on button */
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.location-link:hover {
    background-color: #D8BB94; /* Lighter gold on hover */
}

.gif-container {
    max-width: 250px; /* Controls the max size of the GIF */
    margin: 25px auto; /* Adds space above/below and centers it */
}

.map-iframe {
    border: 0;
    border-radius: 8px;
    width: 100%;
    margin-top: 20px;
}

/* --- Travel Cost Section --- */
.cost-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.cost-card {
    background-color: #1A1A1D; /* Darker card background */
    border: 1px solid #444;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.cost-card h3 {
    margin-top: 0;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.cost-card .cost-price {
    font-size: 2rem;
    font-weight: bold;
    color: #C5A880; /* Gold accent */
    margin: 15px 0;
}

/* --- What to Bring Checklist --- */
.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #C5A880; /* Gold accent */
    font-weight: bold;
}

/* --- Footer --- */
.footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    font-size: 0.9rem;
    color: #A9A9A9; /* Lighter secondary text */
}

/* --- Animation Helpers --- */
.anim-child {
    opacity: 0; /* Hide elements for staggered animation */
}

/* --- Pinterest Embed --- */
.pinterest-embed {
    margin: 25px auto;
}

/* --- Imgur Embed --- */
.imgur-embed {
    margin: 25px auto;
}

/* Style the iframe we create for Imgur */
.imgur-iframe {
    border: 1px solid #444;
    border-radius: 8px;
    width: 100%;
    height: 550px; /* Default height for the gallery */
    max-width: 540px; /* Max width of the Imgur embed */
}

/* --- Mobile-Friendly (Responsive) --- */
@media (min-width: 600px) {
    .menu-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns on desktop */
    }
    
    .cost-grid {
        grid-template-columns: 1fr 1fr;
    }

    h1 {
        font-size: 3.5rem;
    }

    .header h1 {
        font-size: 4.5rem;
    }

    .navbar {
        justify-content: center;
        padding: 0 10px;
    }

    .hamburger {
        display: none; /* Hide hamburger on desktop */
    }

    .nav-links {
        position: static;
        flex-direction: row;
        height: auto;
        width: auto;
        background: transparent;
        transform: translateX(0);
    }

    .nav-links li {
        padding: 0;
    }

    .nav-links a {
        padding: 20px 15px;
    }
}