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

body {
    font-family: 'Poppins', sans-serif;
    background: #f8f3ed;
    color: #333;
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('assets/images/hero-bg.jpg.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.overlay {
    max-width: 900px;
}

.family {
    color: white;
    letter-spacing: 3px;
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 85px;
    font-weight: 400;
    color: #ffffff;
}

.and {
    font-size: 70px;
    margin: 10px 0;
    color: #d47b3c;
    font-family: 'Cormorant Garamond', serif;
}

.invite {
    margin-top: 20px;
    color: white;
    font-size: 20px;
    line-height: 1.8;
}

h2 {
    margin-top: 40px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    color: #d47b3c;
}

button {
    margin-top: 45px;
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    background: #b85c2c;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #8d431d;
    transform: translateY(-3px);
}

html {
    scroll-behavior: smooth;
}

#countdown {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

#countdown div {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 18px;
    border-radius: 12px;
    width: 90px;
}

#countdown span {
    display: block;
    font-size: 36px;
    color: #ffffff;
    font-weight: bold;
}

#countdown small {
    color: #ffffff;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    color: #b85c2c;
    font-size: 50px;
    margin-bottom: 50px;
}

.card {
    max-width: 500px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    border-radius: 15px;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 40px 20px;
    }

    h1 {
        font-size: 48px;
    }

    .and {
        font-size: 40px;
    }

    .invite {
        font-size: 16px;
    }

    h2 {
        font-size: 28px;
    }

    button {
        padding: 14px 32px;
        font-size: 16px;
    }
}

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

/* Invitation Section */
#invitation {
    background: #f8f3ed;
    padding: 80px 20px;
    text-align: center;
    display: none;
}

#invitation.show {
    display: block;
}

.invitation-details {
    max-width: 800px;
    margin: 50px auto 0;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.formal-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: #5a3a2a;
    margin: 10px 0;
    line-height: 1.8;
}

.invitation-details h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    color: #b85c2c;
    margin: 20px 0;
}

.and-small {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #d47b3c;
    margin: 5px 0 15px 0;
}

.date-time {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #b85c2c;
    margin: 20px 0;
    font-weight: 600;
}

.venue {
    font-size: 1.1rem;
    color: #5a3a2a;
    margin: 10px 0;
}

.reception {
    font-style: italic;
    color: #8b7355;
    margin-top: 15px;
}

/* Details Section */
.details-section {
    background: white;
    padding: 80px 20px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.detail-item {
    text-align: center;
    padding: 30px;
    background: #f8f3ed;
    border-radius: 12px;
    border-left: 4px solid #b85c2c;
}

.detail-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: #b85c2c;
    margin-bottom: 15px;
}

.detail-item p {
    color: #5a3a2a;
    margin: 8px 0;
    line-height: 1.8;
}

/* Location Section */
.location-section {
    background: #f8f3ed;
    padding: 80px 20px;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
    align-items: center;
}

.location-info {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.location-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: #b85c2c;
    margin-bottom: 20px;
}

.location-info p {
    color: #5a3a2a;
    margin: 10px 0;
    line-height: 1.8;
}

.location-note {
    margin-top: 20px;
    font-style: italic;
    color: #8b7355;
    font-size: 0.95rem;
}

.map-placeholder {
    background: linear-gradient(135deg, #b85c2c 0%, #d47b3c 100%);
    border-radius: 12px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-family: 'Cormorant Garamond', serif;
}

/* RSVP Section */
.rsvp-section {
    background: white;
    padding: 80px 20px;
}

.rsvp-content {
    max-width: 700px;
    margin: 50px auto 0;
}

.rsvp-info {
    text-align: center;
    margin-bottom: 50px;
}

.rsvp-info p {
    font-size: 1.1rem;
    color: #5a3a2a;
    margin: 10px 0;
    line-height: 1.8;
}

.contact-details {
    background: #f8f3ed;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    padding: 12px 15px;
    border: 2px solid #b85c2c;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #333;
}

.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder {
    color: #8b7355;
}

.rsvp-form textarea {
    resize: vertical;
    min-height: 100px;
}

.rsvp-form button {
    margin-top: 10px;
    padding: 14px 40px;
    border: none;
    border-radius: 50px;
    background: #b85c2c;
    color: white;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.rsvp-form button:hover {
    background: #8d431d;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #5a3a2a;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.footer p {
    margin: 10px 0;
    font-size: 0.95rem;
}

.quote {
    font-style: italic;
    color: #d47b3c;
    margin-top: 15px;
}

/* Section Title */
.section-title {
    font-family: 'Cormorant Garamond', serif;
    color: #b85c2c;
    font-size: 3rem;
    margin-bottom: 30px;
    text-align: center;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 40px 20px;
    }

    h1 {
        font-size: 48px;
    }

    .and {
        font-size: 40px;
    }

    .invite {
        font-size: 16px;
    }

    h2 {
        font-size: 28px;
    }

    button {
        padding: 14px 32px;
        font-size: 16px;
    }

    .section-title {
        font-size: 2rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map-placeholder {
        height: 250px;
    }

    .invitation-details {
        padding: 20px;
    }

    .invitation-details h3 {
        font-size: 2rem;
    }

    .and-small {
        font-size: 1.5rem;
    }

    .location-info {
        padding: 20px;
    }
}

/* Program Section */
#program {
    background: #f8f3ed;
    padding: 80px 20px;
    text-align: center;
}

.program-toggle {
    margin: 40px 0;
}

.program-btn {
    margin-top: 0;
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    background: #b85c2c;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.program-btn:hover {
    background: #8d431d;
    transform: translateY(-3px);
}

.program-content {
    display: none;
    max-width: 600px;
    margin: 30px auto 0;
    animation: slideUp 0.8s ease-out;
}

.program-content.show {
    display: block;
}
