/* Мобильные стили для RepairPro Gear */

/* Mobile First Approach */
@media screen and (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    
    /* Navigation Mobile */
    .sidenav {
        background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
        width: 280px;
    }
    
    .sidenav li > a {
        color: var(--white) !important;
        font-weight: 300;
        letter-spacing: 1px;
        text-transform: uppercase;
        padding: 20px 32px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .sidenav li > a:hover {
        background-color: rgba(212, 175, 55, 0.1) !important;
        color: var(--gold) !important;
    }
    
    .sidenav .brand-logo {
        padding: 30px 32px;
        border-bottom: 2px solid var(--gold);
        margin-bottom: 20px;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        height: 60vh;
        padding: 20px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        letter-spacing: 2px;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 1px;
        margin-bottom: 1.5rem;
    }
    
    /* Sections Mobile */
    .section-art-deco {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 3rem;
    }
    
    /* Cards Mobile */
    .service-card {
        margin-bottom: 20px;
    }
    
    .service-card .card-content {
        padding: 20px;
    }
    
    /* Gallery Mobile */
    .gallery-item {
        margin-bottom: 20px;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    /* Contact Form Mobile */
    .contact-form {
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    /* Footer Mobile */
    .footer-art-deco {
        padding: 40px 0 15px 0;
    }
    
    .footer-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .social-links {
        text-align: center;
        margin: 20px 0;
    }
    
    .social-links a {
        margin: 0 10px;
    }
}

@media screen and (max-width: 600px) {
    /* Extra Small Devices */
    .container {
        padding: 0 10px;
    }
    
    /* Typography Mobile */
    h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    h2 {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    h4 {
        font-size: 1.2rem;
    }
    
    /* Hero Mobile */
    .hero-section {
        height: 50vh;
        padding: 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 10px;
    }
    
    /* Navigation Mobile */
    .nav-wrapper {
        height: 64px;
        line-height: 64px;
        padding: 0 10px;
    }
    
    .brand-logo {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .brand-logo img {
        height: 40px;
        margin-right: 10px;
    }
    
    .sidenav {
        width: 260px;
    }
    
    .sidenav li > a {
        padding: 15px 24px;
        font-size: 0.9rem;
    }
    
    .sidenav .brand-logo {
        padding: 20px 24px;
        font-size: 1.3rem;
    }
    
    /* Buttons Mobile */
    .btn-art-deco {
        padding: 12px 30px;
        font-size: 0.9rem;
        letter-spacing: 1px;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }
    
    /* Sections Mobile */
    .section-art-deco {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .section-title::after {
        width: 150px;
        margin: 1.5rem auto;
    }
    
    /* Cards Mobile */
    .service-card .card-content {
        padding: 15px;
    }
    
    .service-card .card-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .card .card-action a {
        margin-right: 10px;
        font-size: 0.9rem;
    }
    
    /* Gallery Mobile */
    .gallery-item img {
        height: 180px;
    }
    
    .gallery-overlay {
        padding: 15px;
    }
    
    .gallery-overlay h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    /* Form Mobile */
    .contact-form {
        padding: 20px 15px;
        margin: 0 5px;
    }
    
    .input-field {
        margin-bottom: 20px;
    }
    
    .input-field label {
        font-size: 0.9rem;
    }
    
    .input-field input,
    .input-field textarea {
        font-size: 1rem;
    }
    
    textarea.materialize-textarea {
        min-height: 120px;
    }
    
    /* Footer Mobile */
    .footer-art-deco {
        padding: 30px 0 10px 0;
    }
    
    .footer-title {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 0.8rem;
    }
    
    .footer-info {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-info p {
        margin: 0.3rem 0;
        font-size: 0.9rem;
    }
    
    .social-links {
        text-align: center;
        margin: 15px 0;
    }
    
    .social-links a {
        font-size: 1.3rem;
        margin: 0 8px;
    }
    
    .footer-bottom {
        margin-top: 20px;
        padding-top: 15px;
        font-size: 0.8rem;
    }
    
    /* Utility Classes Mobile */
    .hide-on-small-only {
        display: none !important;
    }
    
    .center-on-small-only {
        text-align: center !important;
    }
    
    .full-width-mobile {
        width: 100% !important;
        margin: 10px 0 !important;
    }
    
    /* Spacing Mobile */
    .row {
        margin-bottom: 10px;
    }
    
    .row .col {
        padding: 0 0.5rem;
    }
    
    /* Decorative Elements Mobile */
    .decorative-line {
        margin: 30px 0;
    }
    
    .decorative-diamond {
        width: 15px;
        height: 15px;
        margin: 15px auto;
    }
    
    .decorative-diamond::before,
    .decorative-diamond::after {
        width: 6px;
        height: 6px;
        top: 4.5px;
        left: 4.5px;
    }
    
    /* Contact Info Mobile */
    .contact-info-mobile {
        background: var(--light-gray);
        padding: 20px;
        margin: 20px 0;
        border-left: 4px solid var(--gold);
    }
    
    .contact-info-mobile h5 {
        color: var(--gold);
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .contact-info-mobile p {
        margin: 0.5rem 0;
        font-size: 0.9rem;
    }
    
    .contact-info-mobile a {
        color: var(--black);
        font-weight: 500;
    }
    
    /* Modal Mobile */
    .modal {
        max-height: 90% !important;
        width: 95% !important;
        max-width: none !important;
    }
    
    .modal .modal-content {
        padding: 20px;
    }
    
    .modal .modal-footer {
        padding: 15px 20px;
    }
    
    /* Scroll Top Button Mobile */
    .scroll-top-mobile {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background: var(--gold);
        color: var(--black);
        border: none;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        z-index: 1000;
        transition: all 0.3s ease;
    }
    
    .scroll-top-mobile:hover {
        background: var(--dark-gold);
        transform: translateY(-3px);
    }
}

/* Landscape Mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        height: 80vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .sidenav {
        width: 240px;
    }
}

/* Touch Optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .gallery-item:hover img {
        transform: none;
    }
    
    .gallery-item:hover::before {
        opacity: 0;
    }
    
    .gallery-item:hover .gallery-overlay {
        transform: translateY(100%);
    }
    
    .btn-art-deco:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    }
    
    /* Touch-friendly tap targets */
    .gallery-item {
        min-height: 44px;
    }
    
    nav ul a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .social-links a {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .brand-logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .service-card .card-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}