/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f8f5f1;
    color: #2f2f2f;
    line-height: 1.6;
}

/* NAVIGATION */

.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 25px 60px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    z-index: 100;
}

.logo {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    color: white;
    letter-spacing: 1px;
}

.logo a {
    color: white;
    text-decoration: none;
    font-family: 'Great Vibes', cursive;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* HERO */

.hero {
    height: 100vh;

    background:
        linear-gradient(rgba(0,0,0,0.35),
        rgba(0,0,0,0.45)),
        url('../images/hero-engagement.jpg');

    background-size: cover;
    background-position: center 42%;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: white;
}

.hero-overlay {
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 6rem;
    font-weight: normal;
    margin-bottom: 20px;
}

.save-date {
    font-size: 1.3rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.wedding-date {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.hero-button {
    display: inline-block;
    padding: 14px 35px;
    background-color: #d4b483;
    color: white;
    text-decoration: none;
    border-radius: 40px;
    transition: 0.3s;
}

.hero-button:hover {
    background-color: #b89a6b;
}

/* VIDEO SECTION */

.video-section {
    padding: 80px 20px;
    text-align: center;
}

.video-section h2 {
    margin-bottom: 35px;
    font-size: 2.3rem;
    font-family: 'Cormorant Garamond', serif;
}

.video-container {
    max-width: 650px;
    margin: auto;

    border-radius: 20px;
    overflow: hidden;

    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.video-container video {
    width: 100%;
    height: auto;
    max-height: none;

    object-fit: contain;

    display: block;
    
    border-radius: 20px;
}

/* COUNTDOWN */

.countdown-section {
    background-color: white;
    padding: 100px 20px;
    text-align: center;
}

.countdown-section h2 {
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-family: Georgia, serif;
}

#countdown {
    font-size: 2rem;
    color: #6b7a5c;
    font-weight: bold;
}

/* FORM SECTION */

.guest-section {
    padding: 100px 20px;
}

.form-container {
    max-width: 900px;
    margin: auto;

    background-color: white;

    padding: 50px;

    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-family: Georgia, serif;
}

.form-container p {
    text-align: center;
    margin-bottom: 40px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

input,
textarea {
    width: 100%;

    padding: 15px;

    border: 1px solid #ddd;

    border-radius: 10px;

    font-size: 1rem;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

button {
    padding: 15px;

    background-color: #6b7a5c;

    color: white;

    border: none;

    border-radius: 10px;

    cursor: pointer;

    font-size: 1rem;

    transition: 0.3s;
}

button:hover {
    background-color: #556248;
}

/* FOOTER */

footer {
    background-color: #2f2f2f;
    color: white;
    text-align: center;
    padding: 30px;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

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

    .form-row {
        flex-direction: column;
    }

    .form-container {
        padding: 30px;
    }
}
.success-message {
    background-color: #eef5ea;
    color: #4f6544;
    border: 1px solid #c9ddc0;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 25px;
}
.page-hero {
    min-height: 55vh;
    padding: 140px 20px 80px;

    background:
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55)),
        url('../images/hero.jpg');

    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: white;
}

.page-hero-content {
    max-width: 800px;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-family: 'Great Vibes', cursive;
    font-weight: normal;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 1.1rem;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    color: #d4b483;
    margin-bottom: 15px;
    font-weight: bold;
}

.content-section {
    padding: 90px 20px;
    background-color: #f8f5f1;
}

.content-container {
    max-width: 1100px;
    margin: auto;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.content-container h2 {
    font-size: 2.6rem;
    font-family: Georgia, serif;
    font-weight: normal;
    margin-bottom: 20px;
}

.content-container p {
    margin-bottom: 18px;
}

.image-card img {
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.quote-section {
    padding: 80px 20px;
    background-color: white;
    text-align: center;
}

.quote-section p {
    max-width: 800px;
    margin: auto;
    font-size: 2rem;
    font-family: Georgia, serif;
    color: #6b7a5c;
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.6rem;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .quote-section p {
        font-size: 1.5rem;
    }
}

.timeline {
    max-width: 850px;
    margin: auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 180px 1fr;

    gap: 40px;

    margin-bottom: 50px;

    align-items: start;
}

.timeline-time {
    font-size: 1.2rem;
    font-weight: bold;
    color: #6b7a5c;
    letter-spacing: 2px;
}

.timeline-content {
    background-color: white;

    padding: 30px;

    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.timeline-content h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
    font-family: Georgia, serif;
    font-weight: normal;
}

@media (max-width: 768px) {

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }

}

.info-card {
    background-color: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.info-card h3 {
    font-size: 1.7rem;
    font-family: Georgia, serif;
    font-weight: normal;
    margin-bottom: 15px;
}

.registry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.card-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background-color: #6b7a5c;
    color: white;
    text-decoration: none;
    border-radius: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.gallery-item img,
.placeholder-gallery {
    width: 100%;
    height: 420px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.placeholder-gallery {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #6b7a5c;
    font-family: Georgia, serif;
    font-size: 1.5rem;
    text-align: center;
    padding: 25px;
}

.centered-card {
    max-width: 700px;
    margin: auto;
    text-align: center;
}

@media (max-width: 768px) {
    .registry-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img,
    .placeholder-gallery {
        height: 320px;
    }
}

.form-label {
    font-weight: bold;
    color: #6b7a5c;
    margin-bottom: -10px;
}

.form-note {
    font-size: 0.95rem;
    color: #666;
    background-color: #f8f5f1;
    padding: 15px;
    border-radius: 10px;
    margin-top: -10px;
}

.guest-member-block {
    background-color: #f8f5f1;
    border: 1px solid #e4ddd3;
    border-radius: 18px;
    padding: 25px;
    margin-top: 15px;
}

.guest-member-block h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: normal;
    margin-bottom: 20px;
    color: #6b7a5c;
}

select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    background-color: white;
}

.admin-summary {
    text-align: center;
    font-weight: bold;
    color: #6b7a5c;
    margin-bottom: 25px;
}

.admin-actions {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.admin-search-form {
    display: flex;
    gap: 10px;
    flex: 1;
}

.admin-search-form input {
    flex: 1;
}

.admin-search-form button {
    width: auto;
    padding-left: 30px;
    padding-right: 30px;
}

.admin-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.admin-links a,
.col-actions a {
    color: #6b7a5c;
    font-weight: bold;
}

.admin-container {
    max-width: 95vw;
    width: 95vw;
}

.admin-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 30px;
}

.admin-table {
    width: 100%;
    min-width: 1400px;
    border-collapse: collapse;
    table-layout: fixed;
}

.col-date {
    width: 150px;
}

.col-name {
    width: 170px;
}

.col-email {
    width: 310px;
}

.col-phone {
    width: 170px;
}

.col-address {
    width: 360px;
}

.col-plus,
.col-kids {
    width: 90px;
}

.col-notes {
    width: 260px;
}

.col-actions {
    width: 130px;
}

.admin-table th,
.admin-table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    overflow-wrap: break-word;
    word-break: normal;
}

@media (max-width: 768px) {
    .admin-search-form {
        flex-direction: column;
    }

    .admin-actions {
        align-items: stretch;
    }
}