/* ===== TABLET STYLES (768px - 1024px) ===== */

/* Desktop specific */
@media (min-width: 1025px) {
    .archive-grid {
        grid-column: 1;
    }
    
    .archive-sidebar {
        grid-column: 2;
    }
    
    .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .container {
        display: block;
    }
    
    .archive-sidebar {
        margin-top: 4rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    /* Header */
    .nav-menu {
        gap: 1.5rem;
    }
    
    .header-actions {
        gap: 1rem;
    }

    .page-header .page-title{
        margin-top: 2rem;
    }

    .page-featured-image {
        max-width: 90%;
        margin: 2rem auto 3rem;
    }
    
    .floating-image {
        max-width: 40%;
        margin: 0 0 1.5rem 1.5rem;
    }
    
    .image-container {
        margin: 1.5rem 0;
    }
    
    .page-featured-image img {
        max-height: 500px;
        object-fit: cover;
    }

    .well-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Hero */
    .hero-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Benefits */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* CTA */
    .cta-title {
        font-size: 2rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-description {
        margin: 0 auto;
    }
    
    .social-links {
        justify-content: center;
    }

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

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

@media (min-width: 768px) and (max-width: 900px) {
    .page-featured-image {
        max-width: 95%;
    }
    
    .floating-image {
        max-width: 45%;
        margin: 0 0 1rem 1rem;
    }
    
    /* Adjust grid layouts */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: auto;
    }
}

/* Tablet-specific gallery adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-single-title {
        font-size: 2rem;
    }
}

/* Tablet services adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

/* Tablet header adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-phone .phone-text {
        display: none;
    }
}