/* ==========================================================================
   Morocco Tourism Platform - Vanilla CSS Design System
   Modern Gradient Theme with Glassmorphic Elements
   ========================================================================== */

/* 1. CSS Design Tokens */
:root {
    /* Color Palette */
    --primary-blue: #0284C7;       /* Mediterranean Blue */
    --primary-blue-dark: #0369a1;  /* Darker shade for hover states */
    --accent-gold: #EAB308;        /* Sand Gold */
    --accent-gold-dark: #ca8a04;   /* Darker gold for hover states */
    --bg-light: #F8FAFC;           /* Off-white background */
    --text-dark: #0F172A;          /* Soft slate dark text */
    --text-muted: #475569;         /* Slate gray for secondary text */

    /* Moroccan Gradient Theme */
    --gradient-blue: #0284C7;      /* Ocean Blue */
    --gradient-majorelle: #6247AA; /* Majorelle Blue */
    --gradient-gold: #E8860C;      /* Sunset Gold */
    --primary-gradient: linear-gradient(135deg, var(--gradient-blue) 0%, var(--gradient-majorelle) 50%, var(--gradient-gold) 100%);
    --primary-gradient-hover: linear-gradient(135deg, var(--gradient-gold) 0%, var(--gradient-majorelle) 50%, var(--gradient-blue) 100%);
    
    /* Glassmorphism Styles */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: rgba(15, 23, 42, 0.06);
    --glass-shadow-hover: rgba(15, 23, 42, 0.12);

    /* Layout & Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --max-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    /* Font changes dynamically based on lang attribute (Outfit for en/fr, Cairo for ar) */
    font-family: 'Outfit', 'Cairo', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

/* 3. Helper/Utility Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px -10px var(--glass-shadow);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.glass-card:hover {
    box-shadow: 0 20px 40px -15px var(--glass-shadow-hover);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-gradient);
    background-size: 200% 200%;
    background-position: 0% 50%;
    color: #ffffff;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -6px rgba(98, 71, 170, 0.45), 0 4px 12px -4px rgba(232, 134, 12, 0.3);
}

.btn-text {
    color: var(--gradient-majorelle);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-text:hover {
    color: var(--gradient-gold);
}

.btn-text .arrow {
    transition: var(--transition);
}

.btn-text:hover .arrow {
    transform: translateX(4px);
}

html[dir="rtl"] .btn-text:hover .arrow {
    transform: translateX(-4px);
}

/* 4. Sticky Glassmorphic Header Navigation */
.header-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
}

.logo-icon {
    font-size: 1.6rem;
}

.logo .logo-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

.nav-link:hover {
    color: var(--gradient-majorelle);
    background: rgba(98, 71, 170, 0.06);
}

/* Remove old underline, use pill highlight instead */
.nav-link::after {
    display: none;
}

.nav-admin-btn {
    border: 1px solid var(--primary-blue);
    padding: 6px 16px;
    border-radius: var(--radius-sm);
}

.nav-admin-btn:hover {
    background-color: var(--primary-blue);
    color: #ffffff;
}

.nav-admin-btn::after {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Custom Language Switcher */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.lang-icon {
    font-size: 1.1rem;
}

.lang-selector select {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    outline: none;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn .bar {
    width: 24px;
    height: 2.5px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* 5. Main Layout Content Area */
.main-content {
    flex: 1;
}

/* 6. Hero Section (Home page banner) */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
}

.hero-content-wrapper {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.hero-text-container {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 30px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 0.04em;
}

.hero-text-container h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Align hero header spacing for Arabic */
html[dir="rtl"] .hero-text-container h1 {
    line-height: 1.35;
    font-weight: 800;
}

.hero-text-container p {
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 2px 5px rgba(0, 0, 0, 0.6);
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

html[dir="rtl"] .hero-text-container p {
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 2px 5px rgba(0, 0, 0, 0.6);
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* 7. Destinations Grid Section */
.destinations-section {
    max-width: var(--max-width);
    margin: 50px auto;
    padding: 0 24px;
}

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

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

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

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.destination-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-image-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    border-top-left-radius: calc(var(--radius-md) - 1px);
    border-top-right-radius: calc(var(--radius-md) - 1px);
}

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

.destination-card:hover .card-image {
    transform: scale(1.06);
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex: 1;
}

.card-actions {
    margin-top: auto;
}

/* 8. Redesigned Footer Section */
.footer {
    background-color: #F1F5F9;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding: 80px 24px 40px;
    margin-top: auto;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2.5px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

html[dir="rtl"] .footer-col h4::after {
    left: auto;
    right: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-logo .logo-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu a {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.footer-menu a:hover {
    color: var(--primary-blue);
    transform: translateX(4px);
    display: inline-block;
}

html[dir="rtl"] .footer-menu a:hover {
    transform: translateX(-4px);
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* 8.1 About Morocco - Luxury Cinematic Section */
.about-luxury-section {
    position: relative;
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.about-luxury-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    transform: scale(1.05); /* Slight zoom to avoid edges */
}

.about-luxury-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 50%, rgba(15, 23, 42, 0.3) 100%);
    z-index: 1;
}

html[dir="rtl"] .about-luxury-overlay {
    background: linear-gradient(270deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 50%, rgba(15, 23, 42, 0.3) 100%);
}

.about-luxury-inner {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

/* Left Content */
.about-luxury-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

html[dir="rtl"] .about-luxury-content {
    align-items: flex-start; /* Ensure RTL also aligns to its start (right) */
}

.about-luxury-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #EAB308;
    border-radius: 50%;
    box-shadow: 0 0 10px #EAB308;
}

.about-luxury-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 16px;
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

html[dir="rtl"] .about-luxury-title {
    line-height: 1.3;
}

.about-luxury-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    color: #e2e8f0;
    margin-bottom: 30px;
    font-style: italic;
}

.about-luxury-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 300px;
}

.divider-line {
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(90deg, rgba(234, 179, 8, 0.1), rgba(234, 179, 8, 0.8), rgba(234, 179, 8, 0.1));
}

.divider-diamond {
    color: #EAB308;
    font-size: 0.8rem;
}

.about-luxury-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #cbd5e1;
    margin-bottom: 40px;
    max-width: 95%;
}

/* Stats */
.about-luxury-stats {
    display: flex;
    align-items: flex-start; /* Align items to top so numbers align perfectly */
    gap: 20px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.05);
    padding: 24px 35px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #EAB308;
    margin-bottom: 4px;
    line-height: 1;
}

.stat-lbl {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    line-height: 1.3;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    align-self: center; /* Keep divider centered vertically relative to the container */
}

/* CTA */
.about-luxury-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #EAB308;
    color: #0F172A;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(234, 179, 8, 0.3);
    align-self: center;
    margin-top: 10px;
}

html[dir="rtl"] .about-luxury-cta svg {
    transform: scaleX(-1);
}

.about-luxury-cta:hover {
    background: #ca8a04;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(234, 179, 8, 0.5);
}

/* Right Mosaic */
.about-luxury-mosaic {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 20px;
    height: 600px;
}

.mosaic-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.mosaic-item:hover img {
    transform: scale(1.08);
}

.mosaic-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    transform: translateY(10px);
    opacity: 0.9;
    transition: all 0.4s ease;
    display: flex;
    align-items: flex-end;
}

.mosaic-item:hover .mosaic-caption {
    transform: translateY(0);
    opacity: 1;
}

.mosaic-col {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

/* Responsive Overrides */
@media (max-width: 1200px) {
    .about-luxury-title { font-size: 3rem; }
    .about-luxury-mosaic { height: 500px; }
    .about-luxury-stats { gap: 15px; padding: 20px; }
}

@media (max-width: 992px) {
    .about-luxury-inner {
        grid-template-columns: 1fr;
    }
    .about-luxury-overlay {
        background: rgba(15, 23, 42, 0.88); /* Darker for mobile readability */
    }
    html[dir="rtl"] .about-luxury-overlay {
        background: rgba(15, 23, 42, 0.88);
    }
    .about-luxury-mosaic {
        height: 400px;
    }
    .about-luxury-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    .stat-divider { display: none; }
    .stat-item { width: 40%; margin-bottom: 10px; }
}

@media (max-width: 768px) {
    .about-luxury-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        height: auto;
    }
    .mosaic-main { height: 300px; }
    .mosaic-col { grid-template-rows: 250px 250px; }
    .about-luxury-title { font-size: 2.5rem; }
}

/* 8.2 Latest Articles Section styles */
.articles-section {
    max-width: var(--max-width);
    margin: 60px auto;
    padding: 0 24px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.article-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.article-content {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.article-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex: 1;
}

.article-actions {
    margin-top: auto;
}

/* 9. Keyframes Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 8.3 Single Destination Page Styles */
.single-hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
}

.single-hero-content {
    animation: fadeInUp 0.8s ease-out;
    max-width: 800px;
}

.single-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    margin-top: 15px;
    line-height: 1.2;
}

html[dir="rtl"] .single-hero-content h1 {
    line-height: 1.4;
}

.single-content-section {
    max-width: var(--max-width);
    margin: -80px auto 100px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.single-content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 50px;
}

.single-description {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 50px;
    text-align: justify;
}

html[dir="rtl"] .single-description {
    text-align: right;
}

.single-back-wrapper {
    display: flex;
    justify-content: center;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
}

.btn-back .arrow-back {
    transition: var(--transition);
}

.btn-back:hover .arrow-back {
    transform: translateX(-4px);
}

html[dir="rtl"] .btn-back:hover .arrow-back {
    transform: translateX(4px);
}

/* 10. Responsive Design Styles */
@media (max-width: 992px) {
    .destinations-grid, .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 40px;
    }
    
    .hero-text-container h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation Drawer Toggle */
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        transition: var(--transition);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    /* Support RTL mobile slide direction */
    html[dir="rtl"] .nav-menu {
        left: auto;
        right: -100%;
    }

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

    html[dir="rtl"] .nav-menu.active {
        right: 0;
    }

    /* Animate mobile menu icon to 'X' */
    .mobileMenuOpen .bar:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }
    .mobileMenuOpen .bar:nth-child(2) {
        opacity: 0;
    }
    .mobileMenuOpen .bar:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    .destinations-grid, .articles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-content, .about-content.glass-card {
        align-items: center;
        text-align: center;
        padding: 32px 24px;
    }

    html[dir="rtl"] .about-content, html[dir="rtl"] .about-content.glass-card {
        align-items: center;
    }

    .about-visuals {
        height: 320px;
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }

    .hero-section {
        min-height: 70vh;
        padding: 40px 16px;
    }

    .hero-text-container h1 {
        font-size: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Single Destination Responsive */
    .single-hero-section {
        min-height: 45vh;
        padding: 60px 16px;
    }

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

    .single-content-section {
        margin-top: -40px;
        margin-bottom: 60px;
    }

    .single-content-container {
        padding: 40px 24px;
    }

    .single-description {
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 35px;
    }
}

/* 8.4 Features Highlights & Newsletter Subscription */
.features-section {
    max-width: var(--max-width);
    margin: 60px auto;
    padding: 0 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 40px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px var(--glass-shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Newsletter Section */
.newsletter-section {
    max-width: var(--max-width);
    margin: 60px auto;
    padding: 0 24px;
}

.newsletter-banner {
    padding: 80px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-content {
    max-width: 580px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.newsletter-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.newsletter-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-sm);
    padding: 6px;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
    transition: var(--transition);
}

.newsletter-form:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 35px -10px rgba(2, 132, 199, 0.15);
}

.newsletter-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 18px;
    font-size: 1rem;
    color: var(--text-dark);
    background: transparent;
    font-family: inherit;
}

.newsletter-btn {
    white-space: nowrap;
    padding: 12px 30px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .features-section, .newsletter-section {
        margin: 60px auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-banner {
        padding: 50px 24px;
    }
    
    .newsletter-content h2 {
        font-size: 1.8rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 12px;
        background: transparent;
        border: none;
        padding: 0;
        box-shadow: none;
    }
    
    .newsletter-input {
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: var(--radius-sm);
        width: 100%;
        padding: 14px 18px;
    }
    
    .newsletter-input:focus {
        border-color: var(--primary-blue);
    }
    
    .newsletter-btn {
        width: 100%;
        padding: 14px 28px;
    }
}

/* 8.5 Public Articles Listing & Single Article Styles */
.articles-hero {
    background: var(--primary-gradient);
    padding: 80px 24px;
    text-align: center;
    color: #ffffff;
}

.articles-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.articles-hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.articles-hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    font-weight: 400;
}

.public-articles-section {
    max-width: var(--max-width);
    margin: 80px auto;
    padding: 0 24px;
}

.public-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.public-article-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.public-article-image-wrapper {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
}

.public-article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.public-article-card:hover .public-article-image {
    transform: scale(1.05);
}

.destination-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    border-radius: 30px;
}

html[dir="rtl"] .destination-badge {
    left: auto;
    right: 15px;
}

.public-article-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.public-article-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.public-article-content p.excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.public-article-footer {
    margin-top: auto;
}

/* Single Article Reading page styles */
.article-single-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
}

.article-single-hero-content {
    animation: fadeInUp 0.8s ease-out;
    max-width: 800px;
}

.article-single-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    margin-top: 20px;
    line-height: 1.25;
}

html[dir="rtl"] .article-single-hero-content h1 {
    line-height: 1.4;
}

.article-reading-section {
    max-width: var(--max-width);
    margin: -80px auto 100px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.article-reading-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 50px;
}

.article-body-content {
    font-size: 1.15rem;
    line-height: 1.95;
    color: var(--text-dark);
    margin-bottom: 50px;
    text-align: justify;
}

html[dir="rtl"] .article-body-content {
    text-align: right;
}

.article-back-wrapper {
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    padding-top: 30px;
}

/* Responsive adjustments for Articles */
@media (max-width: 992px) {
    .public-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .articles-hero {
        padding: 60px 16px;
    }
    
    .articles-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .public-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .public-articles-section {
        margin: 50px auto;
    }

    .article-single-hero {
        min-height: 45vh;
        padding: 60px 16px;
    }

    .article-single-hero-content h1 {
        font-size: 2.2rem;
    }

    .article-reading-section {
        margin-top: -40px;
        margin-bottom: 60px;
    }

    .article-reading-container {
        padding: 40px 24px;
    }

    .article-body-content {
        font-size: 1.05rem;
        line-height: 1.8;
    }
}

/* 8.6 Public Destinations List Page Styles */
.destinations-hero {
    background: var(--primary-gradient);
    padding: 80px 24px;
    text-align: center;
    color: #ffffff;
}

.destinations-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.destinations-hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.destinations-hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    font-weight: 400;
}

.public-destinations-section {
    max-width: var(--max-width);
    margin: 80px auto;
    padding: 0 24px;
}

.destinations-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Responsive adjustments for Destinations Listing Page */
@media (max-width: 992px) {
    .destinations-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .destinations-hero {
        padding: 60px 16px;
    }
    
    .destinations-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .destinations-page-grid {
        grid-template-columns: 1fr;
    }
    
    .public-destinations-section {
        margin: 50px auto;
    }
}



