/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: url('images/background.png') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== NAVIGATION ===== */
nav {
    background: #CC2222;
    padding: 12px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    padding: 6px 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
    white-space: nowrap;
}

nav a:hover,
nav a.active {
    border-bottom-color: white;
}

/* ===== HERO BANNER ===== */
.hero {
    text-align: center;
    padding: 100px 20px;
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
}

.hero p {
    font-size: 1.3em;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

/* ===== MAIN CONTENT ===== */
main {
    flex: 1;
    padding: 50px 20px;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

main h2 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    text-shadow: 0 0 6px white, 0 0 12px white, 0 0 20px white;
}

main p {
    font-size: 1.1em;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 16px;
    text-shadow: 0 0 4px white, 0 0 8px white, 0 0 14px white;
}

/* ===== CARDS GRID ===== */
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    width: calc(50% - 12px);
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 14px;
}

.card h3 {
    color: #CC2222;
    margin-bottom: 8px;
    font-size: 1.2em;
}

.card p {
    text-align: left;
    font-size: 0.95em;
}

/* ===== HOME PAGE QUICK LINKS ===== */
.quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.quick-link {
    display: inline-block;
    background: #CC2222;
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.05em;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 3px 8px rgba(204,34,34,0.3);
}

.quick-link:hover {
    background: #E03030;
    transform: translateY(-2px);
}

/* ===== SCHEDULE TABLE ===== */
.schedule-table {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.schedule-table th {
    background: #CC2222;
    color: white;
    padding: 14px 20px;
    text-align: left;
    font-size: 1.05em;
}

.schedule-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

/* ===== RSVP BUTTON ===== */
.rsvp-btn {
    display: inline-block;
    background: #CC2222;
    color: white;
    padding: 16px 48px;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(204,34,34,0.3);
}

.rsvp-btn:hover {
    background: #E03030;
    transform: translateY(-2px);
}

/* ===== PAGE IMAGE ===== */
.page-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===== FOOTER ===== */
footer {
    background: #1A1A1A;
    color: white;
    text-align: center;
    padding: 16px;
    margin-top: auto;
}

/* ===== TBD NOTICE ===== */
.tbd-notice {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.tbd-notice h3 {
    color: #CC2222;
    font-size: 1.4em;
    margin-bottom: 12px;
}

.tbd-notice p {
    font-size: 1.05em;
    color: #666;
}

/* ===== INFO BOX ===== */
.info-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 700px;
    margin: 0 auto 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: left;
}

.info-box h3 {
    color: #CC2222;
    font-size: 1.3em;
    margin-bottom: 12px;
}

.info-box p {
    text-align: left;
    margin-bottom: 12px;
}

.info-box ul {
    margin: 12px 0 16px 20px;
    text-align: left;
}

.info-box ul li {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 6px;
}

/* ===== PHOTO GALLERY ===== */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 30px 0;
}

.photo-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.photo-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.photo-gallery .wide {
    grid-column: 1 / -1;
    height: 280px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .hero {
        padding: 60px 16px;
    }
    .hero h1 {
        font-size: 2em;
    }
    nav a {
        margin: 0 8px;
        font-size: 0.9em;
    }
    .card {
        width: 100%;
        max-width: none;
    }
}
