/* --- Global Styles & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0d253f; /* Deep Navy */
    --accent-color: #c5a059;  /* Elegant Gold */
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-radius: 8px;
}

body {
    font-family: 'Tajawal', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    direction: rtl;
    text-align: right;
}

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

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--light-bg);
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
}

.about-text .section-title::after {
    margin: 10px 0 0 0;
}

/* --- Header --- */
.site-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 0;
    border-bottom: 3px solid var(--accent-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
}

.logo span {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 400;
    display: inline-block;
    margin-right: 5px;
}

.header-contact {
    display: flex;
    gap: 20px;
}

.contact-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-color);
}

/* --- Hero Slider (CSS Scroll Snap) --- */
.hero-slider-section {
    width: 100%;
    overflow: hidden;
}

.slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.slider-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for clean slider look */
}

.slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide::before {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(13, 37, 63, 0.75);
}

.slide-1 {
    background-image: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1200&q=80');
}

.slide-2 {
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1200&q=80');
}

.slide-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.slide-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.slide-content p {
    font-size: 1.2rem;
}

/* --- About Us --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* --- Our Work Slider --- */
.work-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 15px;
}

.work-slider::-webkit-scrollbar {
    height: 6px;
}

.work-slider::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

.work-item {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.work-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.work-item h4 {
    padding: 12px;
    font-size: 1rem;
    color: var(--primary-color);
}

.scroll-hint {
    text-align: center;
    font-size: 0.85rem;
    color: #777;
    margin-top: 10px;
}

/* --- Contact Us --- */
.contact-intro {
    margin-bottom: 30px;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    width: 250px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contact-card .icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--accent-color);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px 0;
    font-size: 0.9rem;
    border-top: 2px solid var(--accent-color);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .slide-content h2 {
        font-size: 1.6rem;
    }

    .about-text .section-title::after {
        margin: 10px auto 0;
    }

    .about-text {
        text-align: center;
    }
}