/* ========================================
   USTYURT PLATEAU - UNESCO NOMINATION DOSSIER
   Minimalist Institutional Design
   ======================================== */

/* ========================================
   COLOR PALETTE (as specified)
   ======================================== */
:root {
    --color-primary: #6e7062;
    --color-secondary: #c5bca0;
    --color-tertiary: #9b8e64;
    --color-accent-warm: #986555;
    --color-accent-cool: #79868f;
    --color-neutral: #adaaa0;
    --color-base: #6e7062;
    
    --color-white: #ffffff;
    --color-black: #000000;
    --color-text: #333333;
    --color-text-light: #666666;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    font-weight: 300;
}

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

a:hover {
    color: var(--color-accent-warm);
}

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

/* ========================================
   LAYOUT UTILITIES
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-anchor {
    display: block;
    position: relative;
    top: -80px;
    visibility: hidden;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-header h2 {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--color-tertiary);
}

/* ========================================
   HEADER COMPONENT
   ======================================== */
.site-header {
    background-color: var(--color-primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.header-logo {
    flex-shrink: 0;
}

.logo-img {
    height: 60px;
    width: auto;
    opacity: 0.95;
}

/* Main Navigation */
.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: 2rem;
    flex: 1;
}

.nav-link {
    font-family: 'Lora', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--color-secondary);
    opacity: 1;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Menu Wrapper */
.menu-wrapper {
    position: relative;
    margin-left: auto;
}

/* Burger Menu Button */
.burger-menu {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1002;
    margin-left: auto;
}

.burger-menu:hover {
    transform: scale(1.05);
}

.burger-menu:hover .burger-line {
    background-color: var(--color-secondary);
}

.burger-line {
    width: 30px;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Dropdown Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background-color: rgba(0, 0, 0, 0.3);
}

.menu-content {
    position: absolute;
    top: 77px;
    right: 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-base) 100%);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 
                0 5px 15px rgba(110, 112, 98, 0.4);
    width: 450px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s ease;
    border-top: 3px solid var(--color-tertiary);
    z-index: 1000;
}

.menu-overlay.active .menu-content {
    max-height: 650px;
    overflow-y: auto;
}

/* Custom scrollbar for menu */
.menu-content::-webkit-scrollbar {
    width: 8px;
}

.menu-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 12px 0;
}

.menu-content::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 4px;
}

.menu-content::-webkit-scrollbar-thumb:hover {
    background: var(--color-tertiary);
}

.close-menu {
    display: none;
}

.menu-title {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    color: var(--color-secondary);
    margin: 0;
    padding: 1.5rem 2rem 1rem;
    text-align: left;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(197, 188, 160, 0.3);
    background: rgba(0, 0, 0, 0.1);
}

.menu-title:first-of-type {
    border-top: none;
}

.menu-title:not(:first-of-type) {
    margin-top: 0.5rem;
}

.chapter-list {
    list-style: none;
    padding: 1rem 0 1.5rem;
    margin: 0;
}

.chapter-list li {
    border-bottom: 1px solid rgba(197, 188, 160, 0.15);
}

.chapter-list li:last-child {
    border-bottom: none;
}

.chapter-link {
    display: block;
    padding: 1rem 2rem;
    color: var(--color-white);
    font-size: 0.9375rem;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 3rem;
    line-height: 1.4;
}

.chapter-link::before {
    content: '▸';
    position: absolute;
    left: 1.5rem;
    color: var(--color-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.chapter-link:hover {
    background-color: rgba(197, 188, 160, 0.2);
    color: var(--color-secondary);
    padding-left: 3.5rem;
}

.chapter-link:hover::before {
    transform: translateX(5px);
    color: var(--color-tertiary);
    opacity: 1;
}

/* Main navigation links in burger menu */
.nav-main-link {
    font-weight: 500;
    background-color: rgba(197, 188, 160, 0.1);
}

.nav-main-link::before {
    content: '→';
    color: var(--color-tertiary);
    font-weight: bold;
}

.nav-main-link:hover {
    background-color: rgba(197, 188, 160, 0.25);
}

/* Disabled chapter links */
.chapter-link-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.chapter-link-disabled:hover {
    background-color: transparent;
    color: var(--color-white);
    padding-left: 3rem;
}

.chapter-link-disabled::before {
    opacity: 0.3;
}

.chapter-link-disabled:hover::before {
    transform: none;
    color: var(--color-secondary);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    background: #ffffff;
    color: var(--color-primary);
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-pattern-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 550px;
    height: 800px;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pattern-background {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-location-wrapper {
    position: relative;
    margin-top: 3rem;
    width: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-location {
    background: transparent;
    color: var(--color-primary);
    padding: 0.5rem 2rem;
    margin: 0;
    font-size: 0.9375rem;
    letter-spacing: 0.15em;
    font-weight: 300;
    text-align: center;
    white-space: nowrap;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    z-index: 2;
    max-width: 500px;
    width: 500px;
}

.hero-label {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 2rem;
    max-width: 100%;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
}

.hero-logo-container {
    margin: 0 0 2rem;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.hero-title {
    font-size: 4.25rem;
    margin: 0;
    color: var(--color-tertiary);
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    line-height: 1;
    max-width: 100%;
    text-align: center;
    width: 100%;
}

.hero-subtitle {
    font-size: 0.9375rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--color-tertiary);
    text-transform: uppercase;
    margin-top: 0.75rem;
    margin-bottom: 2.5rem;
    max-width: 100%;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
}

/* Scroll Down Arrow */
.scroll-down-arrow {
    position: absolute;
    bottom: 50%;
    transform: translateY(50%);
    width: 50px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 10;
    cursor: pointer;
    text-decoration: none;
    animation: bounce 2s infinite;
}

.scroll-arrow-left {
    left: 15%;
}

.scroll-arrow-right {
    right: 15%;
    left: auto;
    transform: translateY(50%) scaleX(-1);
}

.scroll-arrow-center {
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 15;
}

.arrow-line {
    width: 4px;
    height: 35px;
    background-color: var(--color-tertiary);
    transform-origin: top center;
}

.arrow-line-center {
    width: 5px;
    height: 45px;
    background-color: #ffffff;
    transform-origin: top center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.arrow-line:first-child {
    transform: rotate(45deg) translateX(12px);
}

.arrow-line:last-child {
    transform: rotate(-45deg) translateX(-12px);
}

.arrow-line-center:first-child {
    transform: rotate(45deg) translateX(15px);
}

.arrow-line-center:last-child {
    transform: rotate(-45deg) translateX(-15px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(50%) translateX(0);
    }
    40% {
        transform: translateY(50%) translateY(-10px);
    }
    60% {
        transform: translateY(50%) translateY(-5px);
    }
}

.scroll-arrow-center {
    animation: bounceCenter 2s infinite;
}

@keyframes bounceCenter {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 50%) translateY(0);
    }
    40% {
        transform: translate(-50%, 50%) translateY(-10px);
    }
    60% {
        transform: translate(-50%, 50%) translateY(-5px);
    }
}

.scroll-arrow-right {
    animation: bounceRight 2s infinite;
}

@keyframes bounceRight {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(50%) scaleX(-1) translateX(0);
    }
    40% {
        transform: translateY(50%) scaleX(-1) translateY(-10px);
    }
    60% {
        transform: translateY(50%) scaleX(-1) translateY(-5px);
    }
}

.scroll-down-arrow:hover .arrow-line {
    background-color: var(--color-accent-warm);
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.content-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.content-section:nth-child(even) {
    background-color: #f9f9f9;
}

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

/* Introduction Section */
.introduction-section {
    background-color: var(--color-white);
}

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

.content-item h3 {
    color: var(--color-primary);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.content-item p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* Context Section */
.context-section {
    background-color: #ffffff;
}

.subsection {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.subsection:last-child {
    border-bottom: none;
}

.subsection h3 {
    color: var(--color-accent-warm);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.subsection p {
    font-size: 1rem;
    line-height: 1.8;
}

/* OUV Section */
.ouv-section {
    background-color: var(--color-secondary);
    background: linear-gradient(to bottom, var(--color-secondary) 0%, var(--color-white) 100%);
}

.ouv-content {
    background-color: var(--color-white);
    padding: 3rem;
    border-left: 4px solid var(--color-tertiary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.ouv-content p {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--color-text);
}

/* Criteria Section */
.criteria-section {
    background-color: #ffffff;
}

.criteria-grid {
    display: grid;
    gap: 2rem;
}

.criteria-item {
    background-color: var(--color-white);
    padding: 2.5rem;
    border: 1px solid #e0e0e0;
    border-top: 3px solid var(--color-tertiary);
}

.criteria-item h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.criteria-item p {
    font-size: 1rem;
    line-height: 1.8;
}

/* Significance Section */
.significance-section {
    background-color: var(--color-white);
}

.significance-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Maps Section */
.maps-section {
    background-color: #ffffff;
}

.maps-content h3 {
    color: var(--color-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.maps-content h3:first-child {
    margin-top: 0;
}

.map-placeholder {
    background-color: var(--color-neutral);
    padding: 3rem;
    text-align: center;
    border: 2px dashed var(--color-primary);
    margin-top: 1rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* Maps Page Specific Styles */
.maps-page-section {
    padding: 8rem 0 5rem;
    background-color: #ffffff;
    min-height: 100vh;
}

/* Maps Page - Different Header/Footer Colors */
body.maps-page .site-header {
    background-color: #986555;
}

/* Maps Page - Different Burger Menu Color */
body.maps-page .menu-content {
    background: linear-gradient(135deg, #986555 0%, #8a5a4d 100%);
}

body.maps-page .menu-title {
    border-bottom: 1px solid rgba(197, 188, 160, 0.3);
}

body.maps-page .chapter-link::before {
    color: #c5bca0;
}

/* Maps Page - Different Footer Image */
body.maps-page .footer-landscape-image {
    content: url('https://www.genspark.ai/api/files/s/WJYAST1Z');
}

/* ========================================
   IDENTIFICATION PAGE STYLES
   ======================================== */
.identification-page-section {
    padding: 8rem 0 5rem;
    background-color: #ffffff;
    min-height: 100vh;
}

.identification-page-section h1 {
    color: var(--color-primary);
    font-size: 3rem;
    margin-bottom: 2rem;
}

.identification-page-section h2 {
    color: var(--color-accent-warm);
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.identification-page-section h3 {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.identification-content .subsection {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid #e0e0e0;
}

.identification-content .subsection:last-child {
    border-bottom: none;
}

.info-box {
    background-color: var(--color-secondary);
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-left: 4px solid var(--color-tertiary);
    border-radius: 4px;
}

.info-box strong {
    color: var(--color-primary);
    font-size: 1.125rem;
    display: block;
    margin-bottom: 0.5rem;
}

.coordinates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.coordinate-item {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-align: center;
}

.coordinate-item h3 {
    color: var(--color-primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.coordinate-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-accent-warm);
    font-family: 'Lora', serif;
}

.area-table {
    margin-top: 2rem;
    overflow-x: auto;
}

.area-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.area-table thead {
    background-color: var(--color-primary);
    color: #ffffff;
}

.area-table th,
.area-table td {
    padding: 1.25rem;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.area-table th {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9375rem;
}

.area-table td {
    font-size: 1rem;
}

.area-table .total-row {
    background-color: var(--color-secondary);
}

.map-reference {
    margin-top: 2rem;
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-tertiary);
    color: #ffffff;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: var(--color-accent-warm);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

/* Identification Page - Header Color */
body.identification-page .site-header {
    background-color: #968f6a;
}

body.identification-page .menu-content {
    background: linear-gradient(135deg, #968f6a 0%, #857e5e 100%);
}

body.identification-page .chapter-link::before {
    color: #c5bca0;
}

/* Identification Page - Different Footer Image */
body.identification-page .footer-landscape-image {
    content: url('https://www.genspark.ai/api/files/s/K8OkSiHl');
}

/* ========================================
   JUSTIFICATION PAGE STYLES
   ======================================== */
.justification-hero-image {
    width: 100%;
    background-color: #ffffff;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.justification-hero-image .hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* White arrow for justification page */
.scroll-arrow-center-white {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 60px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 15;
    cursor: pointer;
    text-decoration: none;
    animation: bounceWhite 2s infinite;
}

.arrow-line-white {
    width: 5px;
    height: 45px;
    background-color: #ffffff;
    transform-origin: top center;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.arrow-line-white:first-child {
    transform: rotate(45deg) translateX(15px);
}

.arrow-line-white:last-child {
    transform: rotate(-45deg) translateX(-15px);
}

@keyframes bounceWhite {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 50%) translateY(0);
    }
    40% {
        transform: translate(-50%, 50%) translateY(-15px);
    }
    60% {
        transform: translate(-50%, 50%) translateY(-8px);
    }
}

.scroll-arrow-center-white:hover .arrow-line-white {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7));
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-image-title {
    color: #ffffff;
    font-size: 3.5rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7),
                 0 0 20px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.05em;
    padding: 0 2rem;
    margin: 0;
}

.justification-page-section {
    padding: 8rem 0 5rem;
    background-color: #ffffff;
    min-height: 100vh;
}

.justification-page-section h1 {
    color: var(--color-primary);
    font-size: 3rem;
    margin-bottom: 2rem;
}

.justification-page-section h2 {
    color: var(--color-accent-warm);
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.justification-content .subsection {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid #e0e0e0;
}

.justification-content .subsection:last-child {
    border-bottom: none;
}

.intro-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.criteria-boxes {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.criterion-box {
    background-color: #ffffff;
    border: 2px solid var(--color-secondary);
    border-left: 6px solid var(--color-tertiary);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.criterion-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    background-color: var(--color-tertiary);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    font-style: italic;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.criterion-box h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.criterion-definition {
    font-style: italic;
    color: var(--color-text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--color-secondary);
}

.criterion-justification-text {
    background-color: #fafafa;
    padding: 1.5rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.criterion-justification-text p {
    margin: 0;
    line-height: 1.8;
}

.integrity-box,
.authenticity-box {
    background-color: var(--color-secondary);
    padding: 2rem;
    margin-top: 2rem;
    border-left: 4px solid var(--color-tertiary);
    border-radius: 4px;
}

.integrity-box h3,
.authenticity-box h3 {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.integrity-box ul,
.authenticity-box ul {
    margin: 0;
    padding-left: 1.5rem;
}

.integrity-box li,
.authenticity-box li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--color-text);
}

/* Justification Page - Header Color */
body.justification-page .site-header {
    background-color: #79858e;
}

body.justification-page .menu-content {
    background: linear-gradient(135deg, #79858e 0%, #6a757d 100%);
}

body.justification-page .chapter-link::before {
    color: #c5bca0;
}

/* Justification Page - Content Color Styling */
body.justification-page .justification-page-section h1 {
    color: #79858e;
}

body.justification-page .justification-page-section h2 {
    color: #79858e;
}

body.justification-page .criterion-box {
    border-left: 6px solid #79858e;
}

body.justification-page .criterion-number {
    background-color: #79858e;
}

body.justification-page .criterion-box h3 {
    color: #79858e;
}

body.justification-page .integrity-box,
body.justification-page .authenticity-box {
    border-left: 4px solid #79858e;
}

body.justification-page .integrity-box h3,
body.justification-page .authenticity-box h3 {
    color: #79858e;
}

.maps-page-section h1 {
    color: var(--color-primary);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.maps-page-section h2 {
    color: var(--color-primary);
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

/* Map Categories Grid */
.map-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.map-category-card {
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.map-category-card:hover {
    border-color: var(--color-accent-warm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.icon-placeholder {
    font-style: normal;
}

.map-category-card h3 {
    color: var(--color-accent-warm);
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem;
}

.map-category-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.btn-view-maps {
    background-color: var(--color-accent-warm);
    color: #ffffff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-maps:hover {
    background-color: var(--color-tertiary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Map Gallery Modal */
.map-gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gallery-modal-content {
    background-color: #ffffff;
    border-radius: 8px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 2px solid #e0e0e0;
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 10;
}

.gallery-header h2 {
    color: var(--color-primary);
    margin: 0;
    font-size: 1.75rem;
}

.close-gallery {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--color-text-light);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.close-gallery:hover {
    color: var(--color-accent-warm);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.gallery-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.gallery-item img:hover {
    opacity: 0.9;
}

.map-caption {
    padding: 1rem;
    text-align: center;
    color: var(--color-text);
    font-weight: 500;
    margin: 0;
}

.no-maps-message {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.125rem;
    padding: 3rem;
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .map-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .map-gallery-modal {
        padding: 1rem;
    }
    
    .gallery-header {
        padding: 1.5rem;
    }
}

.maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.map-item {
    background-color: var(--color-white);
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.map-item h3 {
    color: var(--color-accent-warm);
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.map-image-placeholder {
    background-color: #f5f5f5;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--color-neutral);
    color: var(--color-text-light);
    font-style: italic;
    text-align: center;
    padding: 2rem;
}

/* Management Section */
.management-section {
    background-color: var(--color-white);
}

.management-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Risks Section */
.risks-section {
    background-color: #ffffff;
}

.risks-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Materials Section */
.materials-section {
    background-color: var(--color-white);
}

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

.material-item {
    text-align: center;
}

.material-item img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.material-item .caption {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* Contact Section */
.contact-section {
    background-color: #ffffff;
}

.contact-content h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.contact-content p {
    font-size: 1rem;
    line-height: 1.8;
}

/* About Section */
.about-section {
    background-color: #f9f9f9;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    text-align: justify;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Contacts Section */
.contacts-section {
    background-color: #ffffff;
}

.contacts-content h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contacts-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.contact-info {
    background-color: var(--color-secondary);
    padding: 2rem;
    border-left: 4px solid var(--color-tertiary);
    border-radius: 4px;
    margin-top: 2rem;
}

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

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

.contact-info strong {
    color: var(--color-primary);
    font-size: 1.125rem;
    display: block;
    margin-bottom: 0.25rem;
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, var(--color-tertiary) 0%, var(--color-accent-warm) 100%);
    color: var(--color-white);
    text-align: center;
}

.download-section .section-header h2 {
    color: var(--color-white);
}

.download-section .section-header h2::after {
    background-color: var(--color-white);
}

.download-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--color-white);
}

.download-link {
    display: flex;
    justify-content: center;
}

.btn-download {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 3rem;
    background-color: var(--color-white);
    color: var(--color-primary);
    border-radius: 4px;
    font-weight: 500;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-download:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.btn-download .file-size {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--color-text-light);
}

/* Download Section - Main Page Style */
.download-main-section {
    background-color: #f9f9f9;
}

.download-main-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--color-text);
    text-align: center;
}

.download-box {
    background-color: #ffffff;
    border: 2px solid var(--color-secondary);
    border-radius: 8px;
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
}

.download-file-info {
    flex: 1;
    text-align: left;
}

.download-file-info h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.file-description {
    color: var(--color-text);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-family: monospace;
}

.file-meta {
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin: 0;
}

.download-action {
    flex-shrink: 0;
}

.btn-download-main {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-tertiary);
    color: #ffffff;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-download-main:hover {
    background-color: var(--color-accent-warm);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

@media (max-width: 768px) {
    .download-box {
        flex-direction: column;
        text-align: center;
    }
    
    .download-file-info {
        text-align: center;
    }
}

/* ========================================
   FOOTER COMPONENT
   ======================================== */
.site-footer {
    position: sticky;
    bottom: 0;
    z-index: 100;
    width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
    line-height: 0;
}

.footer-landscape-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2.8rem;
        letter-spacing: 0.15em;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        white-space: normal;
        line-height: 1.6;
    }
    
    .hero-label {
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
        white-space: normal;
        line-height: 1.6;
    }

    .hero-section {
        min-height: 100vh;
        padding: 0;
    }

    .hero-content {
        padding: 2rem 1rem;
        margin-top: -8rem;
        width: 90%;
        max-width: 90%;
    }

    .hero-logo-container {
        width: 180px;
        height: 180px;
        margin: 0 0 1rem;
    }

    .hero-location {
        font-size: 0.75rem;
    }

    .hero-pattern-bg {
        width: 300px;
        height: 450px;
    }

    .content-section {
        padding: 2.5rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    .header-content {
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .main-nav {
        display: none;
    }

    .logo-img {
        height: 45px;
    }

    .menu-wrapper {
        margin-left: auto;
    }

    .burger-menu {
        padding: 0.25rem;
    }

    .burger-line {
        width: 25px;
        height: 2px;
    }

    .menu-content {
        right: 0.5rem;
        left: 0.5rem;
        width: auto;
        top: 62px;
    }

    .menu-title {
        font-size: 1rem;
        padding: 1rem 1.25rem 0.75rem;
    }

    .chapter-link {
        font-size: 0.8125rem;
        padding: 0.75rem 1.25rem;
        padding-left: 2.25rem;
        line-height: 1.5;
    }

    .chapter-link::before {
        left: 1rem;
        font-size: 0.875rem;
    }

    .chapter-link:hover {
        padding-left: 2.75rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .ouv-content {
        padding: 1.5rem 1.25rem;
    }

    .criteria-item {
        padding: 1.5rem 1.25rem;
    }

    .materials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Scroll arrows mobile */
    .scroll-arrow-left {
        left: 2%;
    }
    
    .scroll-arrow-right {
        right: 2%;
    }
    
    .scroll-down-arrow {
        width: 35px;
        height: 55px;
    }
    
    .arrow-line {
        width: 3px;
        height: 25px;
    }
    
    .arrow-line:first-child {
        transform: rotate(45deg) translateX(9px);
    }
    
    .arrow-line:last-child {
        transform: rotate(-45deg) translateX(-9px);
    }
    
    /* Justification page mobile */
    .justification-page-section {
        padding: 3rem 0 2.5rem;
    }
    
    .justification-page-section h1 {
        font-size: 2rem;
    }
    
    .justification-page-section h2 {
        font-size: 1.5rem;
    }
    
    .criterion-box {
        padding: 1.5rem 1.25rem;
    }
    
    .criterion-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        top: -12px;
        left: 1.5rem;
    }
    
    /* About and Contacts mobile */
    .about-content p {
        font-size: 1rem;
        text-align: left;
    }
    
    .contacts-content h3 {
        font-size: 1.25rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    /* Download section mobile */
    .download-main-content p {
        font-size: 1rem;
    }
    
    .download-box {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .download-file-info h3 {
        font-size: 1.25rem;
    }
    
    .btn-download-main {
        padding: 0.875rem 2rem;
        font-size: 0.9375rem;
        width: 100%;
    }
    
    /* Maps page mobile */
    .maps-page-section h1 {
        font-size: 2rem;
    }
    
    .maps-page-section h2 {
        font-size: 1.5rem;
    }
    
    .map-category-card {
        padding: 1.5rem;
    }
    
    .map-category-card h3 {
        font-size: 1.25rem;
    }
    
    /* White arrow on justification page mobile */
    .scroll-arrow-center-white {
        width: 50px;
        height: 75px;
    }
    
    .arrow-line-white {
        width: 4px;
        height: 38px;
    }
    
    .arrow-line-white:first-child {
        transform: rotate(45deg) translateX(13px);
    }
    
    .arrow-line-white:last-child {
        transform: rotate(-45deg) translateX(-13px);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 0.12em;
    }

    .hero-subtitle {
        font-size: 0.6875rem;
        white-space: normal;
    }
    
    .hero-label {
        font-size: 0.6875rem;
    }

    .hero-logo-container {
        width: 150px;
        height: 150px;
    }

    .hero-pattern-bg {
        width: 240px;
        height: 360px;
    }
    
    .hero-content {
        padding: 1.5rem 0.75rem;
        width: 95%;
        max-width: 95%;
    }
    
    .hero-location {
        font-size: 0.6875rem;
    }

    .btn-download {
        padding: 1rem 1.5rem;
        font-size: 0.9375rem;
    }

    .materials-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    /* Hide scroll arrows on very small screens */
    .scroll-arrow-left,
    .scroll-arrow-right {
        display: none;
    }
    
    /* Keep center white arrow but make it smaller */
    .scroll-arrow-center-white {
        width: 40px;
        height: 60px;
    }
    
    .arrow-line-white {
        width: 3px;
        height: 30px;
    }
    
    .arrow-line-white:first-child {
        transform: rotate(45deg) translateX(10px);
    }
    
    .arrow-line-white:last-child {
        transform: rotate(-45deg) translateX(-10px);
    }
    
    /* Justification page */
    .justification-page-section h1 {
        font-size: 1.75rem;
    }
    
    .criterion-box {
        padding: 1.25rem 1rem;
    }
    
    .criterion-number {
        width: 35px;
        height: 35px;
        font-size: 1.125rem;
    }
    
    /* Download section */
    .download-box {
        padding: 1.25rem;
    }
    
    .download-file-info h3 {
        font-size: 1.125rem;
    }
    
    .file-description {
        font-size: 0.875rem;
        word-break: break-all;
    }
    
    /* Maps categories */
    .map-category-card {
        padding: 1.25rem;
    }
    
    .map-category-card h3 {
        font-size: 1.125rem;
    }
    
    /* Contact info */
    .contact-info {
        padding: 1.25rem;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .site-header,
    .site-footer,
    .menu-overlay,
    .burger-menu {
        display: none;
    }

    .content-section {
        page-break-inside: avoid;
        padding: 2rem 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        text-decoration: underline;
        color: #000;
    }

    .hero-section {
        background: none;
        color: #000;
        padding: 2rem 0;
    }
}