/* ====================================================
   الخطوط والأساسيات - تصميم فخم للمستخدم السعودي
   ==================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&display=swap');

:root {
    --primary: #C9A84C;
    --primary-light: #E4CD7A;
    --primary-dark: #A8892F;
    --secondary: #0A1C2E;
    --secondary-light: #1A3A5E;
    --bg-body: #F4F6FA;
    --bg-white: #FFFFFF;
    --text-dark: #0A1C2E;
    --text-muted: #5A6F84;
    --text-light: #8A9DAE;
    --border-color: #E2E8F0;
    --shadow-sm: 0 2px 8px rgba(10, 28, 46, 0.06);
    --shadow-md: 0 8px 30px rgba(10, 28, 46, 0.08);
    --shadow-lg: 0 20px 60px rgba(10, 28, 46, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Cairo', 'Segoe UI', sans-serif;
    background: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

/* ===== شريط واتساب العلوي ===== */
.top-bar {
    background: #25D366;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 2px 12px rgba(37, 211, 102, 0.25);
}
.top-bar a { color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; }
.top-bar a:hover { opacity: 0.9; }

/* ===== الهيدر مع تأثير زجاجي ===== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}
.main-header.scrolled { background: rgba(255, 255, 255, 0.98); box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.header-grid { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.logo h1 { font-size: 28px; font-weight: 900; letter-spacing: -0.5px; }
.logo h1 a { color: var(--secondary); }
.logo h1 span { color: var(--primary); }
.logo .tagline { font-size: 12px; color: var(--text-muted); font-weight: 400; display: block; margin-top: -4px; }
.nav-menu { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-menu a {
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.nav-menu .nav-wa {
    background: #25D366;
    color: #fff !important;
    padding: 8px 22px !important;
    border-radius: 50px;
    font-weight: 700;
}
.nav-menu .nav-wa:hover { background: #128C7E; transform: scale(1.05); }
.menu-toggle { display: none; background: none; border: none; font-size: 28px; color: var(--secondary); cursor: pointer; padding: 4px 12px; }

@media (max-width: 992px) {
    .menu-toggle { display: block; }
    .nav-menu { display: none; flex-direction: column; width: 100%; background: var(--bg-white); padding: 24px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); margin-top: 16px; gap: 8px; border: 1px solid var(--border-color); }
    .nav-menu.open { display: flex; }
    .nav-menu a { width: 100%; text-align: center; padding: 14px; border-bottom: 1px solid var(--border-color); }
    .nav-menu a:last-child { border-bottom: none; }
}

/* ===== السلايدر (صورة واحدة مع جسيمات) ===== */
.slider-section {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 500px;
    overflow: hidden;
    background: var(--secondary);
}
.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}
.slider-slides {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.slider-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.slider-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 28, 46, 0.55);
    z-index: 1;
}
.slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1.2s ease;
}
.slide-content h2 {
    font-size: 58px;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.slide-content h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 10px;
}
.slide-content p {
    font-size: 22px;
    opacity: 0.95;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.btn-slide {
    background: var(--primary);
    color: var(--secondary);
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 18px;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.35);
}
.btn-slide:hover {
    background: var(--primary-dark);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(201, 168, 76, 0.5);
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== الجسيمات ===== */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    bottom: -20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}
@keyframes particleFloat {
    0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-110vh) rotate(720deg) scale(0.5); opacity: 0; }
}

@media (max-width: 768px) {
    .slider-section { height: 70vh; min-height: 400px; }
    .slide-content h2 { font-size: 32px; }
    .slide-content p { font-size: 18px; }
    .btn-slide { padding: 14px 30px; font-size: 16px; }
}

/* ===== الأقسام العامة ===== */
.section-padding { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 40px; font-weight: 900; color: var(--secondary); margin-bottom: 12px; }
.section-header h2 span { color: var(--primary); }
.section-header p { font-size: 18px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.badge {
    display: inline-block;
    background: var(--primary);
    color: var(--secondary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* ===== بطاقات الخدمات ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon { font-size: 56px; display: block; margin-bottom: 20px; }
.service-card h3 { font-size: 22px; font-weight: 800; color: var(--secondary); margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 16px; margin-bottom: 20px; }
.service-card .service-link { color: var(--primary); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; transition: var(--transition); }
.service-card .service-link:hover { color: var(--primary-dark); gap: 12px; }

/* ===== خدمات أفقية متحركة ===== */
.services-horizontal { background: var(--secondary); color: #fff; }
.services-scroll-wrapper {
    overflow-x: auto;
    padding: 20px 4px 30px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}
.services-scroll-wrapper::-webkit-scrollbar { height: 6px; }
.services-scroll-wrapper::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); border-radius: 10px; }
.services-scroll-wrapper::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
.services-scroll {
    display: flex;
    gap: 30px;
    width: max-content;
    padding: 10px 0;
}
.service-scroll-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 30px 35px;
    border-radius: var(--radius-md);
    min-width: 260px;
    text-align: center;
    transition: var(--transition);
    flex-shrink: 0;
}
.service-scroll-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
}
.service-scroll-card .icon { font-size: 50px; display: block; margin-bottom: 15px; }
.service-scroll-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.service-scroll-card p { color: rgba(255,255,255,0.7); font-size: 15px; margin-bottom: 20px; }
.btn-outline-light {
    background: transparent;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.3);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
}
.btn-outline-light:hover { background: var(--primary); color: var(--secondary); border-color: var(--primary); }

/* ===== معرض الصور ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: var(--transition);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(10, 28, 46, 0.8));
    color: #fff;
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span { font-weight: 700; font-size: 14px; }

.load-more-wrap { text-align: center; margin-top: 40px; }
.btn-load-more {
    background: var(--secondary);
    color: #fff;
    padding: 16px 48px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.btn-load-more:hover { background: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ===== من نحن مع أنيميشن ===== */
.about-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-us-image { position: relative; }
.about-us-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-height: 450px;
    object-fit: cover;
}
.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: var(--secondary);
    padding: 16px 28px;
    border-radius: var(--radius-md);
    font-weight: 900;
    font-size: 18px;
    box-shadow: var(--shadow-lg);
    animation: floatY 3s ease-in-out infinite;
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.about-us-content h2 { font-size: 36px; font-weight: 900; color: var(--secondary); margin-bottom: 20px; }
.about-us-content h2 span { color: var(--primary); }
.about-us-content ul { list-style: none; padding: 0; }
.about-us-content ul li { margin-bottom: 14px; font-size: 17px; color: var(--text-dark); }
.about-us-content ul li strong { color: var(--secondary); }

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .about-us-grid { grid-template-columns: 1fr; text-align: center; }
    .floating-badge { position: relative; bottom: 0; right: 0; margin-top: 20px; display: inline-block; }
}

/* ===== CTA ===== */
.cta-box {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    padding: 60px 50px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.06);
}
.cta-content h2 { font-size: 38px; font-weight: 900; margin-bottom: 16px; }
.cta-content h2 span { color: var(--primary); }
.cta-content p { font-size: 20px; opacity: 0.9; margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-phone { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: center; }
.phone-number {
    background: rgba(255,255,255,0.08);
    padding: 16px 35px;
    border-radius: 50px;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.1);
    transition: var(--transition);
    text-decoration: none;
}
.phone-number:hover { background: var(--primary); color: var(--secondary); border-color: var(--primary); }
@media (max-width: 768px) {
    .cta-box { padding: 30px 20px; }
    .cta-content h2 { font-size: 28px; }
    .phone-number { font-size: 18px; padding: 12px 24px; }
}

/* ===== التقييمات ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.review-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.review-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.review-header img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); }
.review-info h4 { font-size: 18px; font-weight: 800; color: var(--secondary); }
.review-info .stars { color: #F4B400; font-size: 16px; letter-spacing: 2px; }
.review-card p { color: var(--text-muted); font-size: 16px; line-height: 1.7; }

/* ===== المقالات ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.article-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}
.article-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.article-image { position: relative; height: 200px; overflow: hidden; }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.article-card:hover .article-image img { transform: scale(1.06); }
.article-category {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: var(--secondary);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}
.article-body { padding: 24px; }
.article-body h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; line-height: 1.4; }
.article-body h3 a { color: var(--secondary); transition: var(--transition); }
.article-body h3 a:hover { color: var(--primary); }
.article-body p { color: var(--text-muted); font-size: 15px; margin-bottom: 16px; }
.read-more {
    color: var(--primary);
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.read-more:hover { color: var(--primary-dark); gap: 12px; }

/* ===== نموذج الاتصال ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.contact-info h3 { font-size: 32px; font-weight: 900; color: var(--secondary); margin-bottom: 24px; }
.contact-info .info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 17px;
}
.contact-info .info-item .icon {
    width: 44px;
    height: 44px;
    background: var(--bg-body);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.wa-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    margin-top: 20px;
    transition: var(--transition);
}
.wa-contact-btn:hover { background: #128C7E; transform: translateY(-4px); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3); }
.contact-form-wrapper {
    background: var(--bg-body);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: inherit;
    background: var(--bg-white);
    transition: var(--transition);
    margin-bottom: 16px;
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.12);
}
.contact-form button {
    width: 100%;
    padding: 16px;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.contact-form button:hover { background: var(--primary); transform: translateY(-2px); }
.form-response { margin-top: 16px; font-weight: 600; text-align: center; padding: 10px; border-radius: var(--radius-sm); }
.form-response.success { background: #E8F5E9; color: #2E7D32; }
.form-response.error { background: #FFEBEE; color: #C62828; }
.map-wrapper iframe { width: 100%; height: 320px; border: none; border-radius: var(--radius-md); margin-top: 30px; }
@media (max-width: 992px) { .contact-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ===== روابط المدن ===== */
.city-links-container {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-top: 50px;
}
.city-links-container h3 { font-size: 26px; font-weight: 800; color: var(--secondary); margin-bottom: 20px; }
.city-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.city-tag {
    background: var(--bg-body);
    color: var(--text-dark);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.city-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.city-tag.sub { background: #F0F4F8; font-size: 13px; padding: 6px 16px; }

/* ===== أزرار المشاركة ===== */
.share-buttons {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--bg-body);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}
.share-label { font-weight: 700; color: var(--text-dark); margin-left: 10px; }
.share-btn {
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
}
.share-btn.whatsapp { background: #25D366; }
.share-btn.whatsapp:hover { background: #128C7E; transform: scale(1.05); }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.twitter:hover { background: #0d8bdf; transform: scale(1.05); }
.share-btn.facebook { background: #1877F2; }
.share-btn.facebook:hover { background: #0d65d9; transform: scale(1.05); }

/* ===== التذييل ===== */
.main-footer {
    background: var(--secondary);
    color: #B0C4D9;
    padding: 50px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand h3 { font-size: 28px; font-weight: 900; color: #fff; margin-bottom: 12px; }
.footer-brand h3 span { color: var(--primary); }
.footer-links h4 { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { color: #B0C4D9; transition: var(--transition); }
.footer-links ul li a:hover { color: var(--primary); padding-right: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; text-align: center; font-size: 14px; color: #8A9DAE; }
.footer-bottom a { color: var(--primary); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; } }

/* ===== زر واتساب العائم ===== */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 68px;
    height: 68px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
    z-index: 9999;
    transition: var(--transition);
    animation: wa-pulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.12); background: #128C7E; }
@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== محتوى الصفحات الداخلية ===== */
.inner-hero {
    padding: 60px 0 70px;
    color: #fff;
    text-align: center;
    border-bottom: 4px solid var(--primary);
}
.inner-hero-content h1 { font-size: 42px; font-weight: 900; margin-bottom: 12px; }
.inner-hero-content h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 12px auto;
    border-radius: 4px;
}
.inner-hero-content p { font-size: 20px; opacity: 0.9; max-width: 700px; margin: 0 auto 25px; }

.inner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.inner-text h2 { font-size: 32px; font-weight: 900; color: var(--secondary); margin-bottom: 16px; border-right: 5px solid var(--primary); padding-right: 16px; }
.inner-text p { font-size: 18px; color: var(--text-muted); line-height: 1.9; margin-bottom: 24px; }
.inner-text h3 { font-size: 24px; font-weight: 800; color: var(--secondary); margin: 30px 0 16px; }

.subcategory-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.subcategory-tag {
    background: var(--bg-body);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.subcategory-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.keyword-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.keyword-list li {
    background: #F0F4F8;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.inner-gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
.inner-gallery-grid .gallery-item { aspect-ratio: 4/3; }

@media (max-width: 768px) {
    .inner-grid { grid-template-columns: 1fr; }
    .inner-hero-content h1 { font-size: 30px; }
    .share-buttons { justify-content: center; }
}

/* ===== بطاقة الأعمال (Business Card) ===== */
.business-card-wrapper {
    background: var(--secondary);
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.business-card {
    background: linear-gradient(145deg, #0A1C2E 0%, #1A3A5E 100%);
    border-radius: 24px;
    padding: 40px 45px 35px;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(201, 168, 76, 0.15);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.business-card:hover { transform: translateY(-4px); }
.business-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
    transform: rotate(-20deg);
    pointer-events: none;
}
.business-card .logo { text-align: center; margin-bottom: 30px; position: relative; z-index: 2; }
.business-card .logo h1 { font-size: 36px; font-weight: 900; color: #FFFFFF; letter-spacing: -0.5px; line-height: 1.1; }
.business-card .logo h1 span { color: #C9A84C; position: relative; animation: shimmer 3s ease-in-out infinite; }
.business-card .logo h1 span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #C9A84C;
    border-radius: 4px;
    opacity: 0.3;
}
.business-card .logo .subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-weight: 400;
    margin-top: 4px;
    letter-spacing: 1px;
}
.business-card .icon-row {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 25px 0 30px;
    position: relative;
    z-index: 2;
}
.business-card .icon-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #C9A84C;
    transition: all 0.3s ease;
    cursor: default;
}
.business-card .icon-item:hover {
    background: rgba(201, 168, 76, 0.12);
    transform: translateY(-4px) scale(1.05);
    border-color: #C9A84C;
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.15);
}
.business-card .contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 30px 0 35px;
    position: relative;
    z-index: 2;
}
.business-card .contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 24px;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}
.business-card .contact-row:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(201, 168, 76, 0.2);
}
.business-card .contact-row .icon { font-size: 22px; color: #C9A84C; flex-shrink: 0; }
.business-card .contact-row .text { color: #FFFFFF; font-size: 20px; font-weight: 600; letter-spacing: 0.5px; direction: ltr; }
.business-card .contact-row .text a { color: #FFFFFF; text-decoration: none; transition: color 0.3s ease; }
.business-card .contact-row .text a:hover { color: #C9A84C; }
.business-card .contact-row .label { color: rgba(255, 255, 255, 0.4); font-size: 14px; font-weight: 400; margin-left: 6px; }
.business-card .social-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}
.business-card .social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.business-card .social-btn.whatsapp { background: #25D366; color: #fff; }
.business-card .social-btn.whatsapp:hover { background: #128C7E; transform: translateY(-4px); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3); }
.business-card .social-btn.instagram { background: #E4405F; color: #fff; }
.business-card .social-btn.instagram:hover { background: #c1354a; transform: translateY(-4px); box-shadow: 0 10px 30px rgba(228, 64, 95, 0.3); }
.business-card .social-btn.twitter { background: #1DA1F2; color: #fff; }
.business-card .social-btn.twitter:hover { background: #0d8bdf; transform: translateY(-4px); box-shadow: 0 10px 30px rgba(29, 161, 242, 0.3); }
.business-card .social-btn.snapchat { background: #FFFC00; color: #000; }
.business-card .social-btn.snapchat:hover { background: #e6e300; transform: translateY(-4px); box-shadow: 0 10px 30px rgba(255, 252, 0, 0.3); }
.business-card .footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    z-index: 2;
}
.business-card .footer p { color: rgba(255, 255, 255, 0.25); font-size: 14px; font-weight: 300; letter-spacing: 0.5px; }
.business-card .footer p a { color: rgba(255, 255, 255, 0.35); text-decoration: none; transition: color 0.3s ease; }
.business-card .footer p a:hover { color: #C9A84C; }
@keyframes shimmer {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}
@media (max-width: 600px) {
    .business-card { padding: 28px 20px 25px; }
    .business-card .logo h1 { font-size: 28px; }
    .business-card .contact-row { flex-direction: column; align-items: center; padding: 12px 16px; gap: 4px; }
    .business-card .contact-row .text { font-size: 17px; }
    .business-card .contact-row .label { font-size: 12px; }
    .business-card .social-buttons { flex-direction: column; align-items: center; gap: 10px; }
    .business-card .social-btn { width: 100%; justify-content: center; padding: 14px; }
    .business-card .icon-row { gap: 12px; }
    .business-card .icon-item { width: 48px; height: 48px; font-size: 22px; }
}
@media (max-width: 400px) {
    .business-card .logo h1 { font-size: 22px; }
    .business-card .contact-row .text { font-size: 15px; }
    .business-card .icon-item { width: 40px; height: 40px; font-size: 18px; }
}
/* ==========================================================
   السلايدر الداخلي (صورة خلفية واحدة)
   ========================================================== */
.inner-slider {
    position: relative;
    width: 100%;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.inner-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 28, 46, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.inner-slider-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
}

.inner-slider-content h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.inner-slider-content h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: #C9A84C;
    margin: 12px auto 0;
    border-radius: 10px;
}

.inner-slider-content p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .inner-slider {
        min-height: 350px;
    }
    .inner-slider-content h1 {
        font-size: 32px;
    }
    .inner-slider-content p {
        font-size: 18px;
    }
}

/* ==========================================================
   معرض ماسونري (بنفس تنسيق Kadence)
   ========================================================== */
.inner-gallery-masonry {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.inner-gallery-masonry .gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.inner-gallery-masonry .gallery-header .badge {
    display: inline-block;
    background: var(--primary);
    color: var(--secondary);
    padding: 6px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.inner-gallery-masonry .gallery-header h3 {
    font-size: 32px;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 12px;
}

.inner-gallery-masonry .gallery-header p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* شبكة الماسونري باستخدام CSS Columns */
.masonry-grid {
    column-count: 3;
    column-gap: 16px;
    margin: 0 -8px;
}

.masonry-item {
    break-inside: avoid;
    padding: 8px;
    margin-bottom: 4px;
}

.masonry-item-inner {
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: #fff;
    position: relative;
    cursor: pointer;
}

.masonry-item-inner:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.masonry-item-inner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.masonry-item-inner:hover img {
    transform: scale(1.04);
}

/* استجابة الماسونري */
@media (max-width: 992px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .masonry-grid {
        column-count: 1;
    }
}

/* زر تحميل المزيد */
.masonry-load-more-wrap {
    text-align: center;
    margin-top: 40px;
}

.btn-load-more {
    background: var(--secondary);
    color: #fff;
    padding: 16px 48px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-load-more:hover {
    background: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.btn-load-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}