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

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
}

/* Header & Hero Section */
header {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1200&h=600&fit=crop') center/cover;
    color: white;
    text-align: center;
    padding: 150px 20px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    letter-spacing: 2px;
}

header p {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.date {
    font-size: 1.8rem;
    margin-top: 20px;
    font-weight: 300;
}

/* Countdown Timer */
.countdown {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 20px 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 10px;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Navigation */
nav {
    background-color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #c9a26b;
}

/* Main Content */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Event Details Section */
.event-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.detail-card {
    background: #f9f9f9;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.detail-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #c9a26b;
    font-weight: 600;
}

.detail-card p {
    color: #666;
    line-height: 1.8;
}

/* Gallery Section */
.gallery {
    background-color: #f5f5f5;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Story Section */
.story {
    background: white;
    text-align: center;
}

.story p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* RSVP Section */
.rsvp {
    background: linear-gradient(135deg, #c9a26b 0%, #a67c52 100%);
    color: white;
    text-align: center;
}

.rsvp h2 {
    color: white;
}

.rsvp-form {
    max-width: 500px;
    margin: 30px auto;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 1rem;
}

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

button {
    background-color: #fff;
    color: #c9a26b;
    padding: 12px 40px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

/* Success Message */
.success-message {
    background-color: #4caf50;
    color: white;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

footer p {
    margin-bottom: 10px;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    color: #c9a26b;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }

    header p {
        font-size: 1.1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    nav ul {
        gap: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .party-grid {
        gap: 15px;
    }

    .party-member {
        max-width: 100%;
        overflow: hidden;
    }

    .party-photo {
        max-width: 100% !important;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1200&h=400&fit=crop') center/cover;
    color: white;
    text-align: center;
    padding: 80px 20px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    letter-spacing: 2px;
}

.page-header p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #c9a26b, #a67c52);
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    width: 45%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    width: 45%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 20px;
    height: 20px;
    background: #c9a26b;
    border: 4px solid white;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 0 4px #f5f5f5;
}

.timeline-time {
    font-size: 1.3rem;
    font-weight: bold;
    color: #c9a26b;
    margin-bottom: 5px;
}

.timeline-content {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Wedding Party Styles */
.party-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.party-member {
    text-align: center;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.party-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.party-photo {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
}

.party-member h3 {
    font-size: 1.3rem;
    margin: 15px 15px 5px 15px;
    color: #333;
}

.party-member .role {
    color: #c9a26b;
    font-weight: 600;
    margin: 0 15px;
    display: block;
}

.party-member p {
    color: #666;
    padding: 0 15px 15px 15px;
    line-height: 1.6;
}

/* Ceremony Info */
.ceremony-participants-section {
    background-color: #f5f5f5;
    padding: 60px 0;
    margin-top: 60px;
    width: 100%;
}

.ceremony-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.ceremony-role {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #c9a26b;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ceremony-role:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.ceremony-role h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 12px;
}

.ceremony-role p {
    color: #666;
    line-height: 1.6;
}

/* Recommendations Grid */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.recommendation-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.recommendation-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 8px;
}

.recommendation-card .distance,
.recommendation-card .cuisine {
    color: #c9a26b;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.recommendation-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #c9a26b 0%, #a67c52 100%);
    color: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.info-box p {
    line-height: 1.6;
}

/* Guidelines Grid */
.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.guidelines-grid-two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.guideline-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #c9a26b;
}

.guideline-card h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 12px;
}

.guideline-card p {
    color: #666;
    line-height: 1.6;
}

.guideline-card strong {
    color: #c9a26b;
}

/* FAQ Styles */
.faq-section {
    margin: 40px auto;
    max-width: 800px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: #f9f9f9;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-question.active {
    background: #c9a26b;
    color: white;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p {
    padding: 20px;
    color: #666;
    line-height: 1.6;
}

.faq-answer a {
    color: #c9a26b;
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}
