/*
Theme Name: ساج للمقاولات
Template: hello-elementor
Description: ENG AHMED NASR
Version: 1.1
Text Domain: saij
*/

:root {
  --primary: #0a2540;
  --primary-light: #1a3a5c;
  --secondary: #f39c12;
  --secondary-dark: #d68910;
  --dark: #0a0a0f;
  --light: #f8f9fa;
  --gray: #636e72;
  --text: #2d3436;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(0,0,0,0.08);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.35s ease;
}
html { direction: rtl; scroll-behavior: smooth; }
body { margin: 0 !important; padding: 0 !important; font-family: 'Cairo', sans-serif !important; color: var(--text); background: var(--white); overflow-x: hidden; max-width: 100%; }
*, *::before, *::after { box-sizing: border-box; }
a { transition: var(--transition); text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.site-main, .page-content, .entry-content, #content { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
.section { padding: 100px 0; }
.section-title { font-size: 40px; font-weight: 800; color: var(--primary); text-align: center; margin-bottom: 15px; }
.section-subtitle { font-size: 18px; color: var(--gray); text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-title span { color: var(--secondary); }

/* ===== TOP BAR ===== */
.top-bar { background: var(--primary); color: #b2bec3; padding: 10px 0; font-size: 14px; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar a { color: var(--white); }
.top-bar a:hover { color: var(--secondary); }
.top-bar-info { display: flex; gap: 25px; align-items: center; flex-wrap: wrap; }
.top-bar-info span { display: flex; align-items: center; gap: 6px; }
.whatsapp-top { background: #25d366; color: #fff !important; padding: 4px 16px; border-radius: 50px; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.whatsapp-top:hover { background: #128C7E !important; color: #fff !important; }

/* ===== HEADER ===== */
.site-header { background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.site-branding { display: flex; align-items: center; gap: 10px; }
.site-logo { font-size: 28px; font-weight: 900; color: var(--primary); line-height: 1; }
.site-logo .site-title { font-size: 28px; font-weight: 900; color: var(--primary); }
.site-logo .site-title span { color: var(--secondary); }
.site-logo .custom-logo-link { display: block; }
.site-logo .custom-logo { height: 55px; width: auto; }
.site-logo span { color: var(--secondary); }
.site-logo small { display: block; font-size: 11px; font-weight: 400; color: var(--gray); letter-spacing: 1px; }
.main-navigation ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 5px; }
.main-navigation ul li a { display: block; padding: 10px 18px; color: var(--primary); font-weight: 700; font-size: 15px; border-radius: 50px; transition: var(--transition); }
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a { background: var(--primary); color: var(--white); }
.main-navigation ul li.cta-menu a { background: var(--secondary); color: var(--white); }
.main-navigation ul li.cta-menu a:hover { background: var(--secondary-dark); }
.menu-toggle { display: none; background: none; border: none; font-size: 28px; color: var(--primary); cursor: pointer; padding: 5px; }

/* ===== HERO ===== */
.hero { position: relative; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); padding: 140px 0 120px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom; background-size: cover; opacity: 0.5; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content h1 { font-size: 52px; font-weight: 900; line-height: 1.2; margin-bottom: 20px; }
.hero-content h1 span { color: var(--secondary); }
.hero-content p { font-size: 19px; line-height: 1.7; opacity: 0.9; margin-bottom: 35px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px; border-radius: 50px; font-weight: 700; font-size: 16px; transition: var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--secondary); color: var(--white); }
.btn-primary:hover { background: var(--secondary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(243,156,18,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.hero-image { text-align: center; }
.hero-image img { max-width: 100%; border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,0.3); }

/* ===== STATS ===== */
.stats { background: var(--white); padding: 60px 0; border-bottom: 1px solid #eee; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-item { text-align: center; padding: 30px; }
.stat-number { font-size: 48px; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.stat-number span { color: var(--secondary); }
.stat-label { font-size: 16px; color: var(--gray); font-weight: 600; }

/* ===== SERVICES ===== */
.services { background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 40px 30px; text-align: center; box-shadow: var(--shadow); border: 1px solid #eee; transition: var(--transition); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--secondary); }
.service-icon { width: 80px; height: 80px; margin: 0 auto 25px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 34px; color: var(--white); transition: var(--transition); }
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--secondary), #e67e22); transform: scale(1.05); }
.service-card h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.service-card p { font-size: 15px; color: var(--gray); line-height: 1.7; margin-bottom: 0; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-image::before { content: ''; position: absolute; top: -20px; right: -20px; width: 200px; height: 200px; border: 5px solid var(--secondary); border-radius: var(--radius); z-index: -1; }
.about-content h2 { font-size: 36px; font-weight: 800; color: var(--primary); margin-bottom: 20px; }
.about-content h2 span { color: var(--secondary); }
.about-content p { font-size: 17px; line-height: 1.9; color: var(--gray); margin-bottom: 25px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 25px; }
.about-feature { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--light); border-radius: var(--radius-sm); font-weight: 600; color: var(--primary); }
.about-feature .icon { width: 36px; height: 36px; background: var(--primary); color: var(--white); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }

/* ===== PROJECTS ===== */
.projects { background: var(--light); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.project-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover img { transform: scale(1.1); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,37,64,0.9) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; opacity: 0; transition: var(--transition); }
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay h3 { color: var(--white); font-size: 20px; font-weight: 700; margin-bottom: 5px; }
.project-overlay p { color: var(--secondary); font-size: 14px; margin: 0; }

/* ===== CTA ===== */
.cta-section { background: linear-gradient(135deg, var(--primary), var(--primary-light)); text-align: center; padding: 80px 0; }
.cta-section h2 { color: var(--white); font-size: 38px; font-weight: 800; margin-bottom: 15px; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 18px; margin-bottom: 35px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h3 { font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 20px; }
.contact-info h3 span { color: var(--secondary); }
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.contact-item { display: flex; align-items: center; gap: 15px; }
.contact-icon { width: 50px; height: 50px; background: var(--light); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--secondary); flex-shrink: 0; }
.contact-item h4 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 2px; }
.contact-item p { color: var(--gray); margin: 0; }

/* ===== FOOTER ===== */
.site-footer { background: var(--dark); color: #b2bec3; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-about .footer-logo { font-size: 26px; font-weight: 900; color: var(--white); margin-bottom: 15px; }
.footer-about .footer-logo span { color: var(--secondary); }
.footer-about p { line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 44px; height: 44px; background: rgba(255,255,255,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 20px; transition: var(--transition); }
.footer-social a:hover { background: var(--secondary); transform: translateY(-3px); }
.footer-col h4 { color: var(--white); font-size: 18px; font-weight: 700; margin-bottom: 25px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; right: 0; width: 40px; height: 3px; background: var(--secondary); border-radius: 2px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { color: #b2bec3; font-size: 15px; transition: var(--transition); display: flex; align-items: center; gap: 8px; }
.footer-col ul li a:hover { color: var(--secondary); padding-right: 5px; }
.footer-bottom { text-align: center; padding: 25px 0; font-size: 14px; color: #636e72; }

/* ===== WHATSAPP FLOAT ===== */
.floating-whatsapp { position: fixed; bottom: 30px; left: 30px; width: 60px; height: 60px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 30px; z-index: 9999; text-decoration: none; box-shadow: 0 4px 15px rgba(37,211,102,0.4); transition: var(--transition); animation: wa-pulse 2s infinite; }
.floating-whatsapp:hover { transform: scale(1.1); color: #fff; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); } 70% { box-shadow: 0 0 0 20px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ===== MOBILE BOTTOM BAR ===== */
.mobile-bottom-bar { display: none; }

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0; right: 0; left: 0;
    background: #fff;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
    z-index: 9998;
    padding: 8px 0;
    justify-content: space-around;
    align-items: center;
    direction: rtl;
  }
  .mobile-bottom-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: var(--gray);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    transition: var(--transition);
  }
  .mobile-bottom-bar a i { font-size: 22px; }
  .mobile-bottom-bar a:hover,
  .mobile-bottom-bar a:active { color: var(--primary); }
  .mobile-bottom-bar .whatsapp-icon { color: #25d366; }
  .mobile-bottom-bar .phone-icon { color: var(--primary); }
  body { padding-bottom: 65px; }
  .floating-whatsapp { bottom: 80px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .top-bar { display: none; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content h1 { font-size: 36px; }
  .hero-buttons { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-features { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; }
  .main-navigation ul { display: none; position: absolute; top: 100%; right: 0; left: 0; background: var(--white); flex-direction: column; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
  .main-navigation ul.open { display: flex; }
}
@media (max-width: 576px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 0; }
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
}
