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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

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

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Header */
.header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 1.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.language-selector {
    display: flex;
    align-items: center;
}

.flag-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.flag-btn {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.flag-btn .fi {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    overflow: hidden;
}

.flag-btn:hover {
    border-color: #d4af37;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.flag-btn.active {
    border-color: #d4af37;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transform: scale(1.1);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.02"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.02"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.hero-title {
    color: #ffffff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #e0e0e0;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

/* Présentation */
.presentation {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Effet de parallaxe au scroll */
.presentation:hover .video-background video {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.presentation-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 3;
}

.presentation-content h2 {
    color: #ffffff;
    margin-bottom: 3rem;
}

.presentation-content p {
    color: #e0e0e0;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Destinations */
.destinations {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
    padding: 6rem 0;
}

.destinations h2 {
    color: #ffffff;
    margin-bottom: 4rem;
}

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

/* Ressources et Contact */
.resources-contact {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 6rem 0;
}

.resources-contact h2 {
    color: #ffffff;
    margin-bottom: 4rem;
}

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

.resource-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.resource-image {
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    position: relative;
}

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

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

.resource-content {
    padding: 2rem;
    text-align: center;
}

.resource-content h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.resource-content p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-card, .contact-form-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.contact-image {
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    position: relative;
}

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

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

.contact-card:hover, .contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-content h3, .contact-form-content h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.contact-content {
    padding: 2rem;
}

.contact-form-content {
    padding: 2rem 1rem;
}

.contact-info p {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .contact-form {
        gap: 1rem;
    }
    
    .form-group {
        margin-bottom: 0.5rem;
    }
    
    .contact-form-card {
        padding: 1.5rem;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

@media (max-width: 768px) {
    .form-group input, .form-group textarea {
        padding: 10px 14px;
        font-size: 0.95rem;
    }
    
    .form-group textarea {
        min-height: 80px;
    }
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: #b0b0b0;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Messages d'alerte */
.alert {
    padding: 1.5rem 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1000;
    transition: all 0.5s ease;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.alert-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 2px solid rgba(34, 197, 94, 0.4);
    color: #16a34a;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 2px solid rgba(239, 68, 68, 0.4);
    color: #dc2626;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* reCAPTCHA v3 est invisible, pas besoin de style spécifique */

.contact-form .btn-primary {
    align-self: center;
    margin-top: 1rem;
}

.destination-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.destination-image {
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    position: relative;
}

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

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

.destination-content {
    padding: 2rem;
    text-align: center;
}

.destination-content h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.destination-content p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Boutons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #000000;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b8941f 0%, #d4af37 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #000000 100%);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.footer-icon {
    height: 50px;
    width: auto;
    opacity: 0.8;
    filter: brightness(0.8);
}

.footer-info p {
    color: #808080;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .presentation, .destinations {
        padding: 4rem 0;
    }
    
    .destinations-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .destination-card {
        margin: 0 auto;
        max-width: 350px;
    }
    
    .logo {
        height: 50px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .flag-container {
        gap: 6px;
    }
    
    .flag-btn {
        width: 35px;
        height: 35px;
    }
    
    .flag-btn .fi {
        width: 18px;
        height: 13px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-card, .contact-form-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        gap: 1rem;
    }
    
    .form-group {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .presentation-content p {
        font-size: 1.1rem;
    }
    
    .destination-content {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.destination-card {
    animation: fadeInUp 0.6s ease-out;
}

.destination-card:nth-child(1) { animation-delay: 0.1s; }
.destination-card:nth-child(2) { animation-delay: 0.2s; }
.destination-card:nth-child(3) { animation-delay: 0.3s; }
.destination-card:nth-child(4) { animation-delay: 0.4s; }

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b8941f;
}
