/* Pyramids — styles (محلي بدل CDN المعطل) */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2c2c3c;
    background: #fafafa;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ——— Header ——— */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.navbar { padding: 0.65rem 0; }

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-brand .logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem 1.25rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.12);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #d4af37;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

@media (max-width: 900px) {
    .mobile-menu-toggle { display: flex; }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 0;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }

    .nav-menu.is-open { display: flex; }
}

/* ——— Hero ——— */
.hero {
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.25rem;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.96) 0%, rgba(22, 33, 62, 0.94) 100%);
    color: #fff;
}

.hero-content {
    max-width: 820px;
}

.hero-content h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin: 0 0 1rem;
    font-weight: 700;
    line-height: 1.25;
}

.hero-content p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin: 0 0 1.75rem;
}

/* ——— Offer banners ——— */
.special-offer-banner,
.projects-offer-banner {
    margin: 2rem 0 2.5rem;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #2d1f3d 0%, #1a1a2e 50%, #16213e 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.banner-content,
.projects-banner-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
}

.banner-icon,
.projects-banner-icon {
    font-size: 2.5rem;
    color: #ff6b35;
}

.banner-text,
.projects-banner-text { flex: 1 1 220px; }

.banner-text h3,
.projects-banner-text h3 {
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: 1.25rem;
}

.banner-text p,
.projects-banner-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.98rem;
}

.highlight,
.projects-highlight {
    color: #d4af37;
    font-weight: 700;
}

.banner-cta,
.projects-banner-cta { flex-shrink: 0; }

.banner-btn,
.projects-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: #fff !important;
    font-weight: 700;
    padding: 0.85rem 1.4rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.banner-btn:hover,
.projects-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

/* ——— CTA ——— */
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: #fff !important;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-btn:hover { transform: translateY(-2px); }

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: none;
}

/* ——— Sections ——— */
.company-info {
    padding: 4rem 0;
    background: #fff;
}

.company-info:nth-of-type(even):not([style]) {
    background: #f8f9fb;
}

.company-info h2 {
    color: #1a1a2e;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 1.25rem;
    text-align: center;
}

.company-info .container > p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ——— Gallery ——— */
.gallery-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f0f2f6 0%, #fff 100%);
}

.gallery-section h2 {
    text-align: center;
    color: #1a1a2e;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.75), transparent 55%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
    color: #fff;
    font-size: 1.5rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ——— Projects grid ——— */
.projects-section {
    padding: 4rem 0;
    background: #fff;
}

.projects-section > .container > h2 {
    text-align: center;
    color: #1a1a2e;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}

.project-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.project-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #1a1a2e;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    margin: 0 0 0.75rem;
    color: #1a1a2e;
    font-size: 1.2rem;
}

.project-content p {
    margin: 0 0 1.25rem;
    color: #555;
    font-size: 0.98rem;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #d4af37, #b8941f);
    color: #1a1a2e !important;
    font-weight: 700;
    padding: 0.65rem 1.2rem;
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-btn:hover {
    transform: translateX(-4px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Feature cards without image */
.project-card .project-content:only-child {
    padding: 1.75rem;
    border-right: 4px solid #d4af37;
    background: #f8f9fb;
}

/* ——— Brochure ——— */
.brochure-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    text-align: center;
}

.brochure-section h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.brochure-section .container > p {
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto 1.5rem;
}

.brochure-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(45deg, #d4af37, #b8941f);
    color: #1a1a2e !important;
    font-weight: 700;
    padding: 1rem 1.75rem;
    border-radius: 12px;
    transition: transform 0.2s;
}

.brochure-btn:hover { transform: scale(1.03); }

/* ——— Footer ——— */
.main-footer {
    background: #12121c;
    color: rgba(255, 255, 255, 0.85);
    padding: 3.5rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #d4af37;
    font-size: 1.15rem;
    margin: 0 0 1rem;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section li { margin-bottom: 0.5rem; }

.footer-section a:hover { color: #d4af37; }

.footer-social a {
    display: inline-flex;
    font-size: 1.75rem;
    color: #25d366;
    margin-top: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-bottom .disclaimer {
    margin-top: 0.75rem;
    opacity: 0.75;
    font-size: 0.85rem;
}

/* ——— Fixed contact ——— */
.fixed-contact {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s;
}

.fixed-contact.show {
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-btn,
.phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #fff !important;
    font-size: 1.45rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s;
}

.whatsapp-btn {
    background: linear-gradient(45deg, #25d366, #128c7e);
}

.phone-btn {
    background: linear-gradient(45deg, #d4af37, #b8941f);
}

.whatsapp-btn:hover,
.phone-btn:hover { transform: scale(1.08); }

.whatsapp-btn.pulse {
    animation: pulse-wa 0.8s ease;
}

@keyframes pulse-wa {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

/* ——— Lightbox (معرض) ——— */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.gallery-lightbox.is-visible { display: flex; }

.gallery-lightbox img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-lightbox-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}
