/* Responsive Design - Mobile First Approach */

/* Large devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.875rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.375rem;
    }
    
    /* Hero section adjustments */
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-decoration {
        display: none;
    }
    
    /* Team member layout */
    .team-member {
        margin-bottom: 2rem;
    }
    
    /* Service cards stack better */
    .service-card {
        margin-bottom: 2rem;
    }
    
    /* Process steps */
    .process-step {
        margin-bottom: 2rem;
    }
    
    /* Timeline items */
    .timeline-item {
        margin-bottom: 2rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    /* Typography adjustments */
    h1 {
        font-size: 1.875rem;
    }
    
    h2 {
        font-size: 1.625rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    h4 {
        font-size: 1.125rem;
    }
    
    h5 {
        font-size: 1rem;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    /* Section padding */
    section {
        padding: 60px 0;
    }
    
    section.py-5 {
        padding: 60px 0;
    }
    
    /* Header adjustments */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    /* Hero section */
    .hero-section {
        min-height: 70vh;
        text-align: center;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .hero-section img {
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    /* Feature cards */
    .feature-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Service cards */
    .service-card {
        margin-bottom: 2rem;
    }
    
    .service-card .card-img-top {
        height: 180px;
    }
    
    /* Pricing cards */
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .price-tag {
        font-size: 1.75rem;
    }
    
    /* Team members */
    .team-member {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    /* Contact form */
    .contact-info {
        margin-top: 2rem;
        text-align: center;
    }
    
    .contact-item {
        margin-bottom: 2rem;
    }
    
    /* Footer */
    footer .col-lg-4 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    /* Blog cards */
    .blog-card {
        margin-bottom: 2rem;
    }
    
    .blog-card .card-img-top {
        height: 160px;
    }
    
    /* Gallery adjustments */
    #gallery .col-lg-4,
    #gallery .col-md-6 {
        margin-bottom: 1rem;
    }
    
    /* Additional page elements */
    .collection-item,
    .service-item,
    .gallery-space,
    .community-card,
    .resource-item,
    .event-card,
    .masterclass-item,
    .exhibition-card,
    .artist-spotlight,
    .resource-tool {
        margin-bottom: 1.5rem;
    }
    
    .exhibition-card img,
    .gallery-space img {
        height: 120px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    /* Typography for mobile */
    h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
    
    h5 {
        font-size: 1rem;
    }
    
    p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Section padding for mobile */
    section {
        padding: 40px 0;
    }
    
    section.py-5 {
        padding: 40px 0;
    }
    
    /* Header mobile */
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    /* Hero section mobile */
    .hero-section {
        min-height: 60vh;
        padding: 2rem 0;
    }
    
    /* Cards mobile optimization */
    .card {
        margin-bottom: 1.5rem;
    }
    
    .service-card .card-img-top,
    .blog-card .card-img-top {
        height: 150px;
    }
    
    /* Feature items mobile */
    .feature-card,
    .feature-item {
        padding: 1rem;
    }
    
    .feature-card i,
    .feature-item i,
    .info-card i {
        font-size: 2rem;
    }
    
    /* Process and timeline mobile */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .timeline-year {
        width: 70px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    /* Team members mobile */
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    /* Pricing mobile */
    .price,
    .price-tag {
        font-size: 1.5rem;
    }
    
    /* Form mobile */
    .form-control {
        padding: 0.6rem;
        font-size: 0.95rem;
    }
    
    .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Contact info mobile */
    .contact-item i {
        font-size: 1.5rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
    
    /* Footer mobile */
    footer {
        text-align: center;
        padding: 3rem 0;
    }
    
    footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    footer h5 {
        font-size: 1.1rem;
    }
    
    footer p,
    footer li {
        font-size: 0.9rem;
    }
    
    /* Gallery mobile */
    #gallery img {
        margin-bottom: 1rem;
    }
    
    /* Breadcrumb mobile */
    .breadcrumb-section {
        padding-top: 80px;
        padding-bottom: 20px;
    }
    
    .breadcrumb-icon {
        height: 25px;
    }
    
    /* Additional elements mobile */
    .exhibition-card img,
    .gallery-space img {
        height: 100px;
    }
    
    .collection-item,
    .service-item,
    .resource-item,
    .event-card,
    .masterclass-item,
    .artist-spotlight,
    .resource-tool {
        padding: 1rem;
    }
    
    /* Remove hover effects on mobile */
    .feature-card:hover,
    .service-card:hover,
    .case-study-card:hover,
    .blog-card:hover,
    .collection-item:hover,
    .service-item:hover,
    .gallery-space:hover,
    .community-card:hover,
    .resource-item:hover,
    .event-card:hover,
    .masterclass-item:hover,
    .exhibition-card:hover,
    .artist-spotlight:hover,
    .resource-tool:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    /* Disable animations on mobile for users who prefer reduced motion */
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-decoration {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000FF;
        --secondary-color: #FF0000;
        --accent-color: #00AA00;
        --text-dark: #000000;
        --text-light: #666666;
        --bg-light: #FFFFFF;
        --bg-dark: #000000;
    }
    
    .card {
        border: 2px solid #000000;
    }
    
    .btn-primary {
        border: 2px solid #000000;
    }
}

/* Print styles */
@media print {
    .navbar,
    .breadcrumb-section,
    footer {
        display: none;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    section {
        padding: 1rem 0;
        break-inside: avoid;
    }
    
    .card {
        border: 1px solid #000;
        break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    a {
        text-decoration: underline;
    }
    
    .btn {
        border: 1px solid #000;
        background: transparent;
        color: #000;
    }
} 

body {
    overflow-x: hidden;
}

.hero-section h1 {
    padding-top: 150px;
}