/* Variables CSS pour la cohérence des couleurs et espacements */
:root {
    /* Couleurs principales */
    --primary-color: #d4af37;
    --secondary-color: #f8f4e6;
    --accent-color: #d4af37;
    
    /* Couleurs de texte */
    --text-color: #333;
    --light-text: #666;
    --text-muted: #999;
    
    /* Couleurs de fond */
    --background-color: #fff;
    --light-background: #f8f4e6;
    --dark-background: #2c2c2c;
    
    /* Couleurs d'accentuation */
    --gold-light: #f4e4a6;
    --gold-dark: #b8941f;
    --cream-light: #fefcf7;
    --cream-dark: #e8dcc0;
    
    /* Couleurs de bordure et ombre */
    --border-color: #ddd;
    --border-light: #eee;
    --border-dark: #ccc;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --shadow-light: rgba(0, 0, 0, 0.05);
    
    /* Couleurs utilitaires */
    --white: #ffffff;
    --black: #000000;
    --success: #27ae60;
    --warning: #f39c12;
    --error: #e74c3c;
    --info: #3498db;
    
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    --font-accent: 'Dancing Script', cursive;
    
    --border-radius: 8px;
    --border-radius-large: 15px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px var(--shadow-color);
    --shadow-hover: 0 8px 15px var(--shadow-hover);
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem 0.5rem 0.8rem 0.5rem;
    border-radius: 8px;
    margin-right: 2rem;
}

.navbar-brand:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: scale(1.05);
}

.navbar-brand h2 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    margin-bottom: 0.3rem;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.navbar-brand:hover h2 {
    color: var(--secondary-color);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    background: none;
    border: none;
    font-size: 0.9rem;
    font-family: var(--font-secondary);
    padding: 0;
    margin: 0;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
    box-sizing: border-box;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.15) 0%,
        rgba(0, 0, 0, 0.25) 50%,
        rgba(232, 195, 158, 0.15) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 2rem;
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.3s ease;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    transform: translateZ(0);
    will-change: transform;
}

.hero-title .names {
    display: block;
    margin: 0.15rem 0;
    text-shadow: 0 6px 25px rgba(0, 0, 0, 0.8), 0 2px 10px rgba(212, 175, 55, 0.3);
    color: var(--primary-color);
    font-weight: 800;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    letter-spacing: -0.01em;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.hero-title .and {
    font-family: var(--font-accent);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    opacity: 0.9;
    margin: 0 0.8rem;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.6);
    color: var(--primary-color);
    transform: rotate(-3deg);
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7);
    font-weight: 600;
    letter-spacing: 0.05em;
    transform: translateZ(0);
    will-change: transform;
}

.hero-date {
    font-size: 1.4rem;
    color: #d4a574;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.1em;
    transform: translateZ(0);
    will-change: transform;
}

.hero-location {
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 1rem;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.05em;
    transform: translateZ(0);
    will-change: transform;
}

/* Countdown */
.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.5rem, 2vw, 1.5rem);
    margin: 3rem 0;
    flex-wrap: wrap;
    transform: translateZ(0);
    will-change: transform;
}

.countdown-item {
    text-align: center;
    min-width: clamp(50px, 12vw, 80px);
}

.countdown-number {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: clamp(0.4rem, 1.5vw, 0.8rem);
    border: 2px solid rgba(212, 175, 55, 0.3);
    min-height: clamp(50px, 12vw, 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-family: var(--font-secondary);
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.countdown-separator {
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
    margin-top: -0.5rem;
    opacity: 0.9;
}

/* Welcome Section */
.welcome {
    padding: 5rem 0;
    background: #fff;
}





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

.welcome-image-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.welcome-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.welcome-image-container:hover .welcome-image {
    transform: scale(1.05);
}

.welcome-header {
    margin-bottom: 2rem;
}

.emoji-animation {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
    display: none;
}

.welcome-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.welcome-message {
    margin-bottom: 2rem;
}

.welcome-text {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.sub-text {
    font-size: 1rem;
    color: #666;
}

.welcome-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 10px;
}

.detail-icon {
    font-size: 1.2rem;
}

.detail-text {
    font-weight: 500;
    color: #333;
}

.welcome-footer {
    margin-top: 2rem;
}

.footer-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.couple-signature {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #d4a574;
    font-weight: 600;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #f8f9fa;
}



.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-story {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.story-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.quote {
    font-style: italic;
    font-size: 1.2rem;
    color: #d4a574;
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 10px;
}

.story-gallery {
    display: flex;
    justify-content: center;
}

.single-image-container {
    width: 100%;
    max-width: 300px;
}

.story-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.single-image-container:hover .story-image {
    transform: scale(1.05);
}

.favorite-moments {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.moments-header h3 {
    font-family: 'Playfair Display', serif;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.moments-content p {
    color: #666;
    line-height: 1.8;
    text-align: center;
}

/* Program Section */
.program {
    padding: 5rem 0;
    background: #fff;
}



.program-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.program-image-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.program-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.program-image-container:hover .program-image {
    transform: scale(1.05);
}

.program-timeline {
    max-width: 1000px;
    margin: 0 auto 3rem;
    position: relative;
    padding: 0 1rem;
}

.program-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #d4a574;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    gap: 1rem;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-time {
    background: #d4a574;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    min-width: 120px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-time .time {
    font-size: 1.1rem;
}

.timeline-content {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin: 0;
    flex: 1;
    width: 100%;
    max-width: none;
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.timeline-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.timeline-details {
    background: rgba(212, 165, 116, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-top: 1rem;
}

.timeline-details p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    color: #333;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #666;
    margin-bottom: 1rem;
}

.timeline-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.timeline-details p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.program-notes {
    max-width: 600px;
    margin: 0 auto;
}

.note-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.note-card h4 {
    font-family: 'Playfair Display', serif;
    color: #333;
    margin-bottom: 1rem;
}

.note-card ul {
    list-style: none;
}

.note-card li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.note-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #d4a574;
    font-weight: bold;
}

/* Dress Code Section */
.dresscode {
    padding: 5rem 0;
    background: #f8f9fa;
}



.dresscode-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.dresscode-image-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.dresscode-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.dresscode-image-container:hover .dresscode-image {
    transform: scale(1.05);
}

.dresscode-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.dresscode-intro p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.dresscode-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.dresscode-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.dresscode-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dresscode-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.item-icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.item-text {
    color: #666;
    font-weight: 500;
}

.dresscode-colors {
    text-align: center;
    margin-bottom: 3rem;
}

.dresscode-colors h3 {
    font-family: 'Playfair Display', serif;
    color: #333;
    margin-bottom: 1rem;
}

.dresscode-colors p {
    color: #666;
    margin-bottom: 2rem;
}

.color-palette {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 2rem auto 0;
}

.color-item {
    text-align: center;
}

.color-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 18px;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    will-change: transform;
}

.color-item:hover .color-image {
    transform: scale(1.1);
}

.color-name {
    font-weight: 600;
    color: #333;
}

.dresscode-note {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.note-content h4 {
    font-family: 'Playfair Display', serif;
    color: #333;
    margin-bottom: 1rem;
}

.note-content p {
    color: #666;
    line-height: 1.8;
}

/* RSVP Section */
.rsvp {
    padding: 5rem 0;
    background: var(--white);
}



.rsvp-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.rsvp-image-container {
    display: flex;
    justify-content: center;
    flex: 1;
    min-width: 300px;
}

.rsvp-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.rsvp-image-container:hover .rsvp-image {
    transform: scale(1.05);
}

.rsvp-form {
    background: var(--secondary-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 500px;
    width: 100%;
}

.rsvp-welcome-text {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(232, 195, 158, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
}

.rsvp-welcome-text p {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0 0 1rem 0;
    font-style: italic;
    opacity: 0.9;
}

.rsvp-welcome-text p:last-child {
    margin-bottom: 0;
    font-weight: 500;
}

.guest-check-section {
    margin-bottom: 0;
    padding-bottom: 0;
}

.guest-check-section h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.guest-check-section p {
    color: var(--light-text);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

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

.form-group label {
    display: block;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    background: var(--white);
    color: var(--text-color);
    transition: var(--transition);
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group input.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group input::placeholder {
    color: var(--light-text);
    opacity: 0.7;
}

.form-group input:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    border-color: #ddd;
}

.form-group input:disabled::placeholder {
    color: #999;
}

.check-btn {
    width: 100%;
    margin-top: 1rem;
    font-size: 1rem;
    padding: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.error-message {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 8px;
    color: #e74c3c;
    font-weight: 500;
    text-align: center;
}

.contact-info {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    text-align: left;
}

.contact-info p {
    margin: 0.5rem 0;
    color: var(--text-color);
    font-size: 0.9rem;
}

.contact-info strong {
    color: var(--primary-color);
}

.success-message {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 8px;
    color: #27ae60;
    font-weight: 600;
    text-align: center;
}

.guest-found {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(212, 175, 55, 0.2);
}

.guest-info h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.guest-info p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Styles pour les types d'invitation */
.invitation-type {
    margin-bottom: 2rem;
    text-align: center;
}

.invitation-type h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.invitation-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.badge {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.badge.benediction {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid #667eea;
}

.badge.soiree {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: 2px solid #f093fb;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.action-buttons .btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 200px;
}

.both-invitations {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
    width: 100%;
}

.both-invitations .btn {
    width: 100%;
    margin-bottom: 0;
    flex: none;
}

/* Section Logement et Itinéraire */
.accommodation-section {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(212, 175, 55, 0.1);
}

.accommodation-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.accommodation-section .section-header h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
}

.accommodation-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.accommodation-content {
    margin-top: 3rem;
    position: relative;
}

.accommodation-image-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.accommodation-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.accommodation-image-container:hover .accommodation-image {
    transform: scale(1.05);
}

/* Hébergement Section */
.accommodation {
    padding: 5rem 0;
    background: var(--white);
}



.accommodation .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.accommodation .section-header h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
}

.accommodation .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.accommodation .section-header p {
    font-size: 1.1rem;
    color: var(--light-text);
}

/* Lieu du Mariage */
.venue-simple {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 3rem;
}

.venue-simple h4 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.venue-address {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.venue-directions-btn {
    font-size: 1rem;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.venue-directions-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background-color: var(--secondary-color);
}

/* Hôtels Recommandés */
.recommended-hotels {
    margin-bottom: 3rem;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.recommended-hotels h3 {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.hotels-intro {
    margin-bottom: 2rem;
    text-align: center;
}

.hotels-intro p {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.hotels-list {
    margin-bottom: 2rem;
}

.hotels-list h4 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.hotel-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
    text-align: center;
}

.hotel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.hotel-card h5 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hotel-card p {
    margin-bottom: 0.5rem;
    color: var(--light-text);
    font-size: 0.9rem;
    font-family: var(--font-secondary);
}

.hotel-card strong {
    color: var(--text-color);
}

.hotel-directions-btn {
    margin-top: 1rem;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.hotel-directions-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background-color: var(--secondary-color);
}

.hotels-contact {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(232, 195, 158, 0.05) 100%);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.hotels-contact p {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    font-style: italic;
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background: #f8f9fa;
    text-align: center;
}



.gallery .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-slider {
    margin-top: 3rem;
    position: relative;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
}

.slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    height: 500px;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.slider-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.slider-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.slider-btn:hover::before {
    left: 100%;
}

.slider-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.slider-btn:active {
    transform: scale(0.95);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.slider-btn:disabled:hover {
    background: var(--primary-color);
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Chatbot */
.chatbot {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* Animation circulaire autour du chatbot */
.chatbot-toggle::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid #d4a574;
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
    z-index: -1;
}

.chatbot-toggle::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid rgba(212, 165, 116, 0.6);
    border-radius: 50%;
    animation: pulse-ring 2s infinite 0.5s;
    z-index: -1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-toggle img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.chatbot-container {
    position: fixed;
    bottom: 80px;
    right: 1rem;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
}

.chatbot-container.active {
    display: flex;
}

.chatbot-header {
    background: #d4a574;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.chatbot-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #d4a574 #f0f0f0;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #d4a574;
    border-radius: 3px;
}

.message {
    max-width: 80%;
    padding: 1rem;
    border-radius: 15px;
    word-wrap: break-word;
}

.bot-message {
    background: #f8f9fa;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.user-message {
    background: #d4a574;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chatbot-input {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid #e9ecef;
    background: #fafafa;
}

.chatbot-input input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    outline: none;
    font-size: 16px; /* Évite le zoom sur iOS */
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.chatbot-input input:focus {
    border-color: #d4a574;
    box-shadow: 0 0 0 2px rgba(212, 165, 116, 0.2);
}

.chatbot-input button {
    background: #d4a574;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chatbot-input button:hover {
    background: #c19a6b;
    transform: scale(1.05);
}

.chatbot-input button:active {
    transform: scale(0.95);
}

/* Section Dividers */
.section-divider {
    position: relative;
    height: 300px;
    overflow: hidden;
    margin: 0;
}

.divider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.divider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.section-divider:hover .divider-image {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}



.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: #d4a574;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #999;
}

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

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes chatbotPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(212, 165, 116, 0.5);
    }
}

@keyframes chatbotSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design - Navbar */
@media (max-width: 1024px) {
    .navbar-menu {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .rsvp-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .rsvp-image-container {
        min-width: auto;
        order: -1;
    }
    
    .welcome-image,
    .rsvp-image,
    .accommodation-image,
    .program-image,
    .dresscode-image {
        max-width: 300px;
    }
    
    .section-divider {
        height: 100vh;
    }
    
    .navbar-brand {
        margin-right: 1rem;
        padding: 0.4rem 0.4rem 0.6rem 0.4rem;
    }
    
    .navbar-brand h2 {
        margin-bottom: 0.2rem;
    }
    
    .navbar-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: var(--shadow);
    }

    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .navbar-brand h2 {
        font-size: 1.2rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 0;
    }
    
    .navbar.scrolled {
        padding: 0.4rem 0;
    }
    
    .navbar-brand {
        margin-right: 0.5rem;
        padding: 0.3rem 0.3rem 0.5rem 0.3rem;
    }
    
    .navbar-brand h2 {
        font-size: 1.1rem;
        margin-bottom: 0.15rem;
    }
    
    .navbar-menu {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.95rem;
    }
    
    .mobile-menu-btn span {
        width: 22px;
        height: 2px;
    }
}

@media (max-width: 320px) {
    .navbar-brand h2 {
        font-size: 1rem;
    }
    
    .navbar-menu {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .mobile-menu-btn span {
        width: 20px;
        height: 2px;
    }
}

/* Chatbot Responsive */
@media (max-width: 768px) {
    .chatbot {
        bottom: 0.8rem;
        right: 0.8rem;
    }
    
    .chatbot-toggle {
        width: 55px;
        height: 55px;
    }
    
    .chatbot-toggle img {
        width: 45px;
        height: 45px;
    }
    
    .chatbot-container {
        width: calc(100vw - 2rem);
        height: 60vh;
        bottom: 70px;
        right: 1rem;
        left: 1rem;
        margin: 0;
        border-radius: 15px;
    }
    
    .chatbot-header {
        border-radius: 15px 15px 0 0;
        padding: 0.8rem;
    }
    
    .chatbot-header h3 {
        font-size: 1rem;
    }
    
    .chatbot-messages {
        padding: 0.8rem;
    }
    
    .message {
        max-width: 85%;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .chatbot-input {
        padding: 0.8rem;
    }
    
    .chatbot-input input {
        padding: 0.7rem 0.8rem;
        font-size: 16px; /* Évite le zoom sur iOS */
    }
    
    .chatbot-input button {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .chatbot {
        bottom: 0.6rem;
        right: 0.6rem;
    }
    
    .chatbot-toggle {
        width: 50px;
        height: 50px;
    }
    
    .chatbot-toggle img {
        width: 40px;
        height: 40px;
    }
    
    .chatbot-container {
        width: calc(100vw - 1.2rem);
        height: 70vh;
        bottom: 60px;
        right: 0.6rem;
        left: 0.6rem;
        margin: 0;
        border-radius: 12px;
    }
    
    .chatbot-header {
        border-radius: 12px 12px 0 0;
        padding: 0.7rem;
    }
    
    .chatbot-header h3 {
        font-size: 0.95rem;
    }
    
    .chatbot-messages {
        padding: 0.7rem;
        gap: 0.8rem;
    }
    
    .message {
        max-width: 90%;
        padding: 0.7rem;
        font-size: 0.85rem;
    }
    
    .chatbot-input {
        padding: 0.7rem;
        gap: 0.4rem;
    }
    
    .chatbot-input input {
        padding: 0.6rem 0.7rem;
        font-size: 16px; /* Évite le zoom sur iOS */
    }
    
    .chatbot-input button {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 320px) {
    .chatbot {
        bottom: 0.5rem;
        right: 0.5rem;
    }
    
    .chatbot-toggle {
        width: 45px;
        height: 45px;
    }
    
    .chatbot-toggle img {
        width: 35px;
        height: 35px;
    }
    
    .chatbot-container {
        width: calc(100vw - 1rem);
        height: 75vh;
        bottom: 55px;
        right: 0.5rem;
        left: 0.5rem;
        margin: 0;
    }
    
    .chatbot-header {
        padding: 0.6rem;
    }
    
    .chatbot-header h3 {
        font-size: 0.9rem;
    }
    
    .chatbot-messages {
        padding: 0.6rem;
    }
    
    .message {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    
    .chatbot-input {
        padding: 0.6rem;
    }
    
    .chatbot-input input {
        padding: 0.5rem 0.6rem;
        font-size: 16px; /* Évite le zoom sur iOS */
    }
    
    .chatbot-input button {
        width: 30px;
        height: 30px;
    }
}

/* Support pour les écrans très larges */
@media (min-width: 1400px) {
    .navbar-brand h2 {
        font-size: 1.8rem;
    }
    
    .nav-link {
        font-size: 1rem;
    }
}

/* Support pour les écrans tactiles */
@media (hover: none) and (pointer: coarse) {
    .navbar-brand:hover {
        transform: none;
    }
    
    .nav-link:hover::after {
        width: 0;
    }
    
    .nav-link:active::after {
        width: 100%;
    }
    
    .chatbot-toggle:hover {
        transform: none;
    }
    
    .chatbot-toggle:active {
        transform: scale(0.95);
    }
    

    
    .chatbot-input button:hover {
        transform: none;
    }
    
    .chatbot-input button:active {
        transform: scale(0.9);
    }
}

    .hero-title {
        font-size: 2.5rem;
    }

    .countdown {
        gap: 0.3rem;
        margin: 1.2rem 0;
    }
    
    .countdown-item {
        min-width: 45px;
    }
    
    .countdown-number {
        min-height: 45px;
        padding: 0.3rem;
        border-radius: 6px;
    }
    
    .countdown-separator {
        margin-top: -0.3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .rsvp-content {
        flex-direction: column;
        align-items: center;
    }
    
    .rsvp-form {
        max-width: 100%;
        margin: 0 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        min-width: auto;
        width: 100%;
    }
    
    .accommodation-section {
        margin-top: 3rem;
        padding-top: 2rem;
    }
    
    .accommodation-section .section-header h2 {
        font-size: 2rem;
        letter-spacing: 0.05em;
    }
    
    .accommodation-section .section-header p {
        font-size: 1rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .venue-simple {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .hotels-grid {
        grid-template-columns: 1fr;
    }
    
    .recommended-hotels {
        padding: 1.5rem;
    }
    
    .hotels-intro p {
        font-size: 0.95rem;
    }
    
    .hotels-list h4 {
        font-size: 1.2rem;
    }
    
    .hotels-list .hotels-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hotels-list .hotel-card {
        padding: 1.2rem;
    }
    
    .hotels-list .hotel-card h5 {
        font-size: 1.1rem;
    }
    
    .hotels-list .hotel-card p {
        font-size: 0.85rem;
    }
    
    .hotels-list .hotel-directions-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    .hotels-contact {
        padding: 1rem;
    }
    
    .hotels-contact p {
        font-size: 0.95rem;
    }

    .about-story {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .dresscode-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .welcome-details {
        flex-direction: column;
        gap: 1rem;
    }

    .program-timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        gap: 1rem;
    }

    .color-palette {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 300px;
    }

    .color-image {
        width: 70px;
        height: 70px;
    }

    .timeline-time {
        margin-right: 0;
        align-self: flex-start;
    }

    .timeline-content {
        margin: 0;
        width: 100%;
        max-width: none;
        padding: 1.5rem;
        margin-top: 0.5rem;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    
    .timeline-details {
        padding: 0.8rem;
    }
    
    .timeline-details p {
        font-size: 0.8rem;
    }

    .chatbot-container {
        width: 300px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 80px;
        height: 100vh;
        justify-content: center;
    }
    
    .hero-content {
        margin-top: 0;
        gap: 1.5rem;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0.3rem;
    }
    
    .hero-title .names {
        font-size: 2.2rem;
    }
    
    .hero-title .and {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        color: var(--white);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        margin-bottom: 0.8rem;
    }
    
    .hero-date {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }
    
    .hero-location {
        font-size: 1rem;
        color: var(--white);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        margin-bottom: 1.5rem;
    }
    
    .countdown {
        gap: 0.3rem;
        margin: 1.5rem 0;
        justify-content: center;
        align-items: center;
    }
    
    .countdown-item {
        min-width: 45px;
    }
    
    .countdown-number {
        min-height: 45px;
        padding: 0.3rem;
        border-radius: 6px;
    }
    
    .countdown-separator {
        margin-top: -0.3rem;
        font-size: 1.2rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .rsvp-form {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .form-group input {
        padding: 0.8rem;
        font-size: 16px; /* Évite le zoom sur iOS */
    }
    
    .check-btn {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .guest-info h3 {
        font-size: 1.3rem;
    }
    
    .accommodation-section .section-header h2 {
        font-size: 1.8rem;
        letter-spacing: 0.03em;
    }
    
    .accommodation-section .section-header p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
    
    .venue-simple {
        padding: 0 0.5rem;
    }
    
    .venue-directions-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hotel-card {
        padding: 1rem;
    }
    
    .hotel-card h4 {
        padding-right: 60px;
        font-size: 1.1rem;
    }
    
    .hotels-list .hotels-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .hotels-list .hotel-card {
        padding: 1rem;
    }
    
    .hotels-list .hotel-card h5 {
        font-size: 1rem;
    }
    
    .hotels-list .hotel-card p {
        font-size: 0.8rem;
    }
    
    .hotels-list .hotel-directions-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hotel-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .slider-track {
        height: 300px;
    }
    
    .slider-controls {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
    }
    
    .slider-track {
        height: 250px;
    }
    
    .slider-controls {
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .chatbot-container {
        width: 280px;
        height: 350px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 320px) {
    .hero {
        padding-top: 70px;
        height: 100vh;
        justify-content: center;
    }
    
    .hero-content {
        margin-top: 0;
        gap: 1.2rem;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.9rem;
        margin-bottom: 0.2rem;
    }
    
    .hero-title .names {
        font-size: 1.9rem;
    }
    
    .hero-title .and {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        color: var(--white);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        margin-bottom: 0.6rem;
    }
    
    .hero-date {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .hero-location {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .countdown {
        gap: 0.2rem;
        margin: 1.2rem 0;
        justify-content: center;
        align-items: center;
    }
    
    .countdown-item {
        min-width: 50px;
    }
    
    .countdown-number {
        min-height: 40px;
        padding: 0.2rem;
        font-size: 1.4rem;
    }
    
    .countdown-separator {
        margin-top: -0.2rem;
        font-size: 1rem;
    }
    
    .countdown-label {
        font-size: 0.6rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .rsvp-form {
        padding: 1rem;
        margin: 0 0.3rem;
    }
    
    .form-group input {
        padding: 0.6rem;
        font-size: 16px;
    }
    
    .check-btn {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .accommodation-section .section-header h2 {
        font-size: 1.6rem;
    }
    
    .hotel-card {
        padding: 0.8rem;
    }
    
    .hotel-card h4 {
        padding-right: 50px;
        font-size: 1rem;
    }
    
    .chatbot-container {
        width: 260px;
        height: 320px;
    }
}

/* Support pour les écrans très larges */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-title .names {
        font-size: 5rem;
    }
    
    .hero-title .and {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
        color: var(--white);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }
    
    .countdown {
        gap: 3rem;
    }
    
    .countdown-item {
        min-width: 140px;
    }
    
    .countdown-number {
        min-height: 140px;
        padding: 2rem;
        font-size: 3.5rem;
    }
    
    .countdown-separator {
        font-size: 2.5rem;
    }
    
    .countdown-label {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
    
    .section-header p {
        font-size: 1.3rem;
    }
    
    .rsvp-form {
        max-width: 700px;
    }
    
    .hotels-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

/* Styles hover et active pour les boutons */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background-color: var(--secondary-color);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Support pour les écrans tactiles */
@media (hover: none) and (pointer: coarse) {
    .hero-background:hover {
        transform: none;
    }
    
    .gallery-item:hover {
        transform: none;
    }
    
    .hotel-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .countdown-number:hover {
        transform: none;
    }
    
    .countdown-number:active {
        transform: scale(0.98);
        background: rgba(255, 255, 255, 0.15);
    }
}

/* Support pour les navigateurs anciens */
@supports not (backdrop-filter: blur(10px)) {
    .navbar {
        background: rgba(255, 255, 255, 0.95);
    }
    
    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.98);
    }
}

/* Support pour Safari */
@supports (-webkit-backdrop-filter: blur(10px)) {
    .navbar {
        -webkit-backdrop-filter: blur(6px);
    }
}

/* Support pour Firefox */
@supports (backdrop-filter: blur(10px)) {
    .navbar {
        backdrop-filter: blur(6px);
    }
}

/* Support pour les écrans haute densité */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Support pour les modes sombres */
@media (prefers-color-scheme: dark) {
    /* Les styles restent les mêmes car c'est un site de mariage avec un design spécifique */
}

/* Support pour les préférences de réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-background {
        transform: none !important;
    }
}

.gallery-grid {
    margin: 3rem auto 0;
    position: relative;
    height: 600px;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
}

.gallery-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
}

.gallery-group.active {
    opacity: 1;
    visibility: visible;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.gallery-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    will-change: transform;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        height: 400px;
        gap: 0.5rem;
    }
    
    .gallery-group {
        gap: 0.5rem;
    }
    
    .color-palette {
        grid-template-columns: repeat(2, 1fr);
        max-width: 400px;
        gap: 1.5rem;
    }
    
    .color-image {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        height: 300px;
    }
    
    .gallery-group {
        gap: 0.3rem;
    }
    
    .gallery-item {
        border-radius: 10px;
    }
}

/* Modal pour afficher les images en plein écran */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
}

/* Animation d'ouverture de la modal */
.image-modal.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive pour la modal */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}
