/* Media Queries */

/* Mobile and Tablet (Below 48em / 768px) */
@media (max-width: 48em) {
    /* Header and Navigation */
    .mobile-menu-btn {
        display: block;
        margin-left: auto;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    /* Make logo smaller on mobile */
    .logo-img {
        max-height: 38px;
    }
    
    /* Hide desktop language switcher on mobile */
    .language-switcher {
        display: none;
    }
    
    /* Mobile language switcher inside menu */
    .mobile-language-switcher {
        display: block;
        padding: 1rem 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 0.5rem;
    }
    
    .language-switcher-mobile {
        display: flex;
        justify-content: center;
        gap: 10px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
        padding: 5px;
    }
    
    .language-switcher-mobile .language-btn {
        font-size: 0.85rem;
        padding: 8px 16px;
        min-width: 35px;
        background: none;
        border: none;
        color: #fff;
        font-weight: 500;
        cursor: pointer;
        border-radius: 3px;
        transition: background-color 0.3s;
        -webkit-appearance: none;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        user-select: none;
        -webkit-user-select: none;
    }
    
    .language-switcher-mobile .language-btn:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .language-switcher-mobile .language-btn.active {
        background-color: var(--primary-color);
    }
    
    /* Mobile header layout with flexbox */
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        flex-direction: column;
        padding: 1rem 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        max-height: 0;
        overflow: hidden;
    }
    
    nav ul.active {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        max-height: 100vh;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 0.8rem 1.5rem;
        transform: scale(0.95);
        opacity: 0.8;
        transition: all 0.3s ease;
    }
    
    nav ul.active li a {
        transform: scale(1);
        opacity: 1;
        transition: all 0.3s ease 0.1s;
    }
    
    nav ul li:nth-child(2) a { transition-delay: 0.15s; }
    nav ul li:nth-child(3) a { transition-delay: 0.2s; }
    nav ul li:nth-child(4) a { transition-delay: 0.25s; }
    nav ul li:nth-child(5) a { transition-delay: 0.3s; }
    nav ul li:nth-child(6) a { transition-delay: 0.35s; }
    
    /* Hero Section */
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .slide-content {
        max-width: 80%;
        padding: 0 35px;
    }

    /* Slider Arrows Mobile Improvements */
    .slider-arrows {
        top: 45%;
        padding: 0 10px;
        z-index: 15;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        background-color: rgba(0, 0, 0, 0.3);
        opacity: 0.6;
        transition: opacity 0.3s, background-color 0.3s;
    }
    
    .slider-arrow:hover {
        opacity: 1;
    }
    
    .slider-arrow svg {
        width: 18px;
        height: 18px;
    }

    /* Page Hero */
    .page-hero {
        height: 30vh;
        min-height: 200px;
    }
    
    .page-hero .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .page-hero .hero-content p {
        font-size: 0.9rem;
    }
    
    /* Section titles */
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    /* Service and feature cards */
    .service-card h3,
    .feature-card h3 {
        font-size: 1rem;
    }
    
    .service-card p,
    .feature-card p {
        font-size: 0.85rem;
    }
    
    /* Service icons */
    .service-icon,
    .feature-icon {
        font-size: 2rem;
    }
    
    /* Navigation links */
    nav ul li a {
        font-size: 0.9rem;
    }
    
    /* Contact section */
    .contact-info h3,
    .contact-hours h3,
    .contact-cta h3 {
        font-size: 1.1rem;
    }
    
    .contact-info p,
    .contact-hours p,
    .contact-cta p {
        font-size: 0.85rem;
    }
    
    /* Room cards */
    .room-title {
        font-size: 1.1rem;
    }
    
    .room-info p {
        font-size: 0.85rem;
    }
    
    /* FAQ section */
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .faq-answer p {
        font-size: 0.85rem;
    }
    
    /* Footer */
    .footer-contact h3 {
        font-size: 1rem;
    }
    
    .footer-contact ul li {
        font-size: 0.85rem;
    }
    
    /* Button text sizes */
    .btn {
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem;
    }
    
    /* Transport info */
    .transport-card h3 {
        font-size: 1rem;
    }
    
    .transport-card ul li {
        font-size: 0.85rem;
    }

    /* Contact responsive styles */
    .contact-info ul li, 
    .contact-hours ul li {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-info ul li i {
        margin-bottom: 0.5rem;
    }

    .contact-info ul li div {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .contact-cta .btn {
        width: 100%;
    }
    
    /* WhatsApp button responsive */
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 15px;
        right: 15px;
        overflow: hidden;
    }

    /* Scroll up button for mobile */
    .scroll-top-button {
        width: 40px;
        height: 40px;
        bottom: 20px;
        left: 20px;
    }

    .scroll-top-button i {
        font-size: 1rem;
    }

    /* Updated footer for mobile */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo-img {
        max-width: 280px;
    }
    
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact ul li {
        justify-content: center;
    }
    
    /* Reduce copyright font size on mobile */
    .footer-bottom p {
        font-size: 0.75rem;
    }
}

/* Small mobile devices (Below 30em / 480px) */
@media (max-width: 30em) {
    .section-title h2 {
        font-size: 1.4rem;
    }

    .feature-card, .service-card {
        padding: 1.2rem;
    }
    
    .service-card h3,
    .feature-card h3 {
        font-size: 0.9rem;
    }
    
    .service-card p,
    .feature-card p {
        font-size: 0.8rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    /* Improved slider controls for very small screens */
    .slider-arrows {
        padding: 0 5px;
    }
    
    .slider-arrow {
        width: 30px;
        height: 30px;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .slide-content {
        max-width: 85%;
        padding: 0 25px;
    }

    .slide-content h1 {
        font-size: 1.4rem !important;
        margin-bottom: 1rem !important;
    }
    
    .slide-content p {
        font-size: 0.8rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Page hero for very small screens */
    .page-hero .hero-content h1 {
        font-size: 1.4rem;
    }
    
    .page-hero .hero-content p {
        font-size: 0.8rem;
    }
    
    /* Contact section for very small screens */
    .contact-info h3,
    .contact-hours h3,
    .contact-cta h3 {
        font-size: 1rem;
    }
    
    .contact-info p,
    .contact-hours p,
    .contact-cta p {
        font-size: 0.8rem;
    }
    
    /* Room cards for very small screens */
    .room-title {
        font-size: 1rem;
    }
    
    .room-info p {
        font-size: 0.8rem;
    }
    
    /* FAQ for very small screens */
    .faq-question h3 {
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        font-size: 0.8rem;
    }
    
    /* Navigation for very small screens */
    nav ul li a {
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem;
    }
    
    /* Buttons for very small screens */
    .btn {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
    
    /* Transport info for very small screens */
    .transport-card h3 {
        font-size: 0.9rem;
    }
    
    .transport-card ul li {
        font-size: 0.8rem;
    }
}

/* Medium devices (48em-62em / 768px-992px) */
@media (min-width: 48em) and (max-width: 62em) {
    .rooms, .services, .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card {
        padding: 1.3rem;
    }
} 