/* =========================================
   ملف التنسيقات الرئيسي - مكتب المحامية لطيفة العمر
   ========================================= */

/* 1. استيراد الخطوط */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&family=Amiri:wght@400;700&family=Cairo:wght@200;300;400;600;700;900&display=swap');

/* 2. متغيرات الألوان (Theme Variables) */
:root {
    --gold-primary: #D4AF37;
    --gold-light: #F4E8C1;
    --gold-dark: #B8941E;
    
    --olive-dark: #1A3C34;
    --olive-deeper: #0F241E;
    --olive-light: #2A5C4F;
    
    --white: #FFFFFF;
    --off-white: #FAFBFC;
    --cream: #F8F6F0;
    
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    
    --shadow-luxury: 0 20px 60px rgba(26, 60, 52, 0.12);
    --shadow-gold: 0 10px 40px rgba(212, 175, 55, 0.25);
    
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4E8C1 100%);
    --gradient-olive: linear-gradient(135deg, #1A3C34 0%, #2A5C4F 100%);
}

/* 3. الإعدادات الأساسية (Reset & Base Styles) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    background: var(--white);
    color: var(--text-dark);
    direction: rtl;
    line-height: 1.8;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

/* شريط التقدم العلوي */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-gold);
    z-index: 10000;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

/* 4. النافبار (Navbar) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 9998;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 5px 0;
    box-shadow: var(--shadow-luxury);
    background: rgba(255, 255, 255, 0.95);
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 30px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-wrapper {
    padding: 12px 0;
}

/* الشعار */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-img {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(212, 175, 55, 0.3));
    transition: all 0.3s ease;
}

.navbar.scrolled .logo-img {
    height: 45px;
}

/* القائمة الرئيسية */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a i {
    font-size: 14px;
    opacity: 0.7;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-gold);
    transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold-primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* أزرار الإجراءات في النافبار (أيقونة الدخول + القائمة) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* أيقونة دخول الإدارة (القفل) */
.admin-login-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--cream);
    border: 2px solid var(--gold-light);
    color: var(--olive-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.admin-login-btn:hover {
    background: var(--gold-primary);
    color: var(--white);
    transform: scale(1.05);
    border-color: var(--gold-primary);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* زر الهامبرغر (للجوال) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--olive-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 5. قسم الهيرو (Hero Section) */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-olive);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 100px;
    position: relative;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.35;
}

.hero-content-center {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    height: 220px;
    width: auto;
    margin-bottom: 40px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    margin-bottom: 35px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.18);
    border: 2px solid rgba(212, 175, 55, 0.45);
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    font-family: 'Amiri', serif;
    line-height: 1.25;
    margin-bottom: 30px;
}

/* تنسيق تأثير الكتابة (Typewriter) */
#typewriter {
    color: var(--gold-primary); /* النص المتغير باللون الذهبي */
    border-left: 3px solid var(--gold-primary); /* المؤشر الوامض */
    padding-left: 5px;
    margin-right: 10px;
    animation: blink 0.75s step-end infinite;
}

@keyframes blink {
    0%, 100% { border-color: var(--gold-primary); }
    50% { border-color: transparent; }
}

.hero-subtitle {
    max-width: 680px;
    font-size: 1.25rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 60px;
    font-weight: 400;
}

/* أزرار الـ CTA */
.hero-cta {
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: center;
}

.btn-luxury {
    text-decoration: none;
    padding: 18px 46px;
    min-width: 220px;
    border-radius: 16px;
    background: var(--gradient-gold);
    color: var(--olive-dark);
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 15px 40px rgba(212,175,55,0.45);
    transition: all 0.35s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}

.btn-luxury:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 55px rgba(212,175,55,0.55);
}

.btn-outline {
    text-decoration: none;
    padding: 18px 46px;
    min-width: 220px;
    border-radius: 16px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
    color: var(--white);
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.35s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-outline:hover {
    border-color: var(--gold-primary);
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px);
}

/* 6. قسم المميزات (Features) */
.features-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    margin-top: -80px;
    z-index: 3;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card.luxury {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid var(--gold-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-card.luxury:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-luxury);
    border-color: var(--gold-primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-gold);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: var(--olive-dark);
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.feature-card.luxury:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--olive-dark);
    margin-bottom: 15px;
    font-weight: 800;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* 7. قسم المدونة (Blog Section) */
.blog-preview-section {
    padding: 120px 0;
    background: var(--cream);
}

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--olive-dark);
    margin-bottom: 20px;
    font-family: 'Amiri', serif;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.blog-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-card-luxury {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid transparent;
}

.blog-card-luxury:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-luxury);
    border-color: var(--gold-primary);
}

.blog-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.blog-image.default {
    background: var(--gradient-olive);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--gold-primary);
}

.blog-body {
    padding: 35px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-gray);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-luxury h3 {
    font-size: 1.5rem;
    color: var(--olive-dark);
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.blog-card-luxury p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.read-more-luxury {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.read-more-luxury:hover {
    gap: 15px;
    color: var(--gold-dark);
}

.center-btn {
    text-align: center;
}

.btn-luxury-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background: transparent;
    color: var(--olive-dark);
    text-decoration: none;
    border-radius: 15px;
    border: 3px solid var(--gold-primary);
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-luxury-outline:hover {
    background: var(--gold-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* 8. قسم التواصل (Contact Section & CTA) */
.cta-section {
    padding: 120px 0;
    background: var(--gradient-olive);
    position: relative;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.2) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    font-family: 'Amiri', serif;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.btn-luxury-white {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 50px;
    background: var(--white);
    color: var(--olive-dark);
    text-decoration: none;
    border-radius: 15px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.4s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn-luxury-white:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* تنسيق نموذج التواصل في صفحة contact.php */
.contact-main-section {
    padding: 120px 0;
    background: var(--white);
}

.contact-main-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-form-luxury {
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    border: 2px solid var(--gold-light);
    box-shadow: var(--shadow-luxury);
    max-width: 800px;
    width: 100%;
}

.contact-form-header {
    margin-bottom: 40px;
    text-align: center;
}

.contact-form-header h2 {
    font-size: 2.5rem;
    color: var(--olive-dark);
    margin-bottom: 15px;
    font-weight: 900;
    font-family: 'Amiri', serif;
}

.contact-form-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.luxury-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group-luxury {
    margin-bottom: 25px;
}

.form-group-luxury label {
    display: block;
    margin-bottom: 12px;
    color: var(--olive-dark);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group-luxury label i {
    color: var(--gold-primary);
}

.form-group-luxury input,
.form-group-luxury select,
.form-group-luxury textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--cream);
    border: 2px solid var(--gold-light);
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group-luxury input:focus,
.form-group-luxury select:focus,
.form-group-luxury textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-group-luxury textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    justify-content: center;
    padding: 18px 40px;
    font-size: 1.1rem;
    cursor: pointer;
}

/* 9. الفوتر (Footer) */
.footer-luxury {
    background: var(--olive-deeper);
    color: rgba(255, 255, 255, 0.8);
}

.footer-top {
    padding: 80px 0 40px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 100px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--gold-primary);
    color: var(--white);
    transform: translateY(-5px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--gold-primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a:hover {
    color: var(--gold-primary);
    padding-right: 10px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    color: var(--gold-primary);
    font-size: 16px;
    margin-top: 3px;
}

/* إصلاح اتجاه رقم الهاتف */
.phone-number {
    direction: ltr;
    display: inline-block;
    unicode-bidi: embed;
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.designed-by a {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 700;
}

/* 10. أدوات عائمة (WhatsApp & Back to Top) */
.back-to-top {
    position: fixed;
    bottom: 110px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: var(--gradient-gold);
    border: none;
    border-radius: 15px;
    color: var(--olive-dark);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    z-index: 9997;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 70px;
    height: 70px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 40px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20b857;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* تأثيرات الظهور */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* صفحة الرأس الداخلية (Page Header) */
.page-header {
    min-height: 50vh;
    background: var(--gradient-olive);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(212,175,55,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-header-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.page-header-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    font-family: 'Amiri', serif;
}

.page-header-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1rem;
}

.breadcrumb a {
    color: var(--gold-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

/* =========================================
   10. تجاوب الموقع مع الشاشات (Media Queries)
   ========================================= */

@media (max-width: 991px) {
    /* تعديل حجم الخطوط في التابلت */
    html { font-size: 14px; }
    
    .hero-title { font-size: 3rem; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* عمودين بدل 4 */
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* --- 1. النافبار والقائمة للجوال --- */
    .hamburger {
        display: flex; /* إظهار زر القائمة */
        z-index: 9999;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* إخفاء القائمة خارج الشاشة */
        width: 80%; /* عرض القائمة */
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.4s ease;
        z-index: 9990;
        padding-top: 60px;
    }

    .nav-menu.active {
        right: 0; /* إظهار القائمة عند الضغط */
    }

    .nav-actions {
        gap: 10px;
    }

    /* --- 2. قسم الهيرو (الرئيسية) --- */
    .hero-title {
        font-size: 2.5rem; /* تصغير الخط */
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 15px;
    }

    .hero-cta {
        flex-direction: column; /* الأزرار فوق بعض */
        width: 100%;
        padding: 0 20px;
    }

    .btn-luxury, .btn-outline {
        width: 100%; /* زر بعرض كامل */
    }

    /* --- 3. الفوتر والأقسام --- */
    .footer-grid {
        grid-template-columns: 1fr; /* عمود واحد */
        text-align: center;
    }

    .footer-logo, .social-links, .contact-info li {
        justify-content: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }

    .contact-form-luxury {
        padding: 30px 20px;
    }

    .luxury-form .form-row {
        grid-template-columns: 1fr; /* الحقول فوق بعض */
    }
}

/* 11. التجاوب (Media Queries) */
@media (max-width: 1200px) {
    .hero-title { font-size: 3.5rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 30px;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        gap: 0;
    }
    
    .nav-menu.active { right: 0; }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--gold-light);
        padding: 20px 0;
    }
    
    .hamburger { display: flex; }
    
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(8px, -8px); }
    
    .hero-title { font-size: 2.8rem; }
    .features-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
    .blog-grid-home { grid-template-columns: repeat(2, 1fr); }
    .contact-main-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .hero-section { padding-top: 120px; padding-bottom: 80px; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    
    .hero-cta { flex-direction: column; width: 100%; }
    .btn-luxury, .btn-outline { width: 100%; justify-content: center; }
    
    .section-title { font-size: 2.2rem; }
    .blog-grid-home { grid-template-columns: 1fr; }
    .cta-content h2 { font-size: 2rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .page-header-content h1 { font-size: 2.5rem; }
    
    .contact-form-luxury { padding: 30px 20px; }
    .luxury-form .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .logo-text h1 { font-size: 18px; }
    .logo-img { height: 40px; }
    .hero-title { font-size: 1.8rem; }
    .admin-login-btn { width: 40px; height: 40px; font-size: 16px; }
}