/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Text', Georgia, serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
}



.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-alt .section-title {
    color: #2c3e50;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 2rem;
    font-style: italic;
}

.lead {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #34495e;
}

p {
    margin-bottom: 1rem;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

.hero-e2 {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('assets/header.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: #fff;
    z-index: 1;
}

.hero-e2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* filtre sombre pour lisibilité */
    z-index: 0;
}

.hero-e2 {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('assets/header.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* 👈 le texte descend en bas */
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
    color: #fff;
    z-index: 1;
}

.hero-e2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* pour lisibilité sur image */
    z-index: 0;
}

.hero-e2 .name {
    font-family: 'Crimson Text', serif;
    font-size: 3rem;
    font-weight: bold;
    z-index: 2;
}

.hero-e2 .dates {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    font-weight: 400;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero-e2 .name {
        font-size: 2.2rem;
    }

    .hero-e2 .dates {
        font-size: 1rem;
    }
}





.section-alt {
    background-color: #f8f9fa;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('assets/header.png') center top/cover no-repeat;
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-style: italic;
}

.hero-dates {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.hero-quote {
    font-size: 1.1rem;
    font-style: italic;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation */
.navigation {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
}

.nav-links a:hover {
    background: #2c3e50;
    color: white;
    transform: translateY(-2px);
}

/* Invitation Section */
.invitation-content {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 3rem;
    padding: 2rem 1rem;
}

.centered-details {
    text-align: center;
}

.centered-details .detail-item {
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
}

.centered-details .detail-item i {
    margin-right: 0; /* supprime le décalage à gauche */
}




.invitation-text.centered-text {
    max-width: 700px;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
}



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

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

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

.detail-item i {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    color: #2c3e50;
}

/* Biography Section */
.biography-content {
    max-width: 800px;
    margin: 0 auto;
}

.biography-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.biography-text p {
    margin-bottom: 1.5rem;
}

/* Ceremony Section */
.ceremony-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.ceremony-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.info-block h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.map-container {
    position: sticky;
    top: 100px;
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.map-actions {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #2c3e50;
    color: white;
}

.btn-primary:hover {
    background: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px #2c3e50;
}

.btn i {
    width: 18px;
    height: 18px;
}

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

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f8f9fa;
}

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

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #e3e5e8 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #7f8c8d;
    padding: 2rem;
}

.photo-placeholder i {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.photo-placeholder p {
    margin: 0;
    font-weight: 500;
}

.photo-placeholder small {
    opacity: 0.7;
    font-size: 0.9rem;
}

.gallery-note {
    text-align: center;
    font-style: italic;
    color: #7f8c8d;
}

/* Schedule Section */
.schedule-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

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

.timeline-icon {
    width: 100px;
    height: 60px;
    background: #2c3e50;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-icon i {
    width: 24px;
    height: 24px;
    color: white;
}

.timeline-content {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.timeline-content p {
    margin: 0;
    line-height: 1.6;
}

/* Thanks Section */
.thanks-content {
    max-width: 800px;
    margin: 0 auto;
}

.thanks-message {
    margin-bottom: 3rem;
}

.thanks-list {
    list-style: none;
    margin: 2rem 0;
}

.thanks-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.thanks-list li::before {
    content: '•';
    color: #2c3e50;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.additional-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 4px solid #2c3e50;
}

.section-alt .additional-info {
    background: #fff;
    color: #333;
}

.section-alt .additional-info h4 {
    color: #2c3e50;
}

.additional-info h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.spiritual-quote {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 3rem 0;
    border-left: 4px solid #2c3e50;
}

.spiritual-quote blockquote {
    margin: 0;
}

.spiritual-quote p {
    font-style: italic;
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.spiritual-quote cite {
    font-weight: 500;
    color: #2c3e50;
    font-style: normal;
}

.family-signature {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.1rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-info h4 {
    color: #ecf0f1;
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-item i {
    width: 18px;
    height: 18px;
    color: #3498db;
}

.footer-memorial {
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.memorial-message {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 1.5rem;
    font-style: italic;
    color: #ecf0f1;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

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

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

    .nav-links {
        flex-direction: column;
        gap: 0.25rem;
    }

    .nav-links a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .invitation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ceremony-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-container {
        position: static;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-memorial {
        justify-content: center;
    }

    .memorial-message {
        font-size: 1.3rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .schedule-timeline::before {
        left: 30px;
    }

    .timeline-icon {
        width: 60px;
        height: 60px;
        margin-right: 1.5rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .hero-dates {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .detail-item {
        font-size: 0.95rem;
    }

    .info-block {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .invitation-details,
    .info-block,
    .timeline-content {
        padding: 1.25rem;
    }

    .spiritual-quote {
        padding: 1.5rem;
    }

    .photo-placeholder {
        padding: 1.5rem;
    }

    .hero-section {
        padding: 4rem 0;
    }
}

/* Print Styles */
@media print {
    .navigation,
    .map-container,
    .footer {
        display: none;
    }

    .hero-section {
        background: none;
        color: #333;
        page-break-after: always;
    }

    .section {
        padding: 2rem 0;
        page-break-inside: avoid;
    }
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .gallery-item {
        background: white;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .gallery-img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }


    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .container {
        max-width: none;
        padding: 0;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 2px solid #2c3e50;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-section {
        background: #000;
    }

    .btn-primary {
        background: #000;
        border: 2px solid #fff;
    }

    .timeline-icon {
        background: #000;
        border: 2px solid #fff;
    }
}
assets