/* assets/css/responsive.css */

/* =========== RESPONSIVIDADE GERAL =========== */

/* =========== MELHORIAS MOBILE GERAIS =========== */
@media (max-width: 768px) {
    /* Melhorar espaçamentos */
    .container {
        padding: 0 15px;
    }
    
    /* Melhorar tipografia mobile */
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Melhorar botões mobile */
    .btn {
        min-height: 48px;
        padding: 12px 20px;
        font-size: 16px;
        touch-action: manipulation;
    }
    
    /* Melhorar inputs mobile */
    input, textarea, select {
        font-size: 16px !important; /* Evita zoom no iOS */
        min-height: 44px;
    }
    
    /* Melhorar scroll */
    html {
        scroll-behavior: smooth;
    }
    
    /* Melhorar performance de animações */
    * {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .room-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .room-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-widgets {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .booking-widget {
        flex-wrap: wrap;
    }
    
    .booking-widget__field {
        flex: 0 0 calc(33.333% - 1rem);
    }
    
    .booking-widget__submit {
        flex: 0 0 calc(33.333% - 1rem);
        margin-top: 1rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        max-width: 80%;
    }
    
    .nav-list {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 280px;
        height: calc(100vh - var(--header-height));
        background-color: var(--card-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: right var(--transition-normal);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .nav-item {
        width: 100%;
        margin: 0;
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link {
        font-size: 1rem;
        width: 100%;
        display: block;
    }
    
    .nav-link:after {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background-color: transparent;
        padding: 0.5rem 0 0.5rem 1rem;
        margin-top: 0.5rem;
        display: none;
        border-left: 2px solid var(--primary-color);
    }
    
    .dropdown-item {
        padding: 0.5rem 0;
    }
    
    .dropdown.show .dropdown-menu {
        display: block;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .header-buttons {
        margin-right: 3rem;
    }
    
    .header-buttons .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .room-grid,
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .booking-widget__field {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .booking-widget__submit {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .about-image {
        height: 400px;
    }
    
    .about-content {
        padding: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 2rem;
    }
    
    .room-details-grid {
        grid-template-columns: 1fr;
    }
    
    .room-gallery {
        order: 1;
    }
    
    .room-info {
        order: 2;
    }
    
    .room-sidebar {
        order: 3;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    /* =========== HEADER MOBILE =========== */
    /* Esconder logo desktop no mobile */
    .logo img {
        display: none;
    }
    
    /* Mostrar texto elegante no mobile */
    .mobile-logo-text {
        display: block !important;
        font-size: 2.3rem;
        color: #D4AF37;
        font-family: 'Dancing Script', 'Great Vibes', cursive;
        text-shadow: 
            0 0 6px rgba(212, 175, 55, 0.4),
            0 0 12px rgba(212, 175, 55, 0.3),
            0 0 18px rgba(212, 175, 55, 0.2),
            1px 1px 2px rgba(0, 0, 0, 0.6);
    }
    
    /* Animação de onda para mobile médio */
    .mobile-logo-text span span {
        animation: waveAnimation 3.2s ease-in-out infinite;
    }
    
    /* Garantir responsividade quando sidebar está aberta no mobile médio */
    body.sidebar-open {
        overflow: hidden;
        position: relative; /* Mudou de fixed para relative para evitar "puxamento" */
        width: 100%;
        height: 100%;
    }
    
    body.sidebar-open .container {
        max-width: 100%;
        width: 100%;
        padding: 0 20px;
    }
    
    body.sidebar-open header {
        position: relative;
        z-index: 1;
    }
    
    body.sidebar-open .mobile-logo-text {
        display: block !important;
        font-size: 2rem;
    }
    
    /* =========== CARROSSEL MOBILE MÉDIO =========== */
    .rooms-carousel-container {
        margin: 0 10px;
        padding: 1rem;
        border-radius: 15px;
    }
    
    .rooms-carousel {
        min-height: 400px;
        border-radius: 10px;
    }
    
    .room-story {
        grid-template-columns: 1fr;
        gap: 1rem;
        height: auto;
    }
    
    .room-visual {
        height: 250px;
        border-radius: 10px;
    }
    
    .room-main-image {
        height: 250px;
    }
    
    .room-overlay {
        padding: 1rem;
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    }
    
    .story-title {
        font-size: 1.2rem;
    }
    
    .story-description {
        font-size: 0.9rem;
    }
    
    .room-details {
        padding: 1rem;
    }
    
    .room-title {
        font-size: 1.3rem;
    }
    
    .room-description {
        font-size: 0.9rem;
    }
    
    .room-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    
    .hotspot {
        display: none; /* Esconder hotspots em mobile */
    }
    
    /* Melhorar controles do carrossel */
    .carousel-controls {
        margin-top: 1rem;
        gap: 10px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .carousel-indicators {
        margin-top: 1rem;
        gap: 8px;
    }
    
    .carousel-indicators button {
        width: 8px;
        height: 8px;
    }
    
    .carousel-thumbnails {
        margin-top: 1rem;
        gap: 8px;
    }
    
    .carousel-thumbnails img {
        width: 50px;
        height: 35px;
        border-radius: 5px;
    }
    
    header {
        background-color: var(--background-color);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 15px 0;
    }

header .container {
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 100%;
}

/* Esconder navegação desktop no mobile */
.main-navigation {
    display: none !important;
}

/* Mostrar botão mobile */
.mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 215, 0, 0.2);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.3);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

/* Esconder theme toggle no mobile */
.theme-toggle {
    display: none;
}

/* =========== LOGO MOBILE =========== */
/* Esconder logo desktop no mobile */
.logo img {
    display: none;
}

/* Mostrar texto elegante no mobile */
.mobile-logo-text {
    display: block !important;
    font-family: 'Dancing Script', 'Great Vibes', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: #D4AF37;
    text-shadow: 
        0 0 5px rgba(212, 175, 55, 0.4),
        0 0 10px rgba(212, 175, 55, 0.3),
        0 0 15px rgba(212, 175, 55, 0.2),
        1px 1px 2px rgba(0, 0, 0, 0.6);
    animation: elegantPulse 4s ease-in-out infinite;
    letter-spacing: 1px;
    text-transform: none;
    position: relative;
    line-height: 1.1;
    padding: 5px 0;
    overflow: visible;
    white-space: nowrap;
    font-style: italic;
}

/* Animação de onda para cada letra */
.mobile-logo-text span {
    display: inline-block;
    animation: waveAnimation 3s ease-in-out infinite;
}

.mobile-logo-text span:nth-child(1) { animation-delay: 0s; }
.mobile-logo-text span:nth-child(2) { animation-delay: 0.1s; }
.mobile-logo-text span:nth-child(3) { animation-delay: 0.2s; }
.mobile-logo-text span:nth-child(4) { animation-delay: 0.3s; }
.mobile-logo-text span:nth-child(5) { animation-delay: 0.4s; }
.mobile-logo-text span:nth-child(6) { animation-delay: 0.5s; }
.mobile-logo-text span:nth-child(7) { animation-delay: 0.6s; }
.mobile-logo-text span:nth-child(8) { animation-delay: 0.7s; }
.mobile-logo-text span:nth-child(9) { animation-delay: 0.8s; }
.mobile-logo-text span:nth-child(10) { animation-delay: 0.9s; }
.mobile-logo-text span:nth-child(11) { animation-delay: 1s; }
.mobile-logo-text span:nth-child(12) { animation-delay: 1.1s; }
.mobile-logo-text span:nth-child(13) { animation-delay: 1.2s; }
.mobile-logo-text span:nth-child(14) { animation-delay: 1.3s; }
.mobile-logo-text span:nth-child(15) { animation-delay: 1.4s; }
.mobile-logo-text span:nth-child(16) { animation-delay: 1.5s; }
.mobile-logo-text span:nth-child(17) { animation-delay: 1.6s; }
.mobile-logo-text span:nth-child(18) { animation-delay: 1.7s; }
.mobile-logo-text span:nth-child(19) { animation-delay: 1.8s; }
.mobile-logo-text span:nth-child(20) { animation-delay: 1.9s; }

.mobile-logo-text::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(10px);
    animation: glowPulse 5s ease-in-out infinite;
    z-index: -1;
}

@keyframes elegantPulse {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.02);
        filter: brightness(1.1);
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

@keyframes waveAnimation {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(2deg);
    }
    50% {
        transform: translateY(-12px) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(-2deg);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.02);
    }
}
    
    /* =========== HERO MOBILE =========== */
.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hero {
    height: 600px;
    background-attachment: scroll; /* Melhor performance mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    text-align: center;
    padding: 0 30px;
    max-width: 100%;
    width: 100%;
}

.hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.1rem;
    margin: 1.5rem auto;
    max-width: 90%;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    margin-top: 2.5rem;
    align-items: center;
}

.hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature-badge {
    padding: 12px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}
    
    /* =========== GRIDS MOBILE =========== */
.room-grid,
.service-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
}

.gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
}

.footer-widgets {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding: 0 20px;
}

.footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 0 20px;
}

.footer-social {
    justify-content: center;
    gap: 15px;
}

.booking-widget {
    padding: 2rem;
    margin: 0 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.booking-widget__field {
    flex: 0 0 100%;
    margin-bottom: 20px;
}

.booking-widget__submit {
    flex: 0 0 100%;
    margin-top: 20px;
}

.about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
}

/* Melhorar seções gerais no mobile */
section {
    padding: 60px 0;
    text-align: center;
}

.container {
    padding: 0 20px;
    max-width: 100%;
}

/* Melhorar cards e elementos */
.card, .room-card, .service-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 0 auto;
    max-width: 400px;
}

.card:hover, .room-card:hover, .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
}
    
    .about-image {
        height: 300px;
        order: 1;
    }
    
    .about-content {
        order: 2;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-content {
        text-align: center;
        padding: 3rem 1.5rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2;
        margin-top: 2rem;
    }
    
    .contact-form {
        order: 1;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .room-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .room-amenities {
        columns: 1;
    }
    
    .booking-form-grid {
        grid-template-columns: 1fr;
    }
    
    /* =========== MELHORIAS ESPECÍFICAS MOBILE =========== */

/* Melhorar carrossel mobile */
.room-carousel {
    margin: 0 -15px;
}

.room-carousel .slick-slide {
    padding: 0 5px;
}

/* Melhorar carrossel de quartos em mobile */
.rooms-carousel-container {
    margin: 0 10px;
    border-radius: 15px;
}

.rooms-carousel {
    border-radius: 10px;
}

/* Melhorar controles do carrossel em mobile */
.carousel-controls {
    margin-top: 1rem;
    gap: 10px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
}

.carousel-indicators {
    margin-top: 1rem;
    gap: 8px;
}

.carousel-indicators button {
    width: 8px;
    height: 8px;
}

.carousel-thumbnails {
    margin-top: 1rem;
    gap: 8px;
}

.carousel-thumbnails img {
    width: 50px;
    height: 35px;
    border-radius: 5px;
}

/* Melhorar galeria mobile */
.gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.gallery-item {
    aspect-ratio: 1;
}

/* Melhorar formulários mobile */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    padding: 15px;
    font-size: 16px;
    border-radius: 8px;
}

/* Melhorar botões mobile */
.btn {
    padding: 15px 25px;
    font-size: 16px;
    border-radius: 8px;
    min-height: 48px;
}

/* Melhorar espaçamentos mobile */
section {
    padding: 60px 0;
}

.section-title {
    margin-bottom: 30px;
}

/* Melhorar performance de animações mobile */
.animate-on-scroll {
    animation-duration: 0.8s;
}

/* Melhorar acessibilidade mobile */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========== MOBILE MUITO PEQUENO =========== */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        height: 500px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .hero-content p {
        font-size: 1rem;
        max-width: 95%;
    }
    
    .hero-buttons {
        gap: 15px;
        margin-top: 2rem;
    }
    
    .hero-buttons .btn {
        padding: 14px 25px;
        font-size: 1rem;
        max-width: 280px;
    }
    
    .hero-features {
        gap: 15px;
        margin-top: 1.5rem;
    }
    
    .feature-badge {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .room-carousel {
        margin: 0 -15px;
    }
    
    .room-carousel .slick-slide {
        padding: 0 5px;
    }
    
    /* Melhorar sidebar em mobile pequeno */
    .sidebar-container {
        width: 100%;
    }
    
    /* Melhorar carrossel em mobile pequeno */
    .rooms-carousel-container {
        margin: 0 5px;
        padding: 0.5rem;
    }
    
    .rooms-carousel {
        min-height: 350px;
    }
    
    .room-visual {
        height: 200px;
    }
    
    .room-main-image {
        height: 200px;
    }
    
    .carousel-controls {
        margin-top: 0.5rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .carousel-indicators button {
        width: 6px;
        height: 6px;
    }
    
    .carousel-thumbnails img {
        width: 40px;
        height: 30px;
    }
    
    /* Garantir responsividade quando sidebar está aberta no mobile */
    body.sidebar-open {
        overflow: hidden;
        position: relative; /* Mudou de fixed para relative para evitar "puxamento" */
        width: 100%;
        height: 100%;
    }
    
    body.sidebar-open .container {
        max-width: 100%;
        width: 100%;
        padding: 0 15px;
    }
    
    body.sidebar-open header {
        position: relative;
        z-index: 1;
    }
    
    body.sidebar-open .mobile-logo-text {
        display: block !important;
        font-size: 1.9rem;
    }
    
    .sidebar-header {
        padding: 20px 15px;
    }
    
    .sidebar-content {
        padding: 20px 15px;
    }
    
    .sidebar-section {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .sidebar-footer {
        padding: 20px 15px;
    }
    
    /* Melhorar chatbot em mobile pequeno */
    .chatbot-container {
        width: 100%;
        height: 100vh;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }
    
    .chatbot-icon {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    /* Melhorar espaçamentos gerais */
    section {
        padding: 50px 0;
    }
    
    .room-grid,
    .service-grid {
        padding: 0 15px;
        gap: 25px;
    }
    
    .footer-widgets {
        padding: 0 15px;
        gap: 30px;
    }
    
    .booking-widget {
        margin: 0 15px;
        padding: 1.5rem;
    }
}
    
    /* Melhorias específicas para formulários mobile */
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 6px;
        font-weight: 600;
        display: block;
    }
    
    .form-control {
        padding: 12px 15px;
        font-size: 16px;
        border-radius: 8px;
        border: 1px solid rgba(0, 0, 0, 0.2);
        min-height: 44px;
        width: 100%;
    }
    
    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
        outline: none;
    }
    
    textarea.form-control {
        min-height: 80px;
        resize: vertical;
    }
    
    /* Melhorias para botões mobile */
    .btn {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 16px;
    }
    
    /* Melhorias para header mobile */
    .header {
        padding: 10px 0;
    }
    
    .logo img {
        max-width: 120px;
        height: auto;
    }
    
    .mobile-menu-toggle {
        display: block;
        padding: 8px;
        background: transparent;
        border: none;
        color: var(--primary-color);
        font-size: 1.2rem;
    }
    
    .header .container {
        padding: 0 15px;
    }
    
    .logo {
        flex: 1;
    }
    
    .theme-toggle {
        margin-left: 10px;
    }
    
    .theme-toggle button {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    /* Melhorias para hero mobile */
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 25px;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 12px;
        margin-top: 25px;
        align-items: center;
    }
    
    .feature-badge {
        padding: 12px 20px;
        font-size: 14px;
        min-width: 200px;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
    }
    
    .feature-badge span {
        white-space: nowrap;
        overflow: visible;
        display: inline-block;
    }
    
    .feature-badge i {
        margin-right: 8px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    /* =========== HEADER MOBILE PEQUENO =========== */
    .desktop-logo {
        display: none;
    }
    
    .mobile-logo-text {
        display: block !important;
        font-size: 2.1rem;
        letter-spacing: 1px;
        color: #D4AF37;
        font-family: 'Dancing Script', 'Great Vibes', cursive;
        text-shadow: 
            0 0 4px rgba(212, 175, 55, 0.4),
            0 0 8px rgba(212, 175, 55, 0.3),
            0 0 12px rgba(212, 175, 55, 0.2),
            1px 1px 2px rgba(0, 0, 0, 0.6);
    }
    
    /* Animação de onda para mobile pequeno */
    .mobile-logo-text span span {
        animation: waveAnimation 2.5s ease-in-out infinite;
    }
    
    .logo {
        justify-content: flex-start;
        flex: 1;
        align-items: center;
        min-width: 250px;
        padding: 8px 0;
    }
    
    /* Garantir que o texto seja visível */
    .logo a {
        display: flex;
        align-items: center;
        text-decoration: none;
        width: 100%;
    }
    
    /* Garantir que o texto não seja cortado */
    .mobile-logo-text {
        overflow: visible;
        white-space: nowrap;
        text-overflow: clip;
    }
    
    .header .container {
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .hero {
        height: 450px;
    }
    
    /* =========== HERO FEATURES MOBILE PEQUENO =========== */
    .hero-features {
        gap: 15px;
        margin-top: 30px;
        padding: 0 10px;
    }
    
    .feature-badge {
        padding: 15px 25px;
        font-size: 15px;
        min-width: 220px;
        border-radius: 30px;
    }
    
    .feature-badge i {
        font-size: 1.2rem;
    }
    
    /* Melhorar centralização do hero content */
    .hero-content {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .hero-buttons {
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .hero-buttons .btn {
        max-width: 300px;
        padding: 15px 25px;
        font-size: 16px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-filter {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-card__text {
        font-size: 1rem;
    }
    
    .footer-widget-title {
        font-size: 1.2rem;
    }
    
    .footer-bottom {
        padding: 1.5rem 0;
    }
    
    .copyright {
        font-size: 0.85rem;
    }
    
    .about-content {
        padding: 1.5rem;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    
    .page-header {
        padding: 2rem 0;
    }
    
    .room-features {
        grid-template-columns: 1fr;
    }
    
    .room-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .room-gallery-main {
        height: 250px;
    }
    
    .room-gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* =========== ORIENTAÇÃO PAISAGEM EM DISPOSITIVOS MÓVEIS =========== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin: 0.5rem auto 1rem;
    }
    
    .nav-list {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .nav-item {
        padding: 0.5rem 0;
    }
    
    .dropdown-menu {
        max-height: 150px;
        overflow-y: auto;
    }
}

/* =========== SUPORTE PARA TELAS MUITO GRANDES =========== */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-content h1 {
        font-size: 4.5rem;
    }
    
    .hero-content p {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
    }
    
    .room-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========== SUPORTE PARA IMPRESSÃO =========== */
@media print {
    header, 
    footer,
    .booking-widget,
    .cta-section,
    .btn,
    .nav-toggle,
    .header-buttons {
        display: none !important;
    }
    
    .container {
        max-width: 100%;
        width: 100%;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .section {
        padding: 1cm 0;
        page-break-inside: avoid;
    }
    
    .room-card,
    .service-card,
    .testimonial-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .room-card__image-container {
        height: 150pt;
    }
    
    .room-details-grid {
        display: block;
    }
    
    .room-gallery-main {
        height: 200pt;
    }
    
    .room-gallery-thumbs {
        display: none;
    }
    
    .room-features {
        columns: 2;
    }
    
    .room-amenities {
        columns: 2;
    }
    
    .page-header {
        padding: 1cm 0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }
    
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    p, blockquote, ul, ol, dl, table {
        page-break-inside: avoid;
    }
    
    @page {
        margin: 2cm;
    }
}

/* =========== SUPORTE PARA TELAS DE ALTO CONTRASTE =========== */
@media (forced-colors: active) {
    .btn,
    .nav-link,
    .room-card,
    .service-card,
    .testimonial-card,
    .gallery-item,
    .footer-widget-title,
    .social-link,
    .dropdown-menu,
    .booking-widget__submit {
        border: 1px solid currentColor;
    }
    
    .btn:hover,
    .nav-link:hover,
    .social-link:hover {
        text-decoration: underline;
    }
    
    .hero::before,
    .cta-section::before,
    .gallery-overlay {
        background-color: Canvas;
        opacity: 0.5;
    }
    
    .hero-content h1,
    .hero-content p,
    .cta-content h2,
    .cta-content p {
        color: CanvasText;
        text-shadow: none;
    }
}

/* =========== SUPORTE PARA PREFERÊNCIA DE MOVIMENTO REDUZIDO =========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .btn::before,
    .gallery-item img,
    .room-card__image,
    .nav-link::after,
    .dropdown-menu,
    .nav-list,
    .service-card__icon,
    .service-card::before {
        transition: none !important;
    }
    
    .btn:hover,
    .room-card:hover,
    .service-card:hover,
    .gallery-item:hover,
    .social-link:hover {
        transform: none !important;
    }
    
    .room-card:hover .room-card__image,
    .gallery-item:hover img {
        transform: none !important;
    }
}

/* =========== GALAXY A50 E SIMILARES =========== */
@media (max-width: 375px) {
    .container {
        padding: 0 8px;
    }
    
    .hero {
        height: 440px;
    }
    
    .hero-content {
        padding: 0 12px;
    }
    
    .hero-content h1 {
        font-size: 1.9rem;
        line-height: 1.1;
    }
    
    .hero-content p {
        font-size: 0.85rem;
    }
    
    .hero-buttons {
        gap: 8px;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 260px;
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .hero-features {
        gap: 8px;
        flex-direction: column;
        align-items: center;
    }
    
    .feature-badge {
        padding: 6px 10px;
        font-size: 0.7rem;
        min-width: auto;
        width: 100%;
        max-width: 180px;
    }
    
    /* Carrossel otimizado para Galaxy A50 */
    .rooms-carousel-container {
        margin: 0 3px;
        padding: 0.3rem;
        border-radius: 8px;
    }
    
    .rooms-carousel {
        min-height: 280px;
    }
    
    .room-visual {
        height: 160px;
    }
    
    .room-main-image {
        height: 160px;
    }
    
    .room-details {
        padding: 0.3rem;
    }
    
    .room-title {
        font-size: 1rem;
    }
    
    .room-description {
        font-size: 0.75rem;
    }
    
    .room-features {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
    
    .feature-item {
        font-size: 0.65rem;
        padding: 0.2rem;
    }
    
    /* Controles do carrossel otimizados */
    .carousel-controls {
        margin-top: 0.3rem;
        gap: 6px;
    }
    
    .carousel-btn {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }
    
    .carousel-indicators {
        margin-top: 0.3rem;
        gap: 5px;
    }
    
    .carousel-indicators button {
        width: 4px;
        height: 4px;
    }
    
    .carousel-thumbnails {
        margin-top: 0.3rem;
        gap: 5px;
    }
    
    .carousel-thumbnails img {
        width: 30px;
        height: 22px;
        border-radius: 3px;
    }
}

/* =========== IPHONE 14 E SIMILARES =========== */
/* VERSÃO ATUALIZADA - FORÇAR DEPLOY VERCEL */
@media (max-width: 390px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        height: 460px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .hero-features {
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }
    
    .feature-badge {
        padding: 8px 12px;
        font-size: 0.75rem;
        min-width: auto;
        width: 100%;
        max-width: 200px;
    }
    
    /* Carrossel otimizado para iPhone 14 */
    .rooms-carousel-container {
        margin: 0 5px;
        padding: 0.5rem;
        border-radius: 10px;
    }
    
    .rooms-carousel {
        min-height: 300px;
    }
    
    .room-visual {
        height: 180px;
    }
    
    .room-main-image {
        height: 180px;
    }
    
    .room-details {
        padding: 0.5rem;
    }
    
    .room-title {
        font-size: 1.1rem;
    }
    
    .room-description {
        font-size: 0.8rem;
    }
    
    .room-features {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
    
    .feature-item {
        font-size: 0.7rem;
        padding: 0.3rem;
    }
    
    /* Controles do carrossel otimizados */
    .carousel-controls {
        margin-top: 0.5rem;
        gap: 8px;
    }
    
    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }
    
    .carousel-indicators {
        margin-top: 0.5rem;
        gap: 6px;
    }
    
    .carousel-indicators button {
        width: 5px;
        height: 5px;
    }
    
    .carousel-thumbnails {
        margin-top: 0.5rem;
        gap: 6px;
    }
    
    .carousel-thumbnails img {
        width: 35px;
        height: 25px;
        border-radius: 4px;
    }
}
