/* ===========================================
   3D Cosplay Props - Responsive CSS
   Template 156 - Mobile-First Responsive Design
   =========================================== */

/* Mobile First Base Styles (320px+) */

/* Mobile Typography */
@media (max-width: 576px) {
    h1 { font-size: 1.79rem; }
    h2 { font-size: 1.58rem; }
    h3 { font-size: 1.38rem; }
    h4 { font-size: 1.17rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.96rem; }
    
    .lead {
        font-size: 1rem;
    }
    
    p {
        font-size: 1.02rem;
    }
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-brand {
        font-size: 1.24rem !important;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
        outline: 2px solid var(--color-primary);
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e5ebfd;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        text-align: center;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
}

/* Mobile Hero Section */
@media (max-width: 768px) {
    .hero-section {
        padding-top: calc(var(--header-height) + 2rem);
        padding-bottom: 3rem;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    padding-top: 200px;
}
    
    .hero-section .lead {
        font-size: 1.15rem;
        margin-bottom: 1.65rem;
    }
    
    .hero-section .btn-lg {
        width: 100%;
        margin-top: 1rem;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .hero-section .col-lg-6:first-child {
        margin-top: 2rem;
    }
}

/* Mobile Sections */
@media (max-width: 768px) {
    section {
        padding: 2.5rem 0;
    }
    
    .py-5 {
        padding-top: 2.59rem !important;
        padding-bottom: 2.73rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
}

/* Mobile Cards */
@media (max-width: 576px) {
    .card {
        margin-bottom: 1.58rem;
    }
    
    .card-body {
        padding: 1.25rem;
    overflow-x: hidden;
}
    
    .card-img-top {
        height: 180px;
    }
}

/* Mobile Feature Boxes */
@media (max-width: 768px) {
    .feature-box {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .feature-box i {
        margin-bottom: 1rem;
    }
}

/* Mobile Process Steps */
@media (max-width: 768px) {
    .process-step {
        width: 50px;
        height: 50px;
        font-size: 1.35rem;
        margin-bottom: 1rem;
    }
    
    .text-center h5 {
        font-size: 1rem;
        margin-bottom: 0.67rem;
    }
    
    .text-center p {
        font-size: 0.98rem;
    }
}

/* Mobile Team Section */
@media (max-width: 768px) {
    .rounded-circle {
        width: 100px;
        height: 100px;
    }
    
    #team .col-lg-2 {
        margin-bottom: 2rem;
    }
}

/* Mobile Gallery */
@media (max-width: 768px) {
    #gallery .col-lg-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    #gallery .col-lg-2 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
}

/* Mobile Forms */
@media (max-width: 768px) {
    .form-control {
        padding: 0.875rem;
        font-size: 1rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
    
    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Mobile Contact Info */
@media (max-width: 768px) {
    #contacts .row:last-child .col-md-4 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    #contacts .fa-2x {
        font-size: 1.53rem !important;
    }
}

/* Mobile Footer */
@media (max-width: 768px) {
    footer .col-lg-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    footer .row:last-child .col-lg-6 {
        text-align: center;
        margin-bottom: 1rem;
    }
}

/* Tablet Styles (768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.34rem;
    padding-top: 200px;
}
    
    .card-img-top {
        height: 220px;
    }
    
    #team .col-lg-2 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Large Tablet/Small Desktop (992px - 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .hero-section h1 {
        font-size: 2.64rem;
    padding-top: 200px;
}
}

/* Desktop Optimizations (1200px+) */
@media (min-width: 1200px) {
    .hero-section h1 {
        font-size: 3rem;
    padding-top: 200px;
}
    
    .hero-section .lead {
        font-size: 1.43rem;
    }
    
    .card-img-top {
        height: 240px;
    }
    
    section {
        padding: 5rem 0;
    }
}

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Mobile Animation Disable */
@media (max-width: 768px) {
    .card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }
    
    .card:hover .card-img-top {
        transform: none;
    }
    
    .feature-box:hover {
        transform: none;
        background-color: transparent;
    }
    
    .btn-primary:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
        box-shadow: none;
    }
    
    /* Disable all hover effects on mobile */
    * {
        transition: none !important;
    }
}

/* Landscape Phone Adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding-top: calc(var(--header-height) + 1rem);
        padding-bottom: 2rem;
    }
    
    .hero-section h1 {
        font-size: 1.83rem;
    padding-top: 200px;
}
    
    section {
        padding: 2rem 0;
    }
}

/* High DPI / Retina Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section::before {
        background-size: 50px 50px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    .hero-section::before {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        padding: 1rem 0;
    }
    
    section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #cccccc;
    }
    
    a {
        text-decoration: none;
        color: inherit;
    }
    
    * {
        color: black !important;
        background: white !important;
    }
}

/* Container Adjustments for Better Mobile Experience */
@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Improved Touch Targets for Mobile */
@media (max-width: 768px) {
    .btn,
    .nav-link,
    a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem 0;
    }
}

/* Accessibility Improvements for Mobile */
@media (max-width: 768px) {
    .visually-hidden-mobile {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }
}

/* Reduced Motion for Mobile Users */
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Safe Area Adjustments for Notched Devices */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    
    .container {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
} 