/*
Theme Name: Emaar Contracting
Theme URI: 
Author: Antigravity
Author URI: 
Description: Premium Custom WordPress theme for Emaar for Contracting and Decoration (إعمار للمقاولات والديكور).
Version: 2.0
Text Domain: emaar
*/

:root {
    --primary-color: #0f172a; /* Slate 900 */
    --accent-color: #d97706; /* Amber 600 / Gold-ish */
    --accent-hover: #b45309;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: #334155;
    overflow-x: hidden;
}

/* Utilities */
.text-accent { color: var(--accent-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }
.bg-primary-dark { background-color: var(--primary-color) !important; }

.btn-accent {
    background: linear-gradient(45deg, var(--accent-color), #f59e0b);
    border: none;
    color: #fff;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}
.btn-accent:hover {
    background: linear-gradient(45deg, var(--accent-hover), var(--accent-color));
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.section-padding { padding: 100px 0; }
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Header & Navbar */
.top-bar {
    background-color: var(--primary-color);
    color: #cbd5e1;
    font-size: 14px;
    padding: 8px 0;
}
.top-bar i { color: var(--accent-color); margin-left: 5px; }

.navbar {
    transition: all 0.4s ease;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
.navbar.scrolled {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 10px 0;
}
.navbar-brand {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color) !important;
    letter-spacing: -1px;
}
.navbar-brand span { color: var(--accent-color); }
.nav-link {
    font-weight: 600;
    color: var(--primary-color) !important;
    margin: 0 10px;
    transition: color 0.3s ease;
    position: relative;
}
.nav-link:hover { color: var(--accent-color) !important; }
.nav-link::after {
    content: ''; position: absolute; bottom: 0; right: 0; width: 0; height: 2px; background: var(--accent-color); transition: 0.3s;
}
.nav-link:hover::after { width: 100%; left: 0; right: auto; }

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    display: flex;
    align-items: center;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to left, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.5));
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}
.hero-title { font-size: 4rem; font-weight: 900; margin-bottom: 20px; line-height: 1.3; }
.hero-title span { color: var(--accent-color); }
.hero-subtitle { font-size: 1.25rem; font-weight: 300; opacity: 0.9; margin-bottom: 40px; }

/* Features Overlay */
.features-box {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}
.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    text-align: center;
    height: 100%;
    border-bottom: 4px solid transparent;
}
.feature-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent-color);
}
.feature-icon {
    width: 70px; height: 70px;
    background: rgba(217, 119, 6, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    transition: 0.3s;
}
.feature-card:hover .feature-icon {
    background: var(--accent-color);
    color: #fff;
    transform: rotateY(360deg);
}

/* About Section */
.about-image-wrapper { position: relative; padding: 20px; }
.about-image { border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.about-badge {
    position: absolute; bottom: 0; right: 0;
    background: var(--accent-color); color: #fff;
    padding: 30px; border-radius: 15px;
    text-align: center; font-weight: bold;
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.3);
    border: 5px solid #fff;
}

/* Services */
.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.4s;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}
.service-card:hover { transform: translateY(-15px); box-shadow: 0 25px 50px rgba(0,0,0,0.15); }
.service-img-wrapper { height: 240px; overflow: hidden; position: relative; }
.service-img-wrapper::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(transparent, rgba(0,0,0,0.7)); }
.service-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.service-card:hover .service-img-wrapper img { transform: scale(1.1); }
.service-content { padding: 30px; position: relative; margin-top: -30px; background: #fff; border-radius: 20px 20px 0 0; }
.service-icon-floating {
    position: absolute; right: 30px; top: -30px;
    width: 60px; height: 60px; background: var(--accent-color); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 8px 20px rgba(217, 119, 6, 0.4);
}

/* Projects */
.project-card {
    border-radius: 15px; overflow: hidden; position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: block;
}
.project-card img { width: 100%; height: 350px; object-fit: cover; transition: 0.6s; }
.project-overlay {
    position: absolute; inset: 0; background: rgba(15, 23, 42, 0.85);
    display: flex; align-items: center; justify-content: center; flex-direction: column;
    opacity: 0; transition: 0.4s; text-align: center; padding: 20px;
}
.project-card:hover img { transform: scale(1.1); }
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay h4 { color: #fff; transform: translateY(20px); transition: 0.4s; font-weight: 700; margin-bottom: 10px; }
.project-overlay p { color: var(--accent-color); transform: translateY(20px); transition: 0.4s; transition-delay: 0.1s; font-weight: bold; }
.project-card:hover .project-overlay h4, .project-card:hover .project-overlay p { transform: translateY(0); }

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.92)), url('https://images.unsplash.com/photo-1541888081622-6311b15c9071?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/fixed;
    color: #fff; padding: 120px 0; text-align: center;
}

/* Footer */
.main-footer { background-color: var(--primary-color); color: #94a3b8; padding: 80px 0 30px; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ''; position: absolute; right: 0; bottom: 0; width: 40px; height: 2px; background: var(--accent-color); }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: #94a3b8; text-decoration: none; transition: 0.3s; display: inline-block; }
.footer-links a:hover { color: var(--accent-color); transform: translateX(-8px); }
.contact-info-item { display: flex; align-items: center; margin-bottom: 20px; }
.contact-info-item i { width: 45px; height: 45px; background: rgba(255,255,255,0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent-color); margin-left: 15px; font-size: 18px; }
