/* Responsive Design - Mobile First */

/* Extra Small Devices (phones, 320px and up) */
@media (max-width: 480px) {
    .header-container {
        padding: 0.5rem 1rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .nav-buttons {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        justify-content: center;
    }

    .hero {
        padding: 140px 0 40px;
        min-height: 60vh;
    }

    .hero-container {
        padding: 0 1rem;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn-hero-whatsapp {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .hero-placeholder {
        width: 180px;
        height: 180px;
    }

    .hero-emoji {
        font-size: 3rem;
    }

    .whatsapp-float a {
        padding: 0.8rem 1rem;
        font-size: 0.8rem;
    }

    .whatsapp-icon {
        font-size: 1.2rem;
    }

    .footer-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .sitemap-main {
        padding: 140px 0 40px;
    }

    .container {
        padding: 0 1rem;
    }

    /* SEO Content Mobile */
    .seo-content .container {
        padding: 0 1rem;
    }

    .seo-content h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .seo-intro {
        margin-bottom: 3rem;
    }

    .seo-intro p {
        font-size: 1rem;
    }

    .service-section {
        padding: 1.5rem;
        margin-bottom: 3rem;
    }

    .service-section h2 {
        font-size: 1.6rem;
    }

    .service-section h3 {
        font-size: 1.2rem;
        margin: 1.5rem 0 1rem;
    }

    .btn-seo-whatsapp {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .sitemap-main h1 {
        font-size: 2rem;
    }

    .sitemap-links {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }

    .sitemap-links a {
        font-size: 0.8rem;
        padding: 0.4rem;
    }
}

/* Small Devices (tablets, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero {
        padding-top: 190px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-placeholder {
        width: 220px;
        height: 220px;
    }

    .sitemap-links {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .sitemap-main {
        padding-top: 190px;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-container {
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-placeholder {
        width: 250px;
        height: 250px;
    }

    .sitemap-links {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-placeholder {
        width: 280px;
        height: 280px;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-content h1 {
        font-size: 3.2rem;
    }

    .hero-placeholder {
        width: 320px;
        height: 320px;
    }

    .sitemap-links {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

/* Header Fixed on Mobile */
@media (max-width: 768px) {
    #main-header {
        position: fixed;
    }

    body {
        padding-top: 0;
    }

    .hero {
        padding-top: 190px;
    }

    .sitemap-main {
        padding-top: 190px;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 50vh;
        padding: 80px 0 40px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-placeholder {
        width: 120px;
        height: 120px;
    }

    .hero-emoji {
        font-size: 2rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-emoji,
    .btn::before,
    .whatsapp-float a::before {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Print styles */
@media print {
    .whatsapp-float,
    .nav-buttons {
        display: none !important;
    }

    body {
        background: white !important;
    }

    .hero,
    #main-header {
        background: #f8f9fa !important;
        color: #333 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .hero-content h1 {
        -webkit-text-fill-color: #333 !important;
        background: none !important;
    }
}