/* Media Queries - Responsive Global */
/**************************/

/* Mobile First Approach */
@media (max-width: 576px) {
    /* Typography */
    body {
        font-size: 18px !important;
        line-height: 1.5;
    }
    
    h1 {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.8rem !important;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.5rem !important;
        line-height: 1.3;
    }
    
    /* Navigation */
    .navbar {
        padding: 0.5rem 1rem !important;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .nav-item {
        margin: 0.5rem 0 !important;
    }
    
    .nav-link {
        font-size: 1rem !important;
        padding: 0.5rem 1rem !important;
    }
    
    .btn-accueil {
        font-size: 0.9rem !important;
        margin: 0.25rem 0;
    }
    
    /* Container */
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .my-5 {
        margin-top: 3rem !important;
        margin-bottom: 3rem !important;
    }
    
    /* Carousel */
    .carousel-img {
        margin-top: 100px !important;
    }
    
    .carousel-img-1, .carousel-img-2, .carousel-img-3 {
        height: 220px !important;
    }
    
    /* Cards */
    .card {
        margin-bottom: 1.5rem;
        width: 100% !important;
    }
    
    .card-body {
        padding: 1.5rem !important;
        font-size: 1rem !important;
    }
    
    /* Buttons */
    .hvr-effect {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
        width: 100%;
        margin-bottom: 1rem;
        min-height: 50px;
    }
    
    .hvr-effect-2 {
        padding: 1.25rem 2rem !important;
        font-size: 1.1rem !important;
        min-height: 55px;
    }
    
    /* Footer */
    .footer {
        font-size: 0.9rem !important;
        padding: 3rem 0 !important;
    }
    
    .footer .row {
        text-align: center;
    }
    
    .footer .col {
        margin-bottom: 1.5rem;
    }
    
    /* Contact */
    .btn-contact-responsive {
        font-size: 1.1rem !important;
        margin-top: 1.5rem;
        width: 100%;
        padding: 1rem;
        min-height: 50px;
    }
    
    /* RDV Footer */
    .rdv-footer h3 {
        font-size: 1.4rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .text-footer-rdv {
        font-size: 1rem !important;
        margin-top: 1.5rem !important;
    }
    
    /* Special responsive elements */
    .img-horaire, .img-horaire-admin {
        display: none !important;
    }
    
    .header-text-responsive {
        display: none !important;
    }
    
    .text-responsive {
        font-size: 1rem !important;
    }
    
    .descriptif_titre {
        font-size: 1.8rem !important;
    }
    
    .contacter-responsive {
        font-size: 1.8rem !important;
        margin-top: 1.5rem !important;
    }
    
    .horaire-vide {
        height: auto !important;
        min-height: 350px;
    }
    
    /* Forms */
    .form-control {
        font-size: 1.1rem !important;
        padding: 1rem !important;
        min-height: 45px;
    }
    
    /* Spacing */
    .mb-4 {
        margin-bottom: 2rem !important;
    }
    
    .mt-4 {
        margin-top: 2rem !important;
    }
    
    .mt-5 {
        margin-top: 3rem !important;
    }
    
    .mb-5 {
        margin-bottom: 3rem !important;
    }
    
    .page-contact-titre h2 {
        font-size: 2rem !important;
        margin-bottom: 2rem !important;
    }
}

/* Tablet */
@media (min-width: 577px) and (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .carousel-img {
        margin-top: 100px;
    }
    
    .carousel-img-1, .carousel-img-2, .carousel-img-3 {
        height: 250px;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .hvr-effect {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .img-horaire, .img-horaire-admin {
        width: 80%;
    }
}

/* Small Desktop */
@media (min-width: 769px) and (max-width: 992px) {
    .carousel-img {
        margin-top: 120px;
    }
    
    .img-horaire, .img-horaire-admin {
        width: 70%;
    }
    
    .card {
        width: 22rem;
    }
}

/* Large Desktop */
@media (min-width: 993px) and (max-width: 1200px) {
    .img-horaire, .img-horaire-admin {
        width: 65%;
    }
    
    .card {
        width: 25rem;
    }
}

/* Extra Large Desktop */
@media (min-width: 1201px) {
    .img-horaire, .img-horaire-admin {
        width: 60%;
    }
    
    .card {
        width: 28rem;
    }
}

/* Specific adjustments for different screen sizes */
@media (max-width: 1285px) {
    .col-xl-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-xl-10 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .hvr-effect-2 {
        font-size: 0.9rem;
    }
}

@media (min-width: 1286px) {
    .col-xl-10 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
    
    .col-xl-6 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (min-width: 1400px) and (max-width: 1450px) {
    .card {
        width: 24rem;
    }
    
    .hvr-effect-2 {
        font-size: 0.95rem;
    }
}

/* Parallax adjustments */
@media screen and (max-width: 959px) and (min-width: 768px) {
    #parallax-world-of-ugg .block {
        padding: 30px;
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    #parallax-world-of-ugg .block {
        padding: 20px;
        width: 100%;
    }
    
    #parallax-world-of-ugg h2 {
        font-size: 1.5rem;
    }
    
    #parallax-world-of-ugg .parallax-one, 
    #parallax-world-of-ugg .parallax-two, 
    #parallax-world-of-ugg .parallax-three {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media screen and (max-width: 479px) {
    #parallax-world-of-ugg .block {
        padding: 15px;
        width: 100%;
    }
}

/* Utility classes for better mobile experience */
.mobile-center {
    text-align: center !important;
}

.mobile-full-width {
    width: 100% !important;
}

.mobile-spacing {
    margin-bottom: 1rem !important;
}

.mobile-hidden {
    display: none !important;
}

@media (max-width: 576px) {
    .mobile-center {
        text-align: center !important;
    }
    
    .mobile-full-width {
        width: 100% !important;
    }
    
    .mobile-spacing {
        margin-bottom: 1rem !important;
    }
    
    .mobile-hidden {
        display: none !important;
    }
}
