/* Mobile First Approach - Base styles for all devices */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
    height: auto;
}

/* ===== HEADER SLIDER FIXES ===== */
.main-slider-two {
    position: relative;
    overflow: hidden;
}

.image-layer-two {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

/* DIFFERENT CROP POSITIONS FOR EACH SLIDE */
.main-slider-two .swiper-slide:nth-child(1) .image-layer-two {
    background-position: left center !important;
}

.main-slider-two .swiper-slide:nth-child(2) .image-layer-two {
    background-position: center center !important;
}

.main-slider-two .swiper-slide:nth-child(3) .image-layer-two {
    background-position: right center !important;
}

.main-slider-two .swiper-container,
.main-slider-two .swiper-wrapper,
.main-slider-two .swiper-slide {
    height: 100vh;
    min-height: 600px;
}

/* ===== FA-FA-CHECK ALIGNMENT FIXES ===== */
.services-details-two__points li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 15px;
    align-items: start;
    margin-bottom: 15px;
}

.services-details-two__points .icon {
    grid-column: 1;
    margin-top: 2px;
    text-align: center;
}

.services-details-two__points .icon span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.services-details-two__points .text {
    grid-column: 2;
}

.services-details-two__points .text p {
    margin: 0;
    line-height: 1.6;
}

/* ===== NAVIGATION UPDATES ===== */

/* Base dropdown styling */
.main-menu__list .dropdown {
    position: relative;
}

.main-menu__list .dropdown > ul {
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    min-width: 220px !important;
    background: white !important;
    z-index: 1000;
    display: none;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e5e5e5 !important;
}

/* First level dropdown (Treatments) */
.main-menu__list > li.dropdown > ul {
    top: 100% !important;
    left: 0 !important;
    min-width: 250px !important;
}

/* Show dropdowns on hover */
.main-menu__list .dropdown:hover > ul {
    display: block !important;
}

/* Treatment items styling */
.main-menu__list .dropdown ul li a {
    white-space: nowrap !important;
    padding: 10px 20px !important;
    font-weight: 500 !important;
    border-bottom: 1px solid #f5f5f5 !important;
    transition: all 0.3s ease !important;
    font-size: 14px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* Add arrow for dropdown items */
.main-menu__list .dropdown > li.dropdown > a::after {
    content: '\f105' !important;
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
    margin-left: 10px !important;
}

.main-menu__list .dropdown ul li:last-child a {
    border-bottom: none !important;
}

.main-menu__list .dropdown ul li a:hover {
    background: #f8f9fa !important;
    color: #d4af37 !important;
    padding-left: 25px !important;
}

/* Third level dropdown positioning */
.main-menu__list .dropdown .dropdown .dropdown > ul {
    top: 0 !important;
    left: 100% !important;
    margin-top: 0 !important;
    z-index: 1001;
}

/* Navigation button styling - Matching Discover more button */
.main-menu-two__btn-box {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.main-menu-two__btn {
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    background: #de968d !important;
    border: 2px solid #de968d !important;
    color: #fff !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
}

.main-menu-two__btn:hover {
    background: white !important;
    color: #de968d !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(222, 150, 141, 0.3) !important;
}

/* Navigation container spacing */
.main-menu-two__search-cart-box {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

/* Active page indicator */
.main-menu__list > li > a {
    font-weight: 600 !important;
    position: relative !important;
}

.main-menu__list > li.current > a {
    color: #d4af37 !important;
}

.main-menu__list > li.current > a::after {
    content: '' !important;
    position: absolute !important;
    bottom: -5px !important;
    left: 0 !important;
    width: 100% !important;
    height: 2px !important;
    background: #d4af37 !important;
}

/* ===== EXTRA SMALL DEVICES: 0px - 480px ===== */
@media only screen and (max-width: 480px) {
    /* Slider */
    .main-slider-two .swiper-container,
    .main-slider-two .swiper-wrapper,
    .main-slider-two .swiper-slide {
        height: 75vh;
        min-height: 500px;
    }
    
    .main-slider-two__title {
        font-size: 16px !important;
        line-height: 1.2 !important;
    }
    
    .main-slider-two__sub-title {
        font-size: 10px !important;
    }
    
    .main-slider-two__btn {
        padding: 6px 16px !important;
        font-size: 11px !important;
    }
    
    .main-slider-two__title br,
    .main-slider-two__sub-title br {
        display: inline !important;
    }

    /* Check icons */
    .services-details-two__points li {
        grid-template-columns: 16px 1fr;
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .services-details-two__points .icon {
        margin-top: 1px;
    }
    
    .services-details-two__points .icon span {
        width: 16px;
        height: 16px;
        font-size: 12px;
    }
}

/* ===== MOBILE LAYOUT: 0px - 767px ===== */
@media only screen and (max-width: 767px) {
    /* Slider */
    .main-slider-two .swiper-container,
    .main-slider-two .swiper-wrapper,
    .main-slider-two .swiper-slide {
        height: 80vh;
        min-height: 550px;
    }
    
    .main-slider-two__content {
        text-align: center;
        padding: 0 20px !important;
        position: relative;
        top: -5px;
    }
    
    .main-slider-two__sub-title {
        font-size: 11px !important;
        margin-bottom: 8px !important;
        line-height: 1.2 !important;
        letter-spacing: 0.5px !important;
    }
    
    .main-slider-two__title {
        font-size: 18px !important;
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
        padding-top: 10px !important;
    }
    
    .main-slider-two__title br,
    .main-slider-two__sub-title br {
        display: inline !important;
    }
    
    .main-slider-two__btn {
        padding: 8px 20px !important;
        font-size: 12px !important;
    }

    /* Check icons */
    .services-details-two__points li {
        grid-template-columns: 18px 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .services-details-two__points .icon span {
        width: 18px;
        height: 18px;
        font-size: 14px;
    }

    /* General Text */
    .section-title__title {
        font-size: 28px;
        line-height: 1.3;
    }

    .section-title__title br {
        display: none;
    }

    /* Spa Center Title */
    .spa-center__title {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
    
    .spa-center__title br {
        display: inline !important;
    }

    /* Welcome Section */
    .welcome-one {
        padding: 120px 0 80px;
    }

    .welcome-one__left,
    .welcome-one__right {
        margin: 0 auto;
        max-width: 100%;
        padding: 0 15px;
    }

    .welcome-one__right {
        margin-top: 60px !important;
    }

    .welcome-one__points {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .welcome-one__points li + li {
        margin-left: 0;
        margin-top: 20px;
    }

    /* Counter */
    .counter-one__single::before {
        display: none;
    }

    .counter-one__single {
        justify-content: center;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Testimonials */
    .testimonial-one__single {
        padding: 40px 20px;
        margin: 0 10px;
    }

    .testimonial-two__single {
        padding: 30px 20px 40px !important;
        text-align: center !important;
    }
    
    .testimonial-two__client-info {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    .testimonial-two__client-content {
        margin-left: 0 !important;
        margin-top: 0 !important;
        order: 2 !important;
    }
    
    #testimonial-two__thumb {
        position: relative !important;
        top: -20px !important;
        margin-bottom: 10px !important;
        order: 1 !important;
    }
    
    .testimonial-two__client-img {
        margin: 0 auto !important;
        text-align: center !important;
    }
    
    .testimonial-two__text {
        font-size: 18px !important;
        line-height: 1.5 !important;
        padding-bottom: 15px !important;
        margin-bottom: 15px !important;
    }
    
    .testimonial-two__name {
        font-size: 18px !important;
        margin-bottom: 5px !important;
    }
    
    .testimonial-two__designation {
        font-size: 14px !important;
    }

    /* Footer */
    .footer-widget__links,
    .footer-widget__timing,
    .footer-widget__social-box {
        margin: 30px 0;
        text-align: center;
    }

    .site-footer__social {
        justify-content: center;
    }

    .site-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    /* Touch-Friendly Elements */
    .button, a {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
    }

    /* Layout Containers */
    .about-one__left,
    .about-one__right,
    .why-choose-one__left,
    .why-choose-one__right,
    .our-intro__left,
    .our-intro__right,
    .spa-special__left,
    .spa-special__right {
        margin: 0 auto;
        max-width: 100%;
        padding: 0 15px;
    }

    .about-one__right,
    .why-choose-one__right,
    .our-intro__right,
    .spa-special__right {
        margin-top: 40px !important;
    }

    /* CTA Section */
    .cta-one {
        padding: 60px 0;
        text-align: center;
    }

    .cta-one__img {
        display: none;
    }

    .cta-one__left,
    .cta-one__right {
        margin: 0;
        padding: 0 15px;
    }

    /* Contact Forms */
    .contact-one__content {
        padding: 40px 20px;
        margin: 0 10px;
    }

    /* Products */
    .product__showing-result {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .product-details__buttons {
        flex-direction: column;
        gap: 15px;
    }

    .product-details__buttons-2 {
        margin: 0;
    }

    /* Hide Complex Elements */
    .about-one__img-2,
    .spa-special__offer,
    .promotions-one__discount,
    .process-one__shape-1,
    .testimonial-two__shape-1 {
        display: none;
    }

    /* Menu */
    .main-header__top {
        display: none;
    }

    .main-menu__wrapper-inner {
        padding: 0 20px 0;
    }

    .main-menu__right {
        display: none;
    }

    .main-menu .mobile-nav__toggler {
        padding: 35px 0;
    }

    .main-menu-two__wrapper-inner {
        padding: 0 20px 0;
    }

    .main-menu-two__right {
        display: none;
    }

    /* Navigation button hidden on mobile */
    .main-menu-two__btn-box {
        display: none !important;
    }
    
    .main-menu-two__search-cart-box {
        margin-right: 50px;
    }
    
    /* Mobile menu dropdown arrows */
    .mobile-nav__container .main-menu__list .dropdown > a::after {
        content: '\f107' !important;
        font-family: 'Font Awesome 5 Free' !important;
        font-weight: 900 !important;
        margin-left: 8px !important;
        float: right !important;
    }
    
    .mobile-nav__container .main-menu__list .dropdown.active > a::after {
        content: '\f106' !important;
    }
    
    /* Stack mobile navigation properly */
    .mobile-nav__container .main-menu__list .dropdown .dropdown > ul {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        padding-left: 20px !important;
    }

    /* Other Slider Text */
    .main-slider__title {
        font-size: 28px;
        line-height: 1.2;
        padding: 0 15px;
    }

    .main-slider-two__title,
    .main-slider-three__title {
        font-size: 24px;
        line-height: 1.2;
    }
}

/* ===== TABLET LAYOUT: 768px - 991px ===== */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    /* Slider */
    .main-slider-two .swiper-container,
    .main-slider-two .swiper-wrapper,
    .main-slider-two .swiper-slide {
        height: 70vh;
        min-height: 500px;
    }
    
    .main-slider-two__title {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
    
    .main-slider-two__sub-title {
        font-size: 16px !important;
    }

    /* Check icons */
    .services-details-two__points li {
        grid-template-columns: 18px 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .services-details-two__points .icon span {
        width: 18px;
        height: 18px;
        font-size: 14px;
    }
    
    /* Navigation button hidden on tablet */
    .main-menu-two__btn-box {
        display: none !important;
    }
    
    .main-menu-two__search-cart-box {
        margin-right: 50px;
    }
    
    /* General Styles */
    .section-title__title {
        font-size: 34px;
        line-height: 1.3;
    }

    .welcome-one {
        padding: 150px 0 100px;
    }

    .welcome-one__left,
    .welcome-one__right,
    .about-one__left,
    .about-one__right,
    .why-choose-one__left,
    .why-choose-one__right,
    .our-intro__left,
    .our-intro__right {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 30px;
    }

    .welcome-one__right,
    .about-one__right,
    .why-choose-one__right,
    .our-intro__right {
        margin-top: 80px !important;
    }

    /* Stack Elements */
    .contact-one__right,
    .services-three__right,
    .client-issues__right,
    .services-details-one__massages-left,
    .services-details-two__right {
        margin-top: 40px;
        margin-left: 0;
    }

    .opening-hour__inner {
        flex-direction: column;
        gap: 30px;
    }

    /* Footer */
    .footer-widget__timing,
    .footer-widget__social-box {
        margin-top: 40px;
        text-align: center;
    }

    .site-footer__social {
        justify-content: center;
    }

    /* Hide Shapes */
    .process-one__shape-1,
    .testimonial-two__shape-1 {
        display: none;
    }

    /* Menu */
    .main-header__top {
        display: none;
    }
}

/* ===== MEDIUM SCREEN: 992px - 1199px ===== */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .welcome-one__left,
    .welcome-one__right,
    .about-one__left,
    .about-one__right,
    .why-choose-one__left,
    .why-choose-one__right {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 40px;
    }

    .why-choose-one__left-title h2 {
        font-size: 70px;
    }

    .counter-one__single::before {
        right: 50px;
    }

    /* Navigation button adjustments */
    .main-menu-two__btn {
        padding: 10px 18px !important;
        font-size: 13px !important;
    }

    /* Footer */
    .footer-widget__links {
        margin-left: 0;
    }

    .footer-widget__timing,
    .footer-widget__social-box {
        text-align: center;
        margin: 30px auto;
    }

    .site-footer__social {
        justify-content: center;
    }
}