/* Mobile-First Responsive Design */

/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .nav-container {
        padding: 0 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .service-card {
        padding: 35px 25px;
    }
    
    .service-icon {
        width: 75px;
        height: 75px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .ambiente-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .ambiente-card.wide {
        grid-column: span 2;
        height: 280px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .title-main {
        font-size: 3.5rem;
    }
    
    .title-subtitle {
        font-size: 1.6rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        border-top: 1px solid var(--border-color);
        gap: 0;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 15px 20px;
        margin: 5px 20px;
        border-radius: 10px;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: calc(100% - 40px);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-translate {
        margin-right: 15px;
    }
    
    #google_translate_element {
        transform: scale(0.95);
    }
    
    .goog-te-gadget-simple {
        padding: 8px 14px !important;
        font-size: 0.8rem !important;
        border-radius: 25px !important;
    }
    
    .goog-te-gadget-icon {
        background-size: 14px !important;
        width: 16px !important;
        height: 16px !important;
        margin-right: 6px !important;
    }
    
    .goog-te-combo {
        min-width: 100px !important;
        font-size: 0.8rem !important;
        padding: 4px 8px !important;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero Mobile Styles */
    .hero {
        height: 100vh;
        padding: 0 20px;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .title-main {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .title-large {
        font-size: 2.8rem !important;
        white-space: nowrap;
        padding: 15px 25px;
        border-radius: 12px;
    }
    
    .title-subtitle {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 220px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    /* Section Mobile Styles */
    .services,
    .rooms,
    .cooperation,
    .contact {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .section-header p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 35px 25px;
        border-radius: 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.7rem;
        margin-bottom: 20px;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
    
    /* Rooms Mobile */
    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .room-image {
        height: 200px;
    }
    
    .room-overlay {
        padding: 15px;
    }
    
    .room-info h4 {
        font-size: 1.3rem;
    }
    
    .room-info p {
        font-size: 0.9rem;
    }
    
    .rooms-features {
        padding: 30px 20px;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    /* Partners Mobile */
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .partner-card {
        padding: 30px 20px;
    }
    
    .partner-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .partner-card h3 {
        font-size: 1.5rem;
    }
    
    .partner-features .feature {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .partner-highlight {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .partner-link {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    /* Ambiente Mobile */
    .ambiente-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .ambiente-card,
    .ambiente-card.wide {
        height: 200px;
        grid-column: span 1;
    }
    
    .ambiente-overlay {
        opacity: 1;
        background: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.9));
    }
    
    .ambiente-features {
        padding: 30px 20px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ambiente-feature {
        padding: 15px;
    }
    
    .ambiente-feature i {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .ambiente-feature h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    /* Contact Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 25px 15px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .contact-card h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .contact-card p {
        font-size: 0.9rem;
    }
    
    .contact-cta {
        padding: 30px 20px;
    }
    
    .contact-cta h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .contact-cta > p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-buttons .cta-button {
        width: 100%;
        max-width: none;
    }
    
    .privacy-note {
        font-size: 0.8rem;
        margin-top: 15px;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 12px;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        text-align: center;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 15px;
    }
    
    /* Bottom Contact Info Mobile */
    .bottom-contact-info {
        padding: 20px 0;
    }
    
    .bottom-contact-content {
        padding: 20px;
        max-width: 350px;
    }
    
    .contact-title {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .contact-address,
    .contact-city {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }
    
    .contact-phone {
        font-size: 1rem;
        margin-top: 12px;
        padding-top: 12px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo {
        font-size: 1rem;
    }
    
    .nav-logo img {
        width: 35px;
        height: 35px;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .title-large {
        font-size: 2.2rem !important;
        white-space: nowrap;
        padding: 10px 20px;
        border-radius: 10px;
    }
    
    .title-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        padding: 0 5px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .service-card,
    .partner-card,
    .contact-card,
    .contact-cta {
        padding: 25px 15px;
    }
    
    .rooms-features {
        padding: 25px 15px;
    }
    
    .room-image {
        height: 180px;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .footer-section p {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        font-size: 0.75rem;
    }
    
    /* Bottom Contact Info Small Mobile */
    .bottom-contact-info {
        padding: 15px 0;
    }
    
    .bottom-contact-content {
        padding: 15px;
        max-width: 300px;
    }
    
    .contact-title {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .contact-address,
    .contact-city {
        font-size: 0.9rem;
    }
    
    .contact-phone {
        font-size: 0.95rem;
        margin-top: 10px;
        padding-top: 10px;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: 500px;
    }
    
    .title-main {
        font-size: 2.2rem;
    }
    
    .title-large {
        font-size: 3rem !important;
        white-space: nowrap;
        padding: 12px 22px;
        border-radius: 11px;
    }
    
    .title-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 15px;
    }
    
    .cta-button {
        width: auto;
        min-width: 160px;
    }
}

/* Navigation Accessibility */
@media (prefers-reduced-motion: reduce) {
    .nav-menu {
        transition: none;
    }
    
    .nav-link {
        transition: none;
    }
    
    .nav-toggle .bar {
        transition: none;
    }
    
    .cta-button {
        transition: none;
    }
    
    .service-card,
    .room-card,
    .partner-card,
    .contact-card {
        transition: none;
    }
    
    .room-image img {
        transition: none;
    }
    
    @keyframes pulse {
        from { text-shadow: 0 0 20px rgba(255, 0, 64, 0.5); }
        to { text-shadow: 0 0 20px rgba(255, 0, 64, 0.5); }
    }
    
    @keyframes scroll {
        from { opacity: 1; }
        to { opacity: 1; }
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --border-color: rgba(255, 255, 255, 0.3);
        --text-gray: #e0e0e0;
        --text-muted: #cccccc;
    }
    
    .nav-link {
        border: 1px solid transparent;
    }
    
    .nav-link:hover,
    .nav-link:focus {
        border-color: var(--primary-color);
    }
    
    .cta-button {
        border: 2px solid var(--primary-color);
    }
    
    .service-card,
    .room-card,
    .partner-card,
    .contact-card {
        border-width: 2px;
    }
}