/*
Theme Name: Iris Madagascar FR
Theme URI: https://irismadagascar.com
Author: Iris Madagascar
Author URI: https://irismadagascar.com
Description: Thème WordPress Landing Page One-Page pour Iris Madagascar - Version française complète
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iris-madagascar-v2
Tags: one-page, travel, tourism, madagascar, landing-page
*/

/* ================================
   CSS VARIABLES & RESET
================================ */
:root {
    --primary-color: #7b5cff;
    --primary-dark: #6f4bff;
    --secondary-color: #9d85ff;
    --accent-color: #7b5cff;
    --text-dark: #1a1a1a;
    --text-light: #636e72;
    --white: #ffffff;
    --off-white: #f5f5fb;
    --gray-light: #ede9ff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   TYPOGRAPHY
================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* ================================
   BUTTONS
================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(123, 92, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(123, 92, 255, 0.4);
}

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

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

.btn-accent {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(123, 92, 255, 0.3);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(123, 92, 255, 0.4);
}

/* ================================
   TOP BAR
================================ */
.top-bar {
    background: var(--primary-dark);
    padding: 9px 0;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-contact a {
    color: rgba(255,255,255,0.88);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: var(--transition);
}

.top-bar-contact a:hover {
    color: var(--white);
}

.top-bar-contact i {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* séparateur entre les liens contact */
.top-bar-contact a + a::before {
    content: '|';
    color: rgba(255,255,255,0.25);
    margin-right: 20px;
    pointer-events: none;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-social a {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.top-bar-social a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-switcher img {
    width: 22px;
    height: 15px;
    border-radius: 2px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.language-switcher img:hover,
.language-switcher img.active {
    opacity: 1;
    transform: scale(1.15);
}

/* ================================
   HEADER & NAVIGATION
================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
}

/* Top bar : toujours visible, fond primaire */
.top-bar {
    background: var(--primary-dark);
    padding: 8px 0;
    font-size: 0.85rem;
    transition: all 0.4s ease;
}

.header.scrolled .top-bar {
    display: none;
}

/* Navbar transparente sur la vidéo */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    background: transparent;
    transition: all 0.4s ease;
}

/* Navbar opaque au scroll */
.header.scrolled .navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

.logo img {
    height: 60px;
    width: auto;
    transition: all 0.4s ease;
}

.header.scrolled .logo img {
    height: 50px;
}

/* Liens blancs sur la vidéo */
.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    padding: 6px 2px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
}

/* Liens sombres au scroll */
.header.scrolled .nav-menu a {
    color: var(--text-dark);
}

.header.scrolled .nav-menu a::after {
    background: var(--primary-color);
}

.header.scrolled .nav-menu a:hover,
.header.scrolled .nav-menu a.active {
    color: var(--primary-color);
}

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

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.header.scrolled .mobile-toggle span {
    background: var(--primary-color);
}

/* ================================
   HERO SECTION
================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
    padding-top: 100px;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 40px 20px;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content h1 span {
    color: var(--secondary-color);
}

.hero-content .tagline {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bounce 2s infinite;
}

.hero-scroll a {
    color: var(--white);
    font-size: 2rem;
}
.custom-logo-link img{
	width:60%
}

.hero-video-only {
    padding-top: 0;
    background: #000;
}

.hero-video-only .hero-overlay {
    background: rgba(0, 0, 0, 0.15);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-7px); }
}

/* ================================
   VOYAGE À MADAGASCAR SECTION
================================ */
.voyage-section {
    background: var(--white);
    padding: 100px 0;
}

.voyage-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.voyage-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.voyage-content h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.voyage-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-light);
}

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

.voyage-tagline {
    font-size: 1.05rem !important;
    color: var(--primary-dark) !important;
    font-style: italic;
    margin: 20px 0 !important;
}

.voyage-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

@media (max-width: 900px) {
    .voyage-grid {
        grid-template-columns: 1fr;
    }
    .voyage-image {
        order: -1;
    }
}

/* ================================
   SECTIONS COMMON
================================ */
section {
    padding: 100px 0;
}

section:nth-child(even) {
    /*background: var(--off-white);*/
}

/* ================================
   CIRCUITS SECTION
================================ */
.circuits-section {
    background: var(--white);
}

.circuits-section .container {
    max-width: 1600px;
}

.circuits-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.circuits-text p {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 18px;
    color: var(--text-light);
}

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

.circuits-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.circuits-photos img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.circuits-photos img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

@media (max-width: 768px) {
    .circuits-grid {
        grid-template-columns: 1fr;
    }
    .circuits-photos {
        grid-template-columns: repeat(3, 1fr);
    }
    .circuits-photos img {
        height: 140px;
    }
}

/* ================================
   CAR RENTAL SECTION
================================ */
.car-rental-section {
    background: var(--off-white);
}

.car-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: center;
}

.car-photo-card {
    text-align: center;
}

.car-photo-card img {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    border-radius: 12px;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow);
}

.car-photo-card p {
    margin-top: 15px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

@media (max-width: 700px) {
    .car-photos {
        grid-template-columns: 1fr;
    }
}

/* ================================
   BEACH SECTION
================================ */
.beach-section {
    background: var(--white);
}

.beach-section .container {
    max-width: 1600px;
}

.beach-photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.beach-photo img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.beach-photo img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

@media (max-width: 900px) {
    .beach-photos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .beach-photos {
        grid-template-columns: 1fr;
    }
}

/* ================================
   CONTACT + NOUS SECTION COMBINÉE
================================ */
.contact-nous-section {
    background: var(--off-white);
    padding: 100px 0;
}

.contact-nous-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 50px;
    align-items: start;
}

.about-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
    line-height: 1.3;
}

.contact-form-simple {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.contact-form-simple .form-group input,
.contact-form-simple .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--white);
    color: var(--text-dark);
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.contact-form-simple .form-group input:focus,
.contact-form-simple .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form-simple textarea {
    resize: vertical;
}

.form-submit-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 13px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
    letter-spacing: 0.5px;
}

.form-submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 92, 255, 0.35);
}

.form-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-col,
.about-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-availability {
    margin-bottom: 30px;
}

.contact-availability span {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    padding: 14px 35px;
    border-radius: 50px;
    letter-spacing: 2px;
    box-shadow: 0 6px 20px rgba(123, 92, 255, 0.35);
}

@media (max-width: 1024px) {
    .contact-nous-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .contact-nous-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   CONTACT SECTION (legacy kept)
================================ */
.contact-section {
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item-content a {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
}

.contact-item-content a:hover {
    color: var(--primary-color);
}

.contact-social {
    margin-top: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-paiement {
    margin-top: 30px;
}

.contact-paiement img {
    max-width: 220px;
    border-radius: 8px;
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   ABOUT SECTION
================================ */
.about-section {
    background: var(--white);
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
}

.about-badge .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.about-badge .text {
    display: block;
    font-size: 0.75rem;
    max-width: 100px;
    margin-top: 5px;
    line-height: 1.3;
}

.about-content {
    margin-top: 35px;
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-light);
}

.decouvrez-offres {
    margin-top: 35px;
    padding: 30px;
    background: var(--off-white);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.decouvrez-offres h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.decouvrez-offres ul {
    list-style: none;
    padding: 0;
}

.decouvrez-offres ul li {
    padding: 6px 0;
    color: var(--text-light);
    font-size: 1rem;
}

.decouvrez-offres ul li::before {
    content: '— ';
    color: var(--primary-color);
    font-weight: 700;
}

.decouvrez-offres ul li a {
    color: var(--text-light);
    transition: var(--transition);
}

.decouvrez-offres ul li a:hover {
    color: var(--primary-color);
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-badge {
        bottom: 10px;
        right: 10px;
    }
}

/* ================================
   LIENS SEO SECTION
================================ */
.liens-section {
    background: var(--primary-dark);
    padding: 60px 0;
}

.liens-colonnes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.liens-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.liens-col-titre {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    font-family: var(--font-main);
}

.lien-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: var(--transition);
}

.lien-item:hover {
    color: var(--white);
    padding-left: 5px;
}

@media (max-width: 900px) {
    .liens-colonnes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .liens-colonnes {
        grid-template-columns: 1fr;
    }
}

/* ================================
   TAILOR-MADE TOURS SECTION (legacy, kept for reference)
================================ */
.tours-section {
    background: var(--white);
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.tour-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.tour-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.tour-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tour-card-content {
    padding: 25px;
}

.tour-card-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
	font-size: 30px;
}

.tour-card-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.tour-features {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tour-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.tour-features i {
    color: var(--secondary-color);
}

/* ================================
   CAR RENTAL SECTION
================================ */
.car-rental-section {
    background: var(--off-white);
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.car-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.car-card-image {
    padding: 30px;
    background: linear-gradient(135deg, var(--gray-light), var(--white));
}

.car-card-image img {
    max-height: 180px;
    margin: 0 auto;
    transition: var(--transition);
}

.car-card:hover .car-card-image img {
    transform: scale(1.05);
}

.car-card-content {
    padding: 25px;
}

.car-card-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.car-specs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.car-specs span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.car-specs i {
    color: var(--secondary-color);
}

/* ================================
   BEACH HOLIDAYS SECTION
================================ */
.beach-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.beach-section .section-title h2 {
    color: var(--white);
}

.beach-section .section-title h2::after {
    background: var(--secondary-color);
}

.beach-section .section-title p {
    color: rgba(255, 255, 255, 0.85);
}

.beach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.beach-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
}

.beach-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.beach-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.beach-card-overlay h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.beach-card-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ================================
   ABOUT US SECTION
================================ */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.about-badge .number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    font-family: var(--font-heading);
}

.about-badge .text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
	    font-size: 43px;
}

.about-content p {
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.about-feature i {
    font-size: 2rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.about-feature h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.about-feature p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ================================
   SERVICES ICONS SECTION
================================ */
.services-icons {
    background: var(--off-white);
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.service-icon-card {
    padding: 40px 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-icon-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.service-icon-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-icon-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ================================
   CONTACT SECTION
================================ */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-item-content h4 {
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-item-content p,
.contact-item-content a {
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-item-content a:hover {
    color: var(--primary-color);
}

.contact-social {
    margin-top: 40px;
}

.contact-social h4 {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.contact-form {
    background: var(--off-white);
    padding: 40px;
    border-radius: 20px;
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition);
    background: var(--white);
}

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

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ================================
   FOOTER
================================ */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 40px 0 0;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 30px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-nav span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.payment-methods img {
    height: 45px;
    opacity: 0.7;
    transition: var(--transition);
}

.payment-methods img:hover {
    opacity: 1;
}

/* ================================
   AVAILABILITY BADGE
================================ */
.availability-badge {
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    margin-top: 20px;
}

.availability-badge i {
    font-size: 1.5rem;
}

/* ================================
   RESPONSIVE DESIGN
================================ */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-badge {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        justify-content: center;
        text-align: center;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 40px;
        gap: 25px;
        box-shadow: var(--shadow);
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .tours-grid,
    .car-grid,
    .beach-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .contact-form {
        padding: 25px;
    }

    .about-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        display: inline-block;
    }
}

/* ================================
   ANIMATIONS
================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ================================
   CUSTOM SCROLLBAR
================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ═══════════════════════════════════════════════════════════════════
   WOOCOMMERCE — Shop, Archive, Single Product
   ═══════════════════════════════════════════════════════════════════ */

/* Header fixe pour pages boutique */
.header-shop {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.header-shop .navbar { background: transparent; }
.header-shop .nav-menu a { color: var(--text-dark) !important; }
.header-shop .top-bar { background: var(--primary-color); }

/* Cart icon dans la nav */
.nav-cart { position: relative; font-size: 1.1rem; }
.cart-count {
    position: absolute;
    top: -8px; right: -10px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.65rem;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}
.header-shop .cart-count { background: var(--primary-color); }

/* Wrapper pages boutique */
.shop-page-wrapper {
    min-height: 70vh;
    padding: 40px 0 80px;
    background: var(--off-white);
}

.shop-page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-light);
}

/* Contrôles (résultats + tri) */
.shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}
.woocommerce-result-count {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}
.woocommerce-ordering select {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: #fff;
    cursor: pointer;
    outline: none;
}

/* Grille produits */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 40px !important;
}
@media (max-width: 1024px) { ul.products { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 768px)  { ul.products { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 480px)  { ul.products { grid-template-columns: 1fr !important; } }

/* Carte produit */
ul.products li.product {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    padding: 0 !important;
    margin: 0 !important;
}
ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(123,92,255,0.15);
}
ul.products li.product a img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center top;
    display: block;
}
ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 12px 16px 4px;
    margin: 0;
}
ul.products li.product .price {
    padding: 0 16px 12px;
    display: block;
}
ul.products li.product .price .woocommerce-Price-amount {
    color: var(--primary-color);
    font-weight: 700;
}
ul.products li.product .price del .woocommerce-Price-amount {
    color: #aaa;
    font-weight: 400;
}
ul.products li.product .button {
    display: block;
    margin: 0 16px 16px;
    padding: 10px;
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
ul.products li.product .button:hover { background: var(--primary-dark); }

/* Pagination */
.woocommerce-pagination ul {
    display: flex;
    gap: 8px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}
.woocommerce-pagination ul li .current,
.woocommerce-pagination ul li a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ── Single Product ─────────────────────────────────────────────── */

.woocommerce div.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
@media (max-width: 768px) {
    .woocommerce div.product { grid-template-columns: 1fr; gap: 30px; }
}

.woocommerce div.product div.images {
    position: sticky;
    top: 100px;
}
.woocommerce div.product div.images img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: contain;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background: #f8f8f8;
}

.woocommerce div.product div.summary .product_title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.woocommerce div.product p.price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.woocommerce div.product p.price del {
    color: #aaa;
    font-size: 1.1rem;
    margin-right: 8px;
}

.woocommerce div.product div.summary .woocommerce-product-details__short-description {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.woocommerce div.product form.cart .button,
.woocommerce .single_add_to_cart_button {
    background: var(--primary-color) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 35px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.woocommerce div.product form.cart .button:hover,
.woocommerce .single_add_to_cart_button:hover {
    background: var(--primary-dark) !important;
}

.woocommerce div.product .woocommerce-tabs {
    grid-column: 1 / -1;
    margin-top: 40px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 4px;
    list-style: none;
    padding: 0;
    border-bottom: 2px solid var(--gray-light);
    margin-bottom: 25px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-gray);
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px 8px 0 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Breadcrumb */
.woocommerce-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 25px;
}
.woocommerce-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 12px 20px;
    border-left: 4px solid var(--primary-color);
    background: rgba(123,92,255,0.06);
    color: var(--text-dark);
    list-style: none;
}
