@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Playwrite+DE+SAS:wght@100..400&family=Saira+Stencil:ital,wght@0,100..900;1,100..900&display=swap');


/* ---------- RESET & VARIABLES ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
button, a { cursor: pointer; }

:root {
    --primary: #0077b6;
    --primary-dark: #023e8a;
    --accent: #e9c46a;
    --accent-dark: #d4a373;
    --dark: #1a2a32;
    --light: #f8f9fa;
    --gray: #6c757d;
    --text: #2c3e4e;
    --shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.15);
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

body {
    line-height: 1.6;
    color: var(--text);
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #e9ecef;
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* ---------- HEADER & NAVIGATION ---------- */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 52px;
    width: auto;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

.logo span {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
    z-index: 1001;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.2rem;
}

.nav-links li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--primary);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    padding: 0.8rem 0;
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    min-width: 210px;
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.05);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1.5rem;
    color: var(--text);
}

.dropdown-menu li a:hover {
    color: var(--primary);
}

/* ---------- HERO SECTION ---------- */
#accueil {
    height: 100vh;
    min-height: 650px;
    background: linear-gradient(135deg, rgba(0,51,102,0.7), rgba(0,34,68,0.8)), url('../Follio/Img/Diego/DS9.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.accueil-content {
    max-width: 900px;
    padding: 0 24px;
    z-index: 2;
    position: relative;
}

.accueil-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    animation: fadeInUp 0.8s ease;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.accueil-content p {
    font-size: 1.35rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
    opacity: 0.95;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    padding: 10px 20px;
    border-radius: 40px;
    display: flex;
    gap: 12px;
    align-items: center;
    font-weight: 500;
}

.scroll-indicator span {
    display: inline-block;
}

/* ---------- CARROUSEL ---------- */
#carousel-section {
    padding: 100px 24px;
    background: linear-gradient(145deg, #fef9f0 0%, #fff5e8 100%);
}

.carousel-title {
    text-align: center;
    margin-bottom: 50px;
}

.carousel-title h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.carousel-title p {
    font-size: 1.2rem;
    color: var(--gray);
}

.carousel-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.carousel {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.carousel-track {
    position: relative;
    height: 550px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 50px 30px 25px;
    text-align: center;
}

.carousel-caption h3 {
    font-size: 2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.carousel-caption p {
    font-size: 1rem;
}

/* Contrôles du carrousel */
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.carousel-controls button {
    background: rgba(255,255,255,0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--primary);
    font-size: 1.4rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    pointer-events: auto;
}

.carousel-controls button:hover {
    background: white;
    transform: scale(1.08);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: var(--accent);
    width: 32px;
}

/* ---------- DESTINATION SECTIONS ---------- */
.destination-section {
    padding: 100px 24px;
    background: white;
}

.destination-section:nth-child(even) {
    background: #fefcf8;
}

.destination-title {
    text-align: center;
    margin-bottom: 60px;
}

.destination-title h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.destination-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 4px;
}

.section-intro {
    max-width: 800px;
    margin: 20px auto 0;
    font-size: 1.1rem;
    color: #5a6e7c;
}

/* Grille des circuits */
.circuits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1300px;
    margin: 0 auto;
}

.circuit-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.circuit-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow);
}

.circuit-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.circuit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.circuit-card:hover .circuit-image img {
    transform: scale(1.1);
}

.circuit-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,119,182,0.9), rgba(2,62,138,0.9));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    opacity: 0;
    transition: opacity 0.4s;
    padding: 20px;
}

.circuit-card:hover .circuit-overlay {
    opacity: 1;
}

.circuit-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--accent);
    color: var(--dark);
    padding: 6px 14px;
    border-radius: 40px;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 2;
}

.circuit-details {
    padding: 24px;
}

.circuit-details h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.circuit-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.feature {
    background: #eef2f5;
    padding: 5px 14px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
}

/* Boutons */
.btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,119,182,0.3);
}

/* Section Qui sommes-nous */
#qui-sommes-nous {
    background: linear-gradient(120deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 90px 24px;
    text-align: center;
}

#qui-sommes-nous h2 {
    font-size: 2.8rem;
    margin-bottom: 24px;
}

#qui-sommes-nous p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    opacity: 0.95;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 70px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.stat {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Cartes circuits combinés (room cards) */
.room-card {
    max-width: 1200px;
    margin: 50px auto;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    transition: var(--transition);
}

.room-card:hover {
    transform: scale(1.02);
}

.room-img {
    min-height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.room-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: var(--dark);
    padding: 6px 16px;
    border-radius: 40px;
    font-weight: bold;
    font-size: 0.8rem;
}

.room-content {
    padding: 32px;
}

.room-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.room-description {
    color: #5a6e7c;
    margin-bottom: 20px;
    line-height: 1.6;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.room-features span {
    background: #eef2f5;
    padding: 5px 14px;
    border-radius: 40px;
    font-size: 0.8rem;
    color: var(--text);
}

.btn-book-room {
    background: var(--primary);
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: bold;
    transition: var(--transition);
    cursor: pointer;
}

.btn-book-room:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background: white;
    max-width: 800px;
    width: 90%;
    margin: 50px auto;
    border-radius: 36px;
    overflow: hidden;
    animation: slideUp 0.4s;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    color: white;
    background: rgba(0,0,0,0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
}

.close-btn:hover {
    background: var(--primary);
}

.modal-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

#modal-details {
    padding: 30px;
}

#modal-details h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

#modal-details ul {
    margin: 20px 0;
    padding-left: 20px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    padding: 0 30px 30px;
}

.modal-btn {
    flex: 1;
    background: var(--primary);
    padding: 12px;
    border: none;
    border-radius: 40px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-btn:hover {
    background: var(--primary-dark);
}

.modal-btn.secondary {
    background: var(--accent);
    color: var(--dark);
}

.modal-btn.secondary:hover {
    background: var(--accent-dark);
}

/* ---------- FOOTER ---------- */
footer {
    background: linear-gradient(145deg, #0f212e, #071217);
    color: #e0e0e0;
    padding: 60px 24px 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    animation: gradientShift 3s ease infinite;
    background-size: 200% 100%;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    border-radius: 50%;
    transition: transform 0.3s;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-logo span {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4, .footer-section h4 {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.footer-links h4::after, .footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links a {
    color: #b0c4d4;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

/* Réseaux sociaux */
.social-icons {
    display: flex;
    gap: 18px;
    margin-top: 20px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    font-size: 1.3rem;
    color: white;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--accent);
    transform: translateY(-5px);
    color: var(--dark);
}

.social-icons .social-icon {
    width: 22px;
    height: 22px;
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #8a9aa5;
}

/* Bouton retour en haut */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    cursor: pointer;
    z-index: 999;
    text-decoration: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px);}
    to { opacity: 1; transform: translateY(0);}
}

@keyframes bounce {
    0%,100%{ transform: translateY(0);}
    50%{ transform: translateY(10px);}
}

@keyframes slideUp {
    from{ opacity: 0; transform: translateY(60px);}
    to{ opacity: 1; transform: translateY(0);}
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .accueil-content h1 { font-size: 2.5rem; }
    .carousel-track { height: 400px; }
    .destination-title h2, #qui-sommes-nous h2, .carousel-title h2 { font-size: 2rem; }
    .circuits-grid { gap: 20px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        gap: 1rem;
        box-shadow: 0 20px 30px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding-left: 20px;
        background: #f8f9fa;
        margin-top: 10px;
        display: none;
    }
    .dropdown.active .dropdown-menu { display: block; }
    .accueil-content h1 { font-size: 2rem; }
    .accueil-content p { font-size: 1rem; }
    .carousel-track { height: 320px; }
    .carousel-caption h3 { font-size: 1.2rem; }
    .destination-section { padding: 60px 16px; }
    .destination-title h2, #qui-sommes-nous h2, .carousel-title h2 { font-size: 1.6rem; }
    .circuits-grid { grid-template-columns: 1fr; padding: 0 16px; }
    .room-card { grid-template-columns: 1fr; margin: 30px 16px; }
    .room-img { min-height: 220px; }
    .stats-container { gap: 30px; flex-direction: column; align-items: center; }
    .modal-content { width: 95%; margin: 20px auto; }
    .modal-image img { height: 200px; }
    .modal-actions { flex-direction: column; }
    .footer-content { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-links h4::after, .footer-section h4::after { left: 50%; transform: translateX(-50%); }
    .footer-links a { justify-content: center; }
    .social-icons { justify-content: center; }
    .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}

@media (max-width: 480px) {
    .logo span { font-size: 1rem; }
    .logo img { height: 35px; }
    .accueil-content h1 { font-size: 1.5rem; }
    .carousel-track { height: 220px; }
    .carousel-caption h3 { font-size: 1rem; }
    .carousel-caption p { font-size: 0.7rem; }
    .destination-title h2 { font-size: 1.4rem; }
    .circuit-details h3 { font-size: 1.2rem; }
    .feature, .room-features span { font-size: 0.7rem; }
    .btn, .btn-book-room { padding: 10px 16px; font-size: 0.85rem; }
    .stat-number { font-size: 2rem; }
}