/* ===================================================================
   شركة الشاهين للاستثمارات العقارية والصناعية محدودة المسؤولية
   Core Stylesheet - Luxury Corporate Theme (Navy & Gold)
   =================================================================== */

:root {
    --primary-navy: #0b192c;
    --secondary-navy: #1e3e62;
    --dark-blue: #162a45;
    --accent-gold: #d4af37;
    --accent-gold-dark: #b89326;
    --accent-gold-light: #f3e5ab;
    --accent-gold-glow: rgba(212, 175, 55, 0.25);
    --slate-gray: #4a5568;
    --light-slate: #64748b;
    --light-bg: #f8fafc;
    --light-card-bg: #f1f5f9;
    --white: #ffffff;
    --card-border: #e2e8f0;
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    --font-family: 'Cairo', system-ui, -apple-system, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body {
    background-color: var(--light-bg);
    color: #2d3748;
    line-height: 1.8;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1240px;
    margin: auto;
}

/* ---------------- Top Bar ---------------- */
.top-bar {
    background-color: var(--primary-navy);
    color: #cbd5e1;
    font-size: 0.88rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.top-bar-location {
    display: flex;
    align-items: center;
    gap: 8px;
}
.top-bar-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.top-bar-links a {
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}
.top-bar-links a:hover {
    color: var(--accent-gold);
}
.wa-badge {
    background: #25d366;
    color: #ffffff !important;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 700;
}

/* ---------------- Navbar ---------------- */
.header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}
.logo-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    border: 2px solid var(--accent-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-weight: 900;
    font-size: 1.6rem;
    box-shadow: 0 4px 12px var(--accent-gold-glow);
}
.logo-text h1 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.2;
}
.logo-text span {
    font-size: 0.8rem;
    color: var(--accent-gold-dark);
    font-weight: 700;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
}
.nav-links a {
    font-weight: 700;
    color: var(--primary-navy);
    font-size: 0.96rem;
    position: relative;
    padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--accent-gold-dark);
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 3px;
    bottom: -2px;
    right: 0;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
    border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-navy);
}

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.96rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}
.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: #0b192c;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #e5c058, var(--accent-gold));
}
.btn-outline {
    border: 2px solid var(--accent-gold);
    color: var(--white);
    background: transparent;
}
.btn-outline:hover {
    background-color: var(--accent-gold);
    color: var(--primary-navy);
    transform: translateY(-2px);
}
.btn-navy {
    background-color: var(--primary-navy);
    color: var(--white);
}
.btn-navy:hover {
    background-color: var(--secondary-navy);
    transform: translateY(-2px);
}

/* ---------------- Page Banner / Header ---------------- */
.page-banner {
    background: linear-gradient(135deg, rgba(11, 25, 44, 0.95), rgba(30, 62, 98, 0.92)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><polygon points="40,0 80,40 40,80 0,40" fill="%23d4af37" fill-opacity="0.04"/></svg>');
    background-size: cover, 40px 40px;
    color: var(--white);
    padding: 75px 0 65px;
    text-align: center;
    position: relative;
    border-bottom: 3px solid var(--accent-gold);
}
.page-banner h1 {
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 15px;
}
.page-banner p {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 750px;
    margin: 0 auto 20px;
}
.breadcrumb {
    display: inline-flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.88rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.breadcrumb a {
    color: var(--accent-gold-light);
}
.breadcrumb span {
    color: #94a3b8;
}

/* ---------------- General Section Styles ---------------- */
.section {
    padding: 85px 0;
}
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 55px;
}
.section-tag {
    font-size: 0.92rem;
    color: var(--accent-gold-dark);
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}
.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 16px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 75px;
    height: 4px;
    background: var(--accent-gold);
    margin: 14px auto 0;
    border-radius: 2px;
}
.section-desc {
    color: var(--slate-gray);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ---------------- Cards & Grids ---------------- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--card-border);
    transition: all 0.35s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.4);
}

.card-icon {
    width: 65px;
    height: 65px;
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.12);
    color: var(--accent-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    margin-bottom: 22px;
}
.card h3 {
    font-size: 1.35rem;
    color: var(--primary-navy);
    margin-bottom: 14px;
    font-weight: 800;
}
.card p {
    color: var(--slate-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------------- Portfolio Grid ---------------- */
.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.project-header-visual {
    height: 220px;
    background: linear-gradient(135deg, var(--secondary-navy), var(--primary-navy));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--accent-gold-light);
}
.project-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 800;
}
.project-body {
    padding: 26px;
}
.project-body h4 {
    font-size: 1.3rem;
    color: var(--primary-navy);
    font-weight: 800;
    margin-bottom: 10px;
}
.project-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}
.project-body p {
    color: var(--slate-gray);
    font-size: 0.94rem;
    line-height: 1.7;
}

/* ---------------- Contact Form ---------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}
.contact-sidebar {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.contact-sidebar h3 {
    color: var(--accent-gold);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 26px;
}
.contact-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.contact-item-info h5 {
    color: var(--accent-gold-light);
    font-size: 0.92rem;
    margin-bottom: 4px;
}
.contact-item-info a, .contact-item-info span {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
}
.contact-item-info a:hover {
    color: var(--accent-gold);
}

.form-group {
    margin-bottom: 22px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--primary-navy);
    font-size: 0.94rem;
}
.form-control {
    width: 100%;
    padding: 13px 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-size: 0.96rem;
    outline: none;
    background: #f8fafc;
    transition: all 0.3s;
}
.form-control:focus {
    border-color: var(--accent-gold-dark);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

/* ---------------- Footer ---------------- */
.footer {
    background-color: var(--primary-navy);
    color: #94a3b8;
    padding: 65px 0 25px;
    border-top: 3px solid var(--accent-gold);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 35px;
    margin-bottom: 45px;
}
.footer-logo h3 {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 14px;
}
.footer-logo p {
    font-size: 0.94rem;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 18px;
}
.footer-col h4 {
    color: var(--accent-gold);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 2px;
    background: var(--accent-gold);
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 11px;
}
.footer-links a {
    color: #cbd5e1;
    font-size: 0.94rem;
}
.footer-links a:hover {
    color: var(--accent-gold);
    padding-right: 6px;
}
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    color: #64748b;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 992px) {
    .grid-2, .grid-3, .grid-4, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        gap: 15px;
        border-top: 2px solid var(--accent-gold);
    }
    .nav-links.active {
        display: flex;
    }
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }
}
