/**
 * Sampaguitas Inner Essence - Responsive Styles (Mobile-First)
 * Este archivo contiene todos los estilos responsive priorizando móviles
 */

/* ============================================
   Mobile First - Base Styles (320px+)
   ============================================ */

/* Viewport y base */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
}

/* ============================================
   Navbar Mobile
   ============================================ */
.navbar-brand img {
    height: 60px !important;
    max-width: 100%;
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 0.5rem 1rem !important;
    }
    
    .navbar-brand {
        padding: 0.25rem 0.5rem !important;
    }
    
    .navbar-nav {
        padding: 1rem 0 !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 1rem;
    }
    
    .navbar-collapse {
        background-color: rgba(46, 46, 46, 0.95);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 5px;
    }
    
    .dropdown-menu {
        background-color: rgba(46, 46, 46, 0.8);
        border: none;
        margin-left: 1rem;
    }
    
    .dropdown-item {
        color: var(--warm-white) !important;
        padding: 0.5rem 1rem;
    }
    
    .dropdown-item:hover {
        background-color: rgba(107, 170, 117, 0.3);
    }
}

/* ============================================
   Carousel Mobile
   ============================================ */
.carousel {
    min-height: 300px;
}

.carousel-item img {
    min-height: 300px;
    object-fit: cover;
}

.carousel-static-text {
    padding: 1rem;
}

.carousel-title-garamond {
    font-size: 2rem !important;
    letter-spacing: 1px !important;
    line-height: 1.2;
}

.carousel-static-text h2 {
    font-size: 1.2rem !important;
    margin-top: 0.5rem;
}

@media (min-width: 576px) {
    .carousel {
        min-height: 400px;
    }
    
    .carousel-item img {
        min-height: 400px;
    }
    
    .carousel-title-garamond {
        font-size: 3rem !important;
    }
    
    .carousel-static-text h2 {
        font-size: 1.5rem !important;
    }
}

@media (min-width: 768px) {
    .carousel {
        min-height: 500px;
    }
    
    .carousel-item img {
        min-height: 500px;
    }
    
    .carousel-title-garamond {
        font-size: 4rem !important;
    }
    
    .carousel-static-text h2 {
        font-size: 2rem !important;
    }
}

@media (min-width: 992px) {
    .carousel-title-garamond {
        font-size: 5rem !important;
    }
}

/* ============================================
   Títulos y Tipografía Mobile
   ============================================ */
.display-1 {
    font-size: 2.5rem !important;
}

.display-2 {
    font-size: 2rem !important;
}

.display-3 {
    font-size: 1.75rem !important;
}

.display-4 {
    font-size: 1.5rem !important;
}

h1, .h1 {
    font-size: 1.75rem !important;
    line-height: 1.3;
}

h2, .h2 {
    font-size: 1.5rem !important;
    line-height: 1.3;
}

h3, .h3 {
    font-size: 1.25rem !important;
}

h4, .h4 {
    font-size: 1.1rem !important;
}

h5, .h5 {
    font-size: 1rem !important;
}

p {
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (min-width: 576px) {
    .display-1 {
        font-size: 3.5rem !important;
    }
    
    .display-2 {
        font-size: 3rem !important;
    }
    
    .display-3 {
        font-size: 2.5rem !important;
    }
    
    .display-4 {
        font-size: 2rem !important;
    }
    
    h1, .h1 {
        font-size: 2rem !important;
    }
    
    h2, .h2 {
        font-size: 1.75rem !important;
    }
}

@media (min-width: 768px) {
    .display-1 {
        font-size: 4.5rem !important;
    }
    
    .display-3 {
        font-size: 3rem !important;
    }
    
    .display-4 {
        font-size: 2.5rem !important;
    }
    
    h1, .h1 {
        font-size: 2.5rem !important;
    }
    
    h2, .h2 {
        font-size: 2rem !important;
    }
}

/* ============================================
   Section Title Mobile
   ============================================ */
.section-title {
    margin-bottom: 2rem;
    text-align: center;
}

.section-title h4 {
    font-size: 0.85rem !important;
    letter-spacing: 3px !important;
    margin-bottom: 0.5rem;
}

.section-title h1 {
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title h4 {
        font-size: 1rem !important;
        letter-spacing: 5px !important;
    }
}

/* ============================================
   Filter Pills Mobile
   ============================================ */
.filter-pills-container {
    margin-top: 1rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.filter-pill {
    padding: 0.6rem 1.2rem !important;
    margin: 0.4rem 0.3rem !important;
    font-size: 0.85rem !important;
    display: inline-block;
    width: auto;
    min-width: auto;
}

@media (min-width: 576px) {
    .filter-pill {
        padding: 0.7rem 1.5rem !important;
        margin: 0.5rem !important;
        font-size: 0.9rem !important;
    }
}

@media (min-width: 768px) {
    .filter-pills-container {
        margin-top: 2rem;
        margin-bottom: 3rem;
    }
    
    .filter-pill {
        padding: 0.75rem 2rem !important;
        margin: 0 0.5rem !important;
        font-size: 1rem !important;
    }
}

/* ============================================
   Menu Items (Masajes) Mobile
   ============================================ */
.massage-item {
    margin-bottom: 1.5rem;
}

.massage-item .row {
    margin: 0;
}

.massage-item .col-4,
.massage-item .col-sm-3 {
    padding: 0.5rem;
}

.massage-item .col-8,
.massage-item .col-sm-9 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.massage-item h4 {
    font-size: 1rem !important;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.massage-item p {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.massage-item img {
    width: 100%;
    height: auto;
}

@media (min-width: 576px) {
    .massage-item h4 {
        font-size: 1.1rem !important;
    }
    
    .massage-item p {
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) {
    .massage-item h4 {
        font-size: 1.25rem !important;
    }
    
    .massage-item p {
        font-size: 0.95rem;
    }
}

/* ============================================
   About Section Mobile
   ============================================ */
.about-section .row {
    margin: 0;
}

.about-section .col-lg-4 {
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
}

.about-section .col-lg-4:last-child {
    margin-bottom: 0;
}

.about-section h1 {
    font-size: 1.5rem !important;
    margin-bottom: 1rem;
}

.about-section h5 {
    font-size: 1rem !important;
    margin-bottom: 1rem;
}

.about-section p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-section .col-lg-4[style*="min-height"] {
    min-height: 300px !important;
    padding: 1rem;
}

@media (min-width: 768px) {
    .about-section .col-lg-4[style*="min-height"] {
        min-height: 400px !important;
    }
}

@media (min-width: 992px) {
    .about-section .col-lg-4 {
        padding: 2rem 1rem;
        margin-bottom: 0;
    }
    
    .about-section .col-lg-4[style*="min-height"] {
        min-height: 500px !important;
    }
}

/* ============================================
   Reservation Section Mobile
   ============================================ */
.reservation {
    padding: 2rem 0 !important;
}

.reservation .row {
    margin: 0;
}

.reservation .col-lg-6 {
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.reservation .p-5 {
    padding: 1.5rem !important;
}

.reservation h1.display-3 {
    font-size: 2rem !important;
    margin-bottom: 0.5rem;
}

.reservation h1.text-white {
    font-size: 1.5rem !important;
    margin-bottom: 1rem;
}

.reservation p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.reservation ul {
    padding-left: 0;
}

.reservation li {
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

.reservation .form-control {
    padding: 0.75rem !important;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.reservation .btn {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .reservation {
        padding: 3rem 0 !important;
    }
    
    .reservation .p-5 {
        padding: 2.5rem !important;
    }
    
    .reservation h1.display-3 {
        font-size: 2.5rem !important;
    }
}

@media (min-width: 992px) {
    .reservation {
        padding: 5rem 0 !important;
    }
    
    .reservation .p-5 {
        padding: 3rem !important;
    }
    
    .reservation .col-lg-6 {
        margin-bottom: 0;
    }
}

/* ============================================
   Testimonials Mobile
   ============================================ */
/* ============================================
   Testimonials Section - Asegurar visibilidad
   ============================================ */
/* Asegurar que la sección completa de testimonios sea visible */
/* .container-fluid.py-5 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
} */

/* Específico para la sección de testimonios - asegurar padding */
/* div.container-fluid.py-5:not(.about-section):not(.reservation) {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    min-height: auto !important;
} */

/* Asegurar que el contenedor del carousel sea visible */
/* .testimonial-carousel {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 200px;
    width: 100%;
    position: relative;
}

.testimonial-carousel .owl-stage-outer,
.testimonial-carousel .owl-stage,
.testimonial-carousel .owl-item {
    display: block !important;
    visibility: visible !important;
}

.testimonial-item {
    padding: 1.5rem 1rem;
    text-align: center;
    box-sizing: border-box;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
}

.testimonial-item h4 {
    font-size: 1.1rem !important;
    margin-bottom: 1rem;
}

.testimonial-item p {
    font-size: 0.9rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .testimonial-item {
        padding: 2rem;
    }
    
    .testimonial-item p {
        font-size: 1rem;
    }
} */

/* ============================================
   Footer Mobile
   ============================================ */
.footer {
    padding: 2rem 0 !important;
}

.footer .row {
    margin: 0;
}

.footer .col-lg-4,
.footer .col-md-6 {
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer h4 {
    font-size: 1rem !important;
    margin-bottom: 1rem;
}

.footer p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer h6 {
    font-size: 0.9rem !important;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.footer .btn-lg {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    margin: 0.25rem;
}

@media (min-width: 768px) {
    .footer {
        padding: 3rem 0 !important;
    }
    
    .footer .col-lg-4,
    .footer .col-md-6 {
        text-align: left;
        margin-bottom: 0;
    }
    
    .footer h4 {
        font-size: 1.1rem !important;
    }
    
    .footer p {
        font-size: 0.9rem;
    }
}

/* ============================================
   Buttons Mobile
   ============================================ */
.btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 5px;
    white-space: normal;
    word-wrap: break-word;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    display: block;
}

@media (min-width: 576px) {
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

/* ============================================
   Containers y Spacing Mobile
   ============================================ */
.container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
}

.container {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.pt-5 {
    padding-top: 2rem !important;
}

.mb-5 {
    margin-bottom: 2rem !important;
}

.my-5 {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

@media (min-width: 768px) {
    .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .pt-5 {
        padding-top: 3rem !important;
    }
    
    .mb-5 {
        margin-bottom: 3rem !important;
    }
    
    .my-5 {
        margin-top: 3rem !important;
        margin-bottom: 3rem !important;
    }
}

@media (min-width: 992px) {
    .py-5 {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
    
    .pt-5 {
        padding-top: 5rem !important;
    }
    
    .mb-5 {
        margin-bottom: 5rem !important;
    }
}

/* ============================================
   Page Header Mobile
   ============================================ */
.page-header {
    min-height: 250px !important;
    padding: 2rem 1rem;
}

.page-header h1 {
    font-size: 2rem !important;
    margin-bottom: 1rem;
}

.page-header .d-inline-flex {
    font-size: 0.85rem;
}

@media (min-width: 576px) {
    .page-header {
        min-height: 300px !important;
    }
    
    .page-header h1 {
        font-size: 2.5rem !important;
    }
}

@media (min-width: 768px) {
    .page-header {
        min-height: 350px !important;
    }
    
    .page-header h1 {
        font-size: 3rem !important;
    }
}

@media (min-width: 992px) {
    .page-header {
        min-height: 400px !important;
    }
}

/* ============================================
   Images Mobile
   ============================================ */
img {
    max-width: 100%;
    height: auto;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Back to Top Button Mobile
   ============================================ */
.back-to-top {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    bottom: 20px;
    right: 20px;
}

@media (min-width: 768px) {
    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ============================================
   WhatsApp Button Mobile (Reservation)
   ============================================ */
.btn-success.btn-lg {
    padding: 1rem !important;
    font-size: 1rem !important;
}

@media (min-width: 576px) {
    .btn-success.btn-lg {
        padding: 1.25rem !important;
        font-size: 1.1rem !important;
    }
}

/* ============================================
   Utility Classes Mobile
   ============================================ */
.text-center {
    text-align: center !important;
}

@media (min-width: 768px) {
    .text-md-left {
        text-align: left !important;
    }
}

/* Evitar desbordamiento horizontal */
.row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.row > * {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

@media (min-width: 576px) {
    .row {
        margin-left: -15px;
        margin-right: -15px;
    }
    
    .row > * {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* ============================================
   Loading Screen Mobile
   ============================================ */
#page-loader {
    padding: 1rem;
}

.loader-logo {
    max-width: 120px !important;
    margin-bottom: 1.5rem;
}

.loader-text {
    font-size: 1.2rem !important;
}

@media (min-width: 768px) {
    .loader-logo {
        max-width: 150px !important;
        margin-bottom: 2rem;
    }
    
    .loader-text {
        font-size: 1.5rem !important;
    }
}

/* ============================================
   Fix para elementos que se desbordan
   ============================================ */
* {
    max-width: 100%;
}

table {
    width: 100%;
    table-layout: fixed;
}

/* ============================================
   Touch Targets (Mínimo 44x44px para móviles)
   ============================================ */
a, button, .btn {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
}

/* ============================================
   Scroll suave en móviles
   ============================================ */
@media (max-width: 991.98px) {
    html {
        scroll-behavior: smooth;
    }
}

