/* Responsive Styles for Voice-Over Talent Marketplace */

/* Mobile First Approach */
/* Base styles are for mobile devices */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .service-card img {
        height: 220px;
    }
    
    .gallery-img {
        height: 280px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-decoration {
        width: 150px;
        height: 150px;
        top: -30px;
        right: -30px;
    }
    
    .service-card img {
        height: 240px;
    }
    
    .team-photo {
        width: 150px;
        height: 150px;
    }
    
    .step-number {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .gallery-img {
        height: 300px;
    }
    
    .contact-form {
        padding: 3rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    h1, .h1 {
        font-size: 2.5rem;
    }
    
    h2, .h2 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-decoration {
        width: 200px;
        height: 200px;
        top: -40px;
        right: -40px;
    }
    
    .service-card img {
        height: 260px;
    }
    
    .case-study-card img {
        height: 220px;
    }
    
    .team-photo {
        width: 180px;
        height: 180px;
    }
    
    .step-number {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .gallery-img {
        height: 320px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section {
        padding: 5rem 0;
    }
    
    .service-card img {
        height: 280px;
    }
    
    .case-study-card img {
        height: 240px;
    }
    
    .gallery-img {
        height: 350px;
    }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Mobile-specific styles (max-width: 767px) */
@media (max-width: 767px) {
    /* Disable animations on mobile per requirements */
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    
    /* No scroll animations on mobile */
    [data-sal] {
        transform: none !important;
        opacity: 1 !important;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .hero-section {
        text-align: center;
        padding: 1rem 0;
    }
    
    .hero-buttons {
        margin-top: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .feature-card,
    .service-card,
    .pricing-card,
    .review-card,
    .case-study-card,
    .career-card {
        margin-bottom: 1.5rem;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .process-step,
    .timeline-item {
        margin-bottom: 2rem;
    }
    
    .gallery-img {
        height: 200px;
        margin-bottom: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .navbar-collapse {
        text-align: center;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        margin: 0;
    }
    
    /* Stack elements vertically on mobile */
    .hero-section .row > div {
        margin-bottom: 2rem;
    }
    
    .hero-section .col-lg-6:last-child {
        margin-bottom: 0;
    }
    
    /* Adjust font sizes for mobile */
    h1, .h1 {
        font-size: 1.75rem;
    }
    
    h2, .h2 {
        font-size: 1.5rem;
    }
    
    h3, .h3 {
        font-size: 1.25rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Mobile-friendly buttons */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Small mobile devices (max-width: 575px) */
@media (max-width: 575px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1, .h1 {
        font-size: 1.5rem;
    }
    
    h2, .h2 {
        font-size: 1.25rem;
    }
    
    .service-card img {
        height: 180px;
    }
    
    .team-photo {
        width: 80px;
        height: 80px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .gallery-img {
        height: 150px;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .btn {
        font-size: 0.85rem;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-buttons .btn {
        display: inline-block;
        width: auto;
        margin: 0.25rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-decoration {
        border-radius: 50%;
        background: linear-gradient(45deg, var(--color-accent), var(--color-secondary));
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .contact-form,
    #footer {
        display: none;
    }
    
    .hero-section {
        min-height: auto;
        background: white;
        color: black;
    }
    
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    a, a:visited {
        text-decoration: underline;
    }
    
    .service-card,
    .pricing-card,
    .review-card {
        border: 1px solid #000;
        break-inside: avoid;
    }
}

/* Dark mode media query (optional) */

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-decoration,
    .team-photo,
    .gallery-img,
    .feature-card,
    .service-card,
    .pricing-card,
    .review-card,
    .case-study-card,
    .career-card {
        transition: none;
        transform: none;
    }
    
    .hero-decoration {
        animation: none;
    }
}

/* Focus styles for accessibility */
@media (any-hover: hover) {
    .btn:hover,
    .nav-link:hover,
    .feature-card:hover,
    .service-card:hover {
        transition: all 0.3s ease;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .btn,
    .nav-link,
    .feature-card,
    .service-card {
        transition: none;
    }
    
    .btn:active,
    .nav-link:active {
        transform: scale(0.98);
    }
} 

body {
    overflow-x: hidden;
}

.hero-section h1 {
    padding-top: 150px;
}