/* --- Variables & Reset --- */
:root {
    --primary-yellow: #FFD600;
    --primary-dark: #111111;
    --secondary-dark: #1a1a1a;
    --text-grey: #666;
    --light-bg: #f9f9f9;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    /* هنا تم تغيير الخط إلى Cairo */
    font-family: 'Cairo', sans-serif; 
}

html { scroll-behavior: smooth; }
body { color: var(--text-grey); line-height: 1.6; overflow-x: hidden; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

/* لضمان أن العناوين والأزرار تأخذ الوزن الثقيل (Bold 700) */
h1, h2, h3, h4, h5, h6, .btn, .nav-links li a {
    font-weight: 700;
}
/* --- Buttons --- */
.btn {
    padding: 14px 35px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
}
.btn-yellow { background: var(--primary-yellow); color: #000; }
.btn-yellow:hover { background: #000; color: #fff; }
.btn-black { background: #000; color: #fff; }
.btn-black:hover { background: var(--primary-yellow); color: #000; }
.btn-transparent { border: 2px solid #fff; color: #fff; }
.btn-transparent:hover { background: #fff; color: #000; }

/* --- Top Bar --- */
.top-bar { padding: 15px 0; border-bottom: 1px solid #eee; background: #fff; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.logo-area { font-size: 26px; font-weight: 900; color: #000; display: flex; gap: 10px; align-items: center; }
.logo-area i { color: var(--primary-yellow); }
.contact-info { display: flex; gap: 30px; }
.contact-info .item { display: flex; align-items: center; gap: 12px; }
.contact-info i { color: var(--primary-yellow); font-size: 22px; }
.contact-info span { display: block; font-size: 11px; font-weight: 700; color: #999; text-transform: uppercase; }
.contact-info small { font-weight: 700; color: #222; font-size: 14px; }

/* --- Navbar --- */
.navbar { background: var(--primary-dark); padding: 0; position: sticky; top: 0; z-index: 1000; transition: 0.3s; }
.navbar.sticky { padding: 0; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.nav-links { display: flex; height: 100%; }
.nav-links li { height: 100%; }
.nav-links li a { 
    display: flex; align-items: center; height: 100%; padding: 0 20px; 
    font-size: 13px; font-weight: 700; text-transform: uppercase; color: #fff; position: relative;
}
.nav-links li a:hover, .nav-links li a.active { color: var(--primary-yellow); }
.nav-links li a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 4px; 
    background: var(--primary-yellow); transition: 0.3s;
}
.nav-links li a:hover::after { width: 100%; }
.btn-quote { background: var(--primary-yellow); color: #000; padding: 29px 30px; font-weight: 700; text-transform: uppercase; font-size: 14px; margin-left: auto; height: 80px; display: flex; align-items: center; }
.btn-quote:hover { background: #fff; }
.logo-mobile { display: none; font-weight: 900; color: #fff; font-size: 24px; }
.hamburger { display: none; color: #fff; font-size: 24px; cursor: pointer; }

/* --- Hero Section --- */
.hero { height: 85vh; min-height: 600px; background: url('https://images.unsplash.com/photo-1590644365607-1c5a38fc43e0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1500&q=80') center/cover; position: relative; display: flex; align-items: center; }
.overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 800px; }
.hero h1 { font-size: 60px; line-height: 1.1; margin-bottom: 20px; text-transform: capitalize; }
.hero p { font-size: 20px; margin-bottom: 40px; font-weight: 300; }
.hero-buttons { display: flex; gap: 20px; }

/* --- Features Yellow --- */
.features-yellow { background-color: var(--primary-yellow); padding: 80px 0; margin-top: -50px; position: relative; z-index: 10; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.feature-card { background: #fff; padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: 0.3s; }
.feature-card:hover { transform: translateY(-10px); }
.feature-card .img-box { height: 200px; overflow: hidden; margin-bottom: 20px; }
.feature-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.feature-card:hover img { transform: scale(1.1); }
.feature-card h3 { color: #000; margin-bottom: 15px; font-size: 20px; }
.feature-card .read-more { font-weight: 700; font-size: 13px; color: #000; display: inline-flex; align-items: center; gap: 5px; }

/* --- About Section --- */
.about-section { padding: 100px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 60px; }
.about-text { flex: 1; min-width: 300px; }
.sub-title { color: var(--primary-yellow); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; display: inline-block; background: #222; padding: 2px 8px; font-size: 12px; }
.about-text h2 { font-size: 40px; margin-bottom: 25px; color: #000; line-height: 1.2; }
.check-list { margin: 30px 0; }
.check-list li { margin-bottom: 10px; color: #333; font-weight: 500; }
.check-list i { color: var(--primary-yellow); margin-right: 10px; }
.about-image { flex: 1; position: relative; }
.img-wrapper { position: relative; z-index: 1; }
.img-wrapper img { width: 100%; box-shadow: 20px 20px 0 var(--primary-yellow); }

/* --- Stats Section --- */
.stats-section { background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1500&q=80') fixed center/cover; padding: 80px 0; position: relative; color: #fff; text-align: center; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; position: relative; z-index: 2; }
.stat-item h2 { font-size: 48px; color: var(--primary-yellow); margin-bottom: 5px; }
.stat-item p { font-size: 18px; font-weight: 700; text-transform: uppercase; }

/* --- Services --- */
.services-section { background: var(--light-bg); padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 38px; color: #000; }
.section-header .highlight { color: #d4af00; text-decoration: underline; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-item { background: #fff; padding: 35px; border-bottom: 3px solid transparent; transition: 0.3s; display: flex; gap: 20px; }
.service-item:hover { border-bottom: 3px solid var(--primary-yellow); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.service-item .icon { font-size: 45px; color: var(--primary-yellow); }
.service-item h3 { margin-bottom: 10px; font-size: 20px; color: #000; }

/* --- Projects Gallery --- */
.projects-section { padding: 100px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.gallery-item { position: relative; overflow: hidden; height: 300px; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; transition: 0.4s; color: #fff; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay h4 { font-size: 22px; color: var(--primary-yellow); }

/* --- Footer --- */
footer { background: #151515; color: #bbb; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; padding-bottom: 50px; }
.footer-col h3 { color: #fff; margin-bottom: 25px; font-size: 20px; position: relative; padding-bottom: 10px; }
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--primary-yellow); }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a:hover { color: var(--primary-yellow); padding-left: 5px; }
.footer-col ul li i { color: var(--primary-yellow); width: 25px; }
.social-icons a { width: 40px; height: 40px; background: #222; display: inline-flex; justify-content: center; align-items: center; border-radius: 50%; margin-right: 10px; color: #fff; }
.social-icons a:hover { background: var(--primary-yellow); color: #000; }
.newsletter-form { display: flex; margin-top: 15px; }
.newsletter-form input { flex: 1; padding: 12px; border: none; outline: none; background: #222; color: #fff; }
.newsletter-form button { background: var(--primary-yellow); border: none; width: 50px; cursor: pointer; color: #000; font-size: 18px; }
.footer-bottom { background: #000; padding: 20px; text-align: center; border-top: 1px solid #222; }

/* --- Responsive & Animations --- */
@media (max-width: 991px) {
    .top-bar { display: none; }
    .nav-links { position: absolute; top: 80px; left: 0; width: 100%; background: #111; flex-direction: column; height: auto; padding: 20px 0; transform: scaleY(0); transform-origin: top; transition: 0.3s; }
    .nav-links.active { transform: scaleY(1); }
    .nav-links li a { padding: 15px 30px; border-bottom: 1px solid #222; }
    .nav-links li a::after { display: none; }
    .btn-quote { display: none; }
    .hamburger { display: block; }
    .logo-mobile { display: block; }
    .hero h1 { font-size: 40px; }
    .features-yellow { margin-top: 0; }
}

/* Simple Fade In Animation Class */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }