/* ==========================================================================
   DERRIÈRE LOISIRS - FEUILLE DE STYLE PRINCIPALE (OPTIMISÉE MOBILE-FIRST)
   ========================================================================== */

:root {
    --primary: #0077B6;
    --primary-hover: #005F92;
    --secondary: #90E0EF;
    --secondary-hover: #78D1E1;
    --accent: #FFB703;
    --accent-hover: #E5A300;
    --dark: #0F172A;
    --text: #334155;
    --text-light: #64748B;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --success: #10B981;
    --danger: #EF4444;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 20px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 20px 30px -5px rgba(15, 23, 42, 0.1), 0 10px 15px -5px rgba(15, 23, 42, 0.05);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: #F1F5F9; /* Un gris un peu plus texturé pour faire ressortir les cartes blanches */
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 0;
}

/* Layout Padding on Mobile due to Sticky Bottom Nav */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px; /* Space for the floating bottom bar */
    }
}

/* Headings & Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.1rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 119, 182, 0.2);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background-color: var(--light);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--dark);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 183, 3, 0.2);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Badges & Tags */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background-color: rgba(0, 119, 182, 0.08);
    color: var(--primary);
}

.badge-secondary {
    background-color: rgba(144, 224, 239, 0.2);
    color: var(--primary-hover);
}

.badge-accent {
    background-color: rgba(255, 183, 3, 0.15);
    color: #C18300;
}

.badge-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

/* Animations - Reveal on Scroll */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Header & Navigation */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.logo-icon {
    font-size: 2.25rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-brand {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.logo-sub {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    color: var(--text);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-icon {
    width: 16px;
    height: 16px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0;
    z-index: 1001;
    border: 1px solid var(--border);
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-content a {
    color: var(--text);
    padding: 0.75rem 1.25rem;
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background-color: var(--light);
    color: var(--primary);
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
}

/* Main layouts */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.08) 0%, rgba(144, 224, 239, 0.2) 100%), 
                radial-gradient(circle at 80% 20%, rgba(255, 183, 3, 0.1) 0%, transparent 50%);
    padding: 5.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.hero h1 {
    font-size: 3.8rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(144, 224, 239, 0.6);
    z-index: -1;
    border-radius: 4px;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-weight: 450;
    line-height: 1.6;
}

/* Search bar component */
.search-wrapper {
    background-color: var(--white);
    padding: 0.6rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 0.5rem;
    max-width: 650px;
    margin: 0 auto;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.search-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 119, 182, 0.12);
}

.search-input-container {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-grow: 1;
    padding-left: 1.25rem;
}

.search-icon {
    color: var(--primary);
    width: 22px;
    height: 22px;
}

.search-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1.1rem;
    color: var(--dark);
    font-family: var(--font-body);
}

/* INTERACTIVE MAP OF FRANCE COMPONENT STYLES */
.map-section {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
}

.map-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    align-items: center;
}

.map-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-info-panel h2 {
    font-size: 2.1rem;
    margin-bottom: 1.25rem;
    color: var(--dark);
    line-height: 1.2;
}

.map-legend {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    display: inline-block;
    border: 1px solid var(--border);
}

.legend-color.active {
    background: linear-gradient(135deg, #7DD3FC 0%, #0077B6 100%);
    border-color: var(--primary);
}

.legend-color.empty {
    background: linear-gradient(135deg, #F1F5F9 0%, #CBD5E1 100%);
    border-color: #94A3B8;
}

.suggest-box-mini {
    background-color: var(--light);
    border: 1px dashed var(--primary);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    margin-top: 1rem;
}

.suggest-box-mini strong {
    font-family: var(--font-heading);
    color: var(--dark);
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.35rem;
}

.map-visual-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.map-svg-container {
    width: 100%;
    max-width: 480px;
    position: relative;
}

.france-svg-map {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(15, 23, 42, 0.08));
    overflow: visible;
}

/* SVG Path Interactive States with Gorgeous Gradients */
.region-path {
    stroke-linejoin: round;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: 50% 50%;
}

/* Apply SVG Gradients via classes */
.region-path {
    fill: url(#gradient-empty);
    stroke: #94A3B8;
    stroke-width: 1.5px;
}

.region-path.has-salles {
    fill: url(#gradient-active);
    stroke: #0284C7;
    stroke-width: 1.8px;
}

.region-path:hover {
    fill: url(#gradient-hover) !important;
    stroke: #0369A1 !important;
    stroke-width: 2.2px !important;
    filter: drop-shadow(0 10px 25px rgba(0, 119, 182, 0.45));
    transform: scale(1.025);
    cursor: pointer;
    z-index: 50;
}

/* Pulsing City Nodes Animations */
@keyframes pulse-glowing {
    0% {
        transform: scale(0.8);
        opacity: 0.9;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: scale(2.8);
        opacity: 0;
    }
}

.city-pulse {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2.5px;
    transform-origin: center;
    animation: pulse-glowing 2s infinite ease-out;
    pointer-events: none;
}

.city-dot {
    fill: var(--accent);
    stroke: var(--white);
    stroke-width: 1.5px;
    cursor: pointer;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

.city-dot:hover {
    fill: var(--primary);
    stroke: var(--accent);
    r: 7px;
}

/* Interactive Floating Tooltip - Glassmorphism */
.map-tooltip {
    position: absolute;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    padding: 0.9rem 1.3rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.1s ease;
    z-index: 1000;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3), 0 8px 10px -6px rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 200px;
    max-width: 290px;
}

.map-tooltip .tooltip-highlight {
    color: #90E0EF;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 0.35rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.map-tooltip .tooltip-suggest {
    color: #94A3B8;
    font-size: 0.8rem;
    display: block;
    margin-top: 0.35rem;
}

/* horizontal Scrollable Pills - LE SECRET DE L'UI MOBILE */
.scroll-pills-container {
    position: relative;
    margin: 1.5rem 0 2.5rem 0;
}

.scroll-pills {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding: 0.5rem 0.25rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.scroll-pills::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.pill {
    flex: 0 0 auto;
    background-color: var(--white);
    color: var(--text);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pill:hover, .pill.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 119, 182, 0.2);
}

/* Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.category-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.category-card:hover, .category-card.active {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    background: linear-gradient(185deg, var(--white) 0%, rgba(144, 224, 239, 0.1) 100%);
}

.category-emoji {
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.category-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

/* Listings & Grid system */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    border-left: 5px solid var(--primary);
    padding-left: 1.25rem;
}

.section-header p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 1.05rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

/* LUXURIOUS ACTIVITY CARD (SUPER VISUAL ON MOBILE) */
.activity-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.activity-image-wrapper {
    position: relative;
    height: 210px;
    overflow: hidden;
}

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

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

.activity-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.activity-meta-top {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
    padding: 2rem 1.25rem 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 600;
}

.activity-meta-top span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.activity-meta-top i {
    width: 15px;
    height: 15px;
}

.activity-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.activity-title {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
    color: var(--dark);
    line-height: 1.25;
}

.activity-tagline {
    font-style: italic;
    color: var(--primary);
    font-size: 0.92rem;
    margin-bottom: 0.85rem;
    font-weight: 500;
}

.activity-tech-stats {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 1.15rem;
}

.activity-tech-tag {
    font-size: 0.75rem;
    background: #F1F5F9;
    color: var(--text-light);
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: 600;
}

.activity-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.5;
}

.activity-footer {
    border-top: 1px solid var(--border);
    padding-top: 1.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.activity-price {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.activity-price .price-val {
    display: block;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--dark);
    font-family: var(--font-heading);
    line-height: 1;
}

/* INTERACTIVE COMPONENT - Budget Simulator Widget */
.simulator-section {
    background: radial-gradient(circle at 10% 20%, #005F92 0%, var(--dark) 100%);
    padding: 4.5rem 1.5rem;
    color: var(--white);
    border-radius: var(--radius-lg);
    margin: 4rem 0;
    box-shadow: var(--shadow-lg);
}

.simulator-container {
    max-width: 1050px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.simulator-info h2 {
    color: var(--white);
    font-size: 2.35rem;
    margin-bottom: 1.25rem;
}

.simulator-info p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.simulator-steps {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.step-item {
    display: flex;
    gap: 1.15rem;
    background-color: rgba(255, 255, 255, 0.06);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    border-left: 5px solid var(--accent);
    transition: var(--transition);
}

.step-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.step-num {
    font-size: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.simulator-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    color: var(--dark);
    box-shadow: var(--shadow-lg);
}

.simulator-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--dark);
}

.form-group select, .form-group input {
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 0.98rem;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
    background-color: var(--light);
}

.form-group select:focus, .form-group input:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.simulator-results {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px dashed var(--border);
}

.result-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--text-light);
}

.result-row strong {
    color: var(--dark);
}

.result-row.total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
}

/* DETAIL PAGE STYLE - loisir.php */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.detail-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 2.5rem;
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-hero-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.detail-hero-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.detail-hero-content {
    padding: 2.5rem;
}

.detail-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.detail-tagline {
    font-size: 1.35rem;
    color: var(--primary);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.section-title-icon {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.section-title-icon i {
    color: var(--primary);
    width: 24px;
    height: 24px;
}

/* Secrets block style */
.secrets-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.secret-card {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.04) 0%, rgba(255, 183, 3, 0.12) 100%);
    border-left: 5px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    transition: var(--transition);
}

.secret-card:hover {
    transform: translateX(4px);
}

.secret-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #9C6C00;
    margin-bottom: 0.5rem;
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.sidebar-card h3 {
    border-bottom: 2px solid var(--light);
    padding-bottom: 0.85rem;
    margin-bottom: 1.25rem;
}

.sidebar-details-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1.75rem;
}

.sidebar-detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.sidebar-detail-item .label {
    color: var(--text-light);
    font-weight: 600;
}

.sidebar-detail-item .value {
    font-weight: 700;
    color: var(--dark);
}

/* Review / Expert Block */
.expert-block {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.expert-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.expert-avatar {
    font-size: 2.5rem;
}

.expert-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.expert-title {
    color: var(--text-light);
    font-size: 0.85rem;
}

.expert-rating {
    display: flex;
    color: var(--accent);
    gap: 0.25rem;
    margin-bottom: 1rem;
}

/* STICKY BOTTOM NAVIGATION BAR FOR MOBILE (UX REVOLUTION) */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background-color: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(15px);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 10001;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
}

.mobile-bottom-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
}

.mobile-bottom-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
    font-weight: 600;
    gap: 0.25rem;
    font-family: var(--font-heading);
    padding: 0.35rem 0.65rem;
}

.mobile-bottom-item a:hover, .mobile-bottom-item.active a {
    color: var(--secondary);
}

.mobile-bottom-item i {
    width: 20px;
    height: 20px;
}

/* Directory Lead Form / Empty State Submission */
.directory-suggest-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--primary);
    padding: 3rem 2rem;
    text-align: center;
    max-width: 650px;
    margin: 3rem auto 0 auto;
    box-shadow: var(--shadow-sm);
}

.directory-suggest-card i {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Modern Directory Pills for Linking */
.link-capsule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.link-capsule {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 0.65rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.link-capsule:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.link-capsule span.badge {
    background-color: #F1F5F9;
    color: var(--text-light);
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
}

.link-capsule:hover span.badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* Footer Section */
.main-footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 5.5rem 1.5rem 2rem 1.5rem;
    margin-top: 5rem;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 2fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-logo {
    color: var(--white);
    font-size: 1.85rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.08);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-section h4 {
    color: var(--white);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 6px;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

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

.newsletter-form input {
    flex-grow: 1;
    padding: 0.85rem;
    border-radius: var(--radius-sm);
    border: none;
    outline: none;
    font-size: 0.98rem;
    font-family: var(--font-body);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 1.75rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
}

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

/* Breadcrumb styling */
.breadcrumb {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST & MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.75rem; }
    
    .header-container {
        padding: 0.8rem 1rem;
    }

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

    .logo-brand {
        font-size: 1.25rem;
    }

    .logo-sub {
        font-size: 0.9rem;
    }

    /* Bottom sticky bar is visible on mobile */
    .mobile-bottom-bar {
        display: block;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        padding: 2rem 1.25rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border);
        gap: 1.25rem;
        align-items: stretch;
    }

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

    .nav-dropdown .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        transform: none;
        max-height: none;
        overflow-y: visible;
    }

    .hero {
        padding: 3.5rem 1rem;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    /* Map section becomes linear */
    .map-section {
        padding: 1.5rem;
    }

    .map-grid-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Cards stack gracefully */
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .activity-card {
        border-radius: var(--radius-sm);
    }
    
    .activity-image-wrapper {
        height: 180px;
    }

    .simulator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .simulator-card {
        padding: 1.5rem;
    }

    .detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .detail-hero-card .detail-hero-content {
        padding: 1.5rem;
    }
    
    .detail-hero-img {
        height: 250px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .link-capsule-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PAGINATION & TRUST STATS STYLING (PREMIUM DIRECTORY FEEL)
   ========================================================================== */

.pagination-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    width: 100%;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--dark);
    font-weight: 700;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.pagination-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.pagination-btn i {
    width: 18px;
    height: 18px;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--border);
    color: var(--dark);
    font-weight: 700;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.pagination-number:hover, .pagination-number.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.pagination-number.active {
    transform: scale(1.08);
}

.pagination-dots {
    color: var(--text-light);
    font-weight: 800;
    padding: 0 0.25rem;
}

/* Trust Stats Bar Animations & Responsive */
.stats-bar {
    animation: fadeInUp 0.8s ease forwards;
}

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

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr 1fr !important;
        padding: 1.5rem !important;
        gap: 1rem !important;
    }
    
    .stat-item {
        border-right: none !important;
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 1rem;
    }
    
    .stat-item:nth-child(even) {
        border-right: none !important;
    }
    
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .pagination-bar {
        gap: 0.5rem;
    }
    
    .pagination-btn {
        padding: 0.5rem 0.85rem;
        font-size: 0.85rem;
    }
    
    .pagination-number {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}