/* ==========================================================================
   Fiery Craft - Responsive CSS
   Mobile-First Responsive Design
   ========================================================================== */

/* Base Mobile Styles (320px and up) */
@media (max-width: 575.98px) {
    /* No animations on mobile as per requirements */
    [data-sal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .feature-card,
    .service-card,
    .feature-box,
    .price-card,
    .review-card,
    .faq-card {
        transition: none;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .feature-box:hover,
    .price-card:hover,
    .review-card:hover,
    .faq-card:hover {
        transform: none;
    }
    
    /* Typography adjustments for mobile */
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    h4 {
        font-size: 1.125rem;
    }
    
    .navbar-brand {
        font-size: 1.125rem;
    }
    
    /* Hero section mobile adjustments */
    .hero-section {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 2rem;
    }
    
    .hero-section .container {
        padding: 1rem;
    }
    
    /* Section spacing mobile */
    section {
        padding: 2rem 0;
    }
    
    /* Card adjustments mobile */
    .feature-card,
    .feature-box {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .service-card .card-img-top {
        height: 180px;
    }
    
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    /* Contact form mobile */
    #contact .btn-primary {
        width: 100%;
        padding: 1rem;
    }
    
    /* Gallery mobile */
    #gallery .row {
        gap: 0.5rem;
    }
    
    /* Footer mobile */
    .footer {
        text-align: center;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    padding-top: 250px;
}
    
    .service-card .card-img-top {
        height: 190px;
    }
    
    .team-photo {
        width: 130px;
        height: 130px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        padding-top: 76px;
    }
    
    .service-card .card-img-top {
        height: 200px;
    }
    
    .team-photo {
        width: 140px;
        height: 140px;
    }
    
    /* Enable animations for tablet and up */
    [data-sal] {
        transition-duration: 0.6s;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    padding-top: 250px;
}
    
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .service-card .card-img-top {
        height: 220px;
    }
    
    .team-photo {
        width: 150px;
        height: 150px;
    }
    
    /* Enhanced animations for desktop */
    [data-sal] {
        transition-duration: 0.8s;
    }
    
    .feature-card:hover,
    .service-card:hover {
        transform: translateY(-8px);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    padding-top: 250px;
}
    
    .hero-section h2 {
        font-size: 2.25rem;
    }
    
    .service-card .card-img-top {
        height: 240px;
    }
    
    section {
        padding: 5rem 0;
    }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section {
        padding: 6rem 0;
    }
}

/* Landscape phone adjustments */
@media (max-height: 568px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .breadcrumb-nav {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    overflow-x: hidden;
}
    
    .hero-section {
        background: white;
        color: black;
        padding: 1rem 0;
    }
    
    .card,
    .feature-card,
    .service-card {
        border: 1px solid #ccc;
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .navbar-brand,
    h1, h2, h3, h4 {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Reduced motion preferences (enhanced) */
@media (prefers-reduced-motion: reduce) {
    .hero-section,
    .feature-card,
    .service-card,
    .feature-box,
    .price-card,
    .review-card,
    .faq-card,
    #gallery img {
        transition: none !important;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .feature-box:hover,
    .price-card:hover,
    .review-card:hover,
    .faq-card:hover,
    #gallery img:hover {
        transform: none !important;
    }
}

/* Dark mode support */

/* Focus styles for accessibility */
@media (min-width: 768px) {
    .navbar-nav .nav-link:focus,
    .btn:focus,
    .form-control:focus {
        outline: 2px solid var(--primary-orange);
        outline-offset: 2px;
    }
}

/* Container adjustments for very small screens */
@media (max-width: 375px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .btn {
        font-size: 0.875rem;
    }
}

/* Navigation improvements for mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        text-align: center;
    }
}

/* Optimize images for mobile */
@media (max-width: 767.98px) {
    img {
        height: auto;
    }
    
    .service-card .card-img-top {
        object-position: center;
    }
    
    #gallery img {
        margin-bottom: 1rem;
    }
} 