/* ===== POLICE BRITHNEY ===== */
@font-face {
    font-family: 'Brithney';
    src: url('fonts/Brithney.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #000;
    color: #11294b;
    font-family: 'Century Schoolbook', 'Times New Roman', Times, serif;
}

/* ===== BANNER ===== */
.banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 2px solid #11294b;
    padding: 0.75em 2em;
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
    gap: 0.5em;
}

.logo img {
    height: 88px;
    width: auto;
    max-width: 240px;
}

.nav-buttons {
    display: flex;
    gap: 2em;
    flex: 1;
    justify-content: center;
}

.nav-buttons button {
    background: none;
    border: none;
    color: #11294b;
    font-size: 1.716em;
    font-family: 'Brithney', serif;
    font-weight: normal;
    padding: 0.5em 1.5em;
    cursor: pointer;
    transition: color 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

.nav-buttons button:hover {
    color: #1a3d70;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ===== PHOTO CAROUSEL ===== */
.photo-carousel {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #11294b;
    padding: 1.5em 0;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.photo-carousel-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 0.5em;
    gap: 0.5em;
}

.carousel-btn {
    background: none;
    border: none;
    color: #11294b;
    font-size: 2em;
    cursor: pointer;
    z-index: 10;
    padding: 0 0.4em;
    transition: color 0.2s, transform 0.15s;
    flex-shrink: 0;
    line-height: 1;
    user-select: none;
}

.carousel-btn:hover {
    color: #1a3d70;
    transform: scale(1.2);
}

/* Outer clip */
.photo-carousel-track-outer {
    flex: 1;
    overflow: hidden;
    cursor: pointer;
}

/* Inner scrolling track — animé par JS */
.photo-carousel-track {
    display: flex;
    gap: 1em;
    width: max-content;
    will-change: transform;
}

.photo-frame {
    flex: 0 0 375px;
    height: 500px;
    background: #f0f3fa;
    border-radius: 10px;
    border: 1.5px solid #c8d3e8;
    overflow: hidden;
    transition: border-color 0.2s;
}

.photo-frame.hidden {
    display: none;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1100px) {
    .photo-frame { flex: 0 0 300px; height: 400px; }
}

@media (max-width: 900px) {
    .photo-frame { flex: 0 0 225px; height: 300px; }
}

@media (max-width: 700px) {
    .photo-frame { flex: 0 0 180px; height: 240px; }
    .carousel-btn { font-size: 1.5em; }
}

@media (max-width: 500px) {
    .photo-frame { flex: 0 0 135px; height: 180px; }
    .carousel-btn { font-size: 1.2em; padding: 0 0.2em; }
}

/* ===== MAIN CONTENT ===== */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.content-section {
    width: 100%;
    max-width: 1000px;
    margin: 3em auto;
    padding: 2em 2em;
    background: #fff;
    text-align: center;
    border-radius: 6px;
}

.section-title {
    color: #11294b;
    font-family: 'Brithney', serif;
    font-size: 3em;
    font-weight: normal;
    margin-bottom: 0.5em;
    text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .carousel-img-frame {
        flex: 0 0 100px;
        height: 100px;
    }
    .carousel-wrapper {
        max-width: 100vw;
    }
}

@media (max-width: 700px) {
    .banner {
        flex-direction: column;
        align-items: center;
        padding: 0.75em 1em;
    }
    .nav-buttons {
        gap: 0.75em;
        justify-content: center;
    }
    .logo img {
        height: 40px;
    }
    .content-section {
        padding: 1.5em 1em;
        margin: 2em 1em;
    }
    .carousel-img-frame {
        flex: 0 0 80px;
        height: 80px;
    }
    .carousel-btn {
        font-size: 1.5em;
    }
}

@media (max-width: 500px) {
    .nav-buttons {
        flex-wrap: wrap;
        gap: 0.5em;
    }
    .nav-buttons button {
        font-size: 0.95em;
        padding: 0.4em 0.8em;
    }
    .carousel-img-frame {
        flex: 0 0 60px;
        height: 60px;
    }
    .carousel-btn {
        font-size: 1.2em;
        padding: 0 0.3em;
    }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    max-width: 1000px;
    text-align: left;
    border-radius: 6px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5em;
    align-items: start;
    margin-top: 1.5em;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.contact-subtitle {
    font-size: 1em;
    color: #11294b;
    font-family: inherit;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid #11294b;
    padding-bottom: 0.4em;
    margin-bottom: 0.8em;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.hours-table td {
    padding: 0.35em 0;
    color: #11294b;
}

.hours-table td:first-child {
    font-weight: bold;
    width: 50%;
}

.hours-table tr.sunday td {
    color: #11294b;
    font-style: italic;
}

.hours-table tr.closed td {
    color: #aaa;
    font-style: italic;
}

.contact-links {
    display: flex;
    flex-direction: row;
    gap: 0.75em;
    margin-bottom: 1em;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    padding: 0.65em 1.3em;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.98em;
    text-decoration: none;
    transition: opacity 0.2s;
    width: fit-content;
}

.contact-btn:hover {
    opacity: 0.8;
}

.phone-btn {
    background: #11294b;
    color: #fff;
}

.whatsapp-btn {
    background: #25D366;
    color: #fff;
}

.email-btn {
    background: #11294b;
    color: #fff;
    border: 1.5px solid #11294b;
}

.contact-address {
    font-size: 0.78em;
    color: #888;
    margin-top: 0.5em;
    white-space: nowrap;
}

.contact-map {
    height: 340px;
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px solid #11294b;
}

@media (max-width: 700px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-map {
        height: 260px;
    }
}

/* ===== CAROUSEL LOGOS MARQUES (défilement automatique) ===== */
.brands-carousel-track-wrapper {
    width: 100%;
    overflow: hidden;
    margin-top: 2em;
    padding: 1em 0;
    border-top: 1px solid #e0e6f0;
    border-bottom: 1px solid #e0e6f0;
    /* masque les bords pour un effet de fondu */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* Section 1 : gauche → droite */
.brands-carousel-track {
    display: flex;
    align-items: center;
    gap: 3em;
    width: max-content;
    animation: scrollBrandsReverse 21.5s linear infinite;
}

/* Section 2 : droite → gauche */
.brands-carousel-track--reverse {
    animation: scrollBrands 21.5s linear infinite;
}

/* Pause au survol */
.brands-carousel-track-wrapper:hover .brands-carousel-track {
    animation-play-state: paused;
}

@keyframes scrollBrands {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollBrandsReverse {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.brand-logo-item {
    flex-shrink: 0;
    width: 140px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    transition: none;
}

@media (max-width: 700px) {
    .brand-logo-item {
        width: 100px;
        height: 50px;
    }
    .brands-carousel-track {
        gap: 2em;
        animation-duration: 15s;
    }
}

/* Logo cliquable */
.logo a {
    display: inline-block;
    line-height: 0;
}

/* ===== APPLICATION BRITHNEY PAR SECTION ===== */

/* Sections 1 & 2 — paragraphe sous le titre */
#ready-to-wear p,
#made-to-measure p {
    font-family: 'Brithney', serif;
    font-size: 1.1em;
}

/* Section 3 — textes ciblés (pas les chiffres) */

/* Subtitle "Opening Hours" et "Get in Touch" */
.contact-subtitle {
    font-family: 'Brithney', serif;
}

/* Jours de la semaine uniquement (première colonne du tableau) */
.hours-table td:first-child {
    font-family: 'Brithney', serif;
    font-weight: normal;
}

/* "By appointment" (dimanche) */
.hours-table tr.sunday td:last-child {
    font-family: 'Brithney', serif;
}

/* Boutons téléphone et WhatsApp — texte oui, pas les numéros */
/* On cible le texte via une span dans le bouton — voir ajout HTML ci-dessous */
.contact-btn .btn-label {
    font-family: 'Brithney', serif;
}

/* Adresse — "Rue des Belges" oui, "2" et "06400" non */
/* On cible via spans — voir ajout HTML ci-dessous */
.contact-address .addr-text {
    font-family: 'Brithney', serif;
}

/* ===== AJUSTEMENTS SECTION CONTACT ===== */

/* "Opening Hours" / "Get in Touch" — seules les initiales en majuscule */
.contact-subtitle {
    font-family: 'Brithney', serif;
    font-weight: normal;
    text-transform: none;
}
.contact-subtitle .lower {
    font-size: 0.82em;
    vertical-align: baseline;
}

/* Jours de la semaine +20% */
.hours-table td:first-child {
    font-family: 'Brithney', serif;
    font-weight: normal;
    font-size: 1.656em;
}

/* "By appointment" même taille que les jours */
.hours-table tr.sunday td:last-child {
    font-size: 1.656em;
}

/* Boutons téléphone et WhatsApp sur 1 ligne */
.contact-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75em;
}

/* Adresse : +20%, centrée, bonne couleur */
.contact-address {
    font-size: 0.94em;
    color: #11294b;
    text-align: center;
    margin-top: 0.8em;
    white-space: normal;
}
.contact-address .addr-text {
    font-family: 'Brithney', serif;
    font-weight: normal;
}

/* Retour police normale pour les sous-titres et adresse */
.contact-subtitle {
    font-family: 'Century Schoolbook', 'Times New Roman', Times, serif !important;
    font-weight: bold;
}
.contact-address {
    font-family: 'Century Schoolbook', 'Times New Roman', Times, serif !important;
}
.contact-subtitle .lower {
    display: none;
}
