* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #fff;
    --bg-secondary: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    --text-primary: #333;
    --text-secondary: #666;
    --text-accent: #8b7355;
    --text-muted: #555;
    --nav-bg: #fff;
    --footer-bg: #333;
    --footer-text: #fff;
    --shadow: rgba(0,0,0,0.1);
    --shadow-strong: rgba(0,0,0,0.2);
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    --text-primary: #e8e8e8;
    --text-secondary: #b8b8b8;
    --text-accent: #d4a574;
    --text-muted: #c8c8c8;
    --nav-bg: #1a1a1a;
    --footer-bg: #0a0a0a;
    --footer-text: #e8e8e8;
    --shadow: rgba(255,255,255,0.1);
    --shadow-strong: rgba(0,0,0,0.4);
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s, color 0.3s;
}

nav {
    background-color: var(--nav-bg);
    padding: 1rem 0;
    box-shadow: 0 2px 5px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: background-color 0.3s;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--text-accent);
}

#theme-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s;
}

#theme-toggle:hover {
    transform: scale(1.2);
}

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    padding: 2rem;
    transition: background 0.3s;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: var(--text-accent);
    font-weight: 300;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

/* Slideshow Container */
.slideshow-container {
    position: relative;
    margin: 2rem auto;
    max-width: 600px;
}

.slide {
    display: none;
}

.slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px var(--shadow-strong);
    transition: box-shadow 0.3s;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from { opacity: 0.4 }
    to { opacity: 1 }
}

/* Dots */
.dots {
    text-align: center;
    margin-top: 1rem;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: var(--text-secondary);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    opacity: 0.5;
}

.dot.active, .dot:hover {
    background-color: var(--text-accent);
    opacity: 1;
}

.wedding-info {
    margin-top: 2rem;
}

.wedding-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-weight: 300;
    transition: color 0.3s;
}

.date {
    font-size: 1.8rem;
    color: var(--text-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.location {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-style: italic;
    transition: color 0.3s;
}

.section {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    min-height: 50vh;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-accent);
    text-align: center;
    font-weight: 300;
    transition: color 0.3s;
}

.section p {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    transition: color 0.3s;
}

footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    transition: background-color 0.3s, color 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    nav ul {
        gap: 1rem;
        padding: 0 1rem;
    }
    
    nav a {
        font-size: 0.9rem;
    }
    
    .date {
        font-size: 1.5rem;
    }
    
    .location {
        font-size: 1.1rem;
    }
    
    .section h2 {
        font-size: 2rem;
    }
}
