/* Styles généraux */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    color: #000000;
}

/* Styles du menu mobile */
.mobile-menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

.mobile-menu-container.active {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-container.active .mobile-menu-overlay {
    opacity: 1;
}

.mobile-menu {
    position: absolute;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100%;
    background-color: #2a2b5d;
    transition: right 0.3s ease;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.mobile-menu-container.active .mobile-menu {
    right: 0;
}

.menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

.menu-links {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.menu-links a {
    color: white;
    font-size: 1.25rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.menu-links a:hover {
    color: #03e9f4;
    transform: translateX(10px);
}

.menu-contact {
    margin-top: auto;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
}

/* Configuration Tailwind */
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    :root {
        --primary: #2a2b5d;
        --secondary: #03e9f4;
        --dark: #000000;
        --light: #f8f9fa;
        --gradientStart: #9C91EF;
        --gradientEnd: #FB6BCA;
    }
}

@layer components {
    .btn-primary {
        @apply bg-white text-primary hover:bg-secondary hover:text-white px-4 py-2 rounded-lg font-semibold transition-all duration-300;
    }
    
    .btn-secondary {
        @apply border-2 border-white text-white hover:bg-white hover:text-primary px-4 py-2 rounded-lg font-semibold transition-all duration-300;
    }
}

/* Navbar */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navlogo {
    width: 120px;
    height: auto;
}

.nav-link {
    color: var(--light-color) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
    text-shadow: 0 0 5px var(--secondary-color);
}

/* Hero Section */
.hero-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--light-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px;
    margin: 0;
    color: var(--primary-color);
}

.service-card p {
    padding: 0 20px 20px;
    color: #666;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: white;
}

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.contact-section h2 {
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.form-control {
    border-radius: 5px;
    padding: 12px;
    border: 1px solid #ddd;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--gradient-start);
    transform: translateY(-2px);
}

.contact-info {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 40px 0;
}

.footer-logo {
    width: 150px;
    height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 100px 0;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-section h2 {
        font-size: 1.5rem;
    }

    .hero-image {
        margin-top: 30px;
    }

    .service-card {
        margin-bottom: 20px;
    }
    
    /* Suppression des règles en conflit pour le menu mobile */
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section, .services-section, .about-section, .contact-section {
    animation: fadeIn 1s ease-out;
}

/* Animations personnalisées */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

/* Styles pour les transitions personnalisées */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Styles pour les ombres personnalisées */
.custom-shadow {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
} 