/* ==========================================================================
   بيت العمارة للتصميم والإنشاء - Responsive Stylesheet
   Media queries for desktop, tablet, and mobile devices
   ========================================================================== */

/* Wide Desktop Screens (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Medium Desktop & Laptops (1024px to 1279px) */
@media (max-width: 1279px) {
    .hero-title {
        font-size: 2.8rem;
    }

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

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

/* Tablets & Small Laptops (768px to 1023px) */
@media (max-width: 1023px) {
    .nav-menu, .nav-actions .btn {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-card-preview {
        max-width: 580px;
        margin: 0 auto;
    }

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

    .modal-details-grid {
        grid-template-columns: 1fr;
    }

    .top-bar .container {
        justify-content: center;
        text-align: center;
    }

    .top-bar-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

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

    .site-header {
        height: auto;
    }

    .navbar {
        height: 75px;
    }

    .brand-name {
        font-size: 1.25rem;
    }

    .brand-icon {
        width: 40px;
        height: 40px;
    }

    .hero-section {
        padding: 3.5rem 0;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-description {
        font-size: 1.05rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .grid-cards, .projects-grid, .why-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-gallery-display {
        height: 240px;
    }
}

/* Small Mobile Screens (below 480px) */
@media (max-width: 479px) {
    .section-title {
        font-size: 1.8rem;
    }

    .top-bar-social {
        display: none;
    }

    .contact-form-box, .contact-info-card {
        padding: 1.8rem 1.2rem;
    }
}
