:root {
    --primary-color: #D4B996;
    --secondary-color: #F5E6E8;
    --text-color: #2C3E50;
    --accent-color: #8E7F7F;
}

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

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

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

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-end;
}

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

.nav-links li {
    margin: 0 2rem;
}

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

.nav-links a:hover {
    color: var(--primary-color);
}

.language-toggle-container {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 1001;
}

.language-toggle {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-color) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: inline-block;
    min-width: 60px;
    text-align: center;
    outline: none;
    position: relative;
    z-index: 1002;
}

.language-toggle:hover,
.language-toggle:focus {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    color: var(--primary-color) !important;
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.language-toggle:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    position: relative;
    transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--text-color);
    transition: transform 0.3s ease;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

/* Menu ouvert */
.menu-open .hamburger {
    background: transparent;
}

.menu-open .hamburger::before {
    transform: rotate(45deg);
}

.menu-open .hamburger::after {
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .menu-open .nav-links {
        right: 0;
    }

    body.menu-open {
        overflow: hidden;
    }

    .menu-open .language-toggle-container {
        z-index: 1003;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('images/photo3.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-content .date,
.hero-content .location {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Sections */
section {
    padding: 5rem 2rem;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* Story Section */
.story {
    background-color: var(--secondary-color);
}

.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;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

/* RSVP Section */
.rsvp {
    background-color: var(--secondary-color);
}

#rsvpForm {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

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

button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

button:hover {
    background-color: var(--accent-color);
}

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

/* Map Section */
.map-container {
    margin-top: 4rem;
    text-align: center;
}

#map {
    height: 400px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-address {
    margin-top: 1rem;
    font-style: italic;
    color: var(--accent-color);
}

.map-links {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: white;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-link .icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@media (min-width: 768px) {
    .map-links {
        flex-direction: row;
        justify-content: center;
    }
}

/* Hébergements Section */
.hebergements {
    padding: 8rem 2rem 5rem;
    background-color: var(--secondary-color);
}

.hebergements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hebergement-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.hebergement-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.hebergement-card ul {
    list-style: none;
    padding: 0;
}

.hebergement-card li {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hebergement-card li:last-child {
    margin-bottom: 0;
}

.transport-info {
    max-width: 800px;
    margin: 4rem auto 0;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.transport-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

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

    .language-toggle-container {
        top: 5rem;
        right: 1rem;
    }

    .language-toggle {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        min-width: 50px;
    }
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--accent-color);
    font-style: italic;
}

/* Styles du diaporama */
.slideshow-container {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slides {
    display: none;
    width: 100%;
}

.slides img {
    width: auto;
    height: 500px;
    object-fit: cover;
}

.caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    font-size: 1.1rem;
}

.prev, .next {
    position: absolute;
    width: 10%;
    top: 50%;
    transform: translateY(-50%);
    padding: 1rem;
    color: white;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.dots-container {
    text-align: center;
    margin: 1rem 0;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

/* Styles des miniatures */
.thumbnails-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 1rem auto;
    max-width: 800px;
    padding: 0 1rem;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    opacity: 0.8;
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 600px) {
    .thumbnail {
        width: 60px;
        height: 45px;
    }
    
    .thumbnails-container {
        gap: 5px;
    }
} 