/* Mobile First Responsive Design */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    /* Navigation */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 80vh;
        text-align: center;
        padding: 2rem 0;
    }
    
    .display-4 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-cta .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
        padding: 1rem;
    }
    
    /* Shape elements - hide on mobile for performance */
    .hero-shapes {
        display: none;
    }
    
    /* Sections */
    section {
        padding: 2rem 0;
    }
    
    /* Cards */
    .service-card .card-img-top,
    .blog-post .card-img-top,
    .tutorial-card .card-img-top,
    .interview-card .card-img-top,
    .news-card .card-img-top,
    .resource-card .card-img-top,
    .artist-card .card-img-top {
        height: 150px;
    }
    
    /* Team Photos */
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Typography */
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Disable hover effects on mobile */
    .feature-card:hover,
    .service-card:hover,
    .review-card:hover,
    .faq-item:hover,
    .pricing-card:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }
    
    .gallery-item:hover img,
    .technique-card:hover img,
    .student-work:hover img {
        transform: none;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section {
        min-height: 90vh;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .service-card .card-img-top,
    .blog-post .card-img-top,
    .tutorial-card .card-img-top,
    .interview-card .card-img-top,
    .news-card .card-img-top,
    .resource-card .card-img-top,
    .artist-card .card-img-top {
        height: 180px;
    }
    
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        min-height: 100vh;
    }
    
    .display-4 {
        font-size: 2.25rem;
    }
    
    .service-card .card-img-top,
    .blog-post .card-img-top,
    .tutorial-card .card-img-top,
    .interview-card .card-img-top,
    .news-card .card-img-top,
    .resource-card .card-img-top {
        height: 200px;
    }
    
    .artist-card .card-img-top {
        height: 220px;
    }
    
    .team-photo {
        width: 140px;
        height: 140px;
    }
    
    section {
        padding: 4rem 0;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .service-card .card-img-top,
    .blog-post .card-img-top,
    .tutorial-card .card-img-top,
    .interview-card .card-img-top,
    .news-card .card-img-top,
    .resource-card .card-img-top {
        height: 200px;
    }
    
    .artist-card .card-img-top {
        height: 250px;
    }
    
    .team-photo {
        width: 150px;
        height: 150px;
    }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .display-4 {
        font-size: 2.75rem;
    }
    
    .hero-section {
        min-height: 100vh;
    }
    
    section {
        padding: 5rem 0;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-shapes {
        opacity: 0.8;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section {
        min-height: 70vh;
        padding: 1rem 0;
    }
    
    .display-4 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-cta .btn {
        padding: 0.5rem 1.5rem;
        margin: 0.25rem;
        display: inline-block;
        width: auto;
    }
    
    section {
        padding: 1.5rem 0;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-shapes,
    .btn,
    footer {
        display: none;
    }
    
    .hero-section {
        min-height: auto;
        background: white;
        color: black;
    }
    
    section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    .card {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}

/* Accessibility - Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-shapes {
        display: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .review-card:hover,
    .faq-item:hover,
    .pricing-card:hover {
        transform: none;
    }
    
    .gallery-item:hover img,
    .technique-card:hover img,
    .student-work:hover img {
        transform: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .hero-section {
        background: #000;
        color: #fff;
    }
    
    .card {
        border: 2px solid #000;
    }
    
    .btn-primary {
        background: #000;
        border-color: #000;
        color: #fff;
    }
    
    .btn-outline-primary {
        border-color: #000;
        color: #000;
    }
}

/* Focus styles for better accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 9999;
}

.skip-link:focus {
    top: 6px;
} 

body {
    overflow-x: hidden;
}

.hero-section h1 {
    padding-top: 150px;
}