/* Variables de couleurs */
:root {
  --primary-blue: #2b6cb0;
  --secondary-blue: #3182ce;
  --light-blue: #ebf8ff;
  --primary-green: #38a169;
  --secondary-green: #48bb78;
  --light-green: #f0fff4;
  --white: #ffffff;
  --light-gray: #f7fafc;
  --medium-gray: #e2e8f0;
  --dark-gray: #2d3748;
  --black: #000000;

  /* --- Ajout de variables d'espacement pour plus de cohérence --- */
  --spacing-xs: 0.5rem;    /* 8px */
  --spacing-sm: 1rem;      /* 16px */
  --spacing-md: 1.5rem;    /* 24px */
  --spacing-lg: 2rem;      /* 32px */
  --spacing-xl: 3rem;      /* 48px */
  --spacing-2xl: 4rem;    /* 64px */

  /* --- Rayons des bordures (si non définies) --- */
  --border-radius-sm: 0.25rem; /* 4px */
  --border-radius-md: 0.5rem;  /* 8px */
  --border-radius-lg: 0.75rem; /* 12px */
  --border-radius-xl: 1rem;    /* 16px */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif; /* Using Inter for consistency with previous changes */
    line-height: 1.7; /* Improved line height for overall readability */
    color: var(--dark-gray);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================
    Structure de base
    ========================= */
.activities-container {
    
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-lg) 20px; /* Adjusted padding */
    background-color: var(--white);
}
a{
    text-decoration: none;
}
/* =========================
    Section Hero
    ========================= */
.hero-section {
    height: 400px;
    background: linear-gradient(rgba(43, 108, 176, 0.7), rgba(56, 161, 105, 0.7)),
                url('https://observalgerie.com/wp-content/uploads/2022/02/le-port-de-bejaia-place-guidon.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: var(--spacing-2xl); /* Consistent margin */
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg); /* Using variable */
}

.hero-content h1 {
    font-size: 3.5rem; /* Slightly larger for impact */
    margin-bottom: var(--spacing-md); /* Consistent margin */
    text-shadow: 0 3px 6px rgba(0,0,0,0.4); /* Stronger shadow */
    color: var(--white);
}

.hero-content p {
    font-size: 1.4rem; /* Slightly larger */
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3); /* Stronger shadow */
    line-height: 1.6;
}

/* =========================
    Titres de section
    ========================= */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl); /* Consistent margin */
}

.section-header h2 {
    color: var(--black);
    position: relative;
    display: inline-block;
    padding-bottom: var(--spacing-sm); /* Consistent padding */
    font-size: 2.8rem; /* Larger, consistent heading size */
    margin-bottom: 0;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px; /* Wider line */
    height: 4px;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-green)); /* Gradient line */
    border-radius: 2px;
}

.section-subtitle {
    color: #555; /* Neutralized color */
    font-size: 1.15rem; /* Consistent subtitle size */
    margin-top: var(--spacing-sm); /* Consistent margin */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.alt-bg {
    background-color: var(--light-gray);
    padding: var(--spacing-2xl) 0; /* Consistent padding */
    margin: var(--spacing-2xl) 0; /* Consistent margin */
}

/* =========================
    Grille d'activités (Tourisme Solidaire) - Text Overlay
    ========================= */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Consistent card width */
    gap: var(--spacing-xl); /* Consistent gap */
    max-width: 1200px; /* Increased max-width for the grid */
    margin: var(--spacing-lg) auto 0 auto;
}

.activity-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative; /* Essential for absolute positioning of children */
    height: 420px; /* Fixed height for overlay cards, consistent with events */
    display: flex; /* Ensures content fills height */
    flex-direction: column; /* Stacks content */
    justify-content: flex-end; /* Pushes content to the bottom */
    border: 1px solid var(--medium-gray); /* Subtle border for definition */
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: var(--primary-blue);
}

.highlight-card {
    border: 2px solid var(--primary-green);
    box-shadow: 0 8px 20px rgba(56, 161, 105, 0.2);
}

.activity-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-green);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius-md);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10; /* Ensure badge is on top of overlay */
}

.activity-image { /* Now used as the background of the entire card */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area */
    z-index: 1; /* Image layer */
    /* No transition on transform here if using image as background-image,
       but the overall card transition handles the hover effect */
}

/* Gradient Overlay for text readability - SLIGHTLY DARKER */
.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Make the gradient start darker and extend further up */
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
    z-index: 2; /* Overlay layer */
    pointer-events: none; /* Allow clicks to pass through */
}

.activity-content {
    position: relative;
    z-index: 3; /* Content layer on top */
    padding: var(--spacing-md); /* Increased padding for more breathing room */
    color: var(--white); /* White text for contrast */
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows content to take available space within its container */
    justify-content: flex-end; /* Ensures content is at the bottom */
    /* NEW: Add a semi-transparent dark background directly to the content area */
    background-color: rgba(0,0,0,0.2); /* Adjust opacity as needed */
    padding-bottom: calc(var(--spacing-md) + 5px); /* Add a little extra padding at the bottom for visual balance */
}

.activity-content h3 {
    font-size: 1.8rem; /* Slightly larger title, consistent with events */
    font-weight: 700; /* Bolder title */
    margin-top: 0;
    margin-bottom: var(--spacing-xs);
    color: var(--white); /* Title white */
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8); /* Stronger, slightly larger text shadow */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit title to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-content p {
    font-size: 1.05rem; /* Slightly larger description */
    color: rgba(255, 255, 255, 0.85); /* Brighter white for description */
    flex-grow: 0; /* Prevents description from pushing the button too far down */
    text-align: left;
    line-height: 1.5; /* Improved line height for readability */
    text-shadow: 0 1px 3px rgba(0,0,0,0.7); /* Stronger text shadow */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit text to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-md); /* Adjusted margin, consistent with events */
    color: rgba(255, 255, 255, 0.95); /* Brighter white for features */
    text-align: left;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7); /* Stronger text shadow */
}

.activity-features li {
    margin-bottom: var(--spacing-xs); /* Consistent spacing */
    font-size: 0.95rem; /* Consistent font size */
    font-weight: 400; /* Regular weight */
    display: flex;
    align-items: flex-start;
    gap: 0.6rem; /* Consistent gap */
}

.activity-features li i {
    color: var(--primary-green);
    font-size: 1.1em;
    flex-shrink: 0;
    padding-top: 3px;
}

.activity-btn {
    align-self: flex-start; /* Aligns button to the left */
    margin-top: auto; /* Pushes button to the bottom */
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.8rem; /* Consistent padding */
    border-radius: var(--border-radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(43, 108, 176, 0.2);
}

.activity-btn:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(43, 108, 176, 0.3);
}

/* =========================
    Section Échanges Culturels
    ========================= */
#echanges-culturels {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-2xl) 0; /* Consistent padding */
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.tabs-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius-xl); /* Larger radius */
    padding: var(--spacing-xl); /* Consistent padding */
    box-shadow: 0 15px 40px rgba(43, 108, 176, 0.1);
}

.tabs-header {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-xl); /* Consistent margin */
    flex-wrap: wrap;
    gap: var(--spacing-sm); /* Consistent gap */
}

.tab-btn {
    padding: 0.9rem 1.8rem; /* Adjusted padding */
    background: none;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem; /* Consistent font size */
    cursor: pointer;
    transition: all 0.4s ease;
    color: var(--dark-gray);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50px;
}

.tab-btn:hover {
    color: var(--white);
    transform: translateY(-3px);
}

.tab-btn.active {
    color: var(--white);
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(56, 161, 105, 0.4);
}

.tab-btn.active::before {
    opacity: 1;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.6s ease-out forwards;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl); /* Consistent gap */
    align-items: center;
}

.column-text h3 {
    font-size: 2rem; /* Consistent heading size */
    color: var(--black);
    margin-bottom: var(--spacing-md); /* Consistent margin */
    font-weight: 700;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0; /* Consistent margin */
}

.feature-list li {
    padding: 0.8rem 0; /* Adjusted padding */
    padding-left: 40px;
    position: relative;
    font-size: 1.05rem;
    color: var(--dark-gray);
    border-bottom: 1px dashed var(--medium-gray);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px; /* Slightly larger icon container */
    height: 28px;
    background-color: var(--light-green);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2338a169'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
}

.column-image {
    position: relative;
    border-radius: var(--border-radius-lg); /* Consistent radius */
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(43, 108, 176, 0.1); /* Stronger shadow */
    height: 400px;
}

.ateliers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Slightly wider for ateliers */
    gap: var(--spacing-lg); /* Consistent gap */
    margin-top: var(--spacing-xl); /* Consistent margin */
}

.atelier-item {
    background: var(--white);
    padding: var(--spacing-lg) var(--spacing-md); /* Consistent padding */
    border-radius: var(--border-radius-lg); /* Consistent radius */
    text-align: center;
    box-shadow: 0 10px 30px rgba(43, 108, 176, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--medium-gray); /* Subtle border */
}

.atelier-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
}

.atelier-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(43, 108, 176, 0.1);
}

.atelier-item i {
    font-size: 3rem; /* Larger icon */
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md); /* Consistent margin */
    transition: all 0.4s ease;
}

.atelier-item h4 {
    margin: var(--spacing-sm) 0 var(--spacing-xs); /* Adjusted margin */
    color: var(--primary-blue);
    font-size: 1.3rem; /* Larger title */
    font-weight: 600;
}

.atelier-item p {
    color: var(--dark-gray);
    font-size: 0.95rem; /* Consistent paragraph size */
    line-height: 1.5;
}

/* =========================
    Section Événements
    ========================= */
.events-timeline {
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl) auto; /* Consistent margin */
    position: relative;
    padding-left: 50px;
}

.events-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-green);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl); /* Consistent margin */
    background: var(--white);
    padding: var(--spacing-md); /* Consistent padding */
    border-radius: var(--border-radius-md); /* Consistent radius */
    box-shadow: 0 5px 15px rgba(43, 108, 176, 0.05);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 30px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-blue);
    border: 4px solid var(--light-green);
}

.timeline-date {
    position: absolute;
    left: -180px;
    top: 25px;
    width: 120px;
    text-align: right;
    font-weight: 500;
    color: var(--primary-blue);
    font-size: 1rem; /* Consistent font size */
}

.timeline-content h3 {
    margin-top: 0;
    color: var(--black);
    font-size: 1.6rem; /* Consistent heading size */
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.event-location {
    color: var(--primary-green);
    margin: 5px 0;
    font-size: 0.95rem; /* Consistent font size */
}

.event-btn {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: 0.8rem 1.8rem; /* Consistent padding */
    border-radius: var(--border-radius-md); /* Consistent radius */
    text-decoration: none;
    font-weight: 600; /* Bolder button text */
    transition: all 0.3s ease;
    margin-top: var(--spacing-sm); /* Consistent margin */
    box-shadow: 0 4px 10px rgba(56, 161, 105, 0.2);
}

.event-btn:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(56, 161, 105, 0.3);
}

/* =========================
    Responsive Design
    ========================= */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem; /* Adjusted for smaller screens */
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .two-columns {
        grid-template-columns: 1fr;
    }

    .column-image {
        height: 300px;
        order: -1;
        margin-bottom: var(--spacing-lg); /* Add space below image when stacked */
    }

    .activities-grid {
        /* Keep horizontal scrolling but adjust card sizing for mobile swipe */
        display: flex; /* Override grid to allow flex scrolling */
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: var(--spacing-md); /* Add some padding for scrollbar */
        padding-left: 20px; /* Adjust padding for cards to start nicely */
        padding-right: 20px;
        gap: var(--spacing-md); /* Reduced gap for horizontal scroll */
        margin-left: -20px; /* Offset to align with grid */
        margin-right: -20px;
    }

    /* Hide scrollbar for a cleaner look */
    .activities-grid::-webkit-scrollbar {
        display: none;
    }
    .activities-grid {
        scrollbar-width: none;
    }

    .activities-grid .activity-card {
        scroll-snap-align: start; /* Snap individual cards to the start */
        flex-shrink: 0; /* Prevent cards from shrinking */
        width: 85%; /* Make cards take up more width on smaller screens */
        max-width: 350px; /* Maintain a max width for large mobile devices */
        height: 400px; /* Adjust height for mobile horizontal scroll */
    }

    .atelier-item {
        padding: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 300px;
        padding: var(--spacing-xl) 20px;
        margin-bottom: var(--spacing-xl); /* Consistent margin */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .section-header h2::after {
        width: 70px;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .tabs-container {
        padding: var(--spacing-lg) var(--spacing-md); /* Consistent padding */
    }

    .timeline-date {
        position: static;
        text-align: left;
        margin-bottom: var(--spacing-xs);
        width: auto;
    }

    .events-timeline {
        padding-left: 30px;
    }

    .timeline-item::before {
        left: -20px;
    }

    /* Activity Card Specific Adjustments for smaller mobile */
    .activities-grid .activity-card {
        width: 90%; /* More width on very small screens */
        max-width: none; /* No max-width for very small screens */
        height: 380px; /* Further adjust height for very small screens */
    }

    .activity-content h3 {
        font-size: 1.6rem; /* Keep consistent with desktop for overlay */
        margin-bottom: var(--spacing-xs);
    }
    .activity-content p {
        font-size: 1rem; /* Keep consistent with desktop for overlay */
        line-height: 1.5;
    }
    .activity-features li {
        font-size: 0.95rem; /* Keep consistent with desktop for overlay */
        margin-bottom: 0.5rem;
    }
    .activity-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .atelier-item h4 {
        font-size: 1.1rem;
    }
    .atelier-item i {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .ateliers-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Activity Card Specific Adjustments for very small mobile */
    .activities-grid .activity-card {
        width: 95%; /* Even more width */
        height: 350px; /* Smallest height for tiny screens */
    }
    .activity-content h3 {
        font-size: 1.4rem; /* Adjust smaller for very small screens */
    }
    .activity-content p {
        font-size: 0.9rem; /* Adjust smaller for very small screens */
        line-height: 1.4;
    }
    .activity-features li {
        font-size: 0.9rem; /* Adjust smaller for very small screens */
    }
    .activity-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

/*slider images*/
.slider-container {
    flex: 1;
    min-width: 45%;
    margin-top: var(--spacing-lg); /* Consistent margin */
    border-radius: var(--border-radius-lg); /* Consistent radius */
    overflow: hidden;
}

.main-slide {
    height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-md); /* Consistent margin */
    box-shadow: 0 8px 20px rgba(41, 104, 171, 0.15);
    border: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
}

.main-slide:hover {
    box-shadow: 0 10px 25px rgba(41, 104, 171, 0.2);
    transform: translateY(-2px);
}

.main-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.slider-thumbnails {
    display: flex;
    gap: var(--spacing-sm); /* Consistent gap */
    overflow-x: auto;
    padding-bottom: var(--spacing-xs); /* Consistent padding */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) var(--light-gray);
}

.slider-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.slider-thumbnails::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 10px;
}

.slider-thumbnails::-webkit-scrollbar-thumb {
    background-color: var(--primary-blue);
    border-radius: 10px;
}

.slider-thumbnails img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius-sm); /* Consistent radius */
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.slider-thumbnails img:hover {
    opacity: 0.9;
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(56, 161, 105, 0.25);
    border-color: var(--primary-green);
}

.slider-thumbnails img.active-thumb {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(56, 161, 105, 0.3);
    border-color: var(--primary-blue);
}

@media (max-width: 768px) {
    .slider-container {
        min-width: 100%;
        margin-top: var(--spacing-md);
    }

    .main-slide {
        height: 300px;
    }

    .slider-thumbnails img {
        width: 90px;
        height: 60px;
    }
}
/*fin slider images*/

/* Footer */
footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: var(--spacing-lg) 0; /* Consistent padding */
  text-align: center;
}

.footer-section a {
    
  color: var(--white);
  font-size: 1.5rem;
  margin: 0 var(--spacing-xs); /* Consistent margin */
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--secondary-green);
}

.footer-bottom {
  margin-top: var(--spacing-lg); /* Consistent margin */
  padding-top: var(--spacing-sm); /* Consistent padding */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Section Contact (within footer) */
.footer-section {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: var(--spacing-xl) 0; /* Consistent padding */
  text-align: center;
}

.footer-section h3 {
  margin-bottom: var(--spacing-sm); /* Consistent margin */
  color: var(--white);
}

.footer-section p {
  margin-bottom: 0.5rem;
}

.footer-section i {
  margin-right: 0.5rem;
  color: var(--secondary-green);
}


/* la carte*/
#visitedPlacesMap {
    margin: 0 auto var(--spacing-2xl) auto; /* Consistent margin */
    height: 400px;
    width: 80%;
    max-width: 1000px;
    border-radius: var(--border-radius-md); /* Consistent radius */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* Stronger shadow */
}

/* Responsive mobile/tablette */
@media (max-width: 768px) {
    #visitedPlacesMap {
        width: 95%;
        height: 300px;
    }
}

@media (max-width: 480px) {
    #visitedPlacesMap {
        height: 250px;
    }
}


/* Centrer le message d'absence d'activités */
.no-activities {
    text-align: center;
    width: 100%;
    padding: var(--spacing-xl) var(--spacing-md); /* Consistent padding */
    margin: 0 auto;
    grid-column: 1 / -1; /* Pour les grilles CSS */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    font-size: 1.2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius-md); /* Consistent radius */
    min-height: 150px; /* Ensure some minimum height */
}

/* Version mobile */
@media (max-width: 768px) {
    .no-activities {
        padding: var(--spacing-lg) var(--spacing-sm); /* Consistent padding */
        font-size: 1rem;
    }
}