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

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: #4a4a4a;
    background: #f8f5f0;
    width: 100%;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: url('image/intro_bg02.png') no-repeat center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    padding-bottom: 100px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(248, 245, 240, 0.3));
    backdrop-filter: blur(1px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    margin-bottom: 80px;
}

.hero-subtitle {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.2em;
    font-weight: 300;
    color: #8b7355;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-title {
    font-family: 'Dancing Script', cursive;
    font-size: 5em;
    font-weight: 700;
    color: #6b5d4a;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.bride-name, .groom-name {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
}

.heart {
    font-size: 0.8em;
    color: #d4af37;
    animation: heartbeat 2s ease-in-out infinite;
}

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

.wedding-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.wedding-date-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.date-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    font-weight: 700;
    color: #d4af37;
    line-height: 1;
}

.date-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.month-year {
    font-family: 'Playfair Display', serif;
    font-size: 1.3em;
    font-weight: 600;
    color: #8b7355;
    line-height: 1;
}

.day-name {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9em;
    color: #8b7355;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wedding-venue-hero {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.venue-name {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8em;
    color: #d4af37;
    margin-bottom: 5px;
}

.venue-location {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9em;
    color: #8b7355;
    opacity: 0.8;
}

.hero-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.decoration-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.decoration-flower {
    font-size: 1.5em;
    color: #d4af37;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-button-new {
    background: linear-gradient(135deg, #8b7355, #6b5d4a);
    color: white;
    border: 2px solid #d4af37;
    padding: 18px 40px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.cta-button-new::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 ease;
}

.cta-button-new:hover::before {
    left: 100%;
}

.cta-button-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 115, 85, 0.4);
    border-color: #b8860b;
}

/* Animation d'entrée pour le Hero */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.hero-subtitle { animation-delay: 0.2s; }
.hero-title { animation-delay: 0.4s; }
.wedding-info { animation-delay: 0.6s; }
.hero-decoration { animation-delay: 0.8s; }
.hero-countdown { animation-delay: 1s; }
.cta-button-new { animation-delay: 1.2s; }

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #8b7355;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9em;
    opacity: 0.7;
    animation: bounce 2s ease-in-out infinite;
    z-index: 3;
    cursor: pointer;
}

.scroll-indicator span {
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-arrow {
    font-size: 1.5em;
    animation: bounceArrow 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes bounceArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* Sections communes */
section {
    padding: 80px 0;
    width: 100%;
    position: relative;
}

/* Invitation Section */
.invitation {
    background: url('image/intro_bg02.png') no-repeat center;
    background-size: cover;
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
}



.invitation-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248,245,240,0.98));
    padding: 80px 20px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(5px);
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}



.invitation-header {
    position: relative;
    z-index: 2;
}

.invitation-header p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1em;
    color: #8b7355;
    margin-bottom: 20px;
}

.invitation-header h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5em;
    color: #d4af37;
    margin: 10px 0;
}

.invitation-title {
    font-family: 'Dancing Script', cursive !important;
    font-size: 3.5em !important;
    color: #d4af37 !important;
    margin-bottom: 20px !important;
    text-align: center;
}

.invitation-subtitle {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.3em !important;
    color: #8b7355 !important;
    font-style: italic !important;
    margin-bottom: 40px !important;
    text-align: center;
}

.wedding-date > span {
    font-family: 'Playfair Display', serif;
    font-size: 1.3em;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 1);
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.venue {
    margin-top: 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    padding: 15px 20px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.venue span {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8em;
    color: #d4af37;
    display: block;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.venue p {
    color: white;
    font-style: italic;
    font-size: 0.95em;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.waze-btn {
    display: inline-block;
    background: #007AFF;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    font-size: 0.9em;
    margin-top: 15px;
    transition: all 0.3s ease;
    border: 2px solid #0066CC;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.waze-btn:hover {
    background: #0066CC;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
    text-decoration: none;
    color: white;
}

.waze-btn-small {
    display: inline-block;
    background: #007AFF;
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 15px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    font-size: 0.8em;
    margin-top: 8px;
    transition: all 0.3s ease;
    border: 1px solid #0066CC;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.waze-btn-small:hover {
    background: #0066CC;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
    text-decoration: none;
    color: white;
}

/* Nouveaux styles pour les événements de mariage */
.wedding-events {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    margin: 60px 0;
    align-items: center;
    position: relative;
}

.wedding-events::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37 20%, #d4af37 80%, transparent);
    z-index: 0;
    transform: translateY(-50%);
}

.wedding-date {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.wedding-date::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    transition: background 0.3s ease;
    border-radius: 18px;
}

.wedding-date > * {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.wedding-date:first-child {
    background-image: url('image/Mairie.jpg');
}

.wedding-date:last-child {
    background-image: url('image/Houppa.jpg');
}

.event-image {
    display: none;
}

.event-photo {
    display: none;
}

.wedding-date:hover::before {
    background: rgba(0, 0, 0, 0.3);
}

.wedding-date:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.wedding-date h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2em;
    color: #d4af37;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(5px);
}

.wedding-date h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 15px auto;
}

.wedding-separator {
    text-align: center;
    background: white url('image/logo.png') no-repeat center;
    background-size: 70%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    border: 3px solid #d4af37;
    z-index: 2;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.9;
    }
    50% { 
        transform: translateY(-10px) scale(1.05);
        opacity: 1;
    }
}

.cocktail-info {
    color: #d4af37 !important;
    font-weight: 600;
    font-style: normal !important;
    margin-top: 15px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.7) !important;
    border-radius: 30px;
    border: 2px solid #d4af37;
    display: block;
    clear: both;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(5px);
}

.conditional-field select {
    width: 100%;
}

.memorial-message {
    margin-top: 40px;
    padding: 20px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    border-left: 4px solid #d4af37;
}

.memorial-message p {
    color: #8b7355;
    font-style: italic;
    margin: 0;
    text-align: center;
}

/* Styles pour les informations des familles */
.families-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
}

.family-section {
    background: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.family-section h4 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5em;
    color: #d4af37;
    margin-bottom: 15px;
}

.family-section p {
    color: #8b7355;
    font-weight: 600;
    margin-bottom: 10px;
}

.grandparents {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.grandparents p {
    font-size: 0.9em;
    margin-bottom: 5px;
}

.grandparents p:first-child {
    font-style: italic;
    color: #6b6b6b;
    margin-bottom: 10px;
}

/* Notre Histoire Section */
.notre-histoire {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    align-items: center;
    background: url('image/stories_bg02.png') no-repeat center;
    background-size: cover;
    position: relative;
    min-height: 100vh;
    width: 100%;
    padding: 50px 20px;
}

.notre-histoire::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.notre-histoire > * {
    position: relative;
    z-index: 2;
}

.histoire-left {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}



.histoire-center {
    text-align: center;
}

.histoire-card {
    background: url('image/eucalyptus_wreath02-qoxmwgyt0gpbyukz85g703vjt7ve2gw3fq44f8v9ee.png') no-repeat center;
    background-size: contain;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    border: none;
}

.histoire-card h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5em;
    color: #8b7355;
    text-align: center;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.histoire-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    text-align: left;
    width: 100%;
    margin: 0;
}

.histoire-content p {
    margin-bottom: 20px;
    color: #6b6b6b;
    line-height: 1.8;
    text-align: justify;
}

.histoire-content p strong {
    color: #8b7355;
    font-weight: 600;
}

.histoire-right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photo-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.histoire-photo {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border: 2px solid #d4af37;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.histoire-photo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    z-index: 10;
}

/* Modal pour preview des images */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    animation: zoomIn 0.5s ease;
    border: 3px solid #d4af37;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #d4af37;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.close-modal:hover,
.close-modal:focus {
    color: #fff;
    transform: scale(1.2);
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #d4af37;
    padding: 20px 0;
    font-family: 'Dancing Script', cursive;
    font-size: 1.5em;
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.prev-btn, .next-btn {
    background: rgba(212, 175, 55, 0.8);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 1.5em;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn:hover, .next-btn:hover {
    background: #d4af37;
    transform: scale(1.1);
}

/* Animation pour les images de la galerie */
.histoire-photo.active {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5); }
    100% { box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3); }
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f8f5f0, #e8e0d3);
    border: 2px solid #d4af37;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-style: italic;
    position: relative;
    overflow: hidden;
}

.photo-placeholder::before {
    content: "📷";
    font-size: 2em;
    opacity: 0.5;
}

.photo-placeholder::after {
    content: "Photo";
    position: absolute;
    bottom: 10px;
    font-size: 0.8em;
}

/* Témoins Section */
.temoins {
    text-align: center;
    background: url('image/entourage_bg02.png') no-repeat center;
    background-size: cover;
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 20px;
}

.temoins::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.temoins > * {
    position: relative;
    z-index: 2;
}

.temoins-card {
    background: url('image/eucalyptus_wreath02-qoxmwgyt0gpbyukz85g703vjt7ve2gw3fq44f8v9ee.png') no-repeat center;
    background-size: contain;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 50px;
    border: none;
}

.temoins-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2em;
    color: #8b7355;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.temoins-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    width: 100%;
    padding: 0 100px;
}

.temoin-group h4 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5em;
    color: #d4af37;
    margin-bottom: 30px;
}

.temoin-photos {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.temoin-item {
    text-align: center;
    max-width: 140px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.temoin-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.temoin-photo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.temoin-photo::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #d4af37, #b8860b);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.temoin-photo:hover::before {
    opacity: 1;
}

.temoin-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.temoin-nom {
    margin-top: 12px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.85em;
    color: #8b7355;
    font-weight: 600;
    line-height: 1.2;
}

.photo-placeholder.small {
    width: 100px;
    height: 100px;
}

/* RSVP Section */
.rsvp {
    text-align: center;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 20px;
    background: url('image/stories_bg02.png') no-repeat center;
    background-size: cover;
    position: relative;
}

.rsvp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 245, 240, 0.8);
    z-index: 1;
}

.rsvp > * {
    position: relative;
    z-index: 2;
}

.rsvp-card {
    background: url('image/eucalyptus_wreath02-qoxmwgyt0gpbyukz85g703vjt7ve2gw3fq44f8v9ee.png') no-repeat center;
    background-size: contain;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 50px;
    border: none;
}

.rsvp-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2em;
    color: #8b7355;
    letter-spacing: 3px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.rsvp-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(5px);
}

.rsvp-content h4 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5em;
    color: #d4af37;
    margin-bottom: 20px;
}

.rsvp-form {
    text-align: left;
    margin-top: 30px;
}

.form-section {
    margin-bottom: 25px;
}

.form-section h5 {
    font-family: 'Playfair Display', serif;
    color: #8b7355;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    color: #8b7355;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-field input, 
.form-section input,
.form-section select,
.form-section textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e8e0d3;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-section input:focus,
.form-section select:focus,
.form-section textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-option {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group label,
.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-group input,
.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.conditional-field {
    margin-left: 25px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
    border-left: 3px solid #d4af37;
    transition: all 0.3s ease;
}

.conditional-field label {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
    display: block;
}

.conditional-field select {
    width: auto;
    min-width: 120px;
}

.form-section textarea {
    height: 80px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: white;
    border: none;
    padding: 15px 40px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Infos pratiques Section */
.infos-pratiques {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 20px;
    background: #f8f5f0;
    position: relative;
}

.infos-card {
    background: url('image/eucalyptus_wreath02-qoxmwgyt0gpbyukz85g703vjt7ve2gw3fq44f8v9ee.png') no-repeat center;
    background-size: contain;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 50px;
    border: none;
}

.infos-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2em;
    color: #8b7355;
    text-align: center;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.infos-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.info-block {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.info-block:hover {
    transform: translateY(-5px);
}

.info-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.info-block h4 {
    font-family: 'Dancing Script', cursive;
    font-size: 2em;
    color: #d4af37;
    margin-bottom: 20px;
}

.info-details {
    color: #6b6b6b;
    line-height: 1.8;
}

.location-info {
    margin-bottom: 20px;
}

.location-info h5 {
    font-family: 'Playfair Display', serif;
    color: #8b7355;
    margin-bottom: 10px;
}

.info-details ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.info-details li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.info-details li::before {
    content: "•";
    color: #d4af37;
    position: absolute;
    left: 0;
}

.dress-note {
    color: #8b7355 !important;
    font-style: italic;
    margin-top: 10px;
    opacity: 0.9;
}

/* Countdown Styles */
.hero-countdown {
    margin: 30px 0;
    text-align: center;
}

.hero-countdown h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8em;
    color: #8b7355;
    margin-bottom: 20px;
    opacity: 0.9;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.countdown-value {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    font-weight: 700;
    color: #d4af37;
    line-height: 1;
}

.countdown-label {
    display: block;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9em;
    color: #8b7355;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #28a745, #20a340);
    color: white;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1em;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 350px;
    border-left: 4px solid #fff;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.error {
    background: linear-gradient(135deg, #dc3545, #c82333);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
    border-left-color: #fff;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-icon {
    font-size: 1.5em;
    flex-shrink: 0;
}

.notification-text {
    flex: 1;
    line-height: 1.4;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.notification-message {
    font-size: 0.9em;
    opacity: 0.9;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.notification-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* Footer Section */
.footer {
    background: url('image/entourage_bg02.png') no-repeat center, linear-gradient(135deg, #8b7355, #6b5d4a);
    background-size: cover;
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin: 0;
    width: 100%;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(107, 93, 74, 0.8);
    z-index: 1;
}

.footer-content {
    width: 100%;
    margin: 0;
    position: relative;
    z-index: 2;
}

.footer-content p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.signature {
    font-family: 'Dancing Script', cursive !important;
    font-size: 2.5em !important;
    color: #d4af37 !important;
    margin: 20px 0 !important;
}

.date-footer {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.2em !important;
    letter-spacing: 2px !important;
    opacity: 0.9;
}

.credit {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 0.9em !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-top: 20px !important;
    font-weight: 300 !important;
}

.credit a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.credit a:hover {
    color: #d4af37 !important;
    text-decoration: underline !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5em;
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-subtitle {
        font-size: 1em;
        letter-spacing: 2px;
    }
    
    .wedding-info {
        flex-direction: column;
        gap: 30px;
    }
    
    .wedding-date-hero,
    .wedding-venue-hero {
        padding: 15px 20px;
    }
    
    .date-number {
        font-size: 2.5em;
    }
    
    .venue-name {
        font-size: 1.5em;
    }
    
    .invitation-card {
        padding: 60px 15px;
        min-height: 80vh;
    }
    
    .invitation-header h2 {
        font-size: 2.5em;
    }
    
    .notre-histoire {
        grid-template-columns: 1fr;
        gap: 30px;
        min-height: auto;
    }
    
    .histoire-left {
        display: none;
    }
    
    .histoire-right {
        display: block;
        width: 100%;
        margin-top: 30px;
    }
    
    .floral-decoration-left,
    .floral-decoration-right {
        display: none;
    }
    
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        margin: 20px auto;
        max-width: 300px;
    }
    
    .histoire-photo {
        height: 100px;
    }
    
    .families-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .temoins-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 0 10px;
    }
    
    .temoin-photos {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }
    
    .temoin-photo {
        width: 80px;
        height: 80px;
    }
    
    .temoin-nom {
        font-size: 0.8em;
    }
    
    .wedding-events {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .wedding-events::before {
        display: none;
    }
    
    .wedding-separator {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .rsvp-content {
        padding: 30px 15px;
        max-width: 100%;
    }
    
    .photo-gallery {
        justify-content: center;
    }
    
    .infos-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .countdown-item {
        padding: 15px 20px;
    }
    
    .countdown-value {
        font-size: 2em;
    }
    
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 15px 20px;
    }
    
    .notification-content {
        gap: 10px;
    }
    
    .notification-icon {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .modal-content {
        max-width: 95%;
        max-height: 70vh;
    }
    
    .close-modal {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 0;
    }
    
    .notre-histoire,
    .temoins,
    .rsvp {
        padding: 40px 15px;
        min-height: 80vh;
    }
    
    .hero {
        padding: 20px 10px;
        background: url('image/intro_bg02.png') no-repeat left;
        background-size: cover;
    }
    
    .hero-overlay {
        background: linear-gradient(rgba(255, 255, 255, 0.05), rgba(248, 245, 240, 0.1));
    }
    
    .hero-title {
        font-size: 2.8em;
    }
    
    .hero-subtitle {
        font-size: 0.9em;
        letter-spacing: 1px;
    }
    
    .wedding-date-hero,
    .wedding-venue-hero {
        padding: 12px 15px;
    }
    
    .date-number {
        font-size: 2em;
    }
    
    .venue-name {
        font-size: 1.3em;
    }
    
    .cta-button-new {
        padding: 15px 30px;
        font-size: 1em;
    }
    
    .temoins-card,
    .rsvp-card,
    .histoire-card {
        width: 150px;
        height: 150px;
    }
    
    .histoire-card h3,
    .temoins-card h3,
    .rsvp-card h3 {
        font-size: 1.5em;
    }
    
    .signature {
        font-size: 2em !important;
    }
    
    .temoin-photos {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .temoin-item {
        max-width: none;
    }
    
    .waze-btn {
        padding: 8px 15px;
        font-size: 0.85em;
    }
    
    .waze-btn-small {
        padding: 5px 10px;
        font-size: 0.75em;
    }
} 