/* Mobile-First Responsive Design */

/* Base Mobile Menu Styles - Always define mobile menu structure */
.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

/* Show mobile menu on smaller screens */
@media (max-width: 768px) {
    .mobile-menu {
        display: flex !important;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex !important;
    }
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
        position: relative;
    }
    
    /* Hide desktop navigation on mobile */
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, var(--primary-color), #FF8E8E);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
        width: 90%;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem;
        display: block;
        width: 100%;
        text-align: center;
        border-radius: 8px;
        transition: background-color 0.3s ease;
    }
    
    .nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* Show mobile menu button on mobile */
    .mobile-menu {
        display: flex !important;
        z-index: 1001;
    }
    
    /* Mobile menu animation states */
    .mobile-menu.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Hero Section Mobile */
    .hero {
        height: 100vh;
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Services Section Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Booking Form Mobile */
    .booking-container {
        padding: 1rem;
    }
    
    .booking-form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    /* Package Cards Mobile */
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .package-card {
        padding: 1.5rem;
    }
    
    /* Contact Section Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        text-align: center;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .navbar {
        padding: 0 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Large Mobile Styles */
@media (max-width: 480px) {
    .logo {
        font-size: 1.4rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .package-card h3 {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Touch-Friendly Elements */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-links a,
    .service-card,
    .package-card,
    .gallery-item {
        min-height: 44px;
        min-width: 44px;
    }
    
    .btn {
        padding: 1rem 2rem;
    }
    
    .nav-links a {
        padding: 1rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
    
    .nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
}

/* Print Styles */
@media print {
    .header,
    .mobile-menu,
    .cta-buttons {
        display: none;
    }
    
    .hero {
        height: auto;
        background: none;
        color: black;
    }
}

