/* Import des polices Google : Playfair Display (Titres) et Lato (Texte) */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:wght@400;700&display=swap');

:root {
    --primary-color: #2c3e50; /* Bleu nuit profond */
    --accent-color: #c0a16b;  /* Doré sable / Vintage */
    --text-color: #4a4a4a;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    background-color: #fdfdfd;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
    min-height: 100px;
    align-items: center;
}

.navbar-brand {
    /* Reset absolute positioning */
    position: static;
    transform: none;
    margin-right: 1rem;
}

.navbar-logo {
    max-width: 220px;
    height: auto;
}

/* Reset toggler positioning */
.navbar-toggler {
    position: static;
    transform: none;
}

/* Reset lang selector positioning if needed, though it's now in the menu */
.lang-selector {
    position: static;
    transform: none;
}

.navbar-collapse {
    width: 100%;
}

@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        justify-content: flex-end; /* Align menu to the right */
        align-items: center;
    }

    .navbar-nav {
        flex-basis: auto;
        margin: 0;
    }

    /* Remove specific margins that were used for centered logo layout */
    .navbar-nav.me-auto, .navbar-nav.ms-auto {
        margin: 0 !important;
    }
}

.nav-link {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--primary-color) !important;
    transition: color 0.3s;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color) !important;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 10px;
    margin-top: 10px;
}

.dropdown-item {
    border-radius: 10px;
    padding: 8px 15px;
    transition: all 0.2s;
    font-weight: 500;
    color: var(--text-color);
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown-header {
    font-weight: 700;
    color: var(--accent-color) !important;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 8px 15px;
    border-radius: 10px; /* Ajout de l'arrondi */
    background-color: rgba(192, 161, 107, 0.1); /* Fond léger pour mieux voir l'arrondi */
    margin-bottom: 5px; /* Espace après le titre */
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.4));
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

/* Section Mon Histoire avec filigrane */
.history-section {
    position: relative;
    overflow: hidden; /* Pour s'assurer que le filigrane ne dépasse pas */
}

.watermark-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; /* Ajustez la taille selon vos besoins */
    height: auto;
    opacity: 0.05; /* Ajustez l'opacité */
    z-index: -1; /* Pour le mettre en arrière-plan */
}


/* Cartes des Tours */
.tour-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.img-wrapper {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.tour-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-card:hover img {
    transform: scale(1.1);
}

.card-body {
    padding: 1.5rem;
}

.badge-category {
    background-color: var(--accent-color);
    color: white;
    font-weight: 400;
    letter-spacing: 0.5px;
    padding: 0.5em 0.8em;
}

/* Boutons */
.btn-custom {
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    padding: 10px 25px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 700;
    transition: all 0.3s;
    border: 2px solid var(--primary-color);
}

.btn-custom:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Section Services / Icones */
.feature-box {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
}
.feature-box:hover {
    transform: translateY(-5px);
}
.feature-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Témoignages */
.testimonial-carousel .owl-item {
    display: flex;
    justify-content: center;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    width: 100%;
    margin: 10px; /* Espace autour de la carte */
    border: 1px solid #eee;
}

.testimonial-icon {
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.5;
}

.testimonial-text {
    font-style: italic;
    color: #666;
    min-height: 100px; /* Hauteur minimale pour aligner les cartes */
}

/* Formulaire */
.form-control:focus, .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(192, 161, 107, 0.25);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: rgba(255,255,255,0.7);
}
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,0.7);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    text-decoration: none;
}
.footer .btn.btn-link::before {
    position: relative;
    content: "\F285"; /* Code pour bi-chevron-right */
    font-family: "bootstrap-icons"; /* Utilisation de Bootstrap Icons */
    font-weight: 900;
    margin-right: 10px;
}
.footer .btn.btn-link:hover {
    color: var(--accent-color);
    letter-spacing: 1px;
    box-shadow: none;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: 1rem;
    z-index: 1050;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}
