/* ===================================
   ÂNES-OK - Modern Website Styles
   Colors: Magenta (#E91E63), Black, White
   Mobile-First Responsive Design
   =================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #E91E63;
    --primary-dark: #C2185B;
    --primary-light: #F48FB1;
    --secondary-color: #212121;
    --dark-bg: #1a1a1a;
    --text-light: #ffffff;
    --text-dark: #3a3a3a;
    --gray: #757575;
    --light-gray: #f5f5f5;
    --tree-brown: #5D4037;

    --transition-speed: 0.3s;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.5;
    color: var(--text-dark);
    overflow-x: hidden;
    font-size: 16px;
}

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

/* Language Buttons */
.nav-languages {
    display: none;
    gap: 10px;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    transition: all var(--transition-speed) var(--transition-smooth);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.lang-btn.active {
    background: var(--text-light);
    color: var(--primary-color);
    border-color: var(--text-light);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 999;
    transition: transform var(--transition-speed) var(--transition-smooth);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
    display: block;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    position: relative;
    transition: color var(--transition-speed) var(--transition-smooth);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-speed) var(--transition-smooth);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

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

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all var(--transition-speed) var(--transition-smooth);
}

/* Mobile Menu Overlay */
@media (max-width: 767px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: transform 0.4s var(--transition-smooth);
        z-index: 998;
        gap: 40px;
    }

    .nav-menu.active {
        transform: translateX(0);
        display: flex;
    }

    .nav-menu a {
        color: var(--text-light);
        font-size: 28px;
        font-weight: 700;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s var(--transition-smooth);
    }

    .nav-menu.active a {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.active li:nth-child(1) a { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) a { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) a { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) a { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) a { transition-delay: 0.5s; }

    .nav-menu a::after {
        background: var(--text-light);
    }

    /* Language buttons in mobile menu */
    .nav-languages {
        display: flex;
        gap: 15px;
        margin-top: 20px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s var(--transition-smooth);
    }

    .nav-menu.active .nav-languages {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.6s;
    }

    .hamburger.active {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 999;
    }

    .hamburger.active span {
        background: var(--text-light);
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: #3d5c63;
    overflow: hidden;
    padding-top: 100px;
}

.hero-background {
    position: absolute;
    inset: -10px -50px;
    background-image: url('images/fond.png');
    background-size: auto;
    background-position: bottom center;
    background-repeat: repeat-x;
    animation: subtleMove 20s ease-in-out infinite;
}

@keyframes subtleMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
    animation: fadeInUp 1s var(--transition-smooth);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badges {
    display: none;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s var(--transition-smooth);
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(233, 30, 99, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(233, 30, 99, 0.4);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-speed) var(--transition-smooth);
}

.hero-badge:hover {
    background: rgba(233, 30, 99, 0.3);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.hero-logo {
    width: min(80vw, 400px);
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.2));
    animation: fadeInUp 1s var(--transition-smooth);
}

.hero-subtitle {
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 300;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-tagline {
    font-size: clamp(16px, 3.5vw, 19px);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 35px;
    opacity: 0.9;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    background: var(--text-light);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all var(--transition-speed) var(--transition-smooth);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: var(--text-light);
    opacity: 0.7;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(10px); opacity: 0.3; }
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-family: 'Titan One', cursive;
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* About Section */
.about {
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #555555;
    animation: fadeIn 1s var(--transition-smooth);
    text-align: center;
}

.about-text p:first-child {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

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

/* Pricing Section */
.pricing {
    /* Two declarations on purpose: browsers without image-set() keep the JPEG. */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/paysages_014.jpg');
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        image-set(url('images/paysages_014.avif') type('image/avif'),
                  url('images/paysages_014.jpg') type('image/jpeg'));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
}

.pricing .section-header h2 {
    color: var(--text-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto 30px;
}

.pricing-grid-secondary {
    max-width: 700px;
}

.price-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(233, 30, 99, 0.3);
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.price-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary-light);
    background: rgba(233, 30, 99, 0.15);
    box-shadow: 0 20px 50px rgba(233, 30, 99, 0.3);
}

.price-duration {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--primary-light);
    letter-spacing: 0.3px;
}

.price-amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -1px;
}

.pricing-info {
    max-width: 900px;
    margin: 50px auto 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(233, 30, 99, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.pricing-info p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 20px;
    padding-left: 25px;
    position: relative;
}

.pricing-info p::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: bold;
    font-size: 18px;
}

.pricing-info p:last-child {
    margin-bottom: 0;
}

/* Tours Section */
.tours {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1a25 50%, #1a1a1a 100%);
    color: var(--text-light);
    position: relative;
}

.tours::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(233, 30, 99, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.tours .section-header h2 {
    color: var(--text-light);
}

.tours-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.tours-content p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.95);
}

.tour-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    stroke-width: 2;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.feature p {
    font-weight: 600;
    color: var(--text-light);
}

/* Team Section */
.team {
    background: linear-gradient(to bottom, #fafafa 0%, #ffffff 100%);
    position: relative;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.team-intro {
    max-width: 850px;
    margin: 0 auto 60px;
    text-align: center;
    padding: 0 20px;
}

.team-intro p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #555555;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    max-width: 700px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    transition: transform var(--transition-speed) var(--transition-smooth);
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.2);
}

/* <picture> is inline by default: without this the img loses its 100% height
   and the circular crop collapses. */
.member-photo picture {
    display: block;
    width: 100%;
    height: 100%;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.team-member p {
    color: var(--gray);
    font-size: 16px;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: var(--text-light);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.contact .section-header h2 {
    color: var(--text-light);
}

.contact-grid {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 35px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    border-left: 5px solid var(--primary-color);
    transition: all var(--transition-speed) var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    stroke-width: 2;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-light);
    letter-spacing: -0.3px;
}

.contact-item p {
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-speed);
}

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

.contact-item a[href^="tel:"] {
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(233, 30, 99, 0.1);
    display: inline-block;
    margin: 3px 0;
    transition: all var(--transition-speed) var(--transition-smooth);
}

.contact-item a[href^="tel:"]:hover {
    background: rgba(233, 30, 99, 0.2);
    transform: translateX(5px);
}

/* Contact Map */
.contact-map {
    margin-top: 50px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(233, 30, 99, 0.3);
}

#map {
    width: 100%;
    height: 400px;
    z-index: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: var(--text-light);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-speed) var(--transition-smooth);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.6);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke-width: 3;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 40px 20px 20px;
}

.footer-partner {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-text {
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
}

.partner-logo {
    display: inline-block;
    transition: transform var(--transition-speed) var(--transition-smooth),
                opacity var(--transition-speed) var(--transition-smooth);
}

.partner-logo img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity var(--transition-speed) var(--transition-smooth);
}

.partner-logo:hover {
    transform: translateY(-3px);
}

.partner-logo:hover img {
    opacity: 1;
}

.footer-copyright {
    padding-top: 10px;
}

/* Mobile landscape and small tablets */
@media (min-width: 480px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Tablet & Desktop */
@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }

    .hamburger {
        display: none;
    }

    /* Hero badges on desktop only */
    .hero-badges {
        display: flex;
    }

    /* Hero centered on desktop */
    .hero {
        align-items: center;
        padding-top: 60px;
    }

    /* Language buttons on desktop */
    .nav-languages {
        display: flex;
        margin-left: 30px;
        padding-left: 30px;
        border-left: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-languages .lang-btn {
        border-color: var(--text-dark);
        color: var(--text-dark);
        padding: 6px 14px;
        font-size: 13px;
    }

    .nav-languages .lang-btn:hover {
        background: var(--light-gray);
    }

    .nav-languages .lang-btn.active {
        background: var(--primary-color);
        color: var(--text-light);
        border-color: var(--primary-color);
    }

    section {
        padding: 120px 0;
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .contact-info {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .back-to-top {
        bottom: 30px;
        right: 30px;
    }
}

/* Animations on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-smooth),
                transform 0.8s var(--transition-smooth);
}

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .language-switcher,
    .navbar,
    .scroll-indicator {
        display: none;
    }
}
