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

:root {
    --black: #050505;
    --black-soft: #0b0b0b;
    --gold: #ffdb88;
    --gold-light: #ffdb80;
    --cream: #f4efe5;
    --muted: var(--text-muted);

    --bg: #050505;
    --bg-soft: #0b0b0b;
    --surface: #111111;
    --text: #f4efe5;
    --text-secondary: var(--text-secondary);
    --text-muted: var(--text-muted);
    --border: var(--border);
    --border-strong: var(--border-strong);
    --shadow: rgba(0, 0, 0, 0.3);
    --overlay: rgba(0, 0, 0, 0.5);
    --text-inverse: #f4efe5;
    --header-bg: rgba(5, 5, 5, 0.95);
    --header-bg-scrolled: rgba(5, 5, 5, 0.98);
    --input-bg: #3f3f3f;
}

[data-theme="light"] {
    --bg: #f8f6f1;
    --bg-soft: #ffffff;
    --surface: #ffffff;
    --text: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6b6b6b;
    --gold: #f5bc37;
    --gold-light: #ffd86e;
    --border: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.2);
    --shadow: rgba(0, 0, 0, 0.08);
    --overlay: rgba(0, 0, 0, 0.45);
    --header-bg: rgba(255, 255, 255, 0.95);
    --header-bg-scrolled: rgba(255, 255, 255, 0.98);
    --input-bg: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
}

/* Alert Messages */
.alert {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-align: center;
}

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

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

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

/* Header and Navigation */
header {
    background-color: var(--header-bg);
    color: var(--text);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: var(--header-bg-scrolled);
}

/* Page Header */
.page-header {
      background: linear-gradient(
            90deg,
            rgba(5,5,5,0.98) 0%,
            rgba(5,5,5,0.88) 38%,
            rgba(5,5,5,0.50) 70%,
            rgba(5,5,5,0.72) 100%
        ),
        url("../assets/img/chambre_triple_abajour.JPG")
        center / cover no-repeat;
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-inverse);
    padding: 2rem;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info, .contact-form {
    background: var(--bg-soft);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.contact-info h2, .contact-form h2 {
    color: var(--gold);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-map {
    position: relative;
    height: 320px;
    margin-top: 1.25rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.hotel-map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 64px;
    pointer-events: none;
    transform: translate(-50%, -100%);
    filter: drop-shadow(0 5px 6px rgba(0, 0, 0, 0.35));
}

.hotel-map-marker svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hotel-map-marker path {
    fill: var(--gold);
    stroke: #ffffff;
    stroke-width: 2;
}

.hotel-map-marker circle {
    fill: #050505;
}

.hotel-map-marker text {
    fill: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 700;
}

.map-directions {
    display: inline-block;
    margin-top: 0.9rem;
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
}

.map-directions:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-strong);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--input-bg);
    color: var(--text);
}

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

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.logo a {
    display: block;
    line-height: 0;
    text-decoration: none;
}

.logo img {
    display: block;
    width: auto;
    height: 72px;
    border-radius: 6px;
    object-fit: contain;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--gold);
    position: relative;
    transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

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

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-menu a.active {
    color: var(--gold);
    font-weight: bold;
}

.nav-menu .reservation-button,
.reservation-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.2rem;
    border-radius: 5px;
    background: var(--gold);
    color: #050505;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.nav-menu .reservation-button:hover,
.reservation-button:hover {
    background: var(--gold-light);
    color: #050505;
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-cta-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gold);
    font-size: 1.2rem;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.theme-toggle:hover {
    background: var(--gold);
    color: #050505;
    border-color: var(--gold);
}

.theme-icon {
    line-height: 1;
}

.theme-toggle .moon {
    display: none;
}

[data-theme="light"] .theme-toggle .sun {
    display: none;
}

[data-theme="light"] .theme-toggle .moon {
    display: inline;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text);
    padding: 2rem;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.video-background video,
.video-background 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;
    object-fit: cover;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-inverse);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-inverse);
}

/* Hotel Brief Section */
.hotel-brief {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;

    background: linear-gradient(
            90deg,
            rgba(5,5,5,0.98) 0%,
            rgba(5,5,5,0.88) 38%,
            rgba(5,5,5,0.50) 70%,
            rgba(5,5,5,0.72) 100%
        ),
        url("./assets/img/hotel_bleu_pearl_reception_0031.JPG");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Golden Glow for Hotel Brief */
.hotel-brief::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -220px;
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(
        circle,
        rgba(255,219,136,0.32) 0%,
        rgba(255,219,136,0.16) 22%,
        rgba(255,219,136,0.07) 45%,
        transparent 72%
    );
    filter: blur(25px);
    pointer-events: none;
    z-index: 1;
}

/* Decorative Gold Line for Hotel Brief */
.hotel-brief .gold-line {
    position: absolute;
    left: 6%;
    top: 12%;
    width: 1px;
    height: 76%;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--gold),
        transparent
    );
    opacity: 0.45;
}

.hotel-brief-container {
    position: relative;
    z-index: 3;
    width: min(1200px, 88%);
    margin: auto;
    padding: 80px 0;
    color: var(--text-inverse);
}

.hotel-brief .eyebrow {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    animation: fadeUp 1s ease forwards;
}

.hotel-brief .eyebrow span {
    display: block;
    width: 45px;
    height: 1px;
    background: var(--gold);
}

.hotel-brief h1 {
    max-width: 760px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(58px, 7vw, 110px);
    line-height: 0.88;
    font-weight: 400;
    letter-spacing: -2px;
    color: var(--text-inverse);
    margin-bottom: 35px;
    animation: fadeUp 1s ease 0.15s both;
    text-transform: uppercase;
}

.hotel-brief h1 strong {
    color: var(--gold-light);
    font-weight: 400;
    font-style: italic;
}

.hotel-brief .intro {
    max-width: 680px;
    font-size: 15px;
    line-height: 1.9;
    color: rgba(244, 239, 229, 0.8);
    font-weight: 300;
    margin-bottom: 45px;
    animation: fadeUp 1s ease 0.3s both;
}

.hotel-brief .cta {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 25px;
    color: var(--text-inverse);
    font-size: 11px;
    letter-spacing: 3px;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.4s ease;
    animation: fadeUp 1s ease 0.45s both;
}

.hotel-brief .cta-line {
    width: 65px;
    height: 1px;
    background: var(--gold);
    transition: 0.4s ease;
}

.hotel-brief .cta:hover {
    color: var(--gold-light);
}

.hotel-brief .cta:hover .cta-line {
    width: 100px;
}

.hotel-brief .side-label {
    position: absolute;
    right: 45px;
    bottom: 55px;
    z-index: 4;
    writing-mode: vertical-rl;
    font-size: 9px;
    letter-spacing: 5px;
    color: rgba(244,239,229,0.55);
    text-transform: uppercase;
}

/* activities preview */
.activities-preview {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.activities-preview__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
}

.activities-preview__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.activities-preview__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-inverse);
    padding: 2rem;
}

.activities-preview__content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--gold);
}

.activities-preview__content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: var(--text-inverse);
}

.activities-preview__content .cta-button {
    background-color: var(--gold);
    color: var(--bg);
}

.activities-preview__content .cta-button:hover {
    background-color: var(--gold-light);
}
/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.cta-button {
    background-color: var(--gold);
    color: #050505;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: var(--gold-light);
}

.hero-content .cta-button {
    background-color: var(--gold);
    color: #050505;
}

.hero-content .cta-button:hover {
    background-color: var(--gold-light);
}

/* Features Section */
.features {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    background: var(--bg-soft);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    text-align: center;
}

.feature h3 {
    color: var(--gold);
    margin-bottom: 1rem;
}

/* Feature with Image */
.feature-with-image {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    position: relative;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.feature-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
    width: 100%;
}

.feature-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease, filter 0.8s ease;
}

/* Cinematic Effect */
.feature-with-image:hover .feature-image {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.feature-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(5, 5, 5, 0.2) 40%,
        rgba(5, 5, 5, 0.6) 100%
    );
    z-index: 1;
    transition: background 0.8s ease;
}

.feature-with-image:hover .feature-image-wrapper::before {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(5, 5, 5, 0.1) 40%,
        rgba(5, 5, 5, 0.4) 100%
    );
}

.feature-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    transition: background 0.3s ease;
}

.feature-with-image:hover .feature-content {
    background: rgba(11, 11, 11, 0.95);
}

.feature-with-image .feature-content h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.feature-with-image:hover .feature-content h3 {
    color: var(--gold-light);
}

.feature-with-image .feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Discover Dakhla Section */
.discover-dakhla {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.discover-content h2 {
    color: var(--gold);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.discover-content > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.discover-features {
    list-style: none;
    margin-bottom: 2rem;
}

.discover-features li {
    padding: 0.8rem 0;
    color: var(--text-muted);
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.discover-features li:last-child {
    border-bottom: none;
}

.discover-features .icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.discover-image {
    width: min(100%, 480px);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
}

.discover-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-soft);
    padding: 5rem 2rem;
}

.testimonials-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.testimonials-header h2 {
    color: var(--gold);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.testimonials-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.testimonial-rating {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg);
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--text);
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--bg-soft), var(--bg));
    border-top: 1px solid var(--border);
    color: var(--text);
    padding: 5rem 2rem;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.newsletter-content > p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: var(--text);
}

.newsletter-form {
    margin-bottom: 1rem;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-group input[type="email"] {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--border-strong);
    border-radius: 5px;
    font-size: 1rem;
    background: var(--input-bg);
    color: var(--text);
}

.newsletter-button {
    background-color: var(--gold);
    color: #050505;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-button:hover {
    background-color: var(--gold-light);
}

.newsletter-note {
    font-size: 0.85rem;
    opacity: 0.8;
    color: var(--text-muted);
}

.status-page {
    position: relative;
    min-height: calc(100vh - 80px);
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 7rem 2rem 5rem;
    background: url('../assets/img/hotel_bleu_pearl_vue_global_003.jpg') center 42% / cover no-repeat;
    isolation: isolate;
}

.status-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.62)), radial-gradient(circle at 75% 30%, rgba(245, 188, 55, 0.2), transparent 35%);
}

.status-content {
    width: min(100%, 760px);
    text-align: center;
    color: #ffffff;
}

.status-eyebrow {
    display: block;
    margin-bottom: 1rem;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22rem;
    text-transform: uppercase;
}

.status-code {
    margin: 0;
    color: transparent;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(8rem, 24vw, 16rem);
    font-weight: 600;
    line-height: 0.68;
    letter-spacing: -0.6rem;
    -webkit-text-stroke: 2px var(--gold);
    text-shadow: 0 0 50px rgba(245, 188, 55, 0.22);
}

.status-content h1 {
    margin: 2rem 0 1rem;
    color: #ffffff;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.3rem, 6vw, 4.5rem);
    font-weight: 500;
    line-height: 1;
}

.status-description {
    max-width: 620px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.05rem;
    line-height: 1.8;
}

.status-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.status-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 5px;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.3s, background-color 0.3s;
}

.status-secondary-button:hover {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

.maintenance-page {
    min-height: 100vh;
    padding-top: 4rem;
}

.maintenance-content {
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(5, 5, 5, 0.72);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(12px);
}

.maintenance-logo {
    display: inline-block;
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 10px;
    line-height: 0;
}

.maintenance-logo img {
    display: block;
    width: min(100%, 320px);
    height: auto;
}

.maintenance-icon {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    height: 32px;
    margin-bottom: 1.5rem;
}

.maintenance-icon span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    animation: maintenancePulse 1.2s ease-in-out infinite;
}

.maintenance-icon span:nth-child(2) {
    animation-delay: 0.15s;
}

.maintenance-icon span:nth-child(3) {
    animation-delay: 0.3s;
}

.maintenance-note {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
}

@keyframes maintenancePulse {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.45;
    }
    50% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.legal-page {
    min-height: 70vh;
    padding: 5rem 2rem;
    background: var(--bg);
}

.legal-header {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.legal-header span {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}

.legal-header h1 {
    margin: 0.8rem 0;
    color: var(--text);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 500;
}

.legal-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content section {
    margin-bottom: 2.25rem;
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-soft);
}

.legal-content h2 {
    margin-bottom: 0.8rem;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.65rem;
    font-weight: 600;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.85;
}

.legal-content a {
    color: var(--gold);
}

/* Footer */
footer {
    background-color: var(--bg);
    color: var(--text);
    margin-top: 3rem;
    padding: 3rem 2rem 1.5rem;
    border-top: 1px solid var(--border);
}

[data-theme="dark"] footer {
    background-color: #373232;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-col h3 {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
}

.footer-logo {
    display: inline-block;
    line-height: 0;
}

.footer-logo img {
    display: block;
    height: 80px;
    width: auto;
    border-radius: 6px;
}

.footer-slogan {
    display: block;
    max-width: 320px;
    color: var(--gold);
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1.6rem, 4vw, 2rem);
    line-height: 1.2;
}

.footer-contact p,
.footer-contact a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--gold);
}

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

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

.footer-sitemap a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-sitemap a:hover {
    color: var(--gold);
}

.footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.footer-newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 0.7rem;
    border: 1px solid var(--border-strong);
    border-radius: 5px;
    background: var(--input-bg);
    color: var(--text);
    font: inherit;
}

.footer-newsletter-form button {
    padding: 0.7rem 1rem;
    border: 0;
    border-radius: 5px;
    background: var(--gold);
    color: #050505;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.footer-newsletter-form button:hover {
    background: var(--gold-light);
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.social-icon:hover,
.social-icon:focus-visible {
    background: var(--gold);
    color: #050505;
    transform: translateY(-3px) scale(1.1);
}

.social-icon.youtube {
    color: #ff0000;
}

.social-icon.youtube:hover,
.social-icon.youtube:focus-visible {
    background: #ff0000;
    color: #ffffff;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-preferences {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.preference-control {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.preference-control label {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.preference-control select {
    min-width: 130px;
    padding: 0.55rem 1.8rem 0.55rem 0.7rem;
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    background: var(--input-bg);
    color: var(--text);
    font: inherit;
    cursor: pointer;
}

.preference-control select:focus-visible,
.footer-newsletter-form input:focus-visible,
.footer-newsletter-form button:focus-visible,
.social-icon:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.whatsapp-widget {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
}

.whatsapp-chat {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 1rem;
    border: 0;
    border-radius: 999px;
    background: #25d366;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.whatsapp-chat svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.whatsapp-chat:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
}

.whatsapp-chat:focus-visible,
.whatsapp-close:focus-visible,
.whatsapp-form button:focus-visible,
.whatsapp-form textarea:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.whatsapp-panel {
    width: min(360px, calc(100vw - 3rem));
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-soft);
    color: var(--text);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transform-origin: bottom right;
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
}

.whatsapp-widget.active .whatsapp-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #075e54;
    color: #ffffff;
}

.whatsapp-panel-header div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.whatsapp-panel-header span {
    font-size: 0.78rem;
    opacity: 0.85;
}

.whatsapp-close {
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.whatsapp-panel-body {
    padding: 1rem;
}

.whatsapp-message {
    width: fit-content;
    max-width: 90%;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 4px 12px 12px 12px;
    background: var(--surface);
    color: var(--text);
    font-size: 0.9rem;
}

.whatsapp-form {
    display: grid;
    gap: 0.65rem;
}

.whatsapp-form label {
    font-size: 0.85rem;
    font-weight: 600;
}

.whatsapp-form textarea {
    width: 100%;
    resize: vertical;
    padding: 0.75rem;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text);
    font: inherit;
}

.whatsapp-form button {
    padding: 0.8rem;
    border: 0;
    border-radius: 8px;
    background: #25d366;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.whatsapp-form button:hover {
    background: #1ebe5d;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-col {
        align-items: center;
        text-align: center;
    }

    .footer-logo img {
        height: 64px;
    }

    .footer-slogan {
        max-width: 100%;
    }

    .footer-sitemap ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
    }

    .footer-sitemap li {
        margin-bottom: 0;
    }

    .footer-newsletter-form {
        width: min(100%, 360px);
    }

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

@media (max-width: 768px) {
    .legal-page {
        padding: 3.5rem 1rem;
    }

    .legal-content section {
        padding: 1.25rem;
    }

    .footer-legal {
        flex-direction: column;
    }

    .logo img {
        height: 58px;
    }

    .status-page {
        min-height: calc(100vh - 70px);
        padding: 6rem 1.25rem 3rem;
    }

    .status-code {
        letter-spacing: -0.25rem;
    }

    .status-actions {
        flex-direction: column;
    }

    .status-actions a {
        width: 100%;
    }

    .maintenance-page {
        min-height: 100vh;
        padding-top: 2rem;
    }

    .maintenance-content {
        padding: 2.2rem 1.25rem;
    }

    .footer-preferences {
        flex-direction: column;
        align-items: center;
    }

    .preference-control {
        width: min(100%, 260px);
    }

    .preference-control select {
        width: 100%;
    }

    .whatsapp-widget {
        right: 1rem;
        bottom: 1rem;
    }

    .whatsapp-chat {
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
    }

    .whatsapp-chat span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .nav-toggle {
        display: block;
    }

    .nav-actions {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--bg-soft);
        border-bottom: 1px solid var(--border);
        padding: 1rem 0;
        display: none;
    }

    .nav-actions.active {
        display: flex;
    }

    .nav-cta-actions {
        justify-content: center;
        padding: 1rem 2rem 0;
    }

    .theme-toggle {
        flex: 0 0 40px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .nav-menu .reservation-button {
        width: calc(100% - 4rem);
        margin: 0 2rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .activities-preview {
        height: 60vh;
        min-height: 400px;
    }

    .activities-preview__content {
        padding: 1.5rem;
    }

    .activities-preview__content h2 {
        font-size: 1.8rem;
    }

    .activities-preview__content p {
        font-size: 1rem;
    }
    
    .discover-dakhla {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .discover-content h2 {
        font-size: 2rem;
    }
    
    .discover-image {
        width: min(100%, 420px);
    }
    
    .testimonials-header h2 {
        font-size: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content h2 {
        font-size: 2rem;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .newsletter-button {
        width: 100%;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-map {
        height: 280px;
    }
    
    .hotel-brief {
        min-height: auto;
        background:
            linear-gradient(
                180deg,
                rgba(5,5,5,0.72) 0%,
                rgba(5,5,5,0.91) 55%,
                #050505 100%
            ),
            url("../assets/img/hotel_bleu_pearl_reception_003.JPG")
            center / cover no-repeat;
    }
    
    .hotel-brief::after {
        width: 380px;
        height: 380px;
        right: -190px;
        top: 30%;
        opacity: 0.7;
    }
    
    .hotel-brief .gold-line {
        display: none;
    }
    
    .hotel-brief-container {
        width: 88%;
        padding: 60px 0 80px;
    }
    
    .hotel-brief .eyebrow {
        font-size: 9px;
        letter-spacing: 3px;
        gap: 12px;
    }
    
    .hotel-brief .eyebrow span {
        width: 30px;
    }
    
    .hotel-brief h1 {
        font-size: clamp(52px, 16vw, 75px);
        line-height: 0.91;
        letter-spacing: -1px;
        margin-bottom: 30px;
    }
    
    .hotel-brief .intro {
        font-size: 13px;
        line-height: 1.85;
        margin-bottom: 35px;
    }
    
    .hotel-brief .cta {
        margin-top: 20px;
        font-size: 9px;
        letter-spacing: 2px;
    }
    
    .hotel-brief .side-label {
        display: none;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .hotel-brief-container {
        width: 86%;
    }
    
    .hotel-brief .gold-line {
        left: 4%;
    }
    
    .hotel-brief h1 {
        font-size: clamp(58px, 9vw, 85px);
        max-width: 650px;
    }
    
    .hotel-brief .intro {
        max-width: 600px;
    }
    
    .hotel-brief .side-label {
        right: 25px;
    }
}

/* Small Phones */
@media (max-width: 380px) {
    .hotel-brief-container {
        padding-top: 60px;
    }
    
    .hotel-brief h1 {
        font-size: 50px;
    }
    
    .hotel-brief .intro {
        font-size: 12px;
    }
    
    .feature-image-container {
        height: 200px;
    }
    
    .feature-with-image .feature-content h3 {
        font-size: 1.2rem;
    }
}