/* ============================================
   RESPONSIVE DESIGN - JOVANOVIĆ BRAVAR
   ============================================ */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }
}

/* Desktop (992px - 1199px) */
@media (max-width: 1199px) {
    .container {
        padding: 0 1.5rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    /* Navigation */
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

    .mobile-nav {
        display: block;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

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

    /* Grids */
    .about-grid,
    .contact-grid,
    .page-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Page layouts */
    .page-hero h1 {
        font-size: 2.5rem;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .gallery-masonry {
        column-count: 2;
    }
}

/* Mobile (576px - 767px) */
@media (max-width: 767px) {
    html {
        font-size: 15px;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Grids */
    .services-grid,
    .gallery-grid,
    .why-grid,
    .about-features {
        grid-template-columns: 1fr;
    }

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

    /* Cards */
    .service-card,
    .why-card,
    .gallery-item {
        padding: 1.5rem;
    }

    /* Gallery */
    .gallery-masonry {
        column-count: 1;
    }

    .gallery-filter {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .gallery-filter button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* Contact */
    .contact-form {
        padding: 1.5rem;
    }

    /* Page hero */
    .page-hero {
        padding: 6rem 0 3rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .breadcrumb {
        flex-wrap: wrap;
    }

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

    .mobile-menu-links a {
        padding: 1rem;
        font-size: 1.1rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Process */
    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .process-step:nth-child(even) {
        flex-direction: column;
    }

    .process-icon {
        margin: 0 auto 1rem;
    }
}

/* Small Mobile (< 576px) */
@media (max-width: 575px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }

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

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .gallery-item {
        aspect-ratio: 1;
    }

    .contact-item i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer-brand .logo-main {
        font-size: 1.2rem;
    }

    .scroll-top {
        width: 40px;
        height: 40px;
        bottom: 1rem;
        right: 1rem;
    }
}

/* Landscape orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 5rem 0 2rem;
    }

    .hero-stats {
        display: none;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero,
    .footer,
    .scroll-top,
    .mobile-menu-btn {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        text-decoration: underline;
        color: #000;
    }

    .page-break {
        page-break-before: always;
    }
}
