/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #16D6CB;
    --primary-hover: #12B5A5;
    --text-color: #2C3E50;
    --text-light: #5A6C7D;
    --bg-light: #F8F9FA;
    --border-color: #E1E8ED;
    --shadow: 0 2px 10px rgba(22, 214, 203, 0.1);
    --shadow-hover: 0 4px 20px rgba(22, 214, 203, 0.2);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.5rem; margin: 2rem 0 1.5rem; }
h4 { font-size: 1.2rem; }

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

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

/* Header */
header {
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

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

nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(22, 214, 203, 0.9), rgba(18, 181, 165, 0.9));
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.hero h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

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

/* Main Content */
main {
    padding: 2rem 0 4rem;
}

.intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 20px;
}

.intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    padding-right: 80px;
}

.card .location {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.prices {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.prices ul {
    list-style: none;
    margin-top: 0.5rem;
}

.prices li {
    padding: 0.3rem 0;
    color: var(--text-color);
}

.features,
.languages {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Spots Section */
.section-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.spot-card .card-badge {
    background: #4CAF50;
}

.spot-card .card-badge:has-text("Moyen") {
    background: #FF9800;
}

.spot-card .card-badge:has-text("Difficile") {
    background: #F44336;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* FAQ Section */
.faq {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

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

.faq-item {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

.footer-info a {
    color: var(--primary-color);
}

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

.footer-links a {
    color: white;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Navigation */
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        gap: 0.5rem;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav a {
        display: block;
        padding: 0.75rem;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    nav a:hover,
    nav a.active {
        border-left-color: var(--primary-color);
        border-bottom: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    /* Hero Mobile */
    .hero {
        padding: 3rem 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Cards Mobile */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* FAQ Mobile */
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.2rem; }
    
    .card {
        padding: 1.25rem;
    }
    
    .intro p {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    header, footer, .cta-section, .menu-toggle {
        display: none;
    }
    
    .card {
        break-inside: avoid;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0A8A82;
        --text-color: #000000;
        --border-color: #000000;
    }
}

/* Custom badge colors for difficulty levels */
.card-badge[data-level="Facile"] {
    background: #4CAF50;
}

.card-badge[data-level="Moyen"] {
    background: #FF9800;
}

.card-badge[data-level="Difficile"] {
    background: #F44336;
}

/* Loading animation for future AJAX content */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}