/**
 * DOVMAX TIRE - Responsive Stylesheet
 * Mobile and Tablet Styles
 */

/* ================================
   Large Tablets (1024px and below)
================================ */
@media screen and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .inquiry-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .factory-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ================================
   Tablets (992px and below)
================================ */
@media screen and (max-width: 992px) {
    html {
        font-size: 15px;
    }

    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-search {
        display: none;
    }

    .banner-swiper,
    .banner-swiper .swiper-wrapper,
    .banner-swiper .swiper-slide {
        height: 580px;
    }

    .banner-item {
        min-height: 580px;
        height: 100%;
    }

    .banner-title {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ================================
   Large Mobiles (768px and below)
================================ */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Header */
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }

    .top-bar-left .contact-info {
        gap: 15px;
    }

    .main-header {
        padding: 12px 0;
    }

    .site-logo img {
        height: 40px;
    }

    .header-inquiry span {
        display: none;
    }

    /* Banner */
    .banner-slider {
        margin-top: 130px;
    }

    .banner-swiper,
    .banner-swiper .swiper-wrapper,
    .banner-swiper .swiper-slide {
        height: 540px;
    }

    .banner-item {
        min-height: 540px;
        height: 100%;
    }

    .banner-content {
        align-items: flex-start;
        padding-top: 54px;
        padding-bottom: 48px;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    /* Advantages */
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .advantage-item {
        padding: 30px 20px;
    }

    /* Products */
    .product-categories-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Inquiry */
    .inquiry-form-container {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* About */
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Factory */
    .factory-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-info-box {
        padding: 30px 20px;
    }

    .contact-form-box {
        padding: 30px 20px;
    }

    .contact-map iframe {
        height: 300px;
    }

    /* Product Detail */
    .product-info {
        padding: 30px 0;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .product-meta {
        flex-direction: column;
        gap: 10px;
    }

    .product-inquiry-form {
        padding: 20px;
    }
}

/* ================================
   Mobiles (576px and below)
================================ */
@media screen and (max-width: 576px) {
    html {
        font-size: 14px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    /* Banner */
    .banner-slider {
        margin-top: 152px;
    }

    .banner-swiper,
    .banner-swiper .swiper-wrapper,
    .banner-swiper .swiper-slide {
        height: 590px;
    }

    .banner-item {
        min-height: 590px;
        height: 100%;
    }

    .banner-content {
        padding-top: 44px;
        padding-bottom: 58px;
    }

    .hero-kicker {
        font-size: 0.68rem;
        line-height: 1.35;
        margin-bottom: 14px;
    }

    .banner-title {
        font-size: 1.8rem;
        line-height: 1.05;
        margin-bottom: 14px;
    }

    .banner-subtitle {
        font-size: 0.95rem;
        line-height: 1.55;
        margin-bottom: 18px;
    }

    .hero-badges {
        gap: 8px;
        margin: 16px 0 22px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hero-actions .btn,
    .banner-content .btn {
        width: 100%;
        justify-content: center;
    }

    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card-content {
        padding: 15px;
    }

    .product-actions {
        opacity: 1;
        visibility: visible;
    }

    /* Certifications */
    .certifications-wrapper {
        gap: 30px;
    }

    .cert-item img {
        height: 40px;
    }

    /* Inquiry */
    .inquiry-info h2 {
        font-size: 1.75rem;
    }

    .inquiry-features {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-top {
        padding: 40px 0;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }

    /* Back to Top */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    /* Popup */
    .popup-body {
        padding: 30px 20px;
    }

    /* Page Header */
    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .breadcrumb {
        flex-wrap: wrap;
    }

    /* About Stats */
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    /* Product Specs Table */
    .product-specs-table th,
    .product-specs-table td {
        padding: 10px;
        font-size: 0.875rem;
    }

    .product-certifications {
        flex-wrap: wrap;
    }

    /* Mobile Navigation */
    .mobile-navigation {
        width: 100%;
    }
}

/* ================================
   Print Styles
================================ */
@media print {
    .site-header,
    .site-footer,
    .back-to-top,
    .inquiry-popup,
    .mobile-navigation,
    .mobile-overlay {
        display: none !important;
    }

    .banner-slider {
        margin-top: 0 !important;
    }

    body {
        font-size: 12pt;
    }

    a {
        color: inherit !important;
        text-decoration: underline;
    }

    img {
        max-width: 100% !important;
    }
}