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

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

/* Header Section */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 2px;
}

.wedding-date {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-style: italic;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.intro {
    text-align: center;
    margin-bottom: 60px;
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 40px auto 60px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 600px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    display: block;
}

.caption {
    padding: 20px;
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    font-style: italic;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Carousel Buttons */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 3rem;
    color: #667eea;
    cursor: pointer;
    padding: 10px 20px;
    transition: background 0.3s ease, color 0.3s ease;
    z-index: 10;
    border-radius: 4px;
}

.carousel-button:hover {
    background: rgba(102, 126, 234, 0.9);
    color: white;
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

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

.dot:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

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

/* Footer links */
footer a,
footer a:visited {
    color: white;
}

footer a:hover {
    color: #e6e6e6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.5rem;
    }
    
    .wedding-date {
        font-size: 1.2rem;
    }
    
    .carousel {
        height: 500px;
    }
    
    .carousel-slide img {
        height: auto;
        max-height: 420px;
    }
    
    .carousel-button {
        font-size: 2rem;
        padding: 8px 15px;
    }
    
    .carousel-button.prev {
        left: 10px;
    }
    
    .carousel-button.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 2rem;
    }
    
    header {
        padding: 60px 20px;
    }
    
    .carousel {
        height: 450px;
    }
    
    .carousel-slide img {
        height: auto;
        max-height: 370px;
    }
    
    .carousel-button {
        font-size: 1.5rem;
        padding: 5px 10px;
    }
    
    .carousel-dots {
        bottom: 85px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}
