/* --- BASE & FONTS --- */
body {
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, .font-display {
    font-family: 'Playfair Display', serif;
}
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* --- CUSTOM TAILWIND COLORS --- */
.bg-rose-pale { background-color: #FBE9E7; }
.text-gray-dark { color: #4A4A4A; }

/* --- NAVIGATION --- */
.nav-link {
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}
.nav-link.active, .nav-link:hover {
    color: #c48a83;
    border-bottom-color: #c48a83;
}
.mobile-nav-link:hover {
    background-color: #f9fafb;
}

/* --- TABS --- */
.section-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.section-content.active {
    display: block;
}

/* --- HERO BANNER --- */
#hero-banner {
    height: 65vh;
}
#hero-banner h2, #hero-banner p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* --- PORTFOLIO MARQUEE (FRISE) --- */
.marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
}
.marquee-content {
    display: flex;
    flex-shrink: 0;
    min-width: 100%;
    animation: scroll 150s linear infinite;
    animation-play-state: paused;
}
.marquee.is-scrolling .marquee-content {
    animation-play-state: running;
}
.marquee.reverse .marquee-content {
    animation-direction: reverse;
}
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.marquee-item {
    flex: 0 0 auto;
    width: 180px;
    height: 180px;
    margin: 0 0.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #f3f4f6;
}
.marquee-item img, .marquee-item video {
    width: 100%; height: 100%; object-fit: cover;
}
@media (min-width: 768px) {
    .marquee-item { width: 400px; height: 300px; margin: 0 1rem; }
}

/* --- TESTIMONIALS --- */
.testimonial-card {
    flex: 0 0 280px; width: 280px; margin: 0 0.5rem;
    background: white; padding: 1.25rem; border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); text-align: left;
    display: flex; flex-direction: column; min-height: 220px;
}
@media (min-width: 768px) {
    .testimonial-card { flex-basis: 350px; width: 350px; min-height: 250px; margin: 0 1rem; }
}
.testimonial-card blockquote { font-style: italic; color: #555; flex-grow: 1; }
.testimonial-card footer { margin-top: 1rem; font-weight: bold; }
.testimonial-card footer span { display: block; font-weight: normal; font-size: 0.875rem; color: #777; margin-top: 0.25rem; }
.read-more-btn { background: none; border: none; color: #c48a83; font-weight: bold; cursor: pointer; text-align: left; padding: 0; margin-top: 0.5rem; }

/* --- NOUVELLE SECTION WEDDING PLANNER --- */
.wedding-planner-section {
    background-color: #ffffff;
    width: 100%;
}
.split-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    align-items: center;
}
.image-column-hero {
    min-height: 1500px; 
    background-size: cover;
    background-position: center;
}
.text-column {
    position: relative;
    padding: 4rem;
}
.overlapping-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: #333;
    position: absolute;
    top: 1rem;
    left: 0;
    transform: translateX(-35%);
    white-space: nowrap;
    z-index: 10;
    background-color: #ffffff;
    padding: 0.5rem 3rem;
}
.text-content {
    margin-top: 9rem;
}
.subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 2.5rem;
}
.details-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    margin: 0;
}
.details-section .price {
    font-style: italic;
    color: #888;
    margin-bottom: 1rem;
}
.details-section p {
    line-height: 1.6;
}

/* --- CUSTOM STYLED LIST --- */
.styled-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}
.styled-list li {
    position: relative;
    padding-left: 28px; 
    margin-bottom: 0.75rem;
}
.styled-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1px;
    color: #c48a83;
    font-weight: 900;
    font-size: 1.1rem;
}

/* --- SECTION COORDINATION JOUR J (TRIPTYQUE) --- */
.coordination-section-wrapper .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.triptych-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    align-items: center;
    gap: 2rem;
}
.triptych-container .image-column {
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}
.triptych-container .image-column img, .triptych-container .image-column video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.triptych-container .content-column {
    text-align: center;
}
.triptych-container .info-box {
    background-color: #FBE9E7;
    border-radius: 8px;
    padding: 2.5rem;
    text-align: left;
}
.triptych-container .price {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}
.triptych-container .button-group {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.triptych-container .main-button {
    flex-grow: 1;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
}
.triptych-container .main-button:hover {
    background-color: #555;
}
.triptych-container .icon-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: 2px solid #333;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}
.triptych-container .icon-button svg {
    width: 20px;
    height: 20px;
    stroke: #333;
    transition: stroke 0.3s ease;
}
.triptych-container .icon-button:hover {
    background-color: #333;
}
.triptych-container .icon-button:hover svg {
    stroke: #fff;
}

/* Styles pour la galerie pleine largeur */
.full-width-gallery .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* Section Organisation - image grid */
.orga-gallery-item {
    aspect-ratio: 2 / 3;
}

/* Section Officiant - FAQ */
.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1rem 1.5rem;
    background-color: white;
    border-radius: 0.5rem;
    border: 1px solid #eee;
    transition: background-color 0.3s ease;
}
.faq-item summary:hover {
    background-color: #f9f9f9;
}
.faq-item[open] summary {
    background-color: #FBE9E7;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.faq-item .faq-content {
    padding: 1rem 1.5rem;
    background-color: white;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}
.faq-icon {
    transition: transform 0.3s ease;
}
.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

/* Section Location */
.category-title {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
}
.carousel-container { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.5s ease-in-out; }
.carousel-slide { flex: 0 0 100%; padding: 0 0.5rem; }
#carousel-location .carousel-slide .aspect-video {
    aspect-ratio: auto;
}
#carousel-location .carousel-slide img {
    height: auto;
    max-height: 70vh;
    width: auto;
    margin: 0 auto;
}

@media (min-width: 768px) { .carousel-slide { flex: 0 0 50%; } }
.carousel-button {
    position: absolute; top: 50%; transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8); border: 1px solid #ddd;
    border-radius: 9999px; width: 3rem; height: 3rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10;
}
.carousel-button:hover { background-color: white; }
.carousel-button.prev { left: -1rem; }
.carousel-button.next { right: -1rem; }
@media (min-width: 768px) {
    .carousel-button.prev { left: -2.5rem; }
    .carousel-button.next { right: -2.5rem; }
}


/* --- MODALS --- */
.modal-overlay { position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.8); z-index: 100; display: flex; align-items: center; justify-content: center; }
.modal-overlay.hidden { display: none; }
.modal-close-btn { position: absolute; top: 1rem; right: 1.5rem; color: white; font-size: 3rem; cursor: pointer; }
.modal-content { position: relative; }

/* --- GOOGLE CALENDAR --- */
.calendar-container {
    height: 750px;
    width: 100%;
    position: relative;
    border: solid 1px #dddddd;
    border-radius: 0.375rem;
    overflow: auto;
}
.calendar-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- 5 ETAPES --- */
.step-item { display: flex; align-items: center; text-align: left; padding: 0.75rem 0; }
.step-number { font-size: 1.125rem; font-weight: bold; color: white; background-color: #c48a83; border-radius: 9999px; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-right: 1rem; }
@media (min-width: 768px) {
    .step-item { display: block; text-align: center; }
    .step-number { margin: 0 auto 0.5rem auto; }
}

/* --- LOADING SCREEN & SCROLL BUTTON --- */
#loading-screen.fade-out, #loading-bg-image.fade-out { opacity: 0; pointer-events: none; }
#scroll-to-top { opacity: 0; transform: translateY(20px); visibility: hidden; transition: opacity 0.3s, transform 0.3s, visibility 0.3s; }
#scroll-to-top.visible { opacity: 1; transform: translateY(0); visibility: visible; }

/* --- RESPONSIVE POUR LA NOUVELLE SECTION --- */
@media (max-width: 992px) {
    .split-container {
        grid-template-columns: 1fr;
    }
    .text-column {
        padding: 2.5rem;
    }
        .overlapping-title {
        position: static;
        transform: none;
        font-size: 3rem;
        margin-bottom: 1.5rem;
        padding: 0;
        background-color: transparent;
        white-space: normal;
    }
    .text-content {
        margin-top: 0;
    }
    .image-column-hero {
        min-height: 400px;
        height: 400px;
    }
    
    .coordination-section-wrapper .container,
    .full-width-gallery .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .triptych-container {
        grid-template-columns: 1fr;
    }
    .triptych-container .image-column {
        height: 400px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
}
