/* ========================================
   Responsive Design Styles
   Mobile-First Approach with Progressive Enhancement
   ======================================== */

/* ========================================
   Large Desktop (1200px and above)
   ======================================== */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .music-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Tablet (768px to 1199px)
   ======================================== */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
    
    .about-content {
        gap: var(--spacing-xl);
    }
    
    /* Two columns already set in main.css for tablet and above */
    
    .contact-content {
        gap: var(--spacing-xl);
    }
}

/* ========================================
   Mobile (below 768px)
   ======================================== */
@media (max-width: 767px) {
    /* Navigation Mobile Styles */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: var(--spacing-2xl);
        gap: var(--spacing-lg);
        transition: left var(--transition-base);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .hamburger:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .hamburger:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .hamburger:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero Section Mobile */
    .hero {
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* About Section Mobile */
    .about {
        padding: var(--spacing-2xl) 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .about-image {
        order: -1;
    }
    
    .about-achievements {
        justify-content: space-around;
        gap: var(--spacing-md);
    }
    
    .achievement-number {
        font-size: var(--fs-2xl);
    }
    
    /* Music Section Mobile */
    .music {
        padding: var(--spacing-2xl) 0;
    }
    
    .music-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    /* Events Section Mobile */
    .event-card {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .event-date {
        display: flex;
        align-items: center;
        gap: var(--spacing-md);
        min-width: auto;
    }

    .event-day {
        font-size: var(--fs-2xl);
    }

    /* Contact Section Mobile */
    .contact {
        padding: var(--spacing-2xl) 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    /* Typography Adjustments */
    h1 { font-size: var(--fs-4xl); }
    h2 { font-size: var(--fs-3xl); }
    h3 { font-size: var(--fs-2xl); }
    
    .section-title {
        font-size: var(--fs-3xl);
    }
    
    /* Container Padding */
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* ========================================
   Small Mobile (below 480px)
   ======================================== */
@media (max-width: 479px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .about-bio {
        font-size: var(--fs-base);
    }
    
    .contact-form {
        padding: var(--spacing-lg);
    }
    
    .btn {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--fs-sm);
    }
    
    .nav-logo .logo-link {
        font-size: var(--fs-xl);
    }
    
    .music-card-content {
        padding: var(--spacing-md);
    }
}

/* ========================================
   Touch-Friendly Targets
   Ensure all interactive elements are at least 44x44px
   ======================================== */
@media (hover: none) and (pointer: coarse) {
    .nav-link {
        padding: var(--spacing-md);
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .social-link {
        width: 48px;
        height: 48px;
    }
    
    .btn {
        min-height: 44px;
        padding: var(--spacing-md) var(--spacing-xl);
    }
}

/* ========================================
   Landscape Orientation Adjustments
   ======================================== */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: var(--spacing-2xl) 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .header,
    .footer,
    .hero-scroll-indicator,
    .contact-form,
    .nav-toggle {
        display: none;
    }
    
    .hero {
        page-break-after: always;
        height: auto;
        min-height: auto;
        padding: var(--spacing-2xl) 0;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .section-title::after {
        background: #000;
    }
}

