/* Responsive CSS pour Qinaya Lopez
   Ce fichier contient uniquement les styles pour la version mobile
   sans affecter la version desktop */

/* Styles généraux pour mobile */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* Navigation mobile */
    .navbar {
        padding: 15px 0;
        position: fixed;
        width: 100%;
        z-index: 1000;
        background-color: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    /* Style pour le logo */
    .logo {
        position: relative;
        z-index: 1001;
        font-size: 1.2rem;
        font-weight: 600;
        color: white;
        text-decoration: none;
    }
    
    /* Menu burger */
    .nav-toggle {
        display: block !important;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 15px;
        width: 30px;
        height: 25px;
        z-index: 1002;
    }
    
    .nav-toggle span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: white;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }
    
    .nav-toggle span:nth-child(1) {
        top: 0px;
    }
    
    .nav-toggle span:nth-child(2) {
        top: 10px;
    }
    
    .nav-toggle span:nth-child(3) {
        top: 20px;
    }
    
    .nav-toggle.active span:nth-child(1) {
        top: 10px;
        transform: rotate(135deg);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        left: -60px;
    }
    
    .nav-toggle.active span:nth-child(3) {
        top: 10px;
        transform: rotate(-135deg);
    }
    
    /* Menu de navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 100%; /* Changement de right: -100% à left: 100% */
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
        z-index: 999;
        margin: 0;
        padding: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
        list-style: none;
    }
    
    .nav-link {
        font-size: 1.5rem;
        padding: 15px 20px;
        display: block;
        text-align: center;
        color: white;
        text-decoration: none;
        font-weight: 500;
        letter-spacing: 1px;
    }
    
    .nav-link:hover {
        color: #f0f0f0;
        transform: scale(1.05);
        transition: all 0.3s ease;
    }
    
    .contact-button {
        margin-top: 20px;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 30px;
        padding: 12px 25px !important;
    }
    
    /* Hero section mobile */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.2rem !important;
    }
    
    .hero-image {
        margin-bottom: 30px;
    }
    
    .animated-logo-container {
        width: 180px;
        height: 180px;
    }
    
    /* CTA Button mobile */
    .cta-button {
        margin: 30px auto 0;
        display: inline-flex !important;
        padding: 10px 20px !important;
        font-size: 0.95rem !important;
        width: auto !important;
        max-width: 90% !important;
        justify-content: center !important;
    }
    
    .cta-text {
        white-space: normal !important;
        text-align: center !important;
    }
    
    /* Ajustement de l'animation du CTA pour mobile */
    @keyframes ctaFloatMobile {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-4px); }
    }
    
    @media (max-width: 768px) {
        .cta-button {
            animation: ctaFloatMobile 3s ease-in-out infinite !important;
        }
    }
    
    /* Sections mobiles */
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Grilles et colonnes */
    .about-grid, .services-grid, .sectors-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Avantages section */
    .avantages-container {
        flex-direction: column;
        padding: 0 15px;
    }
    
    .avantage-item {
        width: 100%;
        margin-bottom: 30px;
        padding: 20px;
    }
    
    .avantage-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .avantage-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    /* Ajustements pour les photos flottantes */
    .floating-photo {
        max-width: 120px !important;
        opacity: 0.6 !important;
    }
    
    .floating-photo:nth-child(odd) {
        left: 5% !important;
    }
    
    .floating-photo:nth-child(even) {
        right: 5% !important;
    }
    
    /* Timeline */
    .timeline-container {
        padding: 0 15px;
    }
    
    .timeline-item {
        flex-direction: column;
        margin-bottom: 40px;
    }
    
    .timeline-content {
        width: 100%;
        padding: 15px;
    }
    
    /* Contact section */
    .contact-form {
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin: 0 auto;
        max-width: 100%;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-control {
        padding: 12px;
        font-size: 16px;
        border-radius: 8px;
    }
    
    textarea.form-control {
        min-height: 120px;
    }
    
    .contact-info {
        text-align: center;
        margin-top: 40px;
        padding: 0 15px;
    }
    
    .contact-info h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .contact-info p {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-logo {
        max-width: 120px;
        margin: 0 auto 15px;
    }
    
    .footer-links {
        margin-top: 20px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-link {
        margin: 0 8px;
        font-size: 0.9rem;
    }
    
    .footer-social {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
    }
    
    .footer-social a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .footer-social a:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-3px);
    }
    
    .footer-bottom {
        margin-top: 30px;
        font-size: 0.8rem;
        opacity: 0.7;
    }
}

/* Ajustements pour très petits écrans */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .animated-logo-container {
        width: 150px;
        height: 150px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
}
