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

:root {
    --pastel-blue: #B0E0E6;
    --light-pastel: #E0F7FF;
    --dark-pastel: #87CEEB;
    --white: #FFFFFF;
    --gray: #4A4A4A;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--gray);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* Hero Section */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(176, 224, 230, 0.8), rgba(176, 224, 230, 0.6)), url('images/DSC01599.JPG');
    background-size: cover;
    background-position: center 70%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .date {
    font-size: 2rem;
    font-weight: 300;
}

/* Navigation */
nav {
    top: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1rem 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0 1.5rem;
}

nav a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--dark-pastel);
}

/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--dark-pastel);
}

/* About Section */
.about {
    background-color: #f9f9f9;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

.detail-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
}

.detail-card i {
    font-size: 2rem;
    color: var(--pastel-blue);
    margin-bottom: 1rem;
}

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

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.carousel {
    overflow: hidden;
    width: 100%;
    height: 500px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.gallery-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.gallery-item.active {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gray);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--white);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* RSVP Section */
.rsvp {
    background: linear-gradient(135deg, var(--light-pastel) 0%, var(--white) 100%);
    position: relative;
}

.rsvp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(176, 224, 230, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(135, 206, 235, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.rsvp-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.rsvp-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.rsvp-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(176, 224, 230, 0.05) 0%, transparent 70%);
    transform: rotate(45deg);
}

.rsvp-icon {
    font-size: 3rem;
    color: var(--pastel-blue);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.rsvp-subtitle {
    color: var(--gray);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    position: relative;
    z-index: 1;
}

.rsvp-text {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.rsvp-action {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.rsvp-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--dark-pastel), var(--pastel-blue));
    color: var(--white);
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(176, 224, 230, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rsvp-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(176, 224, 230, 0.6);
    background: linear-gradient(135deg, var(--pastel-blue), var(--dark-pastel));
}

.rsvp-button i {
    font-size: 1.2rem;
}

.rsvp-deadline {
    color: var(--gray);
    font-size: 0.9rem;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

.rsvp-deadline strong {
    color: var(--dark-pastel);
    font-weight: 600;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

input, select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--light-pastel);
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.submit-btn {
    background-color: var(--pastel-blue);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--dark-pastel);
}

/* Registry Section */
.registry {
    background-color: #f9f9f9;
}

.registry-text {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.registry-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.registry-link {
    text-decoration: none;
    color: var(--gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.registry-link:hover {
    transform: translateY(-5px);
    color: var(--pastel-blue);
}

.registry-link i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--pastel-blue);
    color: var(--white);
    margin-top: 4rem;
}

/* FAQ Section */
.faq {
    background-color: var(--light-pastel);
    padding: 4rem 2rem;
}

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

.faq-item {
    background-color: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-pastel);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--gray);
}

.faq-question i {
    color: var(--pastel-blue);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1rem 1.5rem 2rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
        background-attachment: scroll;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }

    .hero-content .date {
        font-size: 1.2rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav li {
        margin: 0.5rem 0;
    }

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

    .registry-links {
        flex-direction: column;
        align-items: center;
    }

    .carousel {
        height: 300px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .date {
        font-size: 1rem;
    }

    .rsvp-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .rsvp-subtitle {
        font-size: 1.3rem;
    }

    .rsvp-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .rsvp-icon {
        font-size: 2.5rem;
    }

    .carousel {
        height: 250px;
    }

    .carousel-container {
        margin: 1rem;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .prev-btn {
        left: 5px;
    }

    .next-btn {
        right: 5px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
} 