﻿/* site-custom.css */

:root {
    --primary-color: #a59582;
    --dark-color: #000000;
    --light-color: #ffffff;
    --muted-color: #6c757d;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
}

/* رؤوس الأقسام */
h2, h3, h4, h5 {
    color: var(--primary-color);
}

/* روابط وأزرار */
a, .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

    a:hover, .btn-outline-primary:hover {
        background-color: var(--primary-color);
        color: var(--light-color);
    }

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    color: white;
}

    .btn-primary:hover {
        background-color: #8a7c6c;
    }

/* الكروت */
.card {
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

/* تقسيمات المحتوى */
.border-start, .border-end {
    border-color: var(--primary-color) !important;
}

/* القسم التعريفي */
.who-we-are-card {
    background-color: rgba(255, 255, 255, 0.95);
}

/* لوجوهات الكاروسيل */
.carousel-logo {
    max-height: 100px;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.3s;
}

    .carousel-logo:hover {
        filter: none;
    }

/* أزرار الكاروسيل */
#carouselPrev, #carouselNext {
    background-color: var(--primary-color);
    border: none;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    color: white;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

    #carouselPrev:hover, #carouselNext:hover {
        background-color: #8a7c6c;
    }

/* قسم الاتصال */
.contact-section {
    background-color: var(--primary-color);
    color: var(--light-color);
}

    .contact-section .bi {
        color: var(--light-color);
    }

    .contact-section a {
        color: var(--light-color);
        text-decoration: underline;
    }

        .contact-section a:hover {
            color: #f8f9fa;
        }
.footer-link {
    color: white;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

    .footer-link:hover {
        color: #000000;
        padding-left: 8px;
    }
h2.section-title {
    color: #a59582;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

h4.sub-section-title {
    color: #000;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.section-content p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.7;
}

.border-start-custom {
    border-left: 4px solid #a59582 !important;
    padding-left: 1rem;
}

.btn-custom {
    background-color: #a59582;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
}

    .btn-custom:hover {
        background-color: #8c7b6b;
    }
html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 100px; /* عدّل حسب ارتفاع الـ navbar */
}
.dynamic-header {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    min-height: 100vh;
    position: relative;
    width: 100%;
}

/* ✅ شاشات أقل من 400px */
@media (max-width: 399px) {
    .dynamic-header {
        background-image: url('/images/cover2.png');
        background-size: contain;
        background-position: top center;
        min-height: 65vh;
    }
}

/* ✅ شاشات من 400px إلى 576px */
@media (min-width: 400px) and (max-width: 576px) {
    .dynamic-header {
        background-image: url('/images/cover2.png');
        background-size: contain;
        background-position: top center;
        min-height: 75vh;
    }
}

/* ✅ شاشات من 577px إلى 768px */
@media (min-width: 577px) and (max-width: 768px) {
    .dynamic-header {
        background-image: url('/images/cover.png');
        background-size: cover;
        background-position: center center;
        min-height: 85vh;
    }
}

/* ✅ شاشات من 769px إلى 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .dynamic-header {
        background-image: url('/images/cover.png');
        background-size: cover;
        background-position: center;
        min-height: 95vh;
    }
}

/* ✅ شاشات أكبر من 1024px */
@media (min-width: 1025px) {
    .dynamic-header {
        background-image: url('/images/cover.png');
        background-size: cover;
        background-position: center;
        min-height: 100vh;
    }
}

