/* ===== VARIABLES CSS ===== */
:root {
    --primary-color: #54af32;
    --primary-hover: #469028;
    --secondary-color: #8b4513;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --border-color: #ddd;
    --shadow-color: rgba(0,0,0,0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.15);
}

/* Mode Sombre */
[data-theme="dark"] {
    --primary-color: #54af32;
    --primary-hover: #469028;
    --secondary-color: #d4722b;
    --dark-color: #1a1a2e;
    --light-color: #16213e;
    --text-color: #e0e0e0;
    --bg-color: #0f0f1e;
    --card-bg: #1a1a2e;
    --border-color: #2d2d44;
    --shadow-color: rgba(0,0,0,0.5);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.5);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.5);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.7);
}

/* ===== CORRECTIONS MODE SOMBRE ===== */

[data-theme="dark"] nav a {
    color: var(--text-color) !important;
}

[data-theme="dark"] nav a:hover,
[data-theme="dark"] nav a.active {
    color: var(--primary-color) !important;
    background: rgba(84, 175, 50, 0.1) !important;
}

[data-theme="dark"] nav ul {
    background: var(--card-bg) !important;
}

[data-theme="dark"] .menu-toggle span {
    background: var(--text-color) !important;
}

[data-theme="dark"] h2,
[data-theme="dark"] h4,
[data-theme="dark"] h5 {
    color: var(--text-color) !important;
}

[data-theme="dark"] h3:not(.footer-section h3) {
    color: var(--text-color) !important;
}

[data-theme="dark"] .footer-section h3 {
    color: #54af32 !important;
}

[data-theme="dark"] p[style*="color: #666"],
[data-theme="dark"] p[style*="color:#666"],
[data-theme="dark"] [style*="color: #666"],
[data-theme="dark"] [style*="color:#666"] {
    color: #b0b0b0 !important;
}

[data-theme="dark"] section[style*="background: #f9f9f9"],
[data-theme="dark"] section[style*="background:#f9f9f9"],
[data-theme="dark"] .about-section {
    background: var(--card-bg) !important;
}

[data-theme="dark"] .tour-card-content h3,
[data-theme="dark"] .tour-card-content p {
    color: var(--text-color) !important;
}

[data-theme="dark"] .tour-meta,
[data-theme="dark"] .tour-meta span,
[data-theme="dark"] .blog-meta {
    color: #b0b0b0 !important;
}

[data-theme="dark"] .info-box {
    background: var(--light-color) !important;
}

[data-theme="dark"] .info-box h3,
[data-theme="dark"] .list-styled li,
[data-theme="dark"] .info-item,
[data-theme="dark"] .info-item strong {
    color: var(--text-color) !important;
}

[data-theme="dark"] .itinerary-item h4,
[data-theme="dark"] .itinerary-item p {
    color: var(--text-color) !important;
}

[data-theme="dark"] .tour-card-content p {
    color: #b0b0b0 !important;
}

[data-theme="dark"] .booking-card p,
[data-theme="dark"] .booking-card h4,
[data-theme="dark"] .booking-card span[style*="color: #666"] {
    color: #b0b0b0 !important;
}

[data-theme="dark"] .price-tag span {
    color: #b0b0b0 !important;
}

[data-theme="dark"] .section-title h2 {
    color: var(--text-color) !important;
}

[data-theme="dark"] .section-title p {
    color: #b0b0b0 !important;
}

[data-theme="dark"] .about-text h3,
[data-theme="dark"] .about-text p {
    color: var(--text-color) !important;
}

[data-theme="dark"] .tour-card,
[data-theme="dark"] .blog-card {
    background: var(--card-bg) !important;
}

[data-theme="dark"] .tour-card-content h3,
[data-theme="dark"] .blog-card-content h3 {
    color: var(--text-color) !important;
}

[data-theme="dark"] .tour-card-content p,
[data-theme="dark"] .blog-card-content p {
    color: #b0b0b0 !important;
}

[data-theme="dark"] .tour-meta,
[data-theme="dark"] .tour-meta span,
[data-theme="dark"] .blog-meta,
[data-theme="dark"] .blog-meta span {
    color: #b0b0b0 !important;
}

[data-theme="dark"] .tour-price {
    color: var(--primary-color) !important;
    border-top-color: var(--border-color) !important;
}

[data-theme="dark"] .blog-category {
    background: var(--primary-color) !important;
    color: white !important;
}

[data-theme="dark"] .tour-card:hover,
[data-theme="dark"] .blog-card:hover {
    box-shadow: 0 8px 25px rgba(84, 175, 50, 0.3) !important;
}

[data-theme="dark"] .article-header {
    background: var(--card-bg) !important;
    border-bottom-color: var(--border-color) !important;
}

/* ===== CORRECTIONS PAGE CONTACT MODE SOMBRE ===== */

[data-theme="dark"] .contact-title {
    color: var(--text-color) !important;
}

[data-theme="dark"] .contact-subtitle {
    color: #b0b0b0 !important;
}

[data-theme="dark"] .contact-info-card {
    background: var(--card-bg) !important;
    box-shadow: var(--shadow-md) !important;
}

[data-theme="dark"] .contact-info-item strong {
    color: var(--text-color) !important;
}

[data-theme="dark"] .contact-detail {
    color: #b0b0b0 !important;
}

[data-theme="dark"] .contact-form {
    background: transparent !important;
}

[data-theme="dark"] .form-group label {
    color: var(--text-color) !important;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
    background: var(--card-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: #666 !important;
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus,
[data-theme="dark"] .form-group select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(84, 175, 50, 0.2) !important;
}

[data-theme="dark"] .faq-section {
    background: var(--light-color) !important;
}

[data-theme="dark"] .faq-item {
    background: var(--card-bg) !important;
    box-shadow: var(--shadow-sm) !important;
}

[data-theme="dark"] .faq-question {
    color: var(--text-color) !important;
}

[data-theme="dark"] .faq-answer {
    color: #b0b0b0 !important;
}

/* Social Media Card en mode sombre */
[data-theme="dark"] .social-media-card {
    background: var(--primary-color) !important;
}

[data-theme="dark"] .social-media-card h3 {
    color: white !important;
}

[data-theme="dark"] .social-icon {
    background: white !important;
    color: var(--primary-color) !important;
}

[data-theme="dark"] .social-icon:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: scale(1.05);
}

[data-theme="dark"] .alert-success {
    background: rgba(40, 167, 69, 0.2) !important;
    color: #4caf50 !important;
    border-color: rgba(40, 167, 69, 0.3) !important;
}

[data-theme="dark"] .alert-error {
    background: rgba(220, 53, 69, 0.2) !important;
    color: #ff6b6b !important;
    border-color: rgba(220, 53, 69, 0.3) !important;
}

/* ===== CORRECTIONS PAGE CONTACT MODE CLAIR ===== */

/* Assurer que les couleurs sont correctes en mode clair */
.contact-title {
    color: var(--dark-color);
}

.contact-subtitle {
    color: #666;
}

.contact-info-card {
    background: var(--card-bg);
    box-shadow: var(--shadow-md);
}

.contact-info-item strong {
    color: var(--dark-color);
}

.contact-detail {
    color: #666;
}

.faq-section {
    background: #f9f9f9;
}

.faq-item {
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    color: var(--dark-color);
}

.faq-answer {
    color: #666;
}

.social-media-card {
    background: var(--primary-color);
}

.social-media-card h3 {
    color: white;
}

.social-icon {
    background: white;
    color: var(--primary-color);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

/* ===== CORRECTIONS PAGE TOUR-DETAIL MODE SOMBRE ===== */

[data-theme="dark"] .tour-detail-section {
    background: var(--bg-color) !important;
}

[data-theme="dark"] .tour-main {
    background: transparent !important;
}

[data-theme="dark"] .tour-section-title {
    color: var(--text-color) !important;
}

[data-theme="dark"] .tour-text {
    color: #b0b0b0 !important;
}

[data-theme="dark"] .tour-hero-meta span {
    color: white !important;
}

[data-theme="dark"] .itinerary-item {
    border-bottom-color: var(--border-color) !important;
}

[data-theme="dark"] .itinerary-title {
    color: var(--text-color) !important;
}

[data-theme="dark"] .itinerary-description {
    color: #b0b0b0 !important;
}

[data-theme="dark"] .itinerary-time {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .includes-title,
[data-theme="dark"] .tour-includes-section h3 {
    color: var(--text-color) !important;
}

[data-theme="dark"] .list-styled li {
    color: var(--text-color) !important;
}

[data-theme="dark"] .info-box {
    background: var(--light-color) !important;
}

[data-theme="dark"] .info-box-title,
[data-theme="dark"] .info-box h3 {
    color: var(--text-color) !important;
}

[data-theme="dark"] .info-item {
    color: var(--text-color) !important;
}

[data-theme="dark"] .info-item strong {
    color: var(--text-color) !important;
}

[data-theme="dark"] .booking-card {
    background: var(--card-bg) !important;
    box-shadow: var(--shadow-md) !important;
}

[data-theme="dark"] .price-tag {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .price-per-person {
    color: #b0b0b0 !important;
}

[data-theme="dark"] .btn-outline-booking {
    background: transparent !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

[data-theme="dark"] .btn-outline-booking:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

[data-theme="dark"] .booking-contact-info {
    border-top-color: var(--border-color) !important;
}

[data-theme="dark"] .booking-contact-title {
    color: var(--text-color) !important;
}

[data-theme="dark"] .booking-contact-detail {
    color: #b0b0b0 !important;
}

[data-theme="dark"] .related-tours-section {
    background: var(--card-bg) !important;
}

[data-theme="dark"] .gallery-grid {
    gap: 1rem;
}

[data-theme="dark"] .gallery-image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.theme-toggle {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.3rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: rotate(20deg);
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: none;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* ===== LOGO THEME SWITCH ===== */
.logoimg {
    width: 275px;
    height: 58px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo-dark {
    display: none;
}

[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

[data-theme="dark"] .footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
    background: rgba(230, 126, 34, 0.1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, rgba(84, 175, 50, 0.9), rgba(46, 125, 50, 0.95));
    color: white;
    padding: 1rem 0 1rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Dark theme: white outline for contrast on dark backgrounds */
[data-theme="dark"] .btn-outline {
    border: 2px solid white;
    color: white;
}

[data-theme="dark"] .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-success {
    background: #28a745;
}

.btn-success:hover {
    background: #218838;
}

.btn-warning {
    background: #ffc107;
    color: #333;
}

.btn-warning:hover {
    background: #e0a800;
}

.btn-danger {
    background: #dc3545;
}

.btn-danger:hover {
    background: #c82333;
}

/* ===== SECTIONS ===== */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

/* ===== TOURS GRID ===== */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.tour-card {
    background: white;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Clickable tour card */
.tour-card-clickable {
    position: relative;
    cursor: pointer;
}

.tour-card-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.tour-card-clickable .tour-card-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.tour-card-clickable .tour-card-book-btn {
    pointer-events: auto;
    position: relative;
    z-index: 3;
}

.tour-card-clickable .tour-card-actions {
    display: flex;
    justify-content: center;
}

[data-theme="dark"] .tour-card-clickable:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.tour-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.tour-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
}

.tour-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.tour-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
    flex-wrap: wrap;
}

.tour-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.tour-card-content p {
    color: #666;
    flex: 1;
    margin-bottom: 1rem;
}

.tour-price {
    margin-top: auto;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.tour-card-content .btn {
    margin-top: 1rem;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.8;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ===== CONTACT FORM ===== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-icon {
    display: inline-block;
    width: 20px;
    text-align: center;
    margin-right: 0.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/page-header.jpg') center/cover;
    padding: 4rem 0;
    color: white;
    text-align: center;
}

/* ===== TOUR DETAIL ===== */
.tour-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.tour-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.0));
}

.tour-hero-content {
    position: relative;
    z-index: 1;
    color: white;
    padding: 2rem 0;
}

.tour-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.tour-main {
    background: white;
}

.tour-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.booking-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.price-tag {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-box {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.info-box h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.itinerary-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.itinerary-time {
    font-weight: bold;
    color: var(--primary-color);
    min-width: 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-image:hover {
    transform: scale(1.05);
}

.gallery-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.list-styled {
    list-style: none;
    padding: 0;
}

.list-styled li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.list-styled li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.list-not-included li:before {
    content: "✗";
    color: #e74c3c;
}

/* ===== BLOG ===== */
.blog-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.blog-category {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 1rem;
}

/* ===== ARTICLE PAGE ===== */
.article-header {
    background: white;
    padding: 3rem 0;
    border-bottom: 1px solid #eee;
}

.article-content {
    max-width: 800px;
    margin: 3rem auto;
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-content h2 {
    color: var(--dark-color);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.article-content h3 {
    color: var(--dark-color);
    margin: 1.5rem 0 0.75rem;
    font-size: 1.4rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: #444;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.article-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    color: #666;
    margin-top: 1rem;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.tag {
    background: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--dark-color);
}

/* ===== LIGHTBOX CARROUSEL ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 50px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    z-index: 10001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 40px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    border-radius: 5px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* ===== ALERTS ===== */
.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Extra Small Devices (Petits téléphones, moins de 480px) */
@media (max-width: 479px) {
    .container {
        padding: 0 15px;
    }
    
    .logoimg {
        width: 200px;
        height: 42px;
    }
    
    .hero {
        padding: 1rem 0 1rem;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .section-title p {
        font-size: 0.95rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .tour-card img {
        height: 200px;
    }
    
    .tour-card-content {
        padding: 1rem;
    }
    
    .tour-card-content h3 {
        font-size: 1.2rem;
    }
    
    .tour-meta {
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    
    .tour-price {
        font-size: 1.3rem;
    }
    
    .tour-hero {
        height: 300px;
    }
    
    .tour-hero-content h1 {
        font-size: 1.5rem;
    }
    
    .booking-card {
        padding: 1.5rem;
    }
    
    .price-tag {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-image img {
        height: 250px;
    }
    
    .itinerary-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .itinerary-time {
        min-width: auto;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 25px;
        padding: 0.5rem 0.8rem;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 35px;
    }
    
    .lightbox-counter {
        bottom: 10px;
        font-size: 0.8rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    /* Contact Page Responsive */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    [data-theme="dark"] .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .contact-form-wrapper,
    .contact-info-wrapper {
        width: 100%;
    }
    
    [data-theme="dark"] .contact-form-wrapper,
    [data-theme="dark"] .contact-info-wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .page-header h1 {
        font-size: 1.8rem !important;
    }
    
    .page-header p {
        font-size: 1rem !important;
    }
    
    .contact-title {
        font-size: 1.5rem !important;
    }
    
    .contact-subtitle {
        font-size: 0.9rem !important;
    }
    
    .contact-info-card {
        padding: 1.5rem !important;
    }
    
    .contact-info-item {
        margin-bottom: 1.2rem !important;
    }
    
    .contact-info-item strong {
        font-size: 0.95rem !important;
    }
    
    .contact-detail {
        font-size: 0.9rem !important;
        margin-left: 2.5rem !important;
    }
    
    .social-media-card {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .social-media-card h3 {
        font-size: 1.2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .social-media-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
    }
    
    [data-theme="dark"] .social-media-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
    }
    
    .social-icon {
        padding: 0.8rem !important;
        font-size: 1.2rem !important;
    }
    
    .social-icon svg {
        width: 24px !important;
        height: 24px !important;
    }
    
    .social-icon span {
        font-size: 0.7rem !important;
    }
    
    .faq-section {
        padding: 3rem 0 !important;
    }
    
    .faq-item {
        padding: 1.2rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .faq-question {
        font-size: 1rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .faq-answer {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 0.95rem !important;
    }
    
    .form-group label {
        font-size: 0.95rem !important;
    }
}

/* Small Devices (Téléphones, 480px à 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .logoimg {
        width: 220px;
        height: 46px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
    }
    
    .tour-card img {
        height: 220px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contact Page */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    [data-theme="dark"] .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        width: 100%;
    }

    .page-header h1 {
        font-size: 2rem !important;
    }
    
    .page-header p {
        font-size: 1.1rem !important;
    }
    
    .contact-title {
        font-size: 1.6rem !important;
    }
    
    .contact-subtitle {
        font-size: 1rem !important;
    }
    
    .contact-info-card {
        padding: 1.8rem !important;
    }
    
    .social-media-card {
        padding: 1.8rem !important;
    }
    
    .social-media-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
    }
    
    .social-icon {
        padding: 1rem !important;
    }
    
    .social-icon svg {
        width: 26px !important;
        height: 26px !important;
    }
    
    .social-icon span {
        font-size: 0.75rem !important;
    }
    
    .faq-section {
        padding: 3.5rem 0 !important;
    }
    
    .faq-item {
        padding: 1.4rem !important;
    }
    
    .faq-question {
        font-size: 1.1rem !important;
    }
    
    .faq-answer {
        font-size: 0.95rem !important;
    }
}

/* Medium Devices (Tablettes, 768px à 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-sm);
    }
    
    nav ul.active {
        left: 0;
    }
    
    .logoimg {
        width: 240px;
        height: 50px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tour-content {
        grid-template-columns: 1fr;
    }
    
    .tour-sidebar {
        position: static;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Contact Page - 2 colonnes à partir de 768px */
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    [data-theme="dark"] .contact-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2.5rem !important;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        width: 100%;
    }

    .social-media-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
    }

    .contact-info-card {
        padding: 2rem !important;
    }

    .social-media-card {
        padding: 2rem !important;
    }

    .faq-item {
        padding: 1.5rem !important;
    }
}

/* Large Devices (Petits desktops, 992px à 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }

    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    nav ul {
        gap: 1.5rem;
    }

    nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.95rem;
    }
}

/* Extra Large Devices (Desktops, 1200px à 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
    .container {
        max-width: 1140px;
    }
    
    .tours-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* XXL Devices (Grands écrans, 1440px à 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .container {
        max-width: 1320px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero p {
        font-size: 1.4rem;
    }
}

/* Ultra Large Devices (4K, 1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    .hero {
        padding: 10rem 0 8rem;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero p {
        font-size: 1.5rem;
        max-width: 900px;
    }
    
    .section-title h2 {
        font-size: 3rem;
    }
    
    .tours-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .tour-card img {
        height: 300px;
    }
}

/* Responsive Menu pour mobile */
@media (max-width: 767px) {
    .menu-toggle {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-sm);
        overflow-y: auto;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
				opacity: 1;
        width: 100%;
    }
    
    nav a {
        display: block;
        padding: 1rem;
        width: 100%;
    }
    
    .tours-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .tour-content {
        grid-template-columns: 1fr;
    }
    
    .tour-sidebar {
        position: static;
    }
    
    .tour-includes-section {
        grid-template-columns: 1fr !important;
    }
}

/* Social Icon Hover Effects */
.social-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Amélioration des icônes SVG dans contact-info */
.contact-info-item svg {
    flex-shrink: 0;
}

/* Responsive iframe map */
@media (max-width: 767px) {
    .contact-info-wrapper iframe {
        height: 250px !important;
    }
}

/* Contact Grid - Assurer cohérence entre thèmes */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Style de base dark theme - les media queries gèrent le responsive */
[data-theme="dark"] .contact-grid {
    display: grid !important;
}

/* Assurer que les wrappers sont visibles */
.contact-form-wrapper,
.contact-info-wrapper {
    width: 100%;
    display: block;
}

[data-theme="dark"] .contact-form-wrapper,
[data-theme="dark"] .contact-info-wrapper {
    width: 100% !important;
    display: block !important;
}

/* Social Media Grid */
.social-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

[data-theme="dark"] .social-media-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
}

/* Transitions pour les éléments de contact */
.contact-info-card,
.social-media-card,
.faq-item {
    transition: var(--transition);
}

.contact-info-card:hover,
.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Amélioration du responsive pour les grandes tablettes */
@media (min-width: 992px) and (max-width: 1199px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    [data-theme="dark"] .contact-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2.5rem !important;
    }
    
    .contact-info-card {
        padding: 1.8rem;
    }
    
    .social-media-card {
        padding: 1.8rem;
    }
}

/* Amélioration pour les écrans moyens-larges */
@media (min-width: 1200px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    [data-theme="dark"] .contact-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 3rem !important;
    }
    
    .social-media-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    [data-theme="dark"] .social-media-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* ===== MODAL DE RÉSERVATION AMÉLIORÉ ===== */

.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    visibility: hidden;
    opacity: 0;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.booking-modal.active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    animation: fadeIn 0.3s ease;
}

.booking-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.booking-modal-container {
    position: relative;
    background: var(--card-bg);
    border-radius: 20px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: modalSlideUp 0.4s ease;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.booking-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.booking-modal-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

/* Progress Bar */
.booking-progress-bar {
    background: var(--primary-color);
    padding: 1rem 1.5rem 1.25rem;
}

.progress-track {
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: white;
    border-radius: 2px;
    width: 33.33%;
    transition: width 0.4s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.progress-step.active,
.progress-step.completed {
    opacity: 1;
}

.step-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.progress-step.active .step-icon {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.progress-step.completed .step-icon {
    background: white;
    color: var(--primary-color);
}

.progress-step span:last-child {
    font-size: 0.75rem;
    color: white;
    font-weight: 500;
}

/* Tour Header */
.booking-tour-header {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--light-color);
    border-bottom: 1px solid var(--border-color);
}

.tour-header-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.tour-header-info {
    flex: 1;
    min-width: 0;
}

.tour-header-info h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tour-header-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.tour-header-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.price-amount {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-label {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
}

/* Modal Body */
.booking-modal-body {
    overflow-y: auto;
    flex: 1;
}

.booking-form {
    padding: 0;
}

.booking-step {
    display: none;
    padding: 1.5rem;
}

.booking-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.step-header {
    margin-bottom: 1.5rem;
}

.step-header h2 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.step-header p {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.field-icon {
    font-size: 1rem;
}

.optional {
    font-weight: 400;
    opacity: 0.6;
    font-size: 0.8rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95rem;
    background: var(--bg-color);
    color: var(--text-color);
    transition: all 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(84, 175, 50, 0.1);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #999;
}

.field-error {
    font-size: 0.8rem;
    color: #e74c3c;
    margin-top: 0.25rem;
    display: none;
}

/* Calendar */
.calendar-container {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-month-year {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.calendar-nav {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--light-color);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.calendar-nav:hover {
    background: var(--primary-color);
    color: white;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 0.5rem;
}

.calendar-weekdays span {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-color);
    opacity: 0.6;
    padding: 0.5rem 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-color);
    background: transparent;
    border: none;
}

.calendar-day:hover:not(.disabled):not(.selected) {
    background: var(--light-color);
}

.calendar-day.today {
    font-weight: 600;
    border: 2px solid var(--primary-color);
}

.calendar-day.selected {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.calendar-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-day.other-month {
    opacity: 0.3;
}

/* Selected Date Display */
.selected-date-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 10px;
    margin-bottom: 1.25rem;
}

.selected-date-display .date-icon {
    font-size: 1.5rem;
}

.selected-date-display .date-text {
    font-size: 0.95rem;
    color: var(--text-color);
}

.selected-date-display.has-date {
    background: rgba(84, 175, 50, 0.1);
    border: 2px solid var(--primary-color);
}

.selected-date-display.has-date .date-text {
    font-weight: 600;
    color: var(--primary-color);
}

/* Travelers Selector */
.travelers-section {
    margin-bottom: 1.25rem;
}

.travelers-section > label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.travelers-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 12px;
}

.traveler-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-color);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.traveler-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.traveler-btn:active {
    transform: scale(0.95);
}

.traveler-count {
    text-align: center;
    min-width: 80px;
}

.count-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.count-label {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
}

/* Additional Options */
.additional-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Step Actions */
.step-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.btn-prev,
.btn-next {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-prev {
    background: var(--light-color);
    color: var(--text-color);
}

.btn-prev:hover {
    background: var(--border-color);
}

.btn-next {
    background: var(--primary-color);
    color: white;
    margin-left: auto;
}

.btn-next:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(84, 175, 50, 0.3);
}

/* Summary Card */
.booking-summary-card {
    background: var(--light-color);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.summary-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-row:last-of-type {
    border-bottom: none;
}

.summary-icon {
    font-size: 1.25rem;
    width: 32px;
    text-align: center;
}

.summary-info {
    flex: 1;
}

.summary-label {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    display: block;
}

.summary-info strong {
    font-size: 0.95rem;
    color: var(--text-color);
}

.summary-total {
    text-align: center;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px dashed var(--border-color);
}

.total-label {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.total-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.total-note {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
}

/* Terms Checkbox */
.terms-checkbox {
    margin-bottom: 1rem;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.custom-checkbox input {
    display: none;
}

.checkbox-mark {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: var(--bg-color);
}

.custom-checkbox input:checked + .checkbox-mark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.custom-checkbox input:checked + .checkbox-mark::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

.checkbox-text {
    font-size: 0.85rem;
    color: var(--text-color);
    line-height: 1.4;
}

.checkbox-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Booking Notice */
.booking-notice {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(84, 175, 50, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.notice-icon {
    font-size: 1.25rem;
}

.booking-notice p {
    font-size: 0.85rem;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
}

/* Submit Button */
.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    margin-left: auto;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(84, 175, 50, 0.4);
}

.btn-submit.loading .submit-text {
    display: none;
}

.btn-submit .submit-loading {
    display: none;
}

.btn-submit.loading .submit-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-reservar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.btn-reservar-icon {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 560px) {
    .booking-modal-container {
        max-height: 95vh;
        border-radius: 16px 16px 0 0;
        margin-top: auto;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-tour-header {
        padding: 1rem;
    }
    
    .tour-header-image {
        width: 60px;
        height: 60px;
    }
    
    .booking-step {
        padding: 1.25rem;
    }
    
    .step-actions {
        flex-direction: column-reverse;
    }
    
    .btn-prev, .btn-next, .btn-submit {
        width: 100%;
        justify-content: center;
    }
    
    .btn-next, .btn-submit {
        margin-left: 0;
    }
    
    .calendar-day {
        font-size: 0.8rem;
    }
    
    .travelers-selector {
        gap: 1rem;
    }
    
    .count-number {
        font-size: 1.75rem;
    }
}

/* Dark Mode */
[data-theme="dark"] .booking-modal-container {
    background: var(--card-bg);
}

[data-theme="dark"] .booking-modal-close {
    background: var(--light-color);
    color: var(--text-color);
}

[data-theme="dark"] .calendar-container {
    background: var(--card-bg);
}

[data-theme="dark"] .calendar-day:hover:not(.disabled):not(.selected) {
    background: var(--light-color);
}

[data-theme="dark"] .traveler-btn {
    background: var(--card-bg);
}

[data-theme="dark"] .step-header h2,
[data-theme="dark"] .booking-tour-header h3,
[data-theme="dark"] .calendar-month-year {
    color: var(--text-color) !important;
}
/* ===================================
   AMÉLIORATIONS HEADER - CUSCOATOUR
   VERSION V4.3 - Items collés en mobile
   À AJOUTER À LA FIN DU FICHIER styles.css
   Date: 2024-12-09
   =================================== */

/* ===== AMÉLIORATIONS HEADER (TOUTES LARGEURS) ===== */

/* Effet au scroll du header */
header.scrolled {
    box-shadow: 0 4px 20px rgba(84, 175, 50, 0.25);
}

/* Logo avec effet de profondeur */
.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logoimg {
    filter: drop-shadow(0 2px 8px rgba(84, 175, 50, 0.2));
    transition: all 0.3s ease;
}

.logo:hover .logoimg {
    filter: drop-shadow(0 4px 12px rgba(84, 175, 50, 0.35));
}

/* ===== THEME TOGGLE AMÉLIORÉ ===== */

.theme-toggle {
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(84, 175, 50, 0.3);
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 0 20px rgba(84, 175, 50, 0.4);
}

.theme-toggle:hover::before {
    opacity: 0.15;
}

/* ===== MENU HAMBURGER AMÉLIORÉ ===== */

.menu-toggle {
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(84, 175, 50, 0.1);
}

.menu-toggle span {
    background: var(--primary-color);
    box-shadow: 0 0 5px rgba(84, 175, 50, 0.3);
}

.menu-toggle:hover span {
    box-shadow: 0 0 10px rgba(84, 175, 50, 0.5);
}

/* Animation du menu hamburger actif */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== NAVIGATION DESKTOP UNIQUEMENT (>= 992px) ===== */

@media (min-width: 992px) {
    nav {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    nav ul {
        align-items: center;
        gap: 0.5rem;
    }

    nav a {
        position: relative;
        padding: 0.75rem 1.25rem;
        border-radius: 10px;
        overflow: hidden;
    }

    /* Fond vert subtil au survol */
    nav a::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(84, 175, 50, 0.15), rgba(70, 144, 40, 0.15));
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: -1;
        border-radius: 10px;
    }

    nav a:hover::before {
        opacity: 1;
    }

    /* Ligne verte animée sous le lien */
    nav a::after {
        content: '';
        position: absolute;
        bottom: 3px;
        left: 50%;
        width: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
        transform: translateX(-50%);
        transition: width 0.3s ease;
        border-radius: 2px;
        box-shadow: 0 0 8px rgba(84, 175, 50, 0.5);
    }

    nav a:hover::after {
        width: 70%;
    }

    /* Style du lien actif */
    nav a.active {
        color: var(--primary-color);
        background: rgba(84, 175, 50, 0.12);
        font-weight: 600;
    }

    nav a.active::after {
        width: 70%;
    }

    /* Effet pulsation pour lien actif */
    @keyframes pulse-green {
        0%, 100% {
            box-shadow: 0 0 0 0 rgba(84, 175, 50, 0.3);
        }
        50% {
            box-shadow: 0 0 0 8px rgba(84, 175, 50, 0);
        }
    }

    nav a.active {
        animation: pulse-green 2s ease-in-out infinite;
    }

    nav a.active:hover {
        background: rgba(84, 175, 50, 0.2);
        transform: translateY(-2px);
    }
}

/* ===== MENU MOBILE UNIQUEMENT (< 768px) - ITEMS COLLÉS ===== */

@media (max-width: 767px) {
    /* Container du menu */
    nav ul {
        gap: 0;
    }
    
    /* Assurer que les items sont toujours visibles */
    nav ul li {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    /* Liens du menu mobile - COLLÉS avec padding réduit */
    nav a {
        padding: 0.875rem 1.5rem !important;  /* Réduit : 14px au lieu de 20px */
        border-bottom: 1px solid var(--border-color);
        transition: background 0.2s ease;
        display: block;
        width: 100%;
        text-align: left;
    }
    
    nav li:last-child a {
        border-bottom: none;
    }
    
    /* Supprimer les effets desktop */
    nav a::before,
    nav a::after {
        display: none !important;
    }
    
    /* Lien actif en mobile */
    nav a.active {
        background: rgba(84, 175, 50, 0.1);
        color: var(--primary-color);
        font-weight: 600;
        border-left: 4px solid var(--primary-color);
        padding-left: calc(1.5rem - 4px) !important;
        animation: none !important;
    }
    
    /* Hover en mobile */
    nav a:hover {
        background: rgba(84, 175, 50, 0.08);
    }
    
    nav a.active:hover {
        background: rgba(84, 175, 50, 0.15);
    }
}

/* ===== ZONE TABLETTE (768px-991px) - ITEMS COLLÉS ===== */

@media (min-width: 768px) and (max-width: 991px) {
    /* Container du menu */
    nav ul {
        gap: 0;
    }
    
    /* Assurer visibilité des items */
    nav ul li {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    /* Style des liens en mode tablette - COLLÉS */
    nav a {
        padding: 0.875rem 1.5rem !important;  /* Même padding qu'en mobile */
        border-bottom: 1px solid var(--border-color);
        transition: background 0.2s ease;
        display: block;
        width: 100%;
        text-align: left;
    }
    
    nav li:last-child a {
        border-bottom: none;
    }
    
    /* Pas d'effets desktop en tablette */
    nav a::before,
    nav a::after {
        display: none !important;
    }
    
    /* Lien actif simple pour tablette */
    nav a.active {
        background: rgba(84, 175, 50, 0.1);
        color: var(--primary-color);
        font-weight: 600;
        border-left: 4px solid var(--primary-color);
        padding-left: calc(1.5rem - 4px) !important;
        animation: none !important;
    }
    
    nav a:hover {
        background: rgba(84, 175, 50, 0.08);
    }
    
    nav a.active:hover {
        background: rgba(84, 175, 50, 0.15);
    }
}

/* ===== MODE SOMBRE ===== */

[data-theme="dark"] header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .logoimg {
    filter: drop-shadow(0 2px 8px rgba(84, 175, 50, 0.3));
}

[data-theme="dark"] .logo:hover .logoimg {
    filter: drop-shadow(0 4px 12px rgba(84, 175, 50, 0.5));
}

[data-theme="dark"] .theme-toggle {
    border-color: rgba(84, 175, 50, 0.4);
}

[data-theme="dark"] .theme-toggle:hover {
    box-shadow: 0 0 25px rgba(84, 175, 50, 0.5);
}

[data-theme="dark"] .menu-toggle span {
    background: var(--primary-color);
}

@media (min-width: 992px) {
    [data-theme="dark"] nav a::before {
        background: linear-gradient(135deg, rgba(84, 175, 50, 0.2), rgba(70, 144, 40, 0.2));
    }

    [data-theme="dark"] nav a.active {
        background: rgba(84, 175, 50, 0.15);
    }

    [data-theme="dark"] nav a.active:hover {
        background: rgba(84, 175, 50, 0.25);
    }
}

/* Mode sombre pour menu mobile et tablette */
@media (max-width: 991px) {
    [data-theme="dark"] nav ul {
        background: var(--card-bg);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    [data-theme="dark"] nav a {
        border-bottom-color: var(--border-color);
    }

    [data-theme="dark"] nav a.active {
        background: rgba(84, 175, 50, 0.15);
        border-left-color: var(--primary-color);
    }

    [data-theme="dark"] nav a:hover {
        background: rgba(84, 175, 50, 0.12);
    }

    [data-theme="dark"] nav a.active:hover {
        background: rgba(84, 175, 50, 0.2);
    }
}

/* Desktop mode dark - PAS de fond sur le menu */
@media (min-width: 992px) {
    [data-theme="dark"] nav ul {
        background: transparent !important;
        box-shadow: none !important;
    }
}

/* ===== ACCESSIBILITÉ ===== */

nav a:focus,
.theme-toggle:focus,
.menu-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Réduire les animations pour utilisateurs qui préfèrent */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
