:root {
    /* Palette Ti Piment - Nature & Passion */
    --primary-red: #C62828;
    /* Deep Chili Red */
    --primary-orange: #FF5722;
    /* Vibrant Spice Orange */
    --accent-gold: #FFC107;
    /* Sun/Gold */

    --nature-green: #2E7D32;
    /* Lush Jungle Green */
    --nature-dark: #1B5E20;
    /* Deep Forest Green */

    --sand-light: #F1F8E9;
    /* Off-white Green tint */
    --cream: #FAFAFA;
    /* Pure Cream */
    --white: #FFFFFF;

    --text-dark: #263238;
    /* Charcoal */
    --text-light: #546E7A;
    /* Blue Grey */

    /* Mapping legacy variable names to new palette to avoid breaking other files */
    --turquoise: var(--primary-red);
    --turquoise-light: #F9FBE7;
    /* Light Lime/Sand Tint instead of Pink */
    --coral: var(--primary-orange);
    --coral-light: #FFECB3;
    /* Light Gold instead of Light Pink/Coral */
    --ocean: var(--nature-green);
    --ocean-deep: var(--nature-dark);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Navbar Luxury Tropical */
.navbar-luxury {
    background: rgba(27, 94, 32, 0.95);
    /* Deep Green background */
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-luxury .logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    /* White logo on dark green */
    text-decoration: none;
    letter-spacing: 1px;
}

.navbar-luxury .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    margin: 0 0.3rem;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.navbar-luxury .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-luxury .nav-link:hover::after {
    width: 70%;
}

.navbar-luxury .nav-link:hover {
    color: var(--white) !important;
}

/* Bouton Réserver dans la navbar */
.navbar-luxury .nav-link.btn-reserver {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange)) !important;
    color: white !important;
    padding: 0.6rem 1.8rem !important;
    border-radius: 50px;
    margin-left: 0.5rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(198, 40, 40, 0.3);
    transition: all 0.3s ease;
}

.navbar-luxury .nav-link.btn-reserver::after {
    display: none;
}

.navbar-luxury .nav-link.btn-reserver:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 40, 40, 0.5);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* Hero Section */
.hero-luxury {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

/* Hero Media Container */
.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Hero Slideshow */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Hero Video */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Poster image to hide video loading */
.hero-video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.hero-video-poster.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Hero Overlay - Warm & Darker for better text readability */
.hero-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(46, 125, 50, 0.3));
    /* Neutral dark with hint of nature */
    z-index: 1;
}

.hero-luxury::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

/* Slideshow Controls */
.hero-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
    align-items: center;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.active {
    background: var(--primary-red);
    /* Active indicator is Red */
    border-color: white;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(198, 40, 40, 0.6);
}

.hero-nav-btn {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.hero-nav-btn:hover {
    background: rgba(198, 40, 40, 0.8);
    /* Red hover */
    border-color: white;
    transform: scale(1.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-luxury h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.6);
    letter-spacing: 2px;
}

.hero-luxury .hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 2.5rem;
    color: #E0E0E0;
    text-transform: uppercase;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.6);
}

.divider-gold {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-orange));
    /* Red to Orange */
    margin: 2rem auto;
    box-shadow: 0 2px 10px rgba(198, 40, 40, 0.4);
}

/* Section Styling */
section {
    padding: 6rem 0;
}

@media (min-width: 992px) {
    section {
        padding: 7rem 0;
    }
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    color: var(--nature-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    font-weight: 300;
}

/* Luxury Cards - Tropical */
.card-luxury {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    background: var(--white);
    height: 100%;
}

.card-luxury:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.card-luxury .card-img-top {
    height: 320px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.card-luxury:hover .card-img-top {
    transform: scale(1.08);
}

.card-luxury .card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.card-luxury .card-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-luxury:hover .card-img-wrapper::after {
    opacity: 1;
}

.card-luxury .card-body {
    padding: 2.5rem;
}

.card-luxury .card-title {
    font-size: 2rem;
    color: var(--nature-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.card-luxury .card-text {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.card-luxury .card-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--nature-green);
}

.card-luxury .card-details i {
    color: var(--primary-red);
    margin-right: 0.5rem;
}

/* Buttons - Tropical Style */
.btn-luxury {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    /* Red to Orange */
    color: var(--white);
    border: none;
    padding: 1rem 2.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(198, 40, 40, 0.3);
}

.btn-luxury.btn-sm {
    padding: 0.7rem 2rem;
    font-size: 0.85rem;
}

.btn-luxury:hover {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(198, 40, 40, 0.4);
}

.btn-luxury-outline {
    background: transparent;
    color: var(--nature-green);
    border: 2px solid var(--primary-red);
    padding: 0.9rem 2.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    border-radius: 50px;
    text-decoration: none;
}

.btn-luxury-outline:hover {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
    text-decoration: none;
}

/* Alternate Background */
.bg-cream {
    background: linear-gradient(180deg, var(--sand-light), var(--cream));
}

.bg-ocean {
    background: linear-gradient(135deg, var(--nature-dark), var(--nature-green));
    /* Green Gradient */
    color: var(--white);
}

.bg-ocean .section-title {
    color: var(--white);
    /* Fix: White text on Green background */
}

.bg-ocean .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Reviews - Tropical */
.review-card-luxury {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.review-card-luxury:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transform: translateX(5px);
}

.review-card-luxury .review-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.review-card-luxury .review-author {
    font-weight: 600;
    color: var(--nature-dark);
}

.review-card-luxury .stars {
    color: var(--accent-gold);
    /* Gold stars */
    font-size: 1.2rem;
}

/* Contact Form - Tropical */
.form-luxury .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-luxury .form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(198, 40, 40, 0.15);
}

.form-luxury textarea.form-control {
    min-height: 180px;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--nature-dark), var(--nature-green));
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-info-card h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-info-card i {
    color: var(--accent-gold);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Footer - Tropical */
footer {
    background: linear-gradient(135deg, var(--nature-dark), var(--nature-green));
    color: var(--cream);
    padding: 4rem 0 2rem;
    border-top: 3px solid var(--primary-red);
}

footer .footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-luxury h1 {
        font-size: 3rem;
    }

    .hero-luxury .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .navbar-luxury .logo {
        font-size: 1.5rem;
    }

    .card-luxury {
        margin-bottom: 1rem;
    }

    .contact-info-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .hero-luxury h1 {
        font-size: 2.2rem;
    }

    .hero-luxury .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .btn-luxury,
    .btn-luxury-outline {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .card-text {
        font-size: 0.95rem;
    }
}