body {
    font-family: 'Amiri', serif;
    font-weight: 700;
    font-size: medium;
    background-color: #fdfaf5; /* لون خلفية عام هادئ */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Amiri', serif;
    font-weight: 900;
}

:root {
    /* تم استبدال الكحلي بالبني الأبنوس الملكي */
    --navy: #221510; 
    --gold: #C9A44C;
    --wood-dark: #3D2B1F;
    --cafe: #EBDCCB;
}

.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    background-image: url(./Photos/12.jpg);
}

.custom-nav {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.103);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 164, 76, 0.3);
    border-radius: 50px;
    width: 90%;
}
.navbar-scrolled {
    background-color: rgba(0, 0, 0, 0.9) !important; /* لون غامق ليظهر النص */
    backdrop-filter: blur(10px); /* تأثير ضبابي اختياري */
    padding: 10px 0; /* تصغير حجم النافبار قليلاً عند السكرول */
}

.hero-content {
    position: relative;
    z-index: 10;
    color: #F5F5DC !important;
}

.hero-p {
    color: #F5F5DC !important;
}

.btn-classic-gold {
    background-color: var(--gold);
    color: var(--navy);
    font-weight: bold;
    border-radius: 2px;
    transition: 0.4s ease;
    display: inline-block;
    border: 1px solid var(--gold);
}

.btn-classic-gold:hover {
    background-color: #000; /* أسود صريح للفخامة */
    color: var(--gold);
}

.reveal-item {
    opacity: 0;
    transform: translateY(20px);
}

/* --- Responsive Styles --- */

@media (max-width: 991px) {
    .custom-nav {
        top: 15px;
        padding: 5px 0;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        text-align: center;
    }

    .display-3 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .lead {
        font-size: 1rem;
        padding: 0 15px;
    }

    .btn-classic-gold {
        width: 100%;
        margin-bottom: 10px;
        padding: 12px 0;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .custom-nav .navbar-collapse {
        background: var(--navy); /* استبدال الكحلي بالبني الداكن هنا أيضاً */
        margin-top: 10px !important;
        padding: 10px !important;
        border-radius: 8px;
        border: 1px solid var(--gold);
    }
}

@media (max-height: 600px) {
    .hero-section {
        height: auto;
        padding: 120px 0 60px 0;
    }
}

/* Hero STYLE AND NAV END -------------------------- */

.about-section {
    background-color: #F5F5DC; 
    position: relative;
}

.text-gold {
    color: var(--gold) !important;
}

.feature-item {
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-right: 4px solid var(--gold); 
}

.feature-item:hover {
    transform: translateX(-10px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    background-color: var(--gold) !important; /* لون ذهبي كامل عند الهوفر */
    color: white !important;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-image-wrapper img {
    position: relative;
    z-index: 2;
    filter: grayscale(20%); 
    transition: 0.5s;
}

.about-image-wrapper img:hover {
    filter: grayscale(0%);
}

.image-border {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 10px solid var(--gold);
    z-index: 1;
    opacity: 0.2;
}

@media (max-width: 991px) {
    .feature-item:hover {
        transform: translateY(-5px);
    }
    .about-image-wrapper {
        margin-top: 50px;
    }
}

/* About end ****************************************/
.services-section {
    background-color: #aa8861;
}

.service-card {
    background: #ffffff;
    border-radius: 12px; /* زوايا أنعم */
    border-bottom: 4px solid var(--gold); 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden; /* عشان الصورة متطلعش برا الزوايا */
    text-align: center;
}

/* حاوية الكوفر */
.service-cover {
    width: 100%;
    height: 200px; /* ارتفاع الكوفر */
    overflow: hidden;
    position: relative;
}

.service-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* تجعل الصورة تمتد كغلاف بدون تمطيط */
    transition: transform 0.5s ease;
}

/* محتوى النص تحت الكوفر */
.service-content {
    padding: 25px 20px;
}

.service-card:hover {
    transform: translateY(-12px);
    background: #4E342E; 
}

.service-card:hover .service-cover img {
    transform: scale(1.1); /* زووم بسيط للصورة عند الهوفر */
}

.service-card h4 {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 800;
    font-size: 1.25rem;
    transition: 0.4s;
}

.service-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    transition: 0.4s;
}

.service-card:hover h4, 
.service-card:hover p {
    color: #ffffff !important;
}


/* Services End ************************************ */

.custom-tabs .nav-link {
    color: var(--navy);
    background: transparent;
    border: 1px solid var(--gold);
    margin: 5px;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.custom-tabs .nav-link.active {
    background: var(--gold) !important;
    color: var(--navy) !important;
    box-shadow: 0 4px 15px rgba(201, 164, 76, 0.3);
}

.list-container {
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    min-height: 450px;
}

.list-image {
    background-size: cover;
    background-position: center;
    position: relative;
}

.list-image::after {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    background: rgba(34, 21, 16, 0.4); /* تظليل بني خفيف على الصورة */
}

.legal-list {
    list-style: none;
    padding: 0;
}

.legal-list li {
    position: relative;
    padding-right: 30px;
    margin-bottom: 20px;
    color: #444;
    line-height: 1.6;
}

.legal-list li::before {
    content: '\F272'; 
    font-family: 'bootstrap-icons';
    position: absolute;
    right: 0;
    top: 5px;
    color: var(--gold);
    font-weight: bold;
}
@media (max-width: 767.98px) {
    .list-image {
        height: 250px; /* تحديد ارتفاع للصورة لأنها لا تظهر تلقائياً على الموبايل */
        display: block !important;
    }
    
    .list-container {
        min-height: auto; /* لضمان عدم وجود فراغات زائدة */
    }
}

/* /////////////////////////////////// */

.testimonials-section {
    background-color: #aa8861; 
    overflow: hidden;
}

.testimonial-track {
    width: max-content;
    padding: 20px 0;
}

.testi-card {
    width: 400px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(34, 21, 16, 0.15); 
    border: 1px solid rgba(201, 164, 76, 0.2);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.testi-card:hover {
    transform: scale(1.05);
    border-color: var(--gold);
    background: var(--navy); /* سيتحول للبني الأبنوس عند الهوفر */
}

.testi-card:hover .testi-text, 
.testi-card:hover .client-info h6 {
    color: #ffffff !important;
}

.quote-icon {
    font-size: 2rem;
    color: var(--gold);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 20px;
}

.testi-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-top: 30px;
    font-style: italic;
}

/* لون كلاس للنصوص البنية الداكنة */
.text-navy { 
    color: var(--navy); 
}
/* Contact ************************* */

.contact-section {
    background-color: #F5F5DC;
    padding-top: 80px;
    padding-bottom: 80px;
}

.contact-info-box {
    background-color: var(--navy);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(34, 21, 16, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: 3rem;
    transition: all 0.3s ease;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(201, 164, 76, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.3rem;
    border: 1px solid var(--gold);
    flex-shrink: 0;
}

.text-gold {
    color: var(--gold) !important;
    font-weight: bold;
}

.contact-image-container {
    border-radius: 15px;
    overflow: hidden;
    min-height: 400px;
    height: 100%;
}

.custom-contact-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.5s ease;
}

.custom-contact-bg:hover {
    transform: scale(1.03);
}

.overlay-contact {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(34, 21, 16, 0.8), rgba(34, 21, 16, 0.2));
}

.social-links-contact a {
    color: var(--gold);
    font-size: 1.8rem;
    transition: 0.3s;
}

.social-links-contact a:hover {
    color: #F5F5DC;
    transform: translateY(-5px);
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .contact-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .contact-info-box {
        padding: 2.5rem;
        border-radius: 15px 15px 0 0;
    }
    .contact-image-container {
        height: 350px;
        min-height: 300px;
        border-radius: 0 0 15px 15px;
    }
}

@media (max-width: 767px) {
    .contact-info-box {
        padding: 1.5rem;
        text-align: center;
    }
    .contact-info-box h2 {
        font-size: 1.8rem;
    }
    .contact-item {
        flex-direction: column;
        gap: 10px;
    }
    .icon-circle {
        margin: 0 auto !important;
    }
    .social-links-contact {
        justify-content: center;
        display: flex;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .icon-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .contact-image-container {
        height: 250px;
    }
}

@media (pointer: coarse) {
    .contact-item a {
        padding: 10px 0;
        display: block;
    }
}


/* Footer -************************ */
.main-footer {
    background-color: var(--navy); /* البني الأبنوسي المحفوظ */
    color: #F5F5DC;
    border-top: 3px solid var(--gold);
}

.footer-title {
    color: var(--gold);
    font-weight: 900;
}

.footer-sub-title {
    color: var(--gold);
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-sub-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--gold);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    opacity: 0.8;
}

/* روابط السوشيال ميديا */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(201, 164, 76, 0.1);
    color: var(--gold);
    border-radius: 50%;
    margin-left: 10px;
    font-size: 1.2rem;
    transition: 0.3s ease;
    border: 1px solid rgba(201, 164, 76, 0.3);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-5px);
}

/* القوائم والروابط */
.footer-links, .contact-list {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #F5F5DC;
    text-decoration: none;
    transition: 0.3s;
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--gold);
    padding-right: 10px;
    opacity: 1;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.contact-list i {
    color: var(--gold);
    font-size: 1.1rem;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
/* Team Work Section  */

.team-card {
    transition: transform 0.3s ease;
    height: 470px; /* تحكم في طول الكارد */
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card img {
    height: 100%;
    object-fit: cover;
}

.info-box {
    background: rgba(34, 21, 16, 0.85); 
    border-top: 2px solid var(--gold);
}

.team-card:hover .info-box {
    background: rgba(61, 43, 31, 0.95); /* لون الـ Wood Dark عند الهوفر */
}

