:root {
    --bg-dark: #0b1c2c;
    --bg-darker: #06101a;
    --gold: #c5a059;
    --gold-light: #e6c885;
    --text-white: #ffffff;
    --text-grey: #a0aab5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    direction: rtl;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- الهيدر --- */
header {
    background-color: rgba(11, 28, 44, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

header .container { display: flex; justify-content: space-between; align-items: center; }

.logo h1 { font-size: 1.5rem; color: var(--text-white); }
.logo span { color: var(--gold); font-size: 2rem; }

nav ul { list-style: none; display: flex; gap: 30px; }
nav a { text-decoration: none; color: var(--text-white); transition: 0.3s; }
nav a:hover { color: var(--gold); }

.btn-gold {
    border: 1px solid var(--gold);
    padding: 8px 20px;
    border-radius: 5px;
    color: var(--gold) !important;
}
.btn-gold:hover { background-color: var(--gold); color: var(--bg-dark) !important; }

/* --- قسم الهيرو (الرئيسية) --- */
.hero {
    height: 85vh;
    background-image: url('hero-bg.jpg'); /* هنا تم استدعاء صورتك */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(6, 16, 26, 0.75); /* طبقة تعتيم لتوضيح النص */
}

.hero-content { position: relative; z-index: 2; }

.hero h2 { font-size: 3.5rem; margin-bottom: 20px; }
.text-gold { color: var(--gold); }
.hero p { font-size: 1.2rem; color: var(--text-grey); margin-bottom: 30px; }

.btn-primary {
    background-color: var(--gold);
    color: var(--bg-dark);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}
.btn-primary:hover { background-color: var(--gold-light); transform: translateY(-3px); }

/* --- قسم الخدمات والكروت --- */
.services { padding: 80px 0; background-color: var(--bg-darker); }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; color: var(--gold); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-dark);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(197, 160, 89, 0.1);
    transition: 0.4s;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.card:hover .card-image img { transform: scale(1.1); }

/* الأيقونة العائمة فوق الصورة */
.icon-floating {
    position: absolute;
    bottom: -25px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--bg-dark);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.icon-floating img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.card-text { padding: 40px 25px 25px; text-align: right; }
.card h3 { margin-bottom: 10px; color: var(--gold-light); font-size: 1.4rem; }
.card p { color: var(--text-grey); font-size: 0.95rem; }

/* --- من نحن والتواصل --- */
.about { padding: 80px 0; text-align: center; background-color: var(--bg-dark); }
.about-content { max-width: 800px; margin: 0 auto; border: 1px solid var(--gold); padding: 40px; border-radius: 10px; }

.contact { padding: 80px 0; background-color: var(--bg-darker); text-align: center; }
.contact-info { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.info-item { background: var(--bg-dark); padding: 30px; border-radius: 10px; min-width: 250px; border-bottom: 3px solid var(--gold); }
.info-item i { font-size: 2rem; color: var(--gold); margin-bottom: 15px; }

footer { padding: 20px; text-align: center; background-color: #040a11; color: var(--text-grey); border-top: 1px solid rgba(255,255,255,0.05); }

@media (max-width: 768px) {
    header .container { flex-direction: column; gap: 15px; }
    .hero h2 { font-size: 2.2rem; }
}