/* Comprehensive Mobile Fixes */

/* Force mobile menu visibility on mobile devices */
@media screen and (max-width: 768px) {
    /* Ensure mobile menu is always visible on mobile */
    .mobile-menu {
        display: flex !important;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1002;
    }
    
    /* Hide desktop navigation completely on mobile */
    .nav-links {
        display: none !important;
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }
    
    /* Show mobile navigation when active */
    .nav-links.active {
        display: flex !important;
        right: 0 !important;
    }
    
    /* Mobile navigation items styling */
    .nav-links li {
        margin: 0.8rem 0;
        width: 90%;
        list-style: none;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 1rem;
        display: block;
        width: 100%;
        text-align: center;
        border-radius: 8px;
        transition: background-color 0.3s ease;
        color: white;
        text-decoration: none;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }
    
    .nav-links a:hover,
    .nav-links a:focus {
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    /* Mobile header adjustments */
    .header {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
        padding: 0.5rem 0;
    }
    
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
        position: relative;
    }
    
    /* Logo adjustments for mobile */
    .logo {
        font-size: 1.3rem;
        color: white;
        font-weight: bold;
        z-index: 1002;
    }
    
    /* Hero section mobile fixes */
    .hero {
        margin-top: 70px; /* Account for fixed header */
        min-height: calc(100vh - 70px);
        padding: 2rem 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    /* CTA buttons mobile layout */
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 25px;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    /* Services section mobile */
    .services {
        padding: 3rem 1rem;
    }
    
    .services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
    }
    
    .service-card {
        padding: 2rem 1rem;
        text-align: center;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        background: white;
    }
    
    /* Gallery mobile fixes */
    .gallery-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    /* Contact form mobile */
    .contact-container {
        max-width: 100%;
        margin: 1rem;
        padding: 2rem 1rem;
    }
    
    .form-input,
    .form-textarea {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        border: 2px solid #e0e0e0;
        border-radius: 10px;
        box-sizing: border-box;
        min-height: 48px;
    }
    
    .send-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
        min-height: 48px;
        border-radius: 25px;
        background: #FF6B6B;
        color: white;
        border: none;
        cursor: pointer;
    }
    
    /* Booking form mobile */
    .booking-container {
        max-width: 100%;
        margin: 1rem;
        padding: 2rem 1rem;
    }
    
    /* Footer mobile */
    .footer {
        padding: 2rem 1rem;
    }
    
    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    * {
        box-sizing: border-box;
    }
    
    /* Container max-width fixes */
    .container {
        max-width: 100%;
        padding: 0 1rem;
        margin: 0 auto;
    }
}

/* Extra small mobile devices */
@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .mobile-menu {
        padding: 12px;
        min-width: 44px;
        min-height: 44px;
    }
    
    .nav-links a {
        min-height: 48px;
        padding: 1rem;
    }
    
    .btn {
        min-height: 48px;
        padding: 1rem 2rem;
    }
}

/* Landscape mobile orientation */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
    
    .btn {
        max-width: 200px;
    }
}

