/**
 * MultiToolVerse Responsive Styles
 */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .category-grid,
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .category-grid,
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tool-content {
        grid-template-columns: 1fr;
    }
    
    .tool-sidebar {
        position: static;
        margin-top: 40px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid,
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tool-main-info {
        flex-direction: column;
        text-align: center;
    }
    
    .tool-big-icon {
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .category-grid,
    .tools-grid,
    .feature-grid,
    .related-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-header,
    .tool-header {
        padding: 30px 20px;
    }
    
    .category-title,
    .tool-page-title {
        font-size: 1.8rem;
    }
    
    .category-meta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .tool-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .tool-actions .btn {
        width: 100%;
    }
    
    .related-tool-link {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .hero,
    .cta,
    .tool-sidebar,
    .related-categories,
    .tool-actions,
    .comments-area {
        display: none !important;
    }
    
    .tool-content {
        display: block;
    }
    
    body {
        background: white;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
}