/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (Charte Graphique Laplume)
   ========================================================================== */
:root {
    --primary-color: #00474d;
    /* Vert Foncé officiel */
    --primary-color-rgb: 0, 71, 77;
    --primary-dark: #002f33;
    /* Vert Très Foncé pour pied de page / accents */
    --primary-light: #005f66;
    /* Vert Moyen pour hovers */
    --secondary-color: #97b791;
    /* Vert Sauge officiel */
    --secondary-color-rgb: 151, 183, 145;
    --secondary-light: #eaf1eb;
    /* Vert Sauge très clair pour fonds */
    --dark-text: #1f2d2f;
    /* Anthracite avec nuance verte */
    --light-text: #ffffff;
    --bg-light: #f7faf9;
    /* Gris très clair verdâtre */
    --bg-white: #ffffff;
    --border-color: #e2e9e7;

    --font-heading: 'Outfit', 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-accent: 'Great Vibes', cursive;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;

    --shadow-sm: 0 4px 6px rgba(0, 71, 77, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 71, 77, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 71, 77, 0.12);
}

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--bg-light);
    overflow-x: hidden;
    height: 100%;
}

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

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

li {
    list-style: none;
}

/* Common Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-color);
}

.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    font-weight: 700;
}

.text-left {
    text-align: left;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto 50px auto;
    border-radius: 2px;
}

.divider-light {
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    margin-bottom: 25px;
    border-radius: 1.5px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-text);
    border-color: var(--light-text);
}

.btn-secondary:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
}

/* ==========================================================================
   HEADER NAVIGATION (Transparent -> Scrolled Style)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: 25px 0;
    transition: var(--transition-smooth);
}

/* Scrolled Header Style */
.main-header.scrolled {
    background-color: var(--primary-color);
    padding: 15px 0;
    box-shadow: var(--shadow-lg);
}

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

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.main-header.scrolled .logo-img {
    height: 50px;
}

/* Nav Menu Desktop */
.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    gap: 10px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--light-text);
    padding: 10px 15px;
    display: block;
    position: relative;
    letter-spacing: 0.5px;
}

/* Nav Link Hover Underline Effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transition: var(--transition-smooth);
    transform-origin: right;
}

.nav-link:hover::after,
.nav-item:hover>.nav-link::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Dropdown Menu styling */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 71, 77, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 250px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    padding: 12px 0;
    border-top: 3px solid var(--secondary-color);
    z-index: 100;
}

.dropdown-menu a {
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 24px;
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    transition: var(--transition-fast);
}

.dropdown-menu a:hover {
    color: var(--light-text);
    background-color: rgba(151, 183, 145, 0.2);
    padding-left: 28px;
}

.nav-item:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Nested Dropdown (Level 3) */
.nested-dropdown {
    position: relative;
}

.nested-dropdown>a::after {
    content: '\203A';
    float: right;
    font-weight: bold;
    transform: scale(1.3);
}

.nested-menu {
    position: absolute;
    left: 100%;
    top: -12px;
    background-color: rgba(0, 71, 77, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 200px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    transition: var(--transition-smooth);
    padding: 12px 0;
    border-left: 3px solid var(--secondary-color);
}

.nested-dropdown:hover>.nested-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Burger Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger-bar {
    width: 100%;
    height: 3px;
    background-color: var(--light-text);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO DIAPORAMA pleins écran (Fonroche Lighting-style)
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Hero Slider Backgrounds */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 8s ease;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
}

/* Dark Gradient Overlay for Readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(0, 20, 22, 0.65) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 71, 77, 0.8) 100%);
    z-index: 2;
}

/* Hero Centered Content */
.hero-content {
    position: relative;
    z-index: 3;
    color: var(--light-text);
    max-width: 900px;
    padding: 0 20px;
    margin-top: 50px;
}

.hero-title {
    font-size: 5.5rem;
    font-family: var(--font-accent);
    color: var(--light-text);
    margin-bottom: 0px;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 25px;
    color: var(--secondary-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.hero-divider {
    width: 80px;
    height: 3px;
    background-color: var(--light-text);
    margin: 0 auto 30px auto;
    border-radius: 1.5px;
    animation: scaleIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    opacity: 0;
}

.hero-tagline {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
    line-height: 1.6;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
    opacity: 0;
}

/* Slider Manual Controls */
.slider-controls {
    position: absolute;
    bottom: 50px;
    left: 50px;
    right: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 4;
}

.slider-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--light-text);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
}

.slider-control:hover {
    background: var(--light-text);
    color: var(--primary-color);
    border-color: var(--light-text);
    transform: scale(1.05);
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    background-color: var(--secondary-color);
    width: 25px;
    border-radius: 5px;
}

/* Animated Scroll Down Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    color: var(--light-text);
    opacity: 0.85;
    transition: var(--transition-fast);
}

.scroll-down-indicator:hover {
    opacity: 1;
    margin-bottom: -5px;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--light-text);
    border-radius: 13px;
    position: relative;
    margin-bottom: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wheel {
    display: block;
    width: 4px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-out infinite;
}

.arrow-down {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--light-text);
    border-bottom: 2px solid var(--light-text);
    transform: rotate(45deg);
    animation: bounceArrow 2s infinite;
}

/* ==========================================================================
   QUICK LINKS (Accès Rapide) SECTION
   ========================================================================== */
.quick-links-section {
    padding: 100px 0 80px 0;
    background-color: var(--bg-light);
    position: relative;
    z-index: 10;
}

/* Floating Card Layout Overlaying Hero slightly */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: -140px;
    /* Overlap effect */
    position: relative;
    z-index: 12;
}

.quick-link-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.quick-link-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--secondary-color);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-light);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.card-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.8;
}

.quick-link-card:hover .card-icon {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: rotateY(180deg);
}

.quick-link-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.quick-link-card p {
    font-size: 0.95rem;
    color: rgba(31, 45, 47, 0.8);
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-more {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
}

/* ==========================================================================
   ACTUALITÉS (News) SECTION
   ========================================================================== */
.actualites-section {
    padding: 80px 0 100px 0;
    background-color: var(--bg-white);
    scroll-margin-top: 50px;
}

.actualites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    background-color: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.news-image {
    height: 220px;
    background-size: cover;
    background-position: top;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 71, 77, 0.15);
    transition: var(--transition-smooth);
}

.news-card:hover .news-image::after {
    background-color: rgba(0, 71, 77, 0);
}

.news-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--light-text);
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.badge-event {
    background-color: #d97736;
}

.badge-urban {
    background-color: var(--primary-color);
}

.badge-patrimoine {
    background-color: #8b6b55;
}

.badge-doc {
    background-color: var(--secondary-color);
}

.news-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    margin-bottom: 12px;
}

.news-date {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.news-card-title a:hover {
    color: var(--secondary-color);
}

.news-excerpt {
    font-size: 0.95rem;
    color: rgba(31, 45, 47, 0.85);
    margin-bottom: 25px;
    flex-grow: 1;
}

.news-read-more {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
}

.news-archive-link {
    margin-top: 40px;
}

/* ==========================================================================
   INFO & CONTACT SECTION
   ========================================================================== */
.info-contact-section {
    background-color: var(--bg-light);
}

.info-contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    min-height: 550px;
}

/* Left side: Town Presentation */
.town-presentation {
    flex: 1 1 50%;
    padding: 100px 80px;
    display: flex;
    align-items: center;
    background-color: var(--secondary-light);
    position: relative;
    overflow: hidden;
}

.town-presentation::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(151, 183, 145, 0.15);
    z-index: 0;
}

.presentation-content {
    max-width: 550px;
    position: relative;
    z-index: 1;
}

.presentation-content p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: rgba(31, 45, 47, 0.9);
}

.town-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    color: rgba(31, 45, 47, 0.75);
    letter-spacing: 0.5px;
}

/* Right side: Contact Card container */
.contact-hours-container {
    flex: 1 1 50%;
    padding: 100px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 20px;
    width: 100%;
    max-width: 550px;
    color: var(--light-text);
    box-shadow: 0 30px 60px rgba(0, 20, 22, 0.3);
}

.contact-card-title {
    color: var(--light-text);
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(151, 183, 145, 0.2);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-text span,
.contact-text a {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-text a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--primary-dark);
    color: var(--light-text);
    padding: 80px 0 30px 0;
    border-top: 4px solid var(--secondary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-identity {
    grid-column: span 1;
}

/* Make identity col wider on large screens */
@media (min-width: 992px) {
    .footer-identity {
        grid-column: span 2;
        padding-right: 40px;
    }
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

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

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    border-color: var(--secondary-color);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

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

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
}

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scaleX(0);
    }

    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        top: 8px;
    }

    50% {
        opacity: 0.5;
        top: 18px;
    }

    100% {
        opacity: 0;
        top: 18px;
    }
}

@keyframes bounceArrow {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) rotate(45deg);
    }

    40% {
        transform: translateY(-6px) rotate(45deg);
    }

    60% {
        transform: translateY(-3px) rotate(45deg);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */

/* Large Screens */
@media (max-width: 1199px) {
    .town-presentation {
        padding: 80px 40px;
    }

    .contact-hours-container {
        padding: 80px 40px;
    }
}

/* Tablets (landscape) */
@media (max-width: 991px) {
    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        letter-spacing: 5px;
    }

    .quick-links-grid {
        margin-top: -80px;
        gap: 20px;
    }

    .town-presentation,
    .contact-hours-container {
        flex: 1 1 100%;
        padding: 80px 30px;
    }
}

/* Tablets (portrait) & Phones */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .logo-img {
        height: 55px;
    }

    .main-header.scrolled .logo-img {
        height: 45px;
    }

    /* Navigation drawer overlay on mobile */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--primary-dark);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
        z-index: 999;
        transition: var(--transition-smooth);
        display: block;
        padding: 100px 30px 40px 30px;
        overflow-y: auto;
    }

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

    .nav-list {
        flex-direction: column;
        gap: 15px;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-link::after {
        display: none;
    }

    /* Dropdowns in Mobile */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: rgba(255, 255, 255, 0.04);
        border: none;
        border-left: 2px solid var(--secondary-color);
        box-shadow: none;
        margin: 5px 0 10px 10px;
        padding: 5px 0;
        display: none;
        /* Controlled by JS */
    }

    .nav-item.active>.dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 8px 15px;
        font-size: 0.95rem;
    }

    .nested-dropdown>a::after {
        transform: rotate(90deg);
        display: inline-block;
        margin-left: 10px;
    }

    .nested-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: transparent;
        border: none;
        box-shadow: none;
        margin-left: 10px;
        padding: 0;
        display: none;
        /* Controlled by JS */
    }

    .nested-dropdown.active>.nested-menu {
        display: block;
    }

    /* Hamburger Active/Open Animation */
    .mobile-menu-toggle.active .burger-bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .mobile-menu-toggle.active .burger-bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Hero Responsive */
    .hero-title {
        font-size: 3.25rem;
    }

    .hero-tagline {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .slider-controls {
        bottom: 30px;
        left: 20px;
        right: 20px;
    }

    .slider-control {
        width: 40px;
        height: 40px;
    }

    /* Sections spacing */
    .quick-links-section {
        padding-top: 110px;
    }

    .quick-links-grid {
        margin-top: -60px;
    }

    .town-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .contact-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   PAGE ARTICLE / SUBPAGES STYLING
   ========================================================================== */
.page-content-container {
    padding: 160px 0 100px 0;
    /* Add top padding to clear fixed header */
    background-color: var(--bg-light);
    min-height: 80vh;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.breadcrumbs a {
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.breadcrumbs span {
    text-transform: capitalize;
}

.page-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    line-height: 1.2;
}

.section-divider-left {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 0 40px 0;
    border-radius: 2px;
}

.rich-text-content {
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    color: var(--dark-text);
    font-size: 1.05rem;
    line-height: 1.8;
}

.rich-text-content h2,
.rich-text-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.rich-text-content p {
    margin-bottom: 20px;
}

.rich-text-content img {
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    max-width: 100%;
    height: auto;
}

.rich-text-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.95rem;
}

.rich-text-content th,
.rich-text-content td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.rich-text-content th {
    background-color: var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
}

.redirect-info {
    text-align: center;
    padding: 40px;
}

.redirect-info p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .page-content-container {
        padding-top: 120px;
    }

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

    .rich-text-content {
        padding: 25px 20px;
    }
}

/* ==========================================================================
   SUBPAGE HERO BANNER WITH SLIDESHOW
   ========================================================================== */
.subpage-hero {
    position: relative;
    height: 300px;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.subpage-hero+.page-content-container {
    padding-top: 60px;
}

.subpage-hero+.page-content-container .page-title,
.subpage-hero+.page-content-container .section-divider-left {
    display: none;
}

.subpage-hero-content {
    position: relative;
    z-index: 3;
    color: var(--light-text);
    max-width: 900px;
    padding: 0 20px;
    margin-top: 50px;
}

.subpage-hero-title {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--light-text);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 768px) {
    .subpage-hero {
        height: 220px;
    }

    .subpage-hero-title {
        font-size: 1.8rem;
    }

    .subpage-hero+.page-content-container {
        padding-top: 40px;
    }
}

/* ==========================================================================
   LE PETIT PENNAVIEN - ARCHIVE PDF GRID & MODAL VIEWER
   ========================================================================== */

/* Search Container */
.pdf-search-section {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.pdf-search-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.pdf-search-container input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--dark-text);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    outline: none;
}

.pdf-search-container input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(151, 183, 145, 0.15);
}

.pdf-search-container .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: rgba(31, 45, 47, 0.4);
    pointer-events: none;
    transition: var(--transition-fast);
}

.pdf-search-container input:focus+.search-icon {
    color: var(--primary-color);
}

/* Featured Section */
.pdf-featured-section {
    margin-bottom: 50px;
}

.pdf-featured-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.pdf-featured-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.pdf-featured-card {
    background: linear-gradient(135deg, rgba(0, 71, 77, 0.04) 0%, rgba(151, 183, 145, 0.08) 100%);
    border: 1px solid rgba(0, 71, 77, 0.1);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.pdf-featured-card::before {
    content: 'Nouveau';
    position: absolute;
    top: 25px;
    right: -35px;
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 6px 40px;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.featured-icon-wrapper {
    background-color: var(--primary-color);
    color: var(--light-text);
    width: 100px;
    height: 100px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(0, 71, 77, 0.25);
    transition: var(--transition-smooth);
}

.featured-icon-wrapper svg {
    width: 50px;
    height: 50px;
}

.pdf-featured-card:hover .featured-icon-wrapper {
    transform: scale(1.05) rotate(-5deg);
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    box-shadow: 0 10px 25px rgba(151, 183, 145, 0.4);
}

.featured-content {
    flex-grow: 1;
}

.featured-content h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.featured-meta {
    font-size: 1rem;
    color: rgba(31, 45, 47, 0.75);
    margin-bottom: 20px;
    font-weight: 500;
}

.featured-actions {
    display: flex;
    gap: 15px;
}

/* Archives Grid */
.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    transition: opacity 0.3s ease;
}

.pdf-card {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 400px;
    background-color: var(--bg-light);
    /* Fallback */
    cursor: pointer;
    /* Clickable */
}

.pdf-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 71, 77, 0.02);
    transition: var(--transition-smooth);
    z-index: 1;
}

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

.pdf-card:hover::before {
    background: rgba(0, 71, 77, 0.08);
}

/* Glassmorphic card content drawer */
.pdf-card-glass {
    margin-top: auto;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    padding: 24px;
    width: 100%;
    z-index: 2;
    transition: var(--transition-smooth);
}

.pdf-card:hover .pdf-card-glass {
    background: rgba(255, 255, 255, 0.94);
}

.pdf-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary-color);
}

.pdf-card .pdf-meta {
    font-size: 0.9rem;
    color: rgba(31, 45, 47, 0.75);
    margin-bottom: 20px;
    font-weight: 500;
}

.pdf-grid-item {
    transition: all 0.3s ease;
}

.pdf-card-actions {
    display: flex;
    gap: 10px;
}

.pdf-card-actions .btn,
.featured-actions .btn {
    padding: 10px 18px;
    font-size: 0.85rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
    flex: 1;
}

.btn-view-pdf {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: 2px solid var(--primary-color);
}

.btn-view-pdf:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-download-pdf {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--border-color);
}

.btn-download-pdf:hover {
    background-color: var(--secondary-light);
    border-color: var(--secondary-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Empty search state */
.pdf-empty-state {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--bg-white);
    border-radius: 16px;
    border: 1px dashed var(--border-color);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.pdf-empty-state .empty-icon {
    font-size: 3rem;
    color: rgba(31, 45, 47, 0.2);
}

.pdf-empty-state h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.pdf-empty-state p {
    color: rgba(31, 45, 47, 0.6);
    max-width: 400px;
}

/* Modal PDF Viewer */
.pdf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pdf-modal.active {
    opacity: 1;
    visibility: visible;
}

.pdf-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 47, 51, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pdf-modal-container {
    position: relative;
    background-color: var(--bg-white);
    width: 92%;
    height: 90%;
    max-width: 1200px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2002;
}

.pdf-modal.active .pdf-modal-container {
    transform: translateY(0);
}

.pdf-modal-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-light);
}

.pdf-modal-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 65%;
}

.pdf-modal-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-btn-download {
    padding: 8px 16px;
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-btn-download:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.modal-btn-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: rgba(31, 45, 47, 0.5);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
    padding: 0 5px;
}

.modal-btn-close:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.pdf-modal-body {
    flex-grow: 1;
    position: relative;
    background-color: #525659;
    /* Standard browser PDF viewer bg */
}

.pdf-modal-body iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsiveness adjustments */
@media (max-width: 992px) {
    .pdf-featured-card {
        padding: 30px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .pdf-featured-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .pdf-featured-card::before {
        top: 15px;
        right: -40px;
        font-size: 0.75rem;
    }

    .featured-actions {
        flex-direction: column;
        width: 100%;
    }

    .featured-actions .btn {
        width: 100%;
    }

    .pdf-modal-container {
        width: 96%;
        height: 94%;
    }

    .pdf-modal-header {
        padding: 12px 16px;
    }

    .pdf-modal-header h3 {
        font-size: 1rem;
    }

    .modal-btn-download {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   NOUVEL ARRIVANT (Welcome Page for Newcomers)
   ========================================================================== */

.newcomer-intro {
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.newcomer-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(31, 45, 47, 0.85);
}

.newcomer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .newcomer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.newcomer-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.newcomer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.newcomer-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.newcomer-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background-color: var(--secondary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.newcomer-card-icon svg {
    width: 26px;
    height: 26px;
}

.newcomer-card:hover .newcomer-card-icon {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.newcomer-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.newcomer-card-list {
    margin-bottom: 0;
    flex-grow: 1;
}

.newcomer-card-list li {
    list-style: none;
    position: relative;
    padding-left: 24px;
    margin-bottom: 16px;
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(31, 45, 47, 0.8);
}

.newcomer-card-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.newcomer-card-list li strong {
    color: var(--primary-color);
}

.newcomer-card-list a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition-fast);
}

.newcomer-card-list a:hover {
    color: var(--secondary-color);
}

/* Contact and Town Hall Section */
.newcomer-contact-section {
    background: linear-gradient(135deg, rgba(0, 71, 77, 0.03) 0%, rgba(151, 183, 145, 0.05) 100%);
    border: 1px solid rgba(0, 71, 77, 0.08);
    border-radius: 24px;
    padding: 45px;
    margin-top: 60px;
    box-shadow: var(--shadow-sm);
}

.newcomer-contact-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .newcomer-contact-section {
        padding: 30px 20px;
    }

    .newcomer-contact-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

.newcomer-contact-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.newcomer-contact-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(31, 45, 47, 0.8);
    margin-bottom: 25px;
}

.newcomer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--secondary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
}

.contact-info-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.contact-info-content p {
    font-size: 0.95rem;
    color: rgba(31, 45, 47, 0.85);
    line-height: 1.5;
}

.contact-info-content a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-info-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ==========================================================================
   PAGINATION STYLING
   ========================================================================== */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 6px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--secondary-light);
    border-color: var(--secondary-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.pagination-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-text);
    box-shadow: 0 4px 10px rgba(0, 71, 77, 0.25);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: var(--bg-light);
    border-color: var(--border-color);
    color: rgba(31, 45, 47, 0.3);
}

.pagination-btn.nav-btn {
    border-radius: 20px;
    padding: 0 16px;
}