/* ===================================================
   تنسيقات العامة والمنيو
   =================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    direction: rtl;
    font-family: 'Cairo', sans-serif;
    padding-top: 70px; 
    background-color: #111c29;
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

header {
    background-color: rgba(17, 28, 41, 0.95);
    backdrop-filter: blur(10px);
    position: fixed; 
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.Menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
}

.navbar a {
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #cbb7ba;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle img {
    width: 28px;
    height: 28px;
    display: block;
    filter: invert(1);
}

/* ===================================================
   التموجات والـ Container
   =================================================== */
.page-waves-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.wave-shape {
    position: absolute;
    height: auto;
}
.wave-top-left { top: -50px; left: 0; width: 450px; }
.wave-mid-right { top: 35%; right: 0; width: 480px; }

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.sub-title {
    display: block;
    color: #cbb7ba;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.text-center { text-align: center; }

.section-title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 30px;
}

.cta-button {
    background: linear-gradient(135deg, #cbb7ba, #a18387);
    border: none;
    padding: 12px 32px;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-top: 15px;
}
.cta-button a {
    color: #0d1b2a;
    text-decoration: none;
    font-weight: 700;
}

/* --- الرئيسية (Hero) --- */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
    gap: 25px;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 380px;
}

.blob-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
}

.navy-blob {
    background: linear-gradient(135deg, #cbb7ba, #a18387);
    transform: rotate(-10deg) scale(1.03);
    z-index: 1;
}

.gold-blob {
    background-color: #16293e;
    transform: rotate(10deg);
    z-index: 2;
    opacity: 0.8;
}

.blob-image-container {
    position: relative;
    z-index: 3;
    width: 280px;
    height: 280px;
    border-radius: 48% 52% 68% 32% / 42% 58% 42% 58%;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.blob-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 0.95rem;
    color: #a0aab8;
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto;
}

/* --- من نحن (بدون صورة) --- */
.about-section {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 50px;
}
.about-text-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}
.about-text-content .section-description {
    color: #a0aab8;
    line-height: 1.8;
    margin-bottom: 30px;
}
.about-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}
.stat-item { text-align: center; }
.stat-item h3 {
    font-size: 2rem;
    color: #cbb7ba;
}
.stat-item span {
    color: #d1d5db;
    font-size: 0.85rem;
}

/* --- الخدمات --- */
.services-section {
    padding: 40px 0;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
}
.service-img-wrapper {
    position: relative;
    height: 180px;
}
.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #0d1b2a;
    color: #cbb7ba;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbb7ba;
}
.service-info {
    padding: 20px;
    text-align: center;
}
.service-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.service-info p {
    color: #a0aab8;
    font-size: 0.88rem;
    line-height: 1.6;
}

/* --- معرض الصور الثنائي للجوال (Grid 2 Column) --- */
.gallery-section {
    padding: 40px 0;
}
.mobile-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.gallery-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 200px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-card-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    text-align: center;
}
.gallery-card-overlay h3 {
    font-size: 0.85rem;
    color: #fff;
}
.gallery-card-overlay span {
    font-size: 0.7rem;
    color: #cbb7ba;
}

/* --- اتصل بنا والخريطة --- */
.contact-section {
    padding: 40px 0;
}
.contact-card-wrapper {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
}
.contact-info-side {
    padding: 30px 20px;
}
.contact-info-side h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}
.contact-info-side p {
    color: #a0aab8;
    font-size: 0.9rem;
    margin-bottom: 25px;
}
.contact-details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-details-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}
.contact-icon {
    width: 38px;
    height: 38px;
    background: rgba(203, 183, 186, 0.1);
    border: 1px solid #cbb7ba;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-map-side {
    width: 100%;
    height: 280px;
}

/* ===================================================
   الزر العائم للتواصل التفاعلي (Floating Action Button)
   =================================================== */
.floating-contact-container {
    position: fixed;
    bottom: 25px;
    left: 25px; /* يقع أسفل يسار الشاشة لتناسب التصفح العربي */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #cbb7ba, #a18387);
    border: none;
    color: #0d1b2a;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.main-float-btn .icon-close { display: none; }
.floating-contact-container.active .main-float-btn .icon-open { display: none; }
.floating-contact-container.active .main-float-btn .icon-close { display: block; font-size: 1.1rem; }

.floating-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
}

.floating-contact-container.active .floating-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.option-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.option-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    background-color: #25D366;
    color: #fff;
}

.call-btn {
    background-color: #007bff;
    color: #fff;
}

footer {
    text-align: center;
    padding: 20px 0;
    color: #777;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

/* ===================================================
   تجاوب المنيو للجوال
   =================================================== */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .menu-toggle .icon-close { display: none; }
    .menu-toggle.active .icon-hamburger { display: none; }
    .menu-toggle.active .icon-close { display: block; }

    .navbar {
        position: fixed; 
        top: 65px;
        right: 0;
        width: 100%;
        background-color: #0d1b2a;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        opacity: 0;
        overflow: hidden; 
        transition: max-height 0.4s ease, opacity 0.3s ease;
    }

    .navbar.active {
        max-height: 350px; 
        opacity: 1;
        padding: 20px 0;
    }
}
/* ===================================================
   تنسيقات العامة والمنيو (الشاشات الكبيرة والجوال)
   =================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    direction: rtl;
    font-family: 'Cairo', sans-serif;
    padding-top: 80px; 
    background-color: #111c29;
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

header {
    background-color: rgba(17, 28, 41, 0.95);
    backdrop-filter: blur(10px);
    position: fixed; 
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.Menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
}

.logo img {
    height: 52px;
    width: auto;
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
}

.navbar a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #cbb7ba;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle img {
    width: 28px;
    height: 28px;
    display: block;
    filter: invert(1);
}

/* ===================================================
   التموجات والـ Container
   =================================================== */
.page-waves-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.wave-shape {
    position: absolute;
    height: auto;
}
.wave-top-left { top: -50px; left: 0; width: 450px; }
.wave-mid-right { top: 35%; right: 0; width: 480px; }

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
}

.sub-title {
    display: block;
    color: #cbb7ba;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.text-center { text-align: center; }

.section-title {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 40px;
}

.cta-button {
    background: linear-gradient(135deg, #cbb7ba, #a18387);
    border: none;
    padding: 14px 36px;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(203, 183, 186, 0.3);
}
.cta-button a {
    color: #0d1b2a;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

/* ===================================================
   تنسيقات الشاشات الكبيرة (Desktop Desktop - الافتراضية)
   =================================================== */

/* --- الرئيسية (Hero) --- */
.hero-section {
    display: flex;
    flex-direction: row-reverse; /* الصورة على اليسار والنص على اليمين */
    align-items: center;
    justify-content: space-between;
    padding: 60px 0;
    margin-bottom: 80px;
    gap: 50px;
}

.hero-text {
    flex: 1;
    text-align: right;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    color: #a0aab8;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 580px;
}

.hero-image-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 480px;
}

.blob-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
}

.navy-blob {
    background: linear-gradient(135deg, #cbb7ba, #a18387);
    transform: rotate(-10deg) scale(1.05);
    z-index: 1;
}

.gold-blob {
    background-color: #16293e;
    transform: rotate(10deg);
    z-index: 2;
    opacity: 0.8;
}

.blob-image-container {
    position: relative;
    z-index: 3;
    width: 380px;
    height: 380px;
    border-radius: 48% 52% 68% 32% / 42% 58% 42% 58%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.blob-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- من نحن --- */
.about-section {
    padding: 60px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 80px;
}
.about-text-content {
    max-width: 800px;
    margin: 0 auto;
}
.about-text-content .section-description {
    font-size: 1.1rem;
    color: #a0aab8;
    line-height: 1.9;
    margin-bottom: 40px;
}
.about-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}
.stat-item h3 {
    font-size: 2.8rem;
    color: #cbb7ba;
}
.stat-item span {
    color: #d1d5db;
    font-size: 1rem;
}

/* --- الخدمات --- */
.services-section {
    padding: 60px 0;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
}
.service-img-wrapper {
    position: relative;
    height: 220px;
}
.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #0d1b2a;
    color: #cbb7ba;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbb7ba;
    font-weight: 700;
}
.service-info {
    padding: 25px;
    text-align: center;
}
.service-info h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.service-info p {
    color: #a0aab8;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- معرض الصور (4 أعمدة للابتوب) --- */
.gallery-section {
    padding: 60px 0;
}
.mobile-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 280px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-card:hover img {
    transform: scale(1.08);
}
.gallery-card-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    text-align: center;
}
.gallery-card-overlay h3 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 4px;
}
.gallery-card-overlay span {
    font-size: 0.8rem;
    color: #cbb7ba;
}

/* --- اتصل بنا والخريطة (جنباً إلى جنب) --- */
.contact-section {
    padding: 60px 0;
}
.contact-card-wrapper {
    display: flex;
    flex-direction: row;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
}
.contact-info-side {
    flex: 1;
    padding: 50px 40px;
}
.contact-info-side h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: right;
}
.contact-info-side p {
    color: #a0aab8;
    font-size: 1rem;
    margin-bottom: 30px;
    text-align: right;
}
.contact-details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-details-list li {
    display: flex;
    align-items: center;
    gap: 15px;
}
.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(203, 183, 186, 0.1);
    border: 1px solid #cbb7ba;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.contact-map-side {
    flex: 1;
    min-height: 400px;
}

/* ===================================================
   الزر العائم للتواصل التفاعلي (Floating Action Button)
   =================================================== */
.floating-contact-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #cbb7ba, #a18387);
    border: none;
    color: #0d1b2a;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.main-float-btn .icon-close { display: none; }
.floating-contact-container.active .main-float-btn .icon-open { display: none; }
.floating-contact-container.active .main-float-btn .icon-close { display: block; font-size: 1.2rem; }

.floating-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
}

.floating-contact-container.active .floating-options {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.option-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.option-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    background-color: #25D366;
    color: #fff;
}

.call-btn {
    background-color: #007bff;
    color: #fff;
}

footer {
    text-align: center;
    padding: 25px 0;
    color: #777;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

/* ===================================================
   تخصيص الجوال فقط (Media Queries)
   يتم تطبيق الأكواد التالية فقط عند فتح الموقع من جوال أو شاشة صغيرة
   =================================================== */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    .menu-toggle { display: block; }
    .menu-toggle .icon-close { display: none; }
    .menu-toggle.active .icon-hamburger { display: none; }
    .menu-toggle.active .icon-close { display: block; }

    .navbar {
        position: fixed; 
        top: 65px;
        right: 0;
        width: 100%;
        background-color: #0d1b2a;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        opacity: 0;
        overflow: hidden; 
        transition: max-height 0.4s ease, opacity 0.3s ease;
    }

    .navbar.active {
        max-height: 350px; 
        opacity: 1;
        padding: 20px 0;
    }

    /* تحويل الرئيسية لتصبح الصورة فوق والعنوان تحتها في المنتصف للجوال */
    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        margin-bottom: 60px;
        padding: 20px 0;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .hero-image-wrapper {
        max-width: 380px;
        width: 100%;
    }

    .blob-image-container {
        width: 280px;
        height: 280px;
    }

    /* شبكة الخدمات للجوال */
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    /* معرض الصور: صورتين في السطر للجوال */
    .mobile-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-card {
        height: 200px;
    }

    /* قسم التواصل للجوال */
    .contact-card-wrapper {
        flex-direction: column;
    }

    .contact-info-side h2, 
    .contact-info-side p {
        text-align: center;
    }

    .contact-map-side {
        height: 280px;
    }

    .about-section {
        padding: 40px 20px;
    }

    .about-stats {
        gap: 40px;
    }
}
/* ===================================================
   تنسيق صور الزر العائم وتوسيطها
   =================================================== */

/* ضبط الإطار الدائري للزر الرئيسي */
.main-float-btn {
    padding: 0;
    overflow: hidden; /* لمنع خروج الصورة عن حواف الدائرة */
}

/* ضبط الصور داخل الزر الرئيسي (فتح وإغلاق) */
.main-float-btn .icon-open img,
.main-float-btn .icon-close img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* لضمان ملاءمة الصورة للدائرة بدون تمدد */
    border-radius: 50%;
    display: block;
}

/* ضبط الأزرار الفرعية (واتساب وتصل بنا) */
.option-btn {
    padding: 0;
    overflow: hidden;
    border-radius: 50%;
}

.option-btn span {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ضبط الصور داخل أزرار الواتساب والاتصال */
.option-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* في حال كانت الصور تحتوي على خلفية بيضاء وتريد تقليل حجمها قليلاً داخل الدائرة */
.option-btn.whatsapp-btn img,
.option-btn.call-btn img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
/* ===================================================
   1. خط المنيو السلس عند التحويم (الشاشات الكبيرة)
   =================================================== */
@media (min-width: 769px) {
    .navbar a {
        position: relative;
        padding-bottom: 5px;
    }
    .navbar a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: #ffffff;
        transition: width 0.3s ease, left 0.3s ease;
    }
    .navbar a:hover::after {
        width: 100%;
        left: 0;
    }
}

/* ===================================================
   3. تصميم المعرض الفاخر (مطابق للصورة)
   =================================================== */
.custom-luxury-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
}

.luxury-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.luxury-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.luxury-card:hover img {
    transform: scale(1.05);
}

.luxury-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: #fff;
}

.luxury-card-overlay h3 {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.luxury-card-overlay span {
    font-size: 0.75rem;
    color: #cbb7ba;
}

/* الكارت الطويل يسار */
.card-tall {
    height: 420px;
}

/* العمود الأوسط (بطاقتين فوق بعض) */
.luxury-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.luxury-column .luxury-card {
    height: 200px;
}

/* البطاقة المسدسة يمين */
.card-hexagon {
    height: 420px;
    background: linear-gradient(135deg, #cbb7ba, #16293e);
    padding: 12px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.card-hexagon .hex-border {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* تجاوب المعرض للجوال */
@media (max-width: 768px) {
    .custom-luxury-gallery {
        grid-template-columns: 1fr;
    }
    .card-hexagon, .card-hexagon .hex-border {
        clip-path: none;
        border-radius: 16px;
    }
    .card-tall, .card-hexagon {
        height: 280px;
    }
}

/* ===================================================
   4, 5, 7. تأثيرات الظهور التدريجي (Scroll & Fade Reveal)
   =================================================== */
/* حركات الظهور الأساسية */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* كود أنيميشن مؤشر الكتابة */
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: #cbb7ba;
    margin-right: 3px;
    animation: blink 0.7s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
/* ===================================================
   1. تأثير الكتابة التلقائية بـ CSS الصافي (Typing Effect)
   =================================================== */
.hero-text p {
    font-size: 1.1rem;
    color: #a0aab8;
    line-height: 1.8;
    margin: 0 auto 30px auto;
    max-width: 580px;
    
    /* الخصائص الأساسية لأنيميشن الكتابة */
    display: inline-block;
    white-space: nowrap;      /* منع التفاف النص أثناء الكتابة */
    overflow: hidden;         /* إخفاء باقي النص حتى يتم كتابته */
    border-left: 3px solid #cbb7ba; /* مؤشر الكتابة */
    
    /* تطبيق حركتي الكتابة والمؤشر */
    animation: 
        typing 3.5s steps(40, end) forward,
        blink-caret 0.75s step-end infinite;
}

/* حركة ظهور الحروف تدريجياً */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

/* حركة وميض المؤشر */
@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #cbb7ba; }
}
/* ===================================================
   حماية الهيكل والنصوص من التمدد في الجوال
   =================================================== */

/* منع خروج العناصر عن إطار الشاشة */
html, body {
    overflow-x: hidden !important;
}

.hero-text {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.hero-text p {
    font-size: 1.05rem;
    color: #a0aab8;
    line-height: 1.8;
    word-break: break-word; /* منع تمدد الكلمات الطويلة خارج الشاشة */
    white-space: normal;    /* السماح بالالتفاف الطبيعي للنص */
    margin-bottom: 25px;
}

/* ضبط النصوص خصيصاً للشاشات الصغيرة والجوال */
@media (max-width: 768px) {
    .hero-text p {
        font-size: 0.95rem;
        line-height: 1.7;
        padding: 0 15px; /* ترك مسافة آمنة على أطراف الشاشة */
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.4;
        padding: 0 10px;
    }
}

/* كلاسات التحكم بالظهور التدريجي */
.reveal-hidden {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}
/* تحديد حاوية النص لتعمل كعازل مساحة ثابت */
.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center; /* توسيط العناصر */
}

/* حل مشكلة تحرك الزر: حجز مساحة ثابتة ومحددة للنص */
.hero-text p {
    font-size: 1.05rem;
    color: #a0aab8;
    line-height: 1.8;
    margin-bottom: 10px !important; /* تقليل المسافة بين النص والزر */
    word-break: break-word;
    white-space: normal;
    
    /* إلغاء أي حدود أو خطوط */
    border: none !important;
    border-left: none !important;
    outline: none !important;

    /* إجبار الفقرة على عدم تغيير ارتفاع الحاوية للأزرار */
    box-sizing: border-box;
}

/* للتحكم بالمسافة بين الزر والنص بشكل دقيق جداً */
.hero-text .cta-button {
    margin-top: 5px !important; /* مسافة قريبة جداً وثابتة تحت النص */
}
/* ===================================================
   إصلاح عرض وارتفاع الخريطة
   =================================================== */

/* إجبار حاوية الخريطة على المرونة وتعبئة المساحة */
.contact-map-side {
    position: relative;
    width: 100%;
    min-height: 350px; /* ضمان ارتفاع مناسب ومريح للعين */
    display: flex;
}

/* إجبار iframe الخريطة على ملء كامل الحاوية دون اقتطاع */
.contact-map-side iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
    border-radius: 0 0 20px 20px; /* تدوير الزوايا السفليّة لتناسب الكارت */
}

/* تخصيص الجوال لمنع قص الخريطة */
@media (max-width: 768px) {
    .contact-map-side {
        height: 320px; /* الارتفاع الكافي والمثالي للشاشات الصغيرة */
        min-height: 320px;
    }
    
    .contact-card-wrapper {
        display: flex;
        flex-direction: column; /* ترتيب التفاصيل فوق والخريطة تحت */
    }
}