/* JingleCraft Studio - Responsive Styles */

/* Mobile First Approach */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Typography */
    .display-4 {
        font-size: 1.93rem;
        line-height: 1.2;
    }
    
    h1 {
        font-size: 1.66rem;
    }
    
    h2 {
        font-size: 1.51rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Header */
    .navbar-brand {
        font-size: 1.36rem;
    }
    
    /* Hero Section */
    #hero {
        padding: 2rem 0;
        min-height: 80vh;
    }
    
    #hero .hero-cta {
        text-align: center;
        margin-top: 2rem;
    }
    
    #hero .hero-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    #hero .hero-cta .btn:last-child {
        margin-bottom: 0;
    }
    
    /* Sections */
    section {
        padding: 2rem 0;
    }
    
    .py-5 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    /* Cards */
    .card {
        margin-bottom: 1.72rem;
    }
    
    .card-img-top {
        height: 150px;
    }
    
    /* Services Grid */
    #services .col-md-6:nth-child(odd) {
        padding-right: 0.75rem;
    }
    
    #services .col-md-6:nth-child(even) {
        padding-left: 0.75rem;
    }
    
    /* Team Section */
    #team .rounded-circle {
        width: 80px;
        height: 80px;
    }
    
    /* Contact Form */
    #contact .btn-lg {
        width: 100%;
    }
    
    /* Footer */
    #footer .col-lg-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* NO ANIMATIONS ON MOBILE */
    * {
        animation: none !important;
        transition: none !important;
    }
    
    .card:hover {
        transform: none !important;
    }
    
    .btn:hover {
        transform: none !important;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .display-4 {
        font-size: 2rem;
    }
    
    #hero {
        min-height: 85vh;
        padding: 3rem 0;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    #team .rounded-circle {
        width: 100px;
        height: 100px;
    }
    
    /* NO ANIMATIONS ON MOBILE */
    * {
        animation: none !important;
        transition: none !important;
    }
    
    .card:hover {
        transform: none !important;
    }
    
    .btn:hover {
        transform: none !important;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .display-4 {
        font-size: 2.26rem;
    }
    
    #hero {
        min-height: 90vh;
    }
    
    .card-img-top {
        height: 200px;
    }
    
    /* Services Grid Adjustments */
    #services .col-md-6 {
        margin-bottom: 2rem;
    }
    
    /* Team Grid */
    #team .col-md-4 {
        margin-bottom: 2rem;
    }
    
    #team .rounded-circle {
        width: 113px;
        height: 110px;
    }
    
    /* Price Plan Cards */
    #priceplan .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .display-4 {
        font-size: 2.54rem;
    }
    
    .container {
        max-width: 960px;
    }
    
    /* Hero adjustments */
    #hero .hero-cta .btn {
        margin-right: 1rem;
    }
    
    /* Services Grid */
    #services .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    /* Team spacing */
    #team .col-lg-2 {
        margin-bottom: 1.62rem;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .display-4 {
        font-size: 2.63rem;
    }
    
    /* Enhanced hover effects for desktop */
    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 22px 40px rgba(0, 0, 0, 0.15);
    }
    
    #hero .hero-cta .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(90, 61, 245, 0.40);
    }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 600px) {
    #hero {
        min-height: 100vh;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card-img-top,
    #gallery img,
    #team .rounded-circle {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .navbar,
    #footer,
    .btn,
    .breadcrumb {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    overflow-x: hidden;
}
    
    .card {
        border: 1px solid #000;
        break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000;
        page-break-after: avoid;
    }
    
    .display-4 {
        font-size: 18pt;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    .card,
    .btn,
    .rounded-circle,
    .card-img-top,
    .fas,
    .fab {
        transition: none !important;
        animation: none !important;
    }
    
    .card:hover,
    .btn:hover,
    .rounded-circle:hover {
        transform: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #000;
    }
    
    .btn {
        border-width: 2px;
    }
    
    .text-muted {
        color: #3d3d3d !important;
    }
}

/* Dark Mode Support */

/* Container Responsive Adjustments */
@media (max-width: 1199.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 767.98px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* Gallery Responsive */
@media (max-width: 767.98px) {
    #gallery .col-lg-4 {
        margin-bottom: 1rem;
    }
    
    #gallery img {
        width: 100%;
        height: auto;
    }
}

/* FAQ Responsive */
@media (max-width: 767.98px) {
    #faq .col-lg-6 {
        margin-bottom: 1rem;
    }
}

/* Additional Page Responsive */
@media (max-width: 767.98px) {
    .breadcrumb {
        padding: 0.5rem 0;
    }
    
    .breadcrumb-item img {
        width: 14px;
        height: 14px;
    }
}

/* Audio Player Responsive */
@media (max-width: 767.98px) {
    .audio-player .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Process Steps Responsive */
@media (max-width: 767.98px) {
    .bg-primary.rounded-circle {
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem;
    }
    
    .bg-primary.rounded-circle .h4 {
        font-size: 1.34rem;
    }
} 