/*
Theme Name: Voyages Azur - Rémi Guyon
Description: Un thème développé pour le cours Systèmes de gestion de contenu 2
Author: Rémi Guyon
Version: 1.0
Text Domain: voyages-azur
*/


/* ====================================
   VARIABLES & RESET
   ==================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0A7396;
    --secondary: #F4A261;
    --accent: #E76F51;
    --dark: #264653;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --text: #333333;
    --border: #E0E0E0;
    --gradient: linear-gradient(135deg, #0A7396 0%, #2A9D8F 100%);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

img {
    max-width: 100%;
    height: auto;
}

/* ====================================
   HEADER
   ==================================== */

header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: var(--white);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.header-top a:hover {
    color: var(--secondary);
}

.header-main {
    padding: 20px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--primary);
}

/* ====================================
   CONTAINER & LAYOUT
   ==================================== */

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* ====================================
   BUTTONS
   ==================================== */

.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: #D35D43;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(231, 111, 81, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-small {
    padding: 10px 25px;
    font-size: 14px;
    border-radius: 8px;
}

/* ====================================
   HERO SECTIONS
   ==================================== */

.hero {
    background: linear-gradient(rgba(10, 115, 150, 0.7), rgba(42, 157, 143, 0.7)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%230A7396" width="1200" height="600"/><path fill="%232A9D8F" d="M0 300 Q300 200 600 300 T1200 300 V600 H0 Z"/></svg>');
    background-size: cover;
    background-position: center;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* Hero Image (for single pages) */
.hero-image {
    height: 500px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                linear-gradient(135deg, var(--primary) 0%, #2A9D8F 100%);
    position: relative;
    display: flex;
    align-items: flex-end;
    margin-bottom: -80px;
    position: relative;
    overflow: hidden;
}

.hero-image.page {
    min-height: 20vh;
    height: auto;
}

.hero-image:not(.page)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 100%);
    z-index: 11;
}

.hero-image img  {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    opacity: 0.5;
}

.hero-image .hero-content {
    color: var(--white);
    padding: 40px 0;
    width: 100%;
    position: relative;
    z-index: 100;
}

.hero-title h1 {
    font-size: 52px;
    margin-bottom: 10px;
}

.hero-meta {
    display: flex;
    gap: 30px;
    font-size: 16px;
    flex-wrap: wrap;
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-meta span.author {
    font-weight: bold;
}
.hero-meta span.date {
    opacity: 0.6;
}

.hero-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* ====================================
   PAGE HEADER
   ==================================== */

.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #2A9D8F 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.95;
}

/* ====================================
   BREADCRUMB
   ==================================== */

.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
    padding: 20px 0;
    color: #718096;
}

.breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.hero-image .breadcrumb {
    color: var(--white);
}

.hero-image .breadcrumb a {
    color: var(--white);
}

/* ====================================
   SECTION HEADERS
   ==================================== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ====================================
   SEARCH BAR
   ==================================== */

.search-bar {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 15px;
}

.search-bar input,
.search-bar select {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

.search-bar button {
    padding: 15px 30px;
}

/* Main Search (search page) */
.main-search {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: -30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    padding: 0 20px;
    background: var(--white);
}

.search-input-wrapper:focus-within {
    border-color: var(--primary);
}

.search-icon {
    font-size: 20px;
    color: #999;
    margin-right: 12px;
}

.search-input {
    flex: 1;
    border: none;
    padding: 16px 0;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

.search-input:focus {
    outline: none;
}

/* Search Header */
.search-header {
    background: linear-gradient(135deg, var(--primary) 0%, #2A9D8F 100%);
    padding: 40px 0;
    color: var(--white);
}

.search-header h1 {
    font-size: 38px;
    margin-bottom: 10px;
}

.search-query {
    font-size: 16px;
    opacity: 0.95;
}

.search-query strong {
    color: var(--secondary);
}

/* ====================================
   CARDS - DESTINATIONS
   ==================================== */

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.destination-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.destination-card .destination-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.destination-image {
    height: 250px;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.destination-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 100%);
}

.destination-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.destination-favorite {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
}

.destination-favorite:hover {
    background: var(--accent);
    color: var(--white);
}

.destination-content {
    padding: 25px;
}

.destination-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--dark);
}

.destination-content h3 a {
    text-decoration: none;
    color: var(--dark);
    transition: color 0.3s;
}

.destination-content h3 a:hover {
    color: var(--primary);
}

.destination-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
}

.destination-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.destination-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.destination-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.destination-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.price span {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

/* ====================================
   FORFAITS
   ==================================== */

.forfaits-list {
    padding: 50px 0;
}

.forfait-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 350px 1fr;
    transition: all 0.3s;
}

.forfait-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transform: translateX(5px);
}

.forfait-image {
    height: 100%;
    min-height: 280px;
    background: linear-gradient(135deg, var(--primary) 0%, #2A9D8F 100%);
    position: relative;
    display: flex;
    position: relative;
    overflow: hidden;
}

.forfait-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 100%);
    z-index: 11;
}

.forfait-image img  {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

.forfait-badge {
    position: absolute;
    z-index: 11;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
}

.forfait-duration {
    position: absolute;
    z-index: 11;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,0.95);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--dark);
}

.forfait-content {
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.forfait-header h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--dark);
}

.forfait-header h3 a {
    text-decoration: none;
    color: var(--dark);
    transition: color 0.3s;
}

.forfait-header h3 a:hover {
    color: var(--primary);
}

.forfait-destination {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 500;
}

.forfait-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.forfait-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.forfait-description {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.forfait-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.feature-tag {
    padding: 6px 14px;
    background: var(--light);
    border-radius: 20px;
    font-size: 13px;
    color: var(--dark);
    border: 1px solid #E0E0E0;
}

.forfait-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 2px solid var(--light);
}

.forfait-footer.left {
    justify-content: end;
}

.forfait-price-info {
    display: flex;
    flex-direction: column;
}

.forfait-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.forfait-price span {
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

.price-note {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.forfait-actions {
    display: flex;
    gap: 15px;
}

/* ====================================
   SIDEBAR & FILTERS
   ==================================== */

.main-layout,
.main-content,
.content-layout {
    display: grid;
    /* grid-template-columns: 300px 1fr; */
    gap: 30px;
    padding: 40px 0;
}

.main-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    padding: 100px 0 60px;
}
.main-wrapper.page {
    grid-template-columns: 1fr;
    padding: 160px 0 60px;
}


.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-section,
.filter-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-section h3,
.filter-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--dark);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.checkbox-group,
.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-item label {
    margin: 0;
    cursor: pointer;
    font-weight: 400;
    font-size: 14px;
    color: #555;
}

.price-range {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-range input {
    width: 100%;
}

.btn-clear {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    margin-top: 10px;
    width: 100%;
}

.btn-clear:hover {
    background: var(--light);
    transform: none;
}

/* ====================================
   ARCHIVE HEADER & RESULTS
   ==================================== */

.archive-header,
.list-header,
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
}

.results-info,
.results-count {
    font-size: 15px;
    color: var(--text);
}

.results-info strong,
.results-count strong {
    color: var(--primary);
    font-weight: 600;
}

.sort-options,
.view-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sort-options label {
    font-size: 14px;
    font-weight: 500;
}

.sort-options select,
.sort-select {
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.view-toggle {
    display: flex;
    gap: 5px;
}

.view-toggle button {
    padding: 10px 15px;
    border: 1px solid var(--border);
    background: var(--white);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
}

.view-toggle button.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ====================================
   SEARCH RESULTS
   ==================================== */

.search-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 280px 1fr;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.result-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.result-image {
    height: 220px;
    background: linear-gradient(135deg, var(--primary) 0%, #2A9D8F 100%);
    position: relative;
}

.result-type {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.type-destination {
    background: var(--accent);
    color: var(--white);
}

.type-forfait {
    background: var(--secondary);
    color: var(--white);
}

.type-article {
    background: #4299E1;
    color: var(--white);
}

.result-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.result-header h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--dark);
}

.result-header h3 a {
    text-decoration: none;
    color: var(--dark);
    transition: color 0.3s;
}

.result-header h3 a:hover {
    color: var(--primary);
}

.result-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
    flex-wrap: wrap;
}

.result-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.result-excerpt strong {
    color: var(--primary);
    font-weight: 600;
}

.result-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--light);
}

.result-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.result-price span {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.result-label {
    font-size: 14px;
    color: #666;
}

/* ====================================
   SINGLE PAGE CONTENT
   ==================================== */

.destination-content,
.forfait-content,
.property-main,
.post-content {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.content-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--light);
}

.content-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.content-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--dark);
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.content-nav {
    display: flex;
    justify-content: space-between;
}

/* Liens « Article précédent / suivant » générés par previous_post_link() et next_post_link().
   WordPress n'y ajoute pas de classe : on applique ici l'apparence de .btn.btn-outline. */
.content-nav a {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.content-nav a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Premier article : seul le lien « suivant » existe, on le garde à droite */
.content-nav a[rel="next"] {
    margin-left: auto;
}

/* Lien du continent dans la card d'une destination */
.destination-meta a {
    color: inherit;
    text-decoration: none;
}

.destination-meta a:hover {
    color: var(--primary);
}

/* ====================================
   HIGHLIGHTS GRID
   ==================================== */

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.highlight-card {
    background: var(--light);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.highlight-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.highlight-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--dark);
}

.highlight-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* ====================================
   ITINERARY
   ==================================== */

.itinerary-list {
    list-style: none;
}

.itinerary-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--light);
    border-radius: 10px;
}

.day-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.day-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark);
}

.day-content p {
    margin: 0;
    font-size: 15px;
}

/* ====================================
   INCLUSIONS
   ==================================== */

.inclusions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.inclusion-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: var(--light);
    border-radius: 8px;
}

.inclusion-item.included {
    border-left: 4px solid #48BB78;
}

.inclusion-item.excluded {
    border-left: 4px solid #FC8181;
    opacity: 0.7;
}

.inclusion-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.inclusion-text {
    font-size: 14px;
    color: #555;
}

/* ====================================
   GALLERY
   ==================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, #2A9D8F 100%);
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* ====================================
   BOOKING CARD & SIDEBAR
   ==================================== */

.booking-card,
.contact-card,
.info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.booking-card h3,
.contact-card h3,
.info-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--dark);
}

.price-section {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--light);
    margin-bottom: 25px;
}

.price-label-top {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.price-main {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.price-details {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/* ====================================
   FORMS
   ==================================== */

.booking-form,
.contact-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-book {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    margin-bottom: 15px;
}

.booking-features {
    list-style: none;
    padding: 20px 0;
    border-top: 2px solid var(--light);
}

.booking-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #555;
}

/* ====================================
   INFO LISTS
   ==================================== */

.info-list {
    list-style: none;
}

.info-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--light);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.info-list li:last-child {
    border-bottom: none;
}

.label {
    color: #666;
}

.value {
    font-weight: 600;
    color: var(--dark);
}

/* ====================================
   PRICE BREAKDOWN
   ==================================== */

.price-breakdown {
    background: var(--light);
    padding: 25px;
    border-radius: 12px;
}

.price-breakdown h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--dark);
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #E0E0E0;
}

.price-item:last-child {
    border-bottom: none;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid var(--dark);
}

.price-label {
    font-size: 15px;

}

.price-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
}

.price-item:last-child .price-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

.price-item:last-child .price-value {
    font-size: 24px;
    color: var(--primary);
}

/* ====================================
   FEATURES SECTION
   ==================================== */

.features {
    background: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-card p {
    color: #666;
    font-size: 15px;
}

/* ====================================
   TESTIMONIALS
   ==================================== */

.testimonials {
    background: var(--dark);
    color: var(--white);
}

.testimonials .section-header h2,
.testimonials .section-header p {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.testimonial-rating {
    color: var(--secondary);
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    opacity: 0.8;
}

/* ====================================
   RELATED SECTION
   ==================================== */

.related-section {
    padding: 60px 0;
    background: var(--white);
}

.related-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-card {
    background: var(--light);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary) 0%, #2A9D8F 100%);
}

.related-content {
    padding: 20px;
}

.related-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.related-content h4 a {
    text-decoration: none;
    color: var(--dark);
}

.related-content h4 a:hover {
    color: var(--primary);
}

.related-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.related-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 10px;
}

/* ====================================
   PAGINATION
   ==================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 50px 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s;
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination .current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 20px;
}

/* ====================================
   FOOTER
   ==================================== */

footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

@media (max-width: 1024px) {
    .main-content,
    .main-layout,
    .content-layout,
    .main-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .destinations-grid,
    .features-grid,
    .testimonials-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-bar {
        grid-template-columns: 1fr;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .forfait-item,
    .result-card {
        grid-template-columns: 1fr;
    }

    .forfait-image,
    .result-image {
        height: 200px;
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .hero-content h1,
    .hero-title h1 {
        font-size: 36px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .search-header h1 {
        font-size: 28px;
    }

    .hero-title-row {
        flex-direction: column;
        gap: 20px;
    }

    .hero-meta {
        flex-direction: column;
        gap: 10px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .destinations-grid,
    .features-grid,
    .testimonials-grid,
    .related-grid,
    .highlights-grid,
    .inclusions-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .archive-header,
    .list-header,
    .results-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .sort-options,
    .view-controls {
        width: 100%;
        justify-content: space-between;
    }

    .result-meta,
    .destination-meta,
    .forfait-meta {
        flex-direction: column;
        gap: 8px;
    }

    .forfait-footer,
    .destination-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .forfait-actions {
        width: 100%;
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-image {
        height: 400px;
    }
}

/* ====================================
   UTILITY CLASSES
   ==================================== */

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

/* Styles spécifiques pour la page single-forfait */

/* Hero Section avec image de fond */
.forfait-hero {
    position: relative;
    height: 40vh;
    min-height: 500px;
    background: linear-gradient(135deg, #0A7396 0%, #2A9D8F 100%);
    overflow: hidden;
}

.forfait-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 100%);
    z-index: 11;
}

.forfait-hero img  {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    opacity: 0.5;
}

.forfait-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    padding-bottom: 50px;
    z-index: 11;
}

.forfait-hero-content {
    color: white;
}

.breadcrumb-nav {
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb-nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-nav a:hover {
    color: white;
}

.breadcrumb-nav span {
    margin: 0 10px;
    color: rgba(255,255,255,0.5);
}

.forfait-hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.forfait-hero-destination {
    font-size: 1.3rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.forfait-hero-destination a {
    color: white;
    text-decoration: none;
    border-bottom: 2px solid #F4A261;
    transition: color 0.3s;
}

.forfait-hero-destination a:hover {
    color: #F4A261;
}

.forfait-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.badge-item {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Main Content Area */
.forfait-main-wrapper {
    padding: 60px 0;
    background: #F8F9FA;
}

.forfait-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.forfait-content-area {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.content-section {
    margin-bottom: 50px;
}

.content-section:first-child {
    padding-top: 0;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section.description {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.content-section.description h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #264653;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #F4A261;
}

.forfait-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Itinéraire */
.itineraire-timeline {
    position: relative;
    padding-left: 40px;
}

.itineraire-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #0A7396;
}

.jour-item {
    position: relative;
    margin-bottom: 35px;
    padding: 25px;
    background: #F8F9FA;
    border-radius: 10px;
    border-left: 4px solid #F4A261;
}

.jour-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 30px;
    width: 18px;
    height: 18px;
    background: #E76F51;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #0A7396;
}

.jour-numero {
    display: inline-block;
    background: #0A7396;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.jour-titre {
    font-size: 1.3rem;
    color: #264653;
    font-weight: 600;
    margin-bottom: 12px;
}

.jour-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.activites-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.activites-list li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: #555;
    font-size: 0.95rem;
}

.activites-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2A9D8F;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Inclusions/Exclusions */
.inclusions-exclusions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.inclusion-box, .exclusion-box {
    background: #F8F9FA;
    padding: 25px;
    border-radius: 10px;
}

.inclusion-box {
    border-left: 4px solid #2A9D8F;
}

.exclusion-box {
    border-left: 4px solid #E76F51;
}

.inclusion-box h3, .exclusion-box h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.inclusion-box h3 {
    color: #2A9D8F;
}

.exclusion-box h3 {
    color: #E76F51;
}

.inclusion-list, .exclusion-list {
    list-style: none;
    padding: 0;
}

.inclusion-list li, .exclusion-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    border-bottom: 1px solid #E0E0E0;
    font-size: 0.95rem;
}

.inclusion-list li:last-child, .exclusion-list li:last-child {
    border-bottom: none;
}

.inclusion-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2A9D8F;
    font-weight: bold;
    font-size: 1.2rem;
}

.exclusion-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #E76F51;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Galerie photos */
.galerie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.galerie-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.galerie-item:hover img {
    transform: scale(1.1);
}

/* Sidebar */
.forfait-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    margin-bottom: 25px;
}

.sidebar-price-header {
    background: linear-gradient(135deg, #0A7396, #2A9D8F);
    color: white;
    padding: 30px 25px;
    text-align: center;
}

.price-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin: 10px 0;
}

.price-per {
    font-size: 1rem;
    opacity: 0.9;
}

.sidebar-content {
    padding: 25px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.info-list li {
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #E0E0E0;
    font-size: 0.95rem;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-label {
    color: #666;
}

.info-value {
    font-weight: 600;
    color: #264653;
}

.booking-form {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #264653;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0A7396;
}


.btn-outline {

    background: transparent;
    color: #0A7396;
    border: 2px solid #0A7396;

    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #0A7396;
    color: white;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.features-list li {
    padding: 10px 0;
    color: #2A9D8F;
    font-size: 0.9rem;
}

.sidebar-help {
    padding: 25px;
}

.sidebar-help h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #264653;
}

.sidebar-help p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 992px) {
    .forfait-layout {
        grid-template-columns: 1fr;
    }

    .forfait-sidebar {
        position: static;
    }

    .inclusions-exclusions {
        grid-template-columns: 1fr;
    }

    .galerie-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .forfait-hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .forfait-content-area {
        padding: 25px 20px;
    }

    .galerie-grid {
        grid-template-columns: 1fr;
    }

    .itineraire-timeline {
        padding-left: 30px;
    }

    .forfait-hero-title {
        font-size: 2rem;
    }
}