/* Base Styles & Colors */
:root {
    --dark-wood: #391d15;
    --light-wood: #5c3a21;
    --parchment-bg: #e6d3ba;
    --text-dark: #3b2313;
    --gold-text: #d4af37;
    --parchment-light: #f4e8d3;
}

body {
    margin: 0;
    font-family: 'Lora', serif;
    background-color: var(--parchment-bg);
    /* Save your main parchment texture as 'bg-texture.jpg' */
    /* background-image: url('images/bg-texture.jpg');  */
    color: var(--text-dark);
}

h1, h2, h3, h4, .logo {
    font-family: 'Cinzel', serif;
    margin: 0;
}

/* Typography Helpers */
.tagline { font-style: italic; font-size: 1.5rem; margin: 5px 0; }
.location-year { font-weight: bold; letter-spacing: 2px;}
.dates { font-weight: bold; font-size: 1.2rem; border-top: 2px solid var(--text-dark); border-bottom: 2px solid var(--text-dark); display: inline-block; padding: 5px 20px;}

/* Navigation */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--dark-wood);
    /* Save your dark wood texture as 'wood-nav.jpg' */
    /* background-image: url('images/wood-nav.jpg');  */
    padding: 10px 40px;
    border-bottom: 3px solid var(--light-wood);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-portrait {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--gold-text);
    object-fit: cover;
    /* This helps modern browsers scale the image with better clarity */
    image-rendering: -webkit-optimize-contrast; 
    display: block;
}

.top-nav .logo {
    font-size: 2rem;
    color: var(--parchment-light);
}

.top-nav nav a {
    color: var(--parchment-light);
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.top-nav nav a:hover { color: var(--gold-text); }

/* Buttons */
button {
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    border: 2px solid #3a2211;
    background: linear-gradient(to bottom, #7b5336, #4a2c16);
    color: #fcebbb;
    text-transform: uppercase;
    transition: transform 0.1s, filter 0.3s;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

button:hover { filter: brightness(1.2); }
button:active { transform: scale(0.95); box-shadow: inset 2px 2px 5px rgba(0,0,0,0.5); }

.nav-btn { padding: 10px 25px; border-radius: 5px; }
.main-btn { padding: 12px 35px; font-size: 1.2rem; border-radius: 8px; margin: 20px 0; }
.card-btn { padding: 10px 20px; border-radius: 20px; margin-top: 15px; }

/* ================= Hero Section Updates ================= */

/* =========================================
   Home Page - Full Screen Hero
   ========================================= */

.hero-section {
    width: 100%;
    min-height: 100vh; /* This is the magic! It forces the box to be exactly the height of the screen */
    
    /* Background Image Settings */
    background: linear-gradient(rgba(42, 22, 16, 0.3), rgba(42, 22, 16, 0.3)), url('images/hero-bg.jpg');
    background-size: cover; /* Stretches the image to fill the box without distorting */
    background-position: center bottom;
    background-repeat: no-repeat;
    border-bottom: 5px solid var(--dark-wood);

    /* Flexbox to perfectly center your text inside the giant box */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    /* Remove any default margins so it touches the absolute edges of the screen */
    margin: 0;
    padding: 0;
}

/* Make the text massive and beautiful for the fullscreen view */
.hero-bg h1 {
    font-size: 4.5rem; /* Huge title */
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5); /* Helps it pop off the background */
}

.hero-bg h2 {
    font-size: 2rem;
    color: #bfa15f; /* Your signature gold */
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.hero-content {
    background-color: rgba(230, 211, 186, 0.15);  /* Very faint white tint */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle white border */
    border-radius: 16px; /* Smooth rounded corners */
    
    /* Makes the box larger and gives the text breathing room */
    padding: 60px 80px; 
    max-width: 800px;
    width: 90%; 
    
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

/* --- ADJUSTED FONTS with HEAVY SHADOWS --- */

.hero-content h1 {
    font-size: 4.5rem; /* Scaled down from 6rem so it doesn't stretch the container */
    font-weight: 800; 
    line-height: 1;
    margin-bottom: 5px;
    color: #fcebbb; 
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.9), 0 0 3px rgba(0,0,0,1);
}

.hero-content h2 {
    font-size: 2.5rem; /* Scaled down from 3.5rem */
    font-weight: 700;
    margin-bottom: 15px;
    color: #fcebbb;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0,0,0,1);
}

.hero-content .location-year {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 10px;
    color: #fcebbb;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.hero-content .tagline {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.8rem;
    margin: 10px 0;
    font-weight: 400;
    color: #d4af37; 
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}

.hero-content .dates {
    font-size: 1.5rem;
    font-weight: 800;
    border-top: 3px solid #fcebbb;
    border-bottom: 3px solid #fcebbb;
    display: inline-block;
    padding: 8px 30px;
    margin-top: 15px;
    letter-spacing: 2px;
    color: #fcebbb;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9);
    background-color: rgba(42, 22, 16, 0.6); 
}

.hero-btn-container {
    /* Adjusted margin to keep the container compact */
    margin-top: 25px; 
}

/* Info Cards */
.info-cards { display: flex; justify-content: center; gap: 20px; padding: 40px; max-width: 1200px; margin: 0 auto; }

.card {
    flex: 1;
    background-color: var(--parchment-light);
    border: 3px solid #b89b78;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-img {
    height: 150px;
    margin: 15px 0;
    border: 2px solid var(--light-wood);
    overflow: hidden;
}

.card-img img { width: 100%; height: 100%; object-fit: cover; }

/* Bottom Details */
.bottom-details { display: flex; justify-content: space-between; align-items: center; padding: 40px; max-width: 1200px; margin: 0 auto; gap: 40px; }
.text-content { flex: 1; }
.text-content h2 { font-size: 2rem; margin-bottom: 20px; }
.daily-highlights { flex: 1; display: flex; gap: 15px; }
.day-card { text-align: center; flex: 1; }

.small-img {
    height: 120px;
    border: 2px solid var(--light-wood);
    margin-bottom: 10px;
    overflow: hidden;
}

.small-img img { width: 100%; height: 100%; object-fit: cover; }

/* ================= Bottom Details Image Final Fix ================= */

.small-img {
    height: 120px;
    /* The border is now tightly wrapped around the image */
    border: 2px solid var(--light-wood);
    margin-bottom: 10px;
    overflow: hidden;
    /* We removed the background color since the image will now fill the space */
}

.small-img img {
    width: 100%;
    height: 100%;
    
    /* 'cover' forces the image to fill the entire box, eliminating white space */
    object-fit: cover; 
    
    /* This ensures the top part of the photo (where the faces are) is always visible */
    object-position: top center; 
}

/* ========================================================= */
/* ============ WEEKEND SCHEDULE PAGE STYLES =============== */
/* ========================================================= */

/* ========================================================= */
/* ============ PAGE HEADER (SCHEDULE & TRAVEL) ============ */
/* ========================================================= */

.page-header {
    text-align: center;
    /* Using the clean parchment background to match the theme */
    background-color: var(--parchment-bg);
    /* background-image: url('images/bg-texture.jpg'); */
    padding: 60px 20px;
    border-bottom: 3px solid var(--light-wood);
}

.page-header h1 { 
    font-size: 4.5rem; 
    letter-spacing: 5px; 
    color: var(--dark-wood); /* Rich dark brown */
    margin-bottom: 5px;
    /* Just a very soft, elegant shadow to lift the text */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5); 
}

.page-header h2 { 
    font-family: 'Lora', serif; /* Using the softer, script-like font */
    font-style: italic;
    font-size: 2.2rem; 
    margin-bottom: 15px; 
    color: var(--light-wood); /* A warm medium brown */
    font-weight: 400;
    text-shadow: none; /* Removed the harsh black shadow */
}

.page-header .location-year { 
    letter-spacing: 4px; 
    font-weight: bold; 
    font-size: 1.2rem;
    color: var(--dark-wood);
    /* Adding the elegant top and bottom lines just like the home page */
    border-top: 2px solid var(--dark-wood);
    border-bottom: 2px solid var(--dark-wood);
    display: inline-block;
    padding: 8px 30px;
}

.schedule-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Decorative Section Title */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin: 0 20px;
    color: var(--text-dark);
}

.section-title .line {
    flex-grow: 1;
    height: 2px;
    background-color: var(--text-dark);
    max-width: 100px;
}

/* Schedule Cards */
.schedule-card {
    background-color: var(--parchment-light);
    border: 3px solid #b89b78;
    border-radius: 5px;
    margin-bottom: 30px;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.2);
    overflow: hidden;
}

.day-header {
    background-color: rgba(92, 58, 33, 0.1); /* Subtle wood tint */
    border-bottom: 2px solid #b89b78;
    text-align: center;
    padding: 10px;
}

.day-header h3 {
    font-size: 1.4rem;
    color: var(--dark-wood);
    letter-spacing: 2px;
}

.day-content {
    display: flex;
    padding: 20px;
    gap: 20px;
}

.day-image {
    flex: 0 0 30%; /* Image takes up 30% of card width */
    border: 3px solid var(--light-wood);
    border-radius: 4px;
    overflow: hidden;
    height: 180px;
}

.day-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.day-details {
    flex: 1; /* Text takes up the remaining space */
}

.day-details h4 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--dark-wood);
    border-bottom: 1px dashed var(--light-wood);
    padding-bottom: 5px;
}

.day-details ul {
    list-style-type: none; /* Removes standard bullets */
    padding: 0;
    margin: 0;
}

.day-details ul li {
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.day-details .icon {
    margin-right: 10px;
    font-size: 1.2rem;
    filter: sepia(1) hue-rotate(340deg) saturate(3); /* Tints emojis to a rustic brown */
}

/* Bottom Navigation */

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: var(--light-wood);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .day-content {
        flex-direction: column; /* Stacks image on top of text on phones */
    }
    .day-image {
        width: 100%;
        height: 200px;
    }
    .bottom-page-nav {
        flex-direction: column;
        align-items: center;
    }
}

/* ========================================================= */
/* ============ TRAVEL & LODGING PAGE STYLES =============== */
/* ========================================================= */

/* Skyline Hero Image */
.travel-hero {
    height: 300px;
    background-image: url('images/skyline.jpg'); /* Your Cincinnati skyline image */
    background-size: cover;
    background-position: center;
    border-bottom: 5px solid var(--dark-wood);
}

/* Two-Column Layout */
.travel-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
    display: flex;
    gap: 50px;
}

/* Left Column Styling */
.travel-text {
    flex: 6; /* Takes up roughly 60% of the space */
}

.travel-text h2 {
    font-size: 2.5rem;
    color: var(--dark-wood);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--light-wood);
    padding-bottom: 10px;
}

.travel-text h3 {
    font-size: 1.6rem;
    color: var(--dark-wood);
    margin: 30px 0 15px 0;
}

.travel-text p, .travel-text li {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.travel-text ul {
    padding-left: 20px;
}

/* Right Column (Sidebar) Styling */
.travel-sidebar {
    flex: 4; /* Takes up roughly 40% of the space */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-image {
    border: 3px solid var(--light-wood);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

.sidebar-image img {
    width: 100%;
    height: auto;
    display: block;
}

.sidebar-info-box {
    background-color: var(--parchment-light);
    border: 2px dashed #b89b78;
    padding: 15px;
    text-align: center;
    border-radius: 4px;
}

.sidebar-info-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-wood);
}

.sidebar-info-box p {
    margin: 5px 0;
    font-size: 1rem;
}

/* ========================================================= */
/* ================= EXPANDED FOOTER ======================= */
/* ========================================================= */

.expanded-footer {
    background-color: var(--dark-wood);
    /* background-image: url('images/wood-nav.jpg'); Reusing dark wood texture */
    color: var(--parchment-light);
    padding: 40px 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* Allows stacking on smaller screens */
    border-top: 5px solid var(--light-wood);
}

.footer-column {
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-column h4 {
    color: var(--gold-text);
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--light-wood);
    padding-bottom: 5px;
}

.footer-column a, .footer-column p {
    display: block;
    color: var(--parchment-light);
    text-decoration: none;
    margin-bottom: 10px;
    font-family: 'Lora', serif;
}

.footer-column a:hover {
    color: var(--gold-text);
}

.social-icons span {
    font-size: 1.5rem;
    margin-right: 15px;
    cursor: pointer;
}

/* Mobile Responsiveness for Travel Page */
@media (max-width: 850px) {
    .travel-content {
        flex-direction: column; /* Stacks text on top of sidebar on small screens */
    }
    .expanded-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ========================================================= */
/* ============== RSVP & REGISTRATION STYLES =============== */
/* ========================================================= */

.rsvp-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.rsvp-info {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.rsvp-info h3 {
    font-size: 2rem;
    color: var(--dark-wood);
    margin-bottom: 15px;
}

.rsvp-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.rsvp-info ul {
    list-style-type: none;
    padding: 0;
    font-size: 1.2rem;
    color: var(--dark-wood);
    margin: 20px 0;
}

.rsvp-info ul li {
    margin-bottom: 8px;
    border-bottom: 1px dashed var(--light-wood);
    display: inline-block;
    padding-bottom: 5px;
}

/* Form Styling - Looks like an old paper card */
.form-container {
    background-color: var(--parchment-light);
    border: 3px double var(--light-wood);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 4px 4px 15px rgba(0,0,0,0.1);
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--dark-wood);
    margin-bottom: 8px;
    font-size: 1rem;
}

/* Input Fields */
.form-group input, 
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--light-wood);
    background-color: var(--parchment-bg);
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    border-radius: 4px;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-text);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.submit-btn {
    align-self: center;
    width: 50%;
    margin-top: 20px;
}

/* Mobile Responsiveness for Form */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    .submit-btn {
        width: 100%;
    }
    .form-container {
        padding: 20px;
    }
}

/* ========================================================= */
/* ================ GALLERY & FAQ STYLES =================== */
/* ========================================================= */

.gallery-faq-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

/* Styled Subheading */
.faq-heading { margin-bottom: 40px; }

.faq-heading h2 {
    font-size: 2.8rem;
    color: var(--dark-wood);
    border-top: 2px solid var(--dark-wood);
    border-bottom: 2px solid var(--dark-wood);
    display: inline-block;
    padding: 10px 40px;
}

.faq-heading .italic-text {
    font-family: 'Lora', serif;
    font-style: italic;
    font-weight: 400;
}

/* The Photo Grid */
.gallery-grid {
    display: grid;
    /* This makes the middle column 1.5x wider than the side columns */
    grid-template-columns: 1fr 1.5fr 1fr; 
    gap: 15px;
    margin-bottom: 50px;
}

.gallery-item {
    border: 3px solid #b89b78;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    border-radius: 4px;
    overflow: hidden;
    height: 220px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease; /* Adds a nice zoom effect on hover */
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* FAQ Text Section */
.faq-content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--parchment-light);
    padding: 40px;
    border: 2px dashed var(--light-wood);
    border-radius: 8px;
}

.intro-text {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark-wood);
    font-weight: bold;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.faq-item h4 {
    color: var(--dark-wood);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.faq-item p { margin: 0; font-size: 1.1rem; }

/* Let's Make 2026 Legendary Banner */
.legendary-banner {
    /*background-image: url('images/wood-nav.jpg');  Reuses your dark wood texture */
    background-size: cover;
    color: var(--parchment-light);
    text-align: center;
    padding: 50px 20px;
    border-top: 5px solid var(--dark-wood);
}

.legendary-banner h2 {
    font-size: 3rem;
    letter-spacing: 2px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
}

/* Mobile Responsiveness for Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        /* Stacks the images in a single column on phones */
        grid-template-columns: 1fr; 
    }
    .gallery-item { height: 250px; }
    .faq-heading h2 { font-size: 2rem; padding: 10px 20px; }
    .legendary-banner h2 { font-size: 2rem; }
}

.faq-accordion {
    border-bottom: 1px solid var(--light-wood);
    padding: 15px 0;
}
.faq-accordion summary {
    font-size: 1.3rem;
    color: var(--dark-wood);
    font-weight: bold;
    cursor: pointer;
    list-style: none; /* Removes default arrow on some browsers */
}
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary::before { content: "+ "; color: var(--gold-text); }
.faq-accordion[open] summary::before { content: "- "; }
.faq-accordion p { margin-top: 10px; padding-left: 15px; }

/* ========================================================= */
/* ================== IMAGE MODAL STYLES =================== */
/* ========================================================= */

.gallery-item img {
    cursor: pointer; /* Changes the mouse to a pointing hand to show it's clickable */
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 1000; /* Sits on top of everything else */
    left: 0; top: 0; width: 100%; height: 100%; 
    background-color: rgba(20, 10, 5, 0.95); /* Very dark brown background */
    overflow: auto;
}

.modal-content {
    margin: auto; 
    display: block;
    width: 80%; 
    max-width: 900px;
    margin-top: 5%;
    border: 5px solid #b89b78;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.close-modal {
    position: absolute; 
    top: 20px; 
    right: 40px;
    color: var(--parchment-light); 
    font-size: 50px;
    font-weight: bold; 
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover { color: var(--gold-text); }

/* Mobile Modal Adjustments */
@media (max-width: 768px) {
    .modal-content { width: 95%; margin-top: 20%; }
    .close-modal { right: 20px; top: 10px; }
}

/* Fix for the overlapping background text */
.legendary-text {
    color: var(--dark-wood);
}

/* Elegant Title Styling */
.classy-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: #bfa15f; /* That beautiful gold accent color we used earlier */
    letter-spacing: 3px; /* Spaces the letters out for a premium look */
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1); /* Just a tiny, soft shadow for depth */
}

/* =========================================
   Weekend Schedule - Pure Snapping (No Layout Changes)
   ========================================= */

html {
    scroll-snap-type: y proximity; 
    scroll-behavior: smooth;
}

.schedule-snap-container {
    width: 100%;
}

.schedule-snap-section {
    scroll-snap-align: center; /* Magnets the card to the middle of the screen */
    
    /* This ensures your top navigation bar doesn't overlap the card when it snaps! */
    scroll-margin-top: 100px; 
}

/* =========================================
   Prevent Auto-Scrolling on Page Load
   ========================================= */
.top-nav,
.page-header {
    scroll-snap-align: start; /* Acts as a heavy anchor at the top of the page */
}

/* =========================================
   Travel Page - Card & Button Styles
   ========================================= */

/* The Box/Border around each row */
.travel-row-card {
    background-color: rgba(255, 255, 255, 0.3); /* Adds a very faint white tint inside the box */
    border: 1px solid #d4c5b0; /* A subtle, classy border to separate the rows */
    border-radius: 12px; /* Softly rounded corners */
    padding: 40px; /* Gives the text and image room to breathe */
    margin-bottom: 40px; /* Space between each box */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); /* A tiny, elegant shadow */
    align-items: center; /* Keeps the text perfectly centered with the image */
    scroll-snap-align: center; 
    scroll-margin-top: 120px; /* Keeps the top navigation bar from covering your text */
}

/* The "View & Book" Button */
.book-btn {
    display: inline-block;
    background-color: #bfa15f; /* Your beautiful gold theme color */
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-top: 15px;
    transition: all 0.3s ease; /* Smooth animation */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* When the user hovers their mouse over the button */
.book-btn:hover {
    background-color: #a68a4a; /* Slightly darker gold on hover */
    transform: translateY(-2px); /* Makes the button "lift" up slightly */
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    color: #ffffff;
}

/* A little extra spacing for the list items */
.travel-details-list {
    list-style: none;
    padding: 0;
}

.travel-details-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.travel-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* =========================================
   EXACT IMAGE LANDING PAGE (Overlay Setup)
   ========================================= */

.landing-body {
    margin: 0;
    padding: 0;
    
    /* THE NEW VINTAGE MAP BACKGROUND */
    background-color: #1a1a1a; /* Fallback color */
    background-image: url('images/landing-map-bg.jpg'); /* Make sure this matches your file name! */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Keeps the map locked in place */
    min-height: 100vh; /* Ensures the background covers the entire screen height */
    
    display: flex;
    justify-content: center;
    align-items: center; /* Centers the poster vertically on the screen */
}

/* The wrapper that keeps the overlays locked to the image */
.poster-container {
    position: relative;
    width: 100%;
    max-width: 900px; /* Adjust this to make the poster bigger/smaller on desktop */
    margin: 0 auto;
    
    /* PRO TIP: This adds a beautiful dark drop-shadow so your poster "pops" off the map! */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8); 
}

.poster-image {
    width: 100%;
    display: block; /* Removes weird gaps below images */
}

/* =========================================
   LIVE COUNTDOWN OVERLAYS
   ========================================= */
.live-countdown-overlay {
    position: absolute;
    /* These percentages place the live boxes exactly over the painted ones! */
    top: 25.5%; 
    left: 8.5%;
    width: 83%;
    height: 10%;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-box {
    width: 18%;
    height: 70%;
    background-color: #362415; /* Dark brown to cover the painted numbers perfectly */
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8); /* Makes it blend into the canvas */
    border: 2px solid #543b24; /* Matches the painted borders */
}

.live-box span {
    color: #e2c073;
    font-family: 'Playfair Display', serif;
    font-size: 3.5vw; /* Scales text automatically based on screen width */
    font-weight: 700;
    line-height: 1;
}

.live-box small {
    color: #c4a46a;
    font-family: 'Lora', serif;
    font-size: 1vw; /* Scales text automatically */
    letter-spacing: 2px;
    margin-top: 2px;
}

/* =========================================
   LIVE BUTTON OVERLAY
   ========================================= */
.live-button-overlay {
    position: absolute;
    /* Places the button exactly over the painted button */
    top: 57.5%;
    left: 49%;
    transform: translateX(-50%); /* Centers it perfectly */
    width: 42%;
    height: 4.5%;
    
    background: linear-gradient(to bottom, #dcb463, #b88d3b);
    color: #2b1d10;
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 1.5vw;
    text-decoration: none;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #946f28;
    transition: all 0.2s ease;
}

.live-button-overlay:hover {
    background: linear-gradient(to bottom, #e5c378, #c69b46);
    box-shadow: 0 0 20px rgba(226, 192, 115, 0.5); /* Glowing hover effect */
}

/* Desktop Font Overrides (stops text from getting too huge on big screens) */
@media (min-width: 900px) {
    .live-box span { font-size: 2.2rem; }
    .live-box small { font-size: 0.6rem; }
    .live-button-overlay { font-size: 1rem; }
}

/* =========================================
   ADMIN DASHBOARD STYLES (SCOPED)
   ========================================= */
.admin-body {
    background-color: #f4f4f9;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Clean, modern font for admin */
    margin: 0;
    padding: 20px;
}

.admin-body .admin-container {
    max-width: 1200px;
    margin: 0 auto;
}

.admin-body .admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2b1d10;
    color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.admin-body .admin-header h1 {
    font-size: 1.8rem;
    margin: 0;
    font-family: 'Lora', serif;
}

.admin-body .back-link {
    color: #dcb775;
    text-decoration: none;
    font-weight: bold;
}

.admin-body .back-link:hover {
    text-decoration: underline;
}

.admin-body .admin-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.admin-body .admin-section h2 {
    margin-top: 0;
    color: #2b1d10;
    border-bottom: 2px solid #eae0cf;
    padding-bottom: 10px;
}

.admin-body .table-responsive {
    overflow-x: auto;
}

.admin-body .admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.95rem;
}

.admin-body .admin-table th, 
.admin-body .admin-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.admin-body .admin-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #555;
}

/* Highlights the row when the admin clicks "Edit" */
.admin-body .editing-row {
    background-color: #fffbc8 !important; 
    box-shadow: inset 0 0 0 2px #dcb775;
}

/* Action Buttons */
.admin-body .action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.85rem;
    margin-right: 5px;
}

.admin-body .edit-btn { background-color: #4CAF50; color: white; }
.admin-body .save-btn { background-color: #008CBA; color: white; display: none; }
.admin-body .delete-btn { background-color: #f44336; color: white; }

.admin-body .edit-btn:hover { background-color: #45a049; }
.admin-body .save-btn:hover { background-color: #007bb5; }
.admin-body .delete-btn:hover { background-color: #da190b; }

/* ========================================================= */
/* ================== LOGIN / REGISTER STYLES ============== */
/* ========================================================= */

/* The Glass Box (Matches your index.html hero content) */
.auth-wrapper { 
    max-width: 400px; 
    margin: 100px auto; 
    padding: 40px 30px; 
    background-color: rgba(230, 211, 186, 0.15); /* Faint tint */
    border: 1px solid rgba(255, 255, 255, 0.3);  /* Subtle white border */
    border-radius: 16px;                         /* Smooth rounded corners */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);   /* Soft shadow to lift it off the background */
    backdrop-filter: blur(4px);                  /* Adds a premium frosted glass effect */
    text-align: center; 
}

/* The Top Tabs */
.auth-toggle { 
    display: flex; 
    margin-bottom: 25px; 
    border-bottom: 2px solid rgba(255, 255, 255, 0.2); 
}

.auth-toggle button { 
    flex: 1; 
    padding: 10px; 
    background: none; 
    border: none; 
    cursor: pointer; 
    font-family: 'Cinzel', serif; 
    font-size: 1.1rem; 
    color: rgba(255, 255, 255, 0.6); /* Faded white for inactive tabs */
    transition: color 0.3s;
}

.auth-toggle button:hover {
    color: #ffffff;
}

.auth-toggle button.active { 
    color: #fcebbb; /* Bright parchment color for the active tab */
    border-bottom: 3px solid #bfa15f; 
    font-weight: bold; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* The Input Fields */
.auth-form input { 
    width: 100%; 
    padding: 14px; 
    margin-bottom: 15px; 
    background-color: rgba(255, 255, 255, 0.9); /* Mostly solid white so typing is easy to read */
    border: 1px solid #bfa15f; 
    border-radius: 4px; 
    box-sizing: border-box; 
    font-family: 'Lora', serif; 
    font-size: 1.05rem;
}

/* The Submit Button */
.auth-btn { 
    width: 100%; 
    padding: 15px; 
    background: linear-gradient(to bottom, #7b5336, #4a2c16); 
    color: #fcebbb; 
    border: 2px solid #3a2211; 
    font-family: 'Cinzel', serif; 
    font-size: 1.2rem; 
    font-weight: bold;
    cursor: pointer; 
    border-radius: 6px; 
    box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    transition: filter 0.3s, transform 0.1s;
}

.auth-btn:hover { filter: brightness(1.2); }
.auth-btn:active { transform: scale(0.98); }

/* Error Messages */
#authMessage { 
    color: #ff6b6b; /* A brighter red so it shows up against the dark background */
    margin-top: 15px; 
    font-style: italic; 
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* ========================================================= */
/* ================== LOGIN PAGE BACKGROUND ================ */
/* ========================================================= */
.login-bg-page {
    /* We swap in hero-bg.jpg right here! */
    background: linear-gradient(rgba(42, 22, 16, 0.6), rgba(42, 22, 16, 0.6)), url('images/hero-bg.jpg');
    background-size: cover;          /* Stretches the image to fit the screen */
    background-position: center;     /* Keeps the image perfectly centered */
    background-repeat: no-repeat;    /* Prevents the image from tiling */
    background-attachment: fixed;    /* Keeps the background locked in place if you scroll */
    min-height: 100vh;               /* Ensures it covers the entire height of the screen */
}

/* ==========================================
   ELEGANT HEADER NAVIGATION (TEXTURED)
   ========================================== */
/* ==========================================
   THE ULTIMATE PREMIUM HEADER 
   ========================================== */
.reunion-navbar {
    /* 1. Deep Smoked Amber Glass */
    background: linear-gradient(135deg, rgba(30, 15, 8, 0.85) 0%, rgba(59, 35, 19, 0.7) 100%);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    
    /* 2. 3D Bevel & Glowing Edge */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 2px solid #bfa15f;
    
    /* 3. Layered Shadow (Dark depth + faint gold glow) */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 10px 30px rgba(191, 161, 95, 0.15);
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 60px; /* Slightly taller for a more majestic feel */
    position: fixed; /* Optional: Keeps it locked to the top if the page scrolls */
    top: 0;
    left: 0;
    width: 100%;
    height: 10%;
    box-sizing: border-box;
    z-index: 9999;
}

/* Make sure the link wrapper aligns nicely */
.logo-container a {
    text-decoration: none;
    display: inline-block;
}

/* ==========================================
   LETTERPRESS TYPOGRAPHY
   ========================================== */
.logo-text {
    font-family: 'Playfair Display', serif;
    color: #f4e8d3;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 3px;
    margin: 0;
    text-transform: uppercase;
    /* Letterpress effect: Sharp dark shadow + soft gold glow */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 15px rgba(191, 161, 95, 0.3);
}

.logo-subtext {
    color: #bfa15f;
    font-size: 18px;
    font-style: italic; /* Italicizing adds a touch of class */
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
    margin-left: 8px; /* Spaces it perfectly from the main title */
}

/* ==========================================
   ELEGANT "PILL" BUTTON
   ========================================== */
.nav-item {
    font-family: 'Playfair Display', serif; 
    color: #f4e8d3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 28px;
    
    /* Makes it look like an expensive etched button */
    border: 1px solid rgba(191, 161, 95, 0.5); 
    border-radius: 50px; /* Perfect pill shape */
    background: rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover {
    color: #1e0f08; /* Text turns dark espresso */
    background: #bfa15f; /* Fills with vintage gold */
    border-color: #bfa15f;
    box-shadow: 0 0 20px rgba(191, 161, 95, 0.6); /* Emits a golden glow */
    transform: translateY(-2px); /* Physically lifts up when you hover */
}

.footer-link {
    color: inherit; /* Keeps the text the same color as the paragraph */
    text-decoration: none; /* Removes the underline */
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #bfa15f; /* Turns gold when they hover over it */
    text-decoration: underline; /* Optional: adds underline only on hover */
}