/* Variables globales */
:root {
    --primary-color: #2196F3;
    --secondary-color: #03A9F4;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --spacing: 2rem;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing);
    background: linear-gradient(to right, #1e4d24, #2d5016, #1a5f2e);
    box-shadow: 0 2px 15px rgba(30, 77, 36, 0.4);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.logo h1 {
    color: white;
    font-family: 'ADLaM Display', cursive;
    font-size: 1.6rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.islands-text {
    font-family: 'Great Vibes', cursive;
    font-style: italic;
    font-size: 1.8rem;
    text-transform: none;
    letter-spacing: 2px;
    margin-left: 0.5rem;
    color: #FFD700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6), 0 0 8px rgba(255, 215, 0, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-family: 'ADLaM Display', cursive;
    font-weight: 400;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #f0f0f0;
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
}

/* Hero Section */
.hero {
    height: 85vh; /* Hauteur réduite pour une meilleure vue d'ensemble */
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), url('../images/Bienvenue-image.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 var(--spacing);
    position: relative;
    overflow: hidden;
    margin-top: 70px; /* Pour compenser la navbar fixe */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(rgba(0,0,0,0.4), transparent);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.15));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
}

.hero h1 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.95);
}

.hero-description {
    font-size: 3.2rem;
    font-family: 'Lora', serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    font-weight: 700;
    line-height: 1.6;
    max-width: 800px;
    margin: 1.5rem auto 3rem;
    color: #FFD700;
    letter-spacing: 1.5px;
    font-style: italic;
}

@keyframes goldGlow {
    from {
        color: #FFD700;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    }
    to {
        color: #FFF1AA;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 15px rgba(255, 215, 0, 0.4);
    }
}

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

.quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    margin-bottom: 0.5rem;
    font-weight: 500;
    position: relative;
    padding: 0 1rem;
}

.quote::before {
    content: '❝';
    position: absolute;
    left: -1.5rem;
    top: -0.5rem;
    font-size: 2.5rem;
    color: rgba(255,255,255,0.6);
}

.quote-author {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: rgba(255,255,255,0.8);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    text-align: right;
    font-style: normal;
    letter-spacing: 2px;
    padding-right: 1rem;
}

/* Ajout de la police Cormorant Garamond pour la citation */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,500&display=swap');

@keyframes glow {
    from {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }
    to {
        text-shadow: 2px 2px 15px rgba(255,255,255,0.3);
    }
}

/* Responsive design pour la section hero */
@media screen and (max-width: 768px) {
    .hero {
        height: 80vh;
    }

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

    .hero p {
        font-size: 1.4rem;
    }

    .hero-content {
        padding: 1.5rem;
    }
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */

.discover-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 100%;
    background-color: white;
    padding: 3rem 3rem 2rem;
    margin: 0 auto;
    gap: 1rem;
    box-sizing: border-box;
    overflow: hidden;
}

.side-image {
    width: 22%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    height: fit-content;
    min-width: 250px;
    max-width: 350px;
}

.side-image.left {
    border-radius: 0 20px 20px 0;
}

.side-image.right {
    border-radius: 20px 0 0 20px;
}

.side-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.2), transparent);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.side-image:hover::before {
    opacity: 1;
}

.side-image {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    width: 27%;
    min-width: 280px;
    max-width: 400px;
    height: 460px;
}

.side-image.left {
    height: 550px;
}

.side-image.right {
    height: 550px;
}

.side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1.2s ease;
    transform-origin: center center;
    min-height: 100%;
}

@media screen and (max-width: 1400px) {
    .side-image {
        height: 300px;
    }
}

@media screen and (max-width: 1200px) {
    .side-image {
        height: 260px;
    }
}

.side-image:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.side-image:hover img {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.05);
}

.discover-section {
    width: 46%;
    padding: var(--spacing) 0;
    background-color: white;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 500px;
    max-width: 800px;
}

.discover-content {
    width: 100%;
    margin: 0 auto;
}

@media screen and (max-width: 1400px) {
    .side-image {
        width: 250px;
    }
}

@media screen and (max-width: 1200px) {
    .side-image {
        width: 250px;
    }
}

@media screen and (max-width: 992px) {
    .discover-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .slider-section {
        margin-top: -1rem;
    }

    .side-image {
        width: 90%;
        max-width: 450px;
        height: 420px;
        margin: 1.5rem 0;
        border-radius: 20px !important;
    }
    
    .side-image.left {
        height: 460px;
    }
    
    .side-image.right {
        height: 460px;
    }

    .discover-section {
        width: 90%;
        min-width: auto;
        order: -1;
        padding: 0;
    }

    .discover-content {
        padding: 0 1rem;
    }

    .discover-text {
        padding: 1.5rem;
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .discover-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 1600px) {
    .side-image {
        width: 300px;
    }
}

@media screen and (max-width: 1400px) {
    .side-image {
        width: 280px;
    }
    .discover-wrapper {
        gap: 0.75rem;
    }
}

@media screen and (max-width: 1200px) {
    .side-image {
        width: 250px;
    }
    .discover-wrapper {
        gap: 0.5rem;
    }
    .discover-section {
        margin: 0;
    }
}

@media screen and (max-width: 992px) {
    .discover-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
    }
    
    .side-image {
        width: 90%;
        max-width: 500px;
        aspect-ratio: 4/5;
        margin: 1rem 0;
    }

    .side-image img {
        min-height: 350px;
        max-height: 450px;
        border-radius: 20px;
    }
    
    .side-image.left {
        margin: 0 0 2rem 0;
    }
    
    .side-image.right {
        margin: 2rem 0 0 0;
    }
    
    .discover-section {
        margin: 0;
        width: 90%;
        max-width: 800px;
    }
}

@media screen and (max-width: 576px) {
    .side-image {
        width: 95%;
        height: 350px;
    }
    
    .side-image.left img,
    .side-image.right img {
        border-radius: 20px;
    }
}

.discover-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 1.5rem;
}

.discover-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.discover-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.discover-text p {
    margin-bottom: 1rem;
}

.slider-section {
    width: 100%;
    background: var(--light-gray);
    padding: 0;
    margin-top: -2rem;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    max-width: 2400px;
    margin: 0 auto;
    position: relative;
    background: white;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.slide-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    max-height: 800px;
    margin: 0;
}

@media (max-width: 768px) {
    .slide-container {
        height: 45vh;
        min-height: 300px;
        max-height: 400px;
        aspect-ratio: 16/9;
    }
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    height: 85vh;
    min-height: 600px;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), url('../images/Bienvenue-image.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 var(--spacing);
    position: relative;
    overflow: hidden;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(rgba(0,0,0,0.4), transparent);
    z-index: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
}

.hero-slide .hero-content {
    position: relative;
    z-index: 2;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 1.5s ease, filter 1.5s ease;
    transform-origin: center center;
    will-change: transform;
    display: block;
    margin: 0 auto;
}

.slide:hover img {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.05);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.7) 100%);
    color: #FFD700;
    padding: 1.5rem 2rem 1rem;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.5);
    opacity: 1;
    transform: translateY(0);
    backdrop-filter: blur(3px);
    border-top: 1px solid rgba(255,215,0,0.2);
    transition: all 1s ease;
}

.slide:hover .slide-caption {
    padding-bottom: 1.2rem;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.8) 100%);
    opacity: 1;
    color: #FFF1AA;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.9), 0 0 15px rgba(255, 215, 0, 0.6);
}

.slide-caption::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.5), transparent);
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,0.2);
    text-decoration: none;
    opacity: 0;
    z-index: 10;
}

.discover-slider:hover .prev,
.discover-slider:hover .next {
    opacity: 1;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background: rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.4);
    width: 80px;
    height: 80px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .prev, .next {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
    
    .prev:hover, .next:hover {
        width: 55px;
        height: 55px;
    }
    
    .prev {
        left: 10px;
    }
    
    .next {
        right: 10px;
    }
}

.dot-container {
    text-align: center;
    padding: 1.5rem 0 0.5rem;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 6px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
    border-color: white;
}

.dot:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.fade {
    animation: fadeEffect 1.5s ease-in-out;
}

@keyframes fadeEffect {
    from {
        opacity: 0.4;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.discover-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') repeat;
    opacity: 0.1;
    z-index: 0;
}

.feature-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-card h3 {
    padding: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    padding: 0 1rem 1rem;
}

/* Footer */
/* Galerie de présentation */
.gallery-section {
    width: 100%;
    padding: 4rem var(--spacing);
    background: linear-gradient(to bottom, var(--light-gray), white);
    margin-top: 4rem;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-title {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'ADLaM Display', cursive;
    letter-spacing: 2px;
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    font-style: italic;
    opacity: 0.8;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.15);
    filter: brightness(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    color: #FFD700;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-family: 'Lora', serif;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .gallery-title {
        font-size: 2.2rem;
    }
    
    .gallery-subtitle {
        font-size: 1.1rem;
    }
    
    .gallery-section {
        padding: 3rem 1rem;
    }
}

footer {
    background-color: #333;
    color: white;
    padding: var(--spacing);
}

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

.footer-section h3 {
    margin-bottom: 1rem;
}

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

.social-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Style pour les pages de contenu */
.page-content {
    margin-top: 70px;
    width: 100%;
    min-height: calc(100vh - 300px);
    padding: 0;
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
}

.page-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'ADLaM Display', cursive;
}

/* Style spécifique pour le titre de la page histoire */
.hero-banner h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-family: 'ADLaM Display', cursive;
}

/* Styles spécifiques pour la page Histoire */
.hero-banner {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 600px;
    margin: 0 0 1.5rem 0;
    overflow: hidden;
    background-color: #f5f5f5;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.hero-banner:hover .hero-image img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.2) 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.7) 100%
    );
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 6rem;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: starExpand 1.5s ease-out forwards;
    min-height: 100%;
}

@keyframes starExpand {
    0% {
        clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%);
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    30% {
        clip-path: polygon(50% -20%, 80% 30%, 120% 50%, 80% 70%, 50% 120%, 20% 70%, -20% 50%, 20% 30%);
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        clip-path: polygon(50% -20%, 80% 30%, 120% 50%, 80% 70%, 50% 120%, 20% 70%, -20% 50%, 20% 30%);
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.hero-content h1 {
    font-family: 'ADLaM Display', cursive;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    opacity: 0;
    animation: textReveal 1s ease-out 1s forwards;
    transform-origin: center center;
}

.hero-text {
    font-size: 1.4rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    opacity: 0;
    animation: textReveal 1s ease-out 1.5s forwards, goldGlow 3s ease-in-out infinite alternate;
    transform-origin: center center;
}

@keyframes goldGlow {
    from {
        color: #FFD700;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }
    to {
        color: #FFF1AA;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.6), 0 0 15px rgba(255, 215, 0, 0.4);
    }
}

@keyframes textReveal {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(10deg);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0);
    }
}

.hero-content::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: starGlow 3s ease-in-out infinite alternate;
}

@keyframes starGlow {
    from {
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@media screen and (max-width: 768px) {
    .hero-banner {
        height: 60vh;
        min-height: 450px;
        margin: -1rem calc(-50vw + 50%) 2rem;
        width: 100vw;
    }

    .hero-content {
        padding: 2rem;
    }

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

    .hero-text {
        font-size: 1.2rem;
        line-height: 1.6;
    }
}

.history-timeline {
    padding: 0;
}

.timeline-section {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.timeline-section:first-child {
    margin-top: 0;
}

.timeline-section:nth-child(2) { animation-delay: 0.2s; }
.timeline-section:nth-child(3) { animation-delay: 0.4s; }
.timeline-section:nth-child(4) { animation-delay: 0.6s; }
.timeline-section:nth-child(5) { animation-delay: 0.8s; }

.timeline-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Style spécifique pour la section Antiquité */
.timeline-section:first-child .timeline-content {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-section:first-child .timeline-text {
    padding: 1.5rem;
    max-width: 400px;
}

.timeline-section:first-child .timeline-image {
    min-height: 250px;
    max-width: 350px;
}

.horizontal-section .timeline-content {
    flex-direction: row;
    padding: 0;
}

.horizontal-section.reverse .timeline-content {
    flex-direction: row-reverse;
}

.vertical-section .timeline-content {
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-text {
    padding: 3rem;
    flex: 1;
}

.timeline-text h2 {
    color: #004d1a;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: 'ADLaM Display', cursive;
}

.timeline-text p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #333;
    text-align: justify;
}

.history-link {
    color: #004d1a;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted #004d1a;
    transition: all 0.3s ease;
}

.history-link:hover {
    color: #006622;
    border-bottom: 1px solid #006622;
}

.timeline-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.vertical-section .timeline-image {
    width: 100%;
    min-height: 300px;
}

/* Style spécifique pour la section médiévale */
.timeline-section:nth-child(2) .timeline-content {
    max-width: 900px;
    margin: 0 auto;
    gap: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.medieval-image {
    max-width: 800px;
    height: 180px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.medieval-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    transition: transform 0.3s ease;
}

.medieval-image:hover img {
    transform: scale(1.05);
}

.timeline-section:nth-child(2) .timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.timeline-section:nth-child(2) .timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.timeline-content:hover .timeline-image img {
    transform: scale(1.05);
}

.historical-landmarks {
    margin-top: 6rem;
    padding: 3rem;
    background: linear-gradient(45deg, #f5f5f5, #ffffff);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.historical-landmarks h2 {
    color: #004d1a;
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    font-family: 'ADLaM Display', cursive;
}

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

.landmark-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.landmark-card:hover {
    transform: translateY(-10px);
}

.landmark-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.landmark-card:hover img {
    transform: scale(1.1);
}

.landmark-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: #004d1a;
    font-size: 1.4rem;
    font-family: 'ADLaM Display', cursive;
}

.landmark-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    line-height: 1.6;
}

@media screen and (max-width: 992px) {
    .horizontal-section .timeline-content,
    .horizontal-section.reverse .timeline-content {
        flex-direction: column;
    }

    .timeline-image {
        min-height: 300px;
        width: 100%;
    }

    .timeline-text {
        padding: 2rem;
    }

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

@media screen and (max-width: 768px) {
    .timeline-text h2 {
        font-size: 1.6rem;
    }

    .timeline-text {
        padding: 1.5rem;
    }

    .historical-landmarks {
        padding: 2rem;
    }

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

/* Styles spécifiques pour la page Économie */
.economy-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.economy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.economy-section h2 {
    color: #004d1a;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-family: 'ADLaM Display', cursive;
}

.eco-content {
    margin-top: 1.5rem;
}

.eco-stats {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 2rem 0;
    margin: 1rem 0;
    background: linear-gradient(45deg, #f5f5f5, #ffffff);
    border-radius: 10px;
}

.eco-stats li {
    text-align: center;
}

.eco-stats span {
    display: block;
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.eco-list {
    list-style: none;
    padding: 0;
}

.eco-list li {
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    background: #f5f5f5;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.eco-list li:hover {
    transform: translateX(10px);
    background: linear-gradient(to right, #f5f5f5, #ffffff);
}

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

.craft-item {
    padding: 1.5rem;
    background: #f5f5f5;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.craft-item:hover {
    transform: translateY(-5px);
}

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

.tourism-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
    background: #f5f5f5;
    border-radius: 10px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

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

.project-card {
    padding: 1.5rem;
    background: #f5f5f5;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

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

.future-goals {
    list-style: none;
    padding: 0;
}

.future-goals li {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: #f5f5f5;
    border-radius: 8px;
    transition: transform 0.3s ease;
    position: relative;
    padding-left: 2rem;
}

.future-goals li:before {
    content: "→";
    position: absolute;
    left: 0.8rem;
    color: var(--primary-color);
}

.future-goals li:hover {
    transform: translateX(10px);
    background: linear-gradient(to right, #f5f5f5, #ffffff);
}

@media screen and (max-width: 768px) {
    .eco-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .eco-stats li {
        padding: 1rem;
    }
    
    .tourism-stats {
        grid-template-columns: 1fr;
    }
}

/* Styles spécifiques pour la page Pêche */
.fishing-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.fishing-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.fishing-section h2 {
    color: #004d1a;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-family: 'ADLaM Display', cursive;
}

.fishing-content {
    margin-top: 1.5rem;
}

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

.detail-item {
    padding: 1.5rem;
    background: #f5f5f5;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(45deg, #f5f5f5, #ffffff);
}

.detail-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.technique-card {
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.technique-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.technique-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.technique-details {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.technique-details li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.technique-details li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

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

.species-item {
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.species-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(45deg, #f5f5f5, #ffffff);
}

.species-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.season-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 1rem;
}

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

.stat-box {
    text-align: center;
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box .stat-number {
    display: block;
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.initiative-list {
    list-style: none;
    padding: 0;
}

.initiative-list li {
    padding: 1rem;
    margin-bottom: 0.8rem;
    background: #f5f5f5;
    border-radius: 8px;
    transition: transform 0.3s ease;
    position: relative;
    padding-left: 2rem;
}

.initiative-list li:before {
    content: "→";
    position: absolute;
    left: 0.8rem;
    color: var(--primary-color);
}

.initiative-list li:hover {
    transform: translateX(10px);
    background: linear-gradient(to right, #f5f5f5, #ffffff);
}

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

.program-card {
    padding: 1.5rem;
    background: #f5f5f5;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

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

@media screen and (max-width: 768px) {
    .technique-grid,
    .species-list,
    .fleet-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-box {
        padding: 1.5rem;
    }
    
    .stat-box .stat-number {
        font-size: 2rem;
    }
}

/* Styles spécifiques pour la page Tourisme */
.tourism-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.tourism-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tourism-section h2 {
    color: #004d1a;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-family: 'ADLaM Display', cursive;
}

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

.beach-card {
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.beach-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(45deg, #f5f5f5, #ffffff);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.beach-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.beach-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.beach-features span {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

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

.accom-card {
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.accom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.accom-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.accom-features {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.accom-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.accom-features li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

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

.activity-card {
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.activity-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.activity-features {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.activity-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.activity-features li:before {
    content: "→";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

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

.specialty-card {
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.specialty-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.specialty-items {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.specialty-items li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.specialty-items li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

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

.info-card {
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.info-list li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

@media screen and (max-width: 768px) {
    .beaches-grid,
    .accommodation-types,
    .activities-grid,
    .specialties-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .beach-features {
        justify-content: center;
    }
    
    .tourism-section {
        padding: 1.5rem;
    }
}

/* Styles spécifiques pour la page Folklore */
.folklore-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.folklore-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.folklore-section h2 {
    color: #004d1a;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-family: 'ADLaM Display', cursive;
}

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

.festival-card {
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.festival-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(45deg, #f5f5f5, #ffffff);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.festival-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.festival-timing {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.festival-highlights {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.festival-highlights li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.festival-highlights li:before {
    content: "✦";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

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

.craft-category {
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.craft-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.craft-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.craft-products {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.craft-products li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.craft-products li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

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

.tradition-card {
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.tradition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.tradition-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.tradition-list {
    list-style: none;
    padding: 0;
}

.tradition-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.tradition-list li:before {
    content: "♪";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

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

.costume-card {
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.costume-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.costume-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.costume-elements {
    list-style: none;
    padding: 0;
}

.costume-elements li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.costume-elements li:before {
    content: "✧";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

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

.knowledge-card {
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.knowledge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.knowledge-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.knowledge-points {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.knowledge-points li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.knowledge-points li:before {
    content: "→";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

@media screen and (max-width: 768px) {
    .festivals-grid,
    .craft-categories,
    .music-dance-grid,
    .costume-grid,
    .knowledge-grid {
        grid-template-columns: 1fr;
    }
    
    .folklore-section {
        padding: 1.5rem;
    }
    
    .festival-card,
    .craft-category,
    .tradition-card,
    .costume-card,
    .knowledge-card {
        padding: 1.5rem;
    }
}

/* Responsive Design */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: right 0.5s ease;
        padding: 2rem;
        z-index: 1000;
    }

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

    .burger {
        display: block;
        cursor: pointer;
    }

    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.toggle .line2 {
        opacity: 0;
    }

    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

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

    .hero-content p {
        font-size: 1.2rem;
    }
}
