/* Base Body */
body {
    font-family: 'Georgia', serif;
    background: #fdfdfd;
    color: #444;
    margin: 0;
}

/* Navigation Bar */
nav {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Centered nav links */
.nav-center {
    display: flex;
    gap: 20px;
    margin: 0 auto;
}

nav a {
    color: #bfa36f;
    text-decoration: none;
    font-weight: bold;
}

/* Logo on the far right */
.nav-logo {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-logo img {
    height: 30px;
    width: auto;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        padding: 15px 20px;
    }
    .nav-logo {
        position: static;
        transform: none;
        margin-top: 10px;
    }
    .nav-logo img {
        height: 25px;
    }
}

/* Countdown Timer */
.countdown {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 16px;
    border-radius: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: #bfa36f;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .countdown {
        top: auto;            /* remove top */
        left: auto;           /* remove left */
        bottom: 20px;         /* position at bottom */
        right: 20px;          /* position at right */
        font-size: 14px;
        padding: 6px 10px;
    }
}


/* Container (Forms) */
.container {
    max-width: 500px;
    margin: 40px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

h1 {
    text-align: center;
    color: #bfa36f;
}

label {
    display: block;
    margin-top: 20px;
    font-weight: bold;
}

input[type="text"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 5px;
    font-size: 14px;
}

textarea {
    resize: vertical;
    height: 80px;
}

.radio-group {
    margin-top: 10px;
}

button {
    width: 100%;
    background: #bfa36f;
    color: white;
    border: none;
    padding: 15px;
    margin-top: 30px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
}

button:hover {
    background: #a8905c;
}

.success {
    background: #f6f2e9;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 20px;
    color: #7a6848;
}

/* RSVP Text Styling */
.rsvp-subtext {
    font-size: 16px;
    color: #888;
    text-align: center;
    margin-bottom: 20px;
    font-style: italic;
}

.rsvp-greeting {
    font-size: 18px;
    color: #555;
    margin-bottom: 15px;
    text-align: center;
}

/* Google Wedding Font */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;1,500&display=swap');

/* Home Page */
.home-container {
    display: flex;
    max-width: 1100px;
    margin: 50px auto 20px auto;
    gap: 30px;
    padding: 0 20px;
}

.home-left {
    flex: 2;
}

.home-right {
    flex: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.invite-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.couple-img {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.home-text {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    font-family: 'Playfair Display', serif;
    padding: 0 20px;
}

.home-text h1 {
    font-size: 36px;
    color: #bfa36f;
    margin-bottom: 20px;
}

.home-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.signature {
    margin-top: 30px;
    font-style: italic;
}

/* Location Page */
.location-container {
    max-width: 700px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.location-container h2 {
    font-size: 32px;
    color: #bfa36f;
    margin-bottom: 10px;
}

.location-address {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.map-button {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 32px;
    background: #bfa36f;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    transition: background 0.3s ease;
}

.map-button:hover {
    background: #a8905c;
}

/* Google Map Responsive Embed */
.map-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin: 30px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
