/* Mobile Responsive Styles for AGYIS Website */

/* Mobile Navigation - Hamburger Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98), rgba(15, 15, 30, 0.98));
    backdrop-filter: blur(20px);
    padding: 2rem 1.5rem;
    transition: right 0.3s ease;
    z-index: 999;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(92, 155, 164, 0.3);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 4rem;
}

.mobile-nav-links .nav-link {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(92, 155, 164, 0.2);
    text-align: left;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
}

.mobile-overlay.active {
    display: block;
}

/* Tablet and Mobile Breakpoints */
@media (max-width: 1024px) {
    /* Show hamburger menu on tablets and mobile */
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-nav {
        display: block;
    }
    
    /* Hide desktop navigation links */
    nav .absolute.left-1\/2 {
        display: none !important;
    }
    
    /* Adjust logo and nav container */
    nav .max-w-7xl {
        justify-content: space-between !important;
    }
    
    nav .w-40 {
        display: none;
    }
    
    /* Adjust logo size */
    .logo-nav {
        width: 40px !important;
        height: 40px !important;
    }
    
    .logo-text {
        font-size: 1.5rem !important;
    }
    
    /* Reduce padding */
    nav {
        padding: 1rem !important;
    }
}

@media (max-width: 768px) {
    /* Further adjustments for mobile phones */
    .logo-text {
        font-size: 1.25rem !important;
        letter-spacing: 2px !important;
    }
    
    .logo-nav {
        width: 36px !important;
        height: 36px !important;
    }
    
    /* Adjust hero sections */
    .hero h1,
    h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    .hero p,
    .hero .text-xl {
        font-size: 1rem !important;
    }
    
    /* Adjust card grids */
    .grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Adjust padding and spacing */
    .px-8 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .py-12 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .py-20 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* Text sizes */
    .text-5xl {
        font-size: 2rem !important;
    }
    
    .text-4xl {
        font-size: 1.75rem !important;
    }
    
    .text-3xl {
        font-size: 1.5rem !important;
    }
    
    .text-2xl {
        font-size: 1.25rem !important;
    }
    
    .text-xl {
        font-size: 1.125rem !important;
    }
    
    /* Button adjustments */
    button, .btn {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.875rem !important;
    }
    
    /* Photography page specific */
    .slideshow-container {
        max-width: 100vw !important;
        max-height: 60vh !important;
    }
    
    .slideshow-control {
        padding: 0.75rem !important;
    }
    
    .slideshow-control svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    /* Music page - album cards */
    .album-card {
        padding: 1rem !important;
    }
    
    /* Contact form */
    .max-w-2xl {
        max-width: 100% !important;
    }
    
    /* Form type selection buttons */
    .form-type-btn {
        padding: 0.75rem !important;
    }
    
    .form-type-btn .text-3xl {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    /* Extra small phones */
    .logo-text {
        font-size: 1rem !important;
        letter-spacing: 1px !important;
    }
    
    .logo-nav {
        width: 32px !important;
        height: 32px !important;
    }
    
    h1 {
        font-size: 1.75rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    /* Tighter spacing */
    nav {
        padding: 0.75rem !important;
    }
    
    .gap-4 {
        gap: 0.5rem !important;
    }
    
    /* Photography slideshow */
    .slideshow-container {
        max-height: 50vh !important;
    }
    
    /* Hide slide counter text on very small screens */
    .slide-counter {
        font-size: 0.75rem !important;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .slideshow-container {
        max-height: 80vh !important;
    }
    
    nav {
        padding: 0.5rem 1rem !important;
    }
}

/* Fix for home page overflow and overlapping issues on mobile */
@media (max-width: 768px) {
    /* Allow scrolling on mobile for home page */
    body {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        height: auto !important;
        min-height: 100vh !important;
    }
    
    /* Fix hero section height on mobile */
    .hero {
        min-height: 100vh !important;
        height: auto !important;
        padding-bottom: 4rem !important;
    }
    
    /* Ensure content sections don't overlap */
    section {
        position: relative !important;
        z-index: 10 !important;
    }
    
    /* Fix footer spacing on mobile */
    footer {
        position: relative !important;
        margin-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Adjust service cards on home page */
    .service-card,
    .card {
        margin-bottom: 1.5rem !important;
    }
    
    /* Fix video background on mobile */
    .hero-video {
        object-fit: cover !important;
        height: 100% !important;
    }
}
