/* JingleCraft - Responsive CSS */

/* Mobile First Approach */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.82rem;
    }
    
    h3 {
        font-size: 1.39rem;
    }
    
    h4 {
        font-size: 1.27rem;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.51rem;
        margin-bottom: 1rem;
    padding-top: 250px;
}
    
    .hero-section h2 {
        font-size: 1.29rem;
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 1.69rem;
    }
    
    .hero-section img {
        width: 100%;
        height: 250px;
        margin-top: 2rem;
    }
    
    /* Navbar */
    .navbar-brand {
        font-size: 1.32rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0;
        padding: 0.75rem 1rem;
        text-align: center;
    }
    
    /* Section Padding */
    .section-padding {
        padding: 3rem 0;
    }
    
    /* Cards */
    .feature-card,
    .service-card,
    .pricing-card,
    .team-member,
    .review-card,
    .case-card,
    .career-card,
    .info-card,
    .blog-card {
        margin-bottom: 2rem;
    }
    
    .feature-card,
    .info-card {
        padding: 1.5rem;
    }
    
    .service-card .card-body,
    .case-card .card-body,
    .blog-card .card-body {
        padding: 1.5rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    /* Feature Items */
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .feature-item i {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    /* Timeline */
    .timeline::before {
        left: 2rem;
    }
    
    .timeline-item {
        flex-direction: row;
        padding-left: 4rem;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        margin: 0;
        min-width: 80px;
        padding: 0.5rem 1rem;
        font-size: 0.92rem;
    }
    
    /* Process Steps */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.38rem;
    }
    
    .process-step {
        padding: 1.5rem 1rem;
    }
    
    /* Team Photos */
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    /* Gallery */
    .gallery-img {
        height: 200px;
        margin-bottom: 1rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
        text-align: center;
    }
    
    .footer .row > div {
        margin-bottom: 2rem;
    }
    
    /* Breadcrumb */
    .breadcrumb-img {
        max-width: 150px;
    }
    
    /* Skip link mobile positioning */
    .skip-link {
        font-size: 1.02rem;
        padding: 6px;
    }
    
    /* Notification system mobile */
    .notification {
        right: 1rem;
        left: 1rem;
        top: 1rem;
        min-width: auto;
    }
    
    /* Scroll to top button mobile */
    #scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.16rem;
    }
    
    /* Additional Page Cards */
    .strategy-card,
    .composition-card,
    .talent-card,
    .tech-card,
    .management-card,
    .industry-card,
    .global-card,
    .innovation-card,
    .partnership-card {
        padding: 1.5rem;
        margin-bottom: 1.64rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Hero Section */
    .hero-section h1 {
        font-size: 2.83rem;
    padding-top: 250px;
}
    
    .hero-section h2 {
        font-size: 1.50rem;
    }
    
    .hero-section img {
        width: 100%;
        height: 300px;
        margin-top: 2rem;
    }
    
    /* Timeline */
    .timeline::before {
        left: 3rem;
    }
    
    .timeline-item {
        padding-left: 5rem;
    }
    
    .timeline-year {
        min-width: 100px;
        padding: 0.75rem 1.5rem;
    }
    
    /* Gallery */
    .gallery-img {
        height: 220px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Hero Section */
    .hero-section h1 {
        font-size: 3rem;
    padding-top: 250px;
}
    
    .hero-section h2 {
        font-size: 1.62rem;
    }
    
    .hero-section img {
        width: 100%;
        height: 350px;
    }
    
    /* Feature Items */
    .feature-item {
        padding: 1.75rem;
    }
    
    /* Timeline remains centered */
    .timeline::before {
        left: 50%;
    }
    
    .timeline-item {
        padding-left: 0;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: row-reverse;
    }
    
    .timeline-year {
        position: relative;
        margin: 0 2rem;
        min-width: 120px;
    }
    
    /* Gallery */
    .gallery-img {
        height: 240px;
    }
    
    /* Pricing Cards */
    .pricing-card.featured {
        transform: scale(1.02);
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Hero Section */
    .hero-section img {
        width: 450px;
        height: 350px;
    }
    
    /* Cards maintain full styling */
    .pricing-card.featured {
        transform: scale(1.03);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Hero Section */
    .hero-section h1 {
        font-size: 4rem;
    padding-top: 250px;
}
    
    .hero-section img {
        width: 500px;
        height: 400px;
    }
    
    /* Container max-width adjustments for better readability */
    .container {
        max-width: 1140px;
    }
}

/* Height-based media queries for better mobile experience */
@media (max-height: 600px) and (max-width: 991.98px) {
    .hero-section {
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 2rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 0.68rem;
    padding-top: 250px;
}
    
    .hero-section h2 {
        font-size: 1.19rem;
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        font-size: 0.92rem;
        margin-bottom: 1rem;
    }
    
    .hero-section img {
        height: 200px;
        margin-top: 1rem;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 2rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer {
        display: none;
    }
    
    .hero-section {
        min-height: auto;
        background: none;
        color: black;
    }
    
    .hero-section h1,
    .hero-section h2,
    .hero-section p {
        color: black;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
    
    .feature-card,
    .service-card,
    .pricing-card,
    .review-card,
    .case-card,
    .career-card,
    .info-card,
    .blog-card {
        box-shadow: none;
        border: 1px solid #b3b2b2;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section img,
    .service-card img,
    .case-card img,
    .blog-card img,
    .gallery-img,
    .team-photo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Accessibility improvements for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .feature-card:hover,
    .service-card:hover,
    .pricing-card:hover,
    .team-member:hover,
    .review-card:hover,
    .case-card:hover,
    .career-card:hover,
    .info-card:hover,
    .blog-card:hover,
    .feature-item:hover,
    .gallery-img:hover,
    .btn-primary:hover,
    .strategy-card:hover,
    .composition-card:hover,
    .talent-card:hover,
    .tech-card:hover,
    .management-card:hover,
    .industry-card:hover,
    .global-card:hover,
    .innovation-card:hover,
    .partnership-card:hover {
        transform: none;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

/* Focus improvements for accessibility */
@media (prefers-reduced-motion: no-preference) {
    .btn-primary:focus,
    .form-control:focus,
    .nav-link:focus {
        outline: 2px solid var(--primary-1);
        outline-offset: 2px;
    }
}

/* Dark mode support (if system prefers dark) */

/* Container adjustments for extra small screens */
@media (max-width: 400px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section h1 {
        font-size: 1.86rem;
    padding-top: 250px;
}
    
    .hero-section h2 {
        font-size: 1.27rem;
    }
    
    .navbar-brand {
        font-size: 1.20rem;
    }
    
    .feature-card,
    .contact-form {
        padding: 1rem;
    }
    
    .pricing-card {
        padding: 1.5rem 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .team-photo {
        width: 80px;
        height: 80px;
    }
} 