:root {
    --primary-red: #c0272d;
    --text-gray: #777;
    --light-gray: #f4f4f4;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: "Lato", sans-serif;
    color: #333;
    background: white;
    -webkit-text-size-adjust: 100%;
    /* Fix for iOS font scaling */
}

/* CONTAINER */
.container {
    max-width: 1150px;
    margin: auto;
    padding: 10px 20px;
}

/* HERO */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("assets/img/vaub.png") center/cover no-repeat;
    display: flex;
    flex-direction: column;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    transition: all 0.4s ease;
    background: #000;
    /* Solid Black by default for safety */
}

.navbar.scrolled {
    background: #000;
    /* Fully solid on scroll */
    padding: 15px 5%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 18px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-btn {
    color: var(--primary-red) !important;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.3s;
}

.lang-btn.active {
    text-decoration: underline;
    opacity: 1;
}

.lang-btn:hover {
    opacity: 0.7;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.hero-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-right: 0;
}

.hero-title-group h1 {
    font-family: "Playfair Display", serif;
    font-size: 9rem;
    font-weight: 700;
    letter-spacing: 12px;
    margin: 0;
    color: white;
    line-height: 1;
    animation: fadeInUp 1.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-divider {
    width: 120px;
    height: 1px;
    background: #c5a059;
    /* Sophisticated Gold */
    margin: 30px auto;
}

.hero-title-group p {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    font-weight: 400;
    margin: 0;
    color: white;
    letter-spacing: 3px;
    opacity: 0.9;
}

/* BOOKING BAR */
.booking-bar {
    background: white;
    max-width: 1100px;
    margin: -60px auto 40px;
    display: flex;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    z-index: 100;
    position: relative;
}

.weather-info {
    padding: 30px;
    border-right: 1px solid #eee;
    color: var(--primary-red);
    font-weight: bold;
    display: flex;
    gap: 20px;
}

.search-fields {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.field label {
    font-size: 0.65rem;
    color: #bbb;
    letter-spacing: 2px;
}

.field input {
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
}

.btn-search {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 25px 35px;
    font-weight: bold;
    cursor: pointer;
}

/* TEXT STYLES */
.subtitle {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #bbb;
    font-weight: bold;
}

.section-title {
    font-family: "Playfair Display", serif;
    font-size: 4rem;
    color: var(--primary-red);
    margin: 5px 0;
}

.section-header-main {
    text-align: left;
    margin: 30px auto 0px;
}

@media (max-width: 1024px) {

    .section-header-main,
    .expertise-section {
        text-align: center;
    }

    .section-title {
        font-size: 3rem;
    }

    .subtitle {
        display: block;
        text-align: center;
    }
}

.lead-text {
    font-size: 1.25rem;
    color: #888;
    line-height: 1.8;
}

.content-box {
    background: white;
    padding: 60px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.07);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.content-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.12);
}

/* DESTINATIONS GRID */
.destinations-layout,
.tours-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.main-dest-img,
.tours-image img {
    width: 100%;
    border: 12px solid white;
    box-shadow: 40px 40px 0px #f4f4f4;
}

/* SLIDER NAV */
.slider-nav-red {
    background: var(--primary-red);
    color: white;
    padding: 12px 25px;
    font-size: 0.85rem;
    display: inline-flex;
    gap: 15px;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.slider-nav-red.small {
    position: static;
    margin-top: 20px;
}

/* AMPERSAND */
.ampersand {
    font-size: 6rem;
    color: rgba(200, 200, 200, 0.3);
}

/* INSPIRATION GRID */
.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 60px;
}

.inspiration-card {
    background: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: 0.3s;
}

.inspiration-card:hover {
    transform: translateY(-10px);
}

.inspiration-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    padding: 15px 25px;
    border-top: 1px solid #eee;
}

.price {
    color: var(--primary-red);
    font-weight: bold;
}

.card-btn {
    display: block;
    text-align: center;
    background: var(--primary-red);
    color: white;
    padding: 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
}

.view-all-link {
    display: block;
    margin-top: 60px;
    text-align: center;
    color: var(--primary-red);
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 2px;
}

/* TESTIMONIAL */
.testimonial-banner {
    height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("assets/img/snf.jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.quote {
    font-size: 2rem;
    font-family: "Playfair Display", serif;
}

.author {
    letter-spacing: 3px;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* EXPERTISE SECTION */
.expertise-section {
    text-align: left;
}

/* FLOATING EXPERTISE BOX */
.expertise-box {
    margin-top: 70px;
    background: white;
    padding: 70px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);

    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: center;
}

/* PARTNERS SIDE */
.expertise-partners h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.6rem;
    margin-bottom: 35px;
    color: #222;
}

/* PARTNER LOGOS GRID */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.partners-grid img {
    width: 100%;
    max-width: 160px;
    padding: 20px;
    border: 1px solid #eee;
    background: #fafafa;
    transition: 0.3s ease;
}

.partners-grid img:hover {
    transform: scale(1.05);
}

/* PARTNER LOGOS GRID */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* UNIFORM LOGO BOX */
.partner-card {
    height: 140px;
    /* Increased height */
    background: transparent;
    /* PROPOSED CHANGE: Removed grey background */
    border: none;
    /* PROPOSED CHANGE: Removed border */

    display: flex;
    justify-content: center;
    align-items: center;

    transition: 0.3s ease;
    padding: 20px;
    /* Added padding */
}

/* LOGO INSIDE */
.partner-card img {
    max-height: 90px;
    /* Increased from 55px */
    max-width: 100%;
    /* Allow full width of card minus padding */
    object-fit: contain;
    opacity: 1;
    /* Removed transparency */
    filter: none;
    /* Removed grayscale */
}

/* HOVER EFFECT */
.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.partner-card:hover img {
    transform: scale(1.05);
    /* Slight zoom on hover instead of color shift */
}

/* STATS SIDE */
.expertise-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
    border-left: 1px solid #eee;
    padding-left: 50px;
}

.stat-item h4 {
    font-size: 3rem;
    font-family: "Playfair Display", serif;
    color: var(--primary-red);
    margin: 0;
}

.stat-item p {
    margin: 5px 0 0;
    font-size: 0.95rem;
    color: #777;
    letter-spacing: 1px;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .expertise-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 50px;
    }

    .expertise-stats {
        border-left: none;
        padding-left: 0;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .destinations-layout,
    .tours-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .inspiration-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

/* NOS FILIALES SECTION */
.filiales-section {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 40px;
}

.filiales-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3x3 */
    gap: 15px;
    /* Slightly tighter gap */
    margin-top: 30px;
    max-width: 900px;
    padding: 0 20px;
    margin-left: auto;
    margin-right: auto;
}

/* REDESIGNED EXPERTISE SECTION */
.expertise-container {
    background: white;
    padding: 70px;
    margin-top: 10px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
}

/* Partners - Full Grid (2 Lines) */
.partners-grid-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.partners-grid-full img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    transition: 0.4s ease;
}

.partners-grid-full img:hover {
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .partners-grid-full {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .partners-grid-full {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .partners-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* CONTACT & ADVANTAGES SECTION */
.contact-section {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
        url("assets/img/snf.jpg") center/cover no-repeat;
    /* Added Image */
    color: white;
    padding: 50px 0;
    /* Reduced padding (was 80px) */
    margin-top: 40px;
    /* Reduced from 100px */
}

.contact-container {
    padding: 0 40px;
    max-width: 1000px;
    margin: auto;
}

/* TOP ROW */
.contact-top {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 40px;
    /* Reduced margin (was 60px) */
    padding-bottom: 30px;
    /* Reduced padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-col h3 {
    font-size: 1.8rem;
    font-family: "Playfair Display", serif;
    margin-bottom: 20px;
    color: white;
}

.contact-col p {
    color: #ccc;
    font-size: 1rem;
    margin: 5px 0;
}

.contact-link {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.contact-link:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

/* CONSULTATION FORM */
.consultation-box {
    margin-bottom: 40px;
}

.consultation-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: white;
    font-family: "Playfair Display", serif;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row input,
.form-row select,
.form-row textarea {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    color: white;
    font-family: "Lato", sans-serif;
    border-radius: 4px;
}

.form-row select option {
    background: #333;
    /* Dark bg for dropdown options */
    color: white;
}

.form-row textarea {
    resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(255, 255, 255, 0.15);
}

.btn-submit {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 15px 30px;
    font-weight: bold;
    cursor: pointer;
    align-self: flex-start;
    border-radius: 4px;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-submit:hover {
    background: white;
    color: var(--primary-red);
}

/* SOCIALS */
.socials-box h3 {
    font-size: 1.5rem;
    color: white;
    font-family: "Playfair Display", serif;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.filiale-card {
    background: white;
    padding: 15px;
    /* Increased padding */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    /* Increased height just like partners */
    border: 1px solid #eee;
    cursor: pointer;
}

.filiale-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-red);
}

.filiale-card img {
    max-width: 90%;
    /* Much bigger */
    max-height: 90%;
    object-fit: contain;
}

.slider-arrow {
    background: #111;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.slider-arrow:hover {
    background: var(--primary-red);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: -20px;
}

.slider-arrow.next {
    right: -20px;
}

.slider-arrow svg {
    width: 20px;
    height: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: 0.3s;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-3px);
}

/* RESTORED CONSULTATION SECTION */
.consultation-section {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
        url("assets/img/snf.jpg") center/cover no-repeat;
    color: white;
    padding: 40px 0;
}

.consultation-container {
    max-width: 1000px;
    margin: auto;
    padding: 0 40px;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .contact-top,
    .advantages-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
}

.big-num {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-red);
    /* Stats are now RED */
    line-height: 1;
}

.stat-label {
    color: #888;
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
}

/* 8 STEPS TIMELINE */
.steps-section {
    text-align: center;
    margin-top: 40px;
}

.steps-title {
    font-family: "Playfair Display", serif;
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 50px;
}

.steps-timeline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    width: 120px;
}

.step-circle {
    width: 50px;
    height: 50px;
    border: 2px solid #e0c088;
    /* Gold-ish color */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #e0c088;
    font-size: 1.2rem;
    background: white;
    z-index: 2;
}

.step-label {
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #666;
    background: white;
    min-width: 90px;
}

.step-line {
    flex: 1;
    height: 1px;
    gap: 0;
}

.step-line {
    width: 1px;
    height: 30px;
    margin: 0;
}

.step-item {
    width: auto;
}

/* CONTACT INFO GRID (SIDE BY SIDE) */
.contact-info-grid {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
    /* allow wrapping on small screens */
}

.info-col {
    flex: 1;
    min-width: 300px;
}

.info-col h3 {
    font-size: 1.8rem;
    font-family: "Playfair Display", serif;
    margin-bottom: 15px;
    color: white;
}

.info-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 5px;
}

/* LINK & BUTTON STYLING */
.contact-link {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.contact-link:hover {
    color: var(--primary-red);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background-color: #25D366;
    color: white !important;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

/* STYLIZED ADVANTAGES SECTION */
.advantages-section-v2 {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.advantages-title-v2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
}

.advantages-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 50px;
}

.advantage-item-v2 {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 1rem;
}

.check-circle-v2 {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.check-circle-v2 svg {
    width: 14px;
    height: 14px;
    color: white;
}

@media (max-width: 768px) {
    .advantages-grid-v2 {
        grid-template-columns: 1fr;
    }
}

/* WELCOME SECTION */
.welcome-section {
    margin: 20px auto;
}

.welcome-box {
    display: flex;
    background: white;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    align-items: stretch;
    overflow: hidden;
}

.welcome-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.12);
}

.welcome-image-box {
    flex: 0 0 40%;
    /* Fixed 40% width for the image */
    min-height: 500px;
}

.welcome-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.welcome-content-box {
    flex: 1;
    padding: 60px;
    /* Reduced padding for tighter layout */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome-content-box h2 {
    font-size: 2.8rem;
    font-family: "Playfair Display", serif;
    color: #111;
    margin-bottom: 30px;
    text-align: left;
}

.welcome-content-box p {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

@media (max-width: 992px) {
    .welcome-box {
        flex-direction: column;
    }

    .welcome-content-box {
        padding: 40px 30px;
    }

    .welcome-image-box {
        min-height: 350px;
    }
}

/* ACCOMPANY SECTION */
.accompany-section {
    padding: 40px 0;
    background: #fff;
    text-align: center;
}

.accompany-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #111;
}

.accompany-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 40px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.accompany-item {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: default;
    padding: 10px;
    border-radius: 8px;
}

.accompany-item:hover {
    background: rgba(192, 39, 45, 0.03);
    transform: translateY(-2px);
}

.accompany-icon {
    width: 24px;
    height: 24px;
    color: #999;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.accompany-item:hover .accompany-icon {
    color: var(--primary-red);
    transform: scale(1.15);
}

.accompany-icon svg {
    width: 100%;
    height: 100%;
}

.accompany-text {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.accompany-item:hover .accompany-text {
    color: #000;
    font-weight: 600;
}

@media (max-width: 992px) {
    .accompany-grid {
        grid-template-columns: 1fr 1fr;
        padding: 0 40px;
    }
}

@media (max-width: 600px) {
    .accompany-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   RESPONSIVE OVERRIDES (MOBILE & TABLET)
   ============================================================ */

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2200;
    padding: 10px;
    margin-top: -8px;
    position: relative;
    /* Move slightly upwards to align better with logo */
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

/* Tablet (Large Mobile) */
@media (max-width: 1024px) {
    .hero-title-group h1 {
        font-size: 6rem;
        letter-spacing: 8px;
    }

    .hero-title-group p {
        font-size: 1.5rem;
    }

    .destinations-layout,
    .tours-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .destinations-layout .content-box,
    .tours-layout .content-box {
        order: 1;
    }

    .dest-image-wrapper,
    .tours-image {
        order: 2;
        max-width: 80%;
        margin: 0 auto;
    }

    .expertise-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .clients-column {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-right: 0;
        padding-bottom: 40px;
        text-align: center;
    }

    .expertise-section {
        text-align: center;
    }

    .stats-header h3 {
        text-align: center;
        width: 100%;
    }

    .stats-grid-clean {
        flex-direction: row;
        /* Single line on Tablet */
        justify-content: center;
        flex-wrap: nowrap;
        gap: 40px;
        margin-top: 20px;
    }

    .stat-clean {
        flex: 0 1 auto;
        text-align: center;
    }

    .big-num {
        font-size: 2.8rem;
        /* Slightly smaller for tablet one-line */
    }

    .filiales-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Keep 3x3 on Tablet/iPad */
        max-width: 800px;
        gap: 15px;
    }

    .collab-grid-large {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .nav-links {
        display: none;
        /* Hide by default on tablet if not active, but actually we use position fixed below */
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle span {
        background: white;
    }

    /* Animation for hamburger to X */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 0;
        width: 100%;
        height: 100vh;
        background: #000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        right: -100%;
        left: auto;
        transform: none;
        transition: right 0.4s ease;
        z-index: 2100;
        margin: 0;
        padding: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        font-size: 1.5rem;
        /* Larger font for mobile menu */
        font-weight: 600;
        letter-spacing: 2px;
    }

    .lang-selector {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 30px;
        margin-top: 10px;
        margin-left: 0;
        padding-left: 0;
    }

    .lang-btn {
        font-size: 1.2rem;
    }
}

/* Phones */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 15px 5%;
        background: rgba(0, 0, 0, 0.95);
        /* Solid on mobile too */
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
        z-index: 999;
    }

    .navbar.scrolled {
        background: #000;
        padding: 12px 5%;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .logo-img {
        height: 40px;
    }

    .hero {
        height: 100vh;
        width: 100%;
    }

    .hero-title-group h1 {
        font-size: 2.8rem;
        letter-spacing: 3px;
    }

    .hero-divider {
        margin: 15px auto;
        width: 50px;
    }

    .hero-title-group p {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .booking-bar {
        width: calc(100% - 30px);
        margin: -30px 15px 30px;
        border-radius: 8px;
        overflow: hidden;
    }

    .weather-info {
        padding: 20px;
        font-size: 0.9rem;
    }

    .search-fields {
        padding: 20px;
        gap: 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .subtitle {
        letter-spacing: 2px;
    }

    /* Fixed Image Shadows */
    .main-dest-img,
    .tours-image img {
        border: 5px solid white;
        box-shadow: 10px 10px 0px #eee;
        width: 100%;
        max-width: 100%;
    }

    .content-box,
    .expertise-container {
        padding: 25px 15px;
    }

    .ampersand {
        font-size: 3rem;
    }

    .accompany-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .accompany-grid {
        gap: 15px;
        padding: 0 10px;
    }

    .stats-grid-clean {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .stat-clean {
        text-align: center;
        min-width: 120px;
    }

    .filiales-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Keep 3x3 on Phone */
        max-width: 100%;
        gap: 10px;
    }

    .filiale-card {
        height: 100px;
        /* Shorter for phone */
        padding: 5px;
    }

    .collab-grid-large {
        grid-template-columns: 1fr;
        max-width: 450px;
        gap: 20px;
    }

    .contact-info-grid {
        margin-bottom: 30px;
    }

    .info-col h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .consultation-box {
        padding: 25px 15px;
    }

    .consultation-title {
        font-size: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .advantages-title-v2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title-group h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .subtitle {
        display: block;
        text-align: center;
    }

    .welcome-content-box h2,
    .accompany-title {
        text-align: center;
        font-size: 1.8rem;
    }

    .welcome-content-box p {
        text-align: center;
    }

    .filiales-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Strictly maintain 3x3 */
        max-width: 100%;
        gap: 8px;
    }

    .filiale-card {
        height: 80px;
        /* Tighter for tiny phones */
        padding: 5px;
        border-radius: 4px;
    }

    .nav-links {
        width: 100%;
    }

    /* Centering Experience/Stats */
    .expertise-section {
        text-align: center;
    }

    .clients-column h3,
    .stats-header h3 {
        text-align: center;
        width: 100%;
    }

    .partners-grid-clean {
        grid-auto-columns: calc(50% - 10px);
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-template-rows: repeat(2, 60px);
        gap: 20px;
        justify-items: center;
    }

    .partners-grid-clean img {
        height: 60px;
        /* Smaller for mobile grid */
    }

    .stats-grid-clean {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Centering Contact Info */
    .info-col {
        text-align: center;
    }

    .contact-link {
        display: block;
        margin: 5px 0;
    }

    /* Centering Consultation Form */
    .consultation-box {
        text-align: center;
    }

    .consultation-form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .form-row {
        width: 100%;
    }

    .form-row input,
    .form-row select,
    .form-row textarea {
        width: 100%;
        text-align: center;
    }

    .btn-submit {
        width: 100%;
    }

    .advantages-grid-v2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Center the list on the screen */
        gap: 15px;
    }

    .status-item-v2,
    .advantage-item-v2 {
        width: 100%;
        max-width: 300px;
        /* Constrain width to keep it looking like a centered block */
        justify-content: flex-start;
        /* Keep checkmarks aligned */
        text-align: left;
    }
}

/* COLLABORATORS LARGE GRID (NO BOXES) */
.collab-grid-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 1150px;
    /* Full container width */
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.collab-card-clean {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.collab-card-clean img {
    width: 100%;
    height: auto;
    /* Allow height to adapt to the image ratio */
    max-height: 480px;
    object-fit: contain;
    /* Show full image without cropping */
    display: block;
    background: #fff;
    /* Neutral background in case of letterboxing */
    transition: transform 0.6s ease;
}

.collab-card-clean:hover {
    transform: translateY(-10px);
}

.collab-card-clean:hover img {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .collab-card-clean img {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .collab-card-clean img {
        max-height: 350px;
    }
}

@media (max-width: 480px) {
    .collab-card-clean img {
        max-height: 300px;
    }
}

/* MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    /* Add max-height */
    overflow-y: auto;
    /* Allow internal scroll */
    border-radius: 15px;
    position: relative;
    padding: 50px;
    transform: translateY(30px);
    transition: transform 0.4s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.modal-panneau-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.modal-panneau-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Adjust close button for full image */
.modal-overlay.active .modal-close {
    z-index: 3100;
}


.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(255, 255, 255, 0.8);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    font-size: 2rem;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s;
    z-index: 3200;
}

.modal-close:hover {
    background: var(--primary-red);
    color: white;
    transform: rotate(90deg);
}


.modal-body {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.modal-image {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-image img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
}

.modal-info h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.modal-info p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 35px;
}

.modal-cta {
    display: inline-block;
}

/* RESPONSIVE MODAL */
@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .modal-content {
        padding: 40px 25px;
        width: 95%;
    }

    .modal-info h2 {
        font-size: 2rem;
    }
}

/* FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 2500;
    transition: all 0.3s ease;
}

.floating-whatsapp svg {
    width: 35px;
    height: 35px;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .floating-whatsapp svg {
        width: 30px;
        height: 30px;
    }
}