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

:root {
    --primary-color: #7A9BB0;
    --secondary-color: #5A7A8F;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --bg-light: #f5f7f9;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Parallax effect on desktop only */
@media (min-width: 1025px) {
    .hero {
        background-attachment: fixed;
    }
}

.hero-content {
    animation: fadeInUp 1.2s ease-out;
    z-index: 1;
}

.names {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    font-style: italic;
}

.date {
    font-size: 1.2rem;
    padding: 10px 30px;
    border: 2px solid var(--white);
    display: inline-block;
    border-radius: 50px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 100;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
    margin: 0 auto;
    position: relative;
    z-index: 101;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    flex-wrap: wrap;
    margin: 0;
}

.navbar li {
    margin: 0 1.5rem;
}

.navbar a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
    font-family: 'Arial', sans-serif;
}

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

/* Sections */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background-color: var(--bg-light);
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    font-weight: 300;
    letter-spacing: 0.05em;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 20px auto 0;
}

/* Welcome Section */
.welcome {
    text-align: center;
}

.welcome-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.welcome-image {
    max-width: 150px;
    height: auto;
}

.welcome-footer-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin: 2rem auto 0;
    display: block;
}

.lead {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.welcome p {
    max-width: 800px;
    margin: 0 auto 1rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Venue Section */
.venue {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 0;
}

.venue .venue-overlay {
    background: rgba(255, 255, 255, 0.75);
    padding: 80px 0;
}

.venue h2 {
    color: var(--text-dark);
}

.venue-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
    margin-top: 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
}

.venue-info {
    text-align: left;
    max-width: 350px;
}

.venue-info h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.venue-details {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.venue-details p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.venue-details p:last-child {
    margin-bottom: 0;
}

.venue-details strong {
    color: var(--primary-color);
}

.venue-details a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
    transition: color 0.3s, border-color 0.3s;
}

.venue-details a:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.venue-thumbnails {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.venue-thumbnail {
    flex-shrink: 0;
}

.venue-thumbnail img {
    height: auto;
    display: block;
    max-width: 100%;
}

.venue-thumbnail:nth-child(1) img {
    width: 250px;
}

.venue-thumbnail:nth-child(2) img {
    width: 280px;
}

.venue-thumbnail:nth-child(3) img {
    width: 320px;
}

.venue-note {
    margin-top: 3rem;
    padding: 1rem 1.5rem;
    background: #fff3cd;
    border-left: 4px solid #f0ad4e;
    border-radius: 5px;
    text-align: center;
}

.venue-note p {
    margin: 0;
    color: #856404;
    font-size: 0.95rem;
}

/* Story Section */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    padding: 2rem;
    background: var(--white);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 10px var(--shadow);
    transition: transform 0.3s;
}

.timeline-item:hover {
    transform: translateX(10px);
}

.timeline-date {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

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

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
    cursor: pointer;
    aspect-ratio: 1;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

/* Agenda Section */
.agenda {
    background-color: var(--bg-light) !important;
}

.agenda-date {
    text-align: center;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 3rem;
}

.agenda-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.agenda-timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
}

.agenda-item {
    display: flex;
    gap: 30px;
    margin-bottom: 3rem;
    position: relative;
}

.agenda-item:last-child {
    margin-bottom: 0;
}

.agenda-time {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    min-width: 80px;
    text-align: right;
    position: relative;
}

.agenda-time::after {
    content: '';
    position: absolute;
    right: -18px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.agenda-content {
    flex: 1;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
    border-left: 4px solid var(--primary-color);
    display: flex;
    gap: 20px;
    align-items: center;
}

.agenda-illustration {
    max-width: 150px;
    height: auto;
    flex-shrink: 0;
}

.agenda-illustration-large {
    max-width: 250px;
}

.agenda-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.agenda-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.agenda-sunday {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px dashed var(--primary-color);
}

.agenda-sunday h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.agenda-sunday .agenda-date {
    margin-bottom: 2rem;
}

.maps-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 8px 16px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.maps-link:hover {
    background: var(--secondary-color);
}

/* Access Section */
.access {
    background-color: var(--white) !important;
}

.access-hero-image {
    display: block;
    margin: 2rem auto;
    max-width: 400px;
    width: 100%;
    height: auto;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.access-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
    border-left: 4px solid var(--primary-color);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.access-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow);
}

.access-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.access-card p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.access-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    font-weight: bold;
}

.access-link:hover {
    background: var(--secondary-color);
}

/* Hébergement Section */
.hebergement {
    background-color: var(--bg-light) !important;
}

.accommodation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.accommodation-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.accommodation-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
}

.accommodation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow);
}

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

.accommodation-type {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
}

.accommodation-description {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.accommodation-details {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.accommodation-details p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.accommodation-details p:last-child {
    margin-bottom: 0;
}

.accommodation-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    font-weight: bold;
}

.accommodation-link:hover {
    background: var(--secondary-color);
}

.accommodation-placeholder {
    border-left-color: var(--text-light);
    background: var(--white);
}

.accommodation-note {
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
}

/* Parents Section */
.parents {
    background-color: var(--white) !important;
}

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

.parents-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}

.parents-welcome {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.parents-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.parents-info {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    text-align: left;
}

.parents-info:last-child {
    margin-bottom: 0;
}

.parents-info h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.parents-info p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.parents-info p:last-child {
    margin-bottom: 0;
}

.info-note {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.95rem;
}

/* RSVP Section */
.rsvp {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.rsvp h2 {
    color: var(--white);
}

.rsvp h2::after {
    background: var(--white);
}

.rsvp .lead {
    color: var(--white);
}

.rsvp-contact {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.rsvp-contact-item {
    background: var(--white);
    padding: 2.5rem 3rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    min-width: 250px;
}

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

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.rsvp-contact-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.phone-link {
    display: inline-block;
    font-size: 1.3rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s;
}

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

.rsvp-note {
    text-align: center;
    color: var(--white);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

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

.footer .love {
    margin-top: 0.5rem;
    font-style: italic;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    font-size: 3rem;
    padding: 0 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.lightbox-nav button:hover {
    background: rgba(255, 255, 255, 0.4);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .names {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .menu-toggle {
        display: flex;
    }

    .navbar ul {
        display: none !important;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0;
    }

    .navbar ul.active {
        display: flex !important;
    }

    .navbar li {
        margin: 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .navbar a {
        display: block;
        padding: 1rem;
    }

    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }

    .agenda-timeline::before {
        left: 60px;
    }

    .agenda-time {
        min-width: 60px;
        font-size: 1.1rem;
    }

    .agenda-content {
        padding: 1rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .agenda-content h3 {
        font-size: 1.1rem;
    }

    .agenda-illustration {
        max-width: 100px;
    }

    .venue-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .venue-info {
        max-width: 100%;
    }

    .venue-thumbnails {
        flex-direction: column;
    }

    .venue-thumbnail:nth-child(1) img {
        width: 200px;
    }

    .venue-thumbnail:nth-child(2) img {
        width: 220px;
    }

    .venue-thumbnail:nth-child(3) img {
        width: 250px;
    }

    .venue .venue-overlay {
        padding: 60px 0;
    }

    .lightbox-nav button {
        font-size: 2rem;
        padding: 0 10px;
    }

    .lightbox-prev {
        left: 10px;
    }

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