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

body {
    font-family: 'Comfortaa', sans-serif;
    background-color: #ffffff;
    color: #262626;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

section {
    padding: 60px 20px;
    text-align: center;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #faf8f6 0%, #ffffff 100%);
    overflow: hidden;
}

.thread-decoration {
    position: absolute;
    z-index: 1;
    opacity: 0.8;
}

.thread-left {
    left: -50px;
    top: 50px;
}

.thread-left img {
    width: 400px;
    height: auto;
}

.thread-right {
    right: -50px;
    top: 100px;
}

.thread-right img {
    width: 400px;
    height: auto;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
}

.heart-icon {
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

.heart-icon img {
    width: 150px;
    height: auto;
}

.heart-text {
    font-family: 'Marck Script', cursive;
    font-size: 56px;
    font-weight: 400;
    color: #7E1023;
    line-height: 1.1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.passport-image {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.passport-image img {
    width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
}

.main-title {
    font-family: 'Marck Script', cursive;
    font-size: 64px;
    color: #8B7355;
    margin: 30px 0;
    font-weight: 400;
}

.wedding-date {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #6c6c6c;
    margin: 20px 0;
    font-weight: 500;
}

.invitation-text {
    font-size: 18px;
    color: #6c6c6c;
    max-width: 600px;
    margin: 30px auto;
    line-height: 1.8;
}

/* Timeline Section */
.timeline {
    position: relative;
    background-color: #faf8f6;
    padding: 80px 20px;
}

.timeline-decoration {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    z-index: 0;
}

.timeline-decoration img {
    height: 800px;
    width: auto;
}

.timeline-items {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.timeline-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.time {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #8B7355;
    font-weight: 700;
    margin-bottom: 15px;
}

.description {
    font-size: 16px;
    color: #6c6c6c;
    line-height: 1.6;
}

/* Location Section */
.location {
    background-color: #ffffff;
    padding: 60px 20px;
}

.location h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #262626;
    margin-bottom: 15px;
}

.address {
    font-size: 18px;
    color: #6c6c6c;
    margin-bottom: 30px;
}

.map-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #8B7355;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.map-button:hover {
    background-color: #6d5a44;
}

/* Quote Section */
.quote {
    background: linear-gradient(135deg, #f5ede4 0%, #e8d5c4 100%);
    padding: 80px 20px;
}

.quote p {
    font-family: 'Marck Script', cursive;
    font-size: 36px;
    color: #8B7355;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Dress Code Section */
.dress-code {
    background-color: #faf8f6;
    padding: 80px 20px;
}

.dress-code-image {
    margin-bottom: 40px;
}

.dress-code-image img {
    width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.dress-code-photos {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.dress-code-photos img {
    width: 280px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
}

.location-label {
    font-family: 'Marck Script', cursive;
    font-size: 42px;
    font-weight: 700;
    color: #262626;
    margin-bottom: 10px;
}

.location-text {
    font-size: 18px;
    color: #6c6c6c;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.dress-code-text {
    font-size: 18px;
    color: #6c6c6c;
    max-width: 700px;
    margin: 30px auto;
    line-height: 1.8;
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.color-item {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.color-item:hover {
    transform: scale(1.1);
}

/* Rules Section */
.rules {
    background-color: #ffffff;
    padding: 60px 20px;
}

.rule-item {
    max-width: 700px;
    margin: 30px auto;
    padding: 30px;
    background-color: #faf8f6;
    border-radius: 15px;
    font-size: 16px;
    color: #6c6c6c;
    line-height: 1.8;
}

/* RSVP Section */
.rsvp {
    background: linear-gradient(180deg, #faf8f6 0%, #ffffff 100%);
    padding: 80px 20px;
}

.rsvp h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #262626;
    margin-bottom: 20px;
}

.rsvp-subtitle {
    font-size: 18px;
    color: #6c6c6c;
    max-width: 700px;
    margin: 20px auto 40px;
    line-height: 1.8;
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 16px;
    color: #262626;
    margin-bottom: 10px;
    font-weight: 600;
}

.form-hint {
    font-size: 14px;
    color: #6c6c6c;
    margin-bottom: 10px;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Comfortaa', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: #8B7355;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: #6c6c6c;
}

.radio-label input,
.checkbox-label input {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.submit-button {
    width: 100%;
    padding: 18px;
    background-color: #8B7355;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Comfortaa', sans-serif;
}

.submit-button:hover {
    background-color: #6d5a44;
}

/* Coordinator Section */
.coordinator {
    position: relative;
    background-color: #faf8f6;
    padding: 80px 20px;
}

.thread-bottom {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.thread-bottom img {
    width: 500px;
    height: auto;
    opacity: 0.5;
}

.zoomable {
    cursor: zoom-in;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
}

.lightbox-overlay.open {
    display: flex;
}

.lightbox-overlay img {
    max-width: min(1000px, 95vw);
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    cursor: zoom-out;
}

.coordinator-text {
    font-size: 18px;
    color: #6c6c6c;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.contact-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-bottom: 50px;
}

.contact-button:hover {
    background-color: #1da851;
}

/* Countdown */
.countdown {
    margin-top: 50px;
}

.countdown h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #262626;
    margin-bottom: 30px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-width: 100px;
}

.countdown-value {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: #8B7355;
    font-weight: 700;
}

.countdown-label {
    font-size: 14px;
    color: #6c6c6c;
    margin-top: 5px;
}

.countdown-separator {
    font-size: 36px;
    color: #8B7355;
    font-weight: 700;
}

/* FAQ Section */
.faq {
    background-color: #ffffff;
    padding: 80px 20px;
}

.faq h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #262626;
    margin-bottom: 40px;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    text-align: left;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background-color: #faf8f6;
    border: 1px solid #e8d5c4;
    border-radius: 8px;
    font-size: 18px;
    color: #262626;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Comfortaa', sans-serif;
    text-align: left;
    font-weight: 600;
}

.faq-question:hover {
    background-color: #e8d5c4;
}

.faq-answer {
    display: none;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e8d5c4;
    border-top: none;
    border-radius: 0 0 8px 8px;
    font-size: 16px;
    color: #6c6c6c;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #8B7355 0%, #6d5a44 100%);
    padding: 80px 20px;
    color: white;
}

.contact-title {
    font-size: 24px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-block;
    padding: 15px 40px;
    background-color: white;
    color: #8B7355;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.contact-link:hover {
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 48px;
    }

    .heart-text {
        font-size: 44px;
    }

    .location-label {
        font-size: 34px;
    }

    .wedding-date {
        font-size: 22px;
    }

    .invitation-text {
        font-size: 16px;
    }

    .thread-left,
    .thread-right {
        display: none;
    }

    .timeline-items {
        grid-template-columns: 1fr;
    }

    .time {
        font-size: 28px;
    }

    .quote p {
        font-size: 28px;
    }

    .dress-code-image img {
        width: 300px;
    }

    .color-item {
        width: 60px;
        height: 60px;
    }

    .countdown-value {
        font-size: 36px;
    }

    .countdown-item {
        min-width: 80px;
        padding: 15px;
    }

    .passport-image img {
        width: 250px;
    }

    section {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 36px;
    }

    .heart-text {
        font-size: 34px;
    }

    .location-label {
        font-size: 30px;
    }

    .wedding-date {
        font-size: 18px;
    }

    .location h2,
    .rsvp h2,
    .faq h2 {
        font-size: 32px;
    }

    .countdown h3 {
        font-size: 24px;
    }

    .countdown-value {
        font-size: 28px;
    }

    .countdown-separator {
        font-size: 24px;
    }

    .heart-icon img {
        width: 100px;
    }
}
