/* ===== إعدادات عامة ===== */
:root {
    /* الألوان الأساسية */
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary-color: #f59e0b;
    --secondary-dark: #d97706;
    --secondary-light: #fbbf24;
    
    /* الألوان المحايدة */
    --dark-color: #1f2937;
    --dark-light: #374151;
    --gray-color: #6b7280;
    --gray-light: #9ca3af;
    --light-color: #f9fafb;
    --white-color: #ffffff;
    
    /* ألوان الحالة */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #3b82f6;
    
    /* الخطوط */
    --font-primary: 'Cairo', 'Tajawal', sans-serif;
    --font-secondary: 'Tajawal', 'Cairo', sans-serif;
    
    /* الأحجام */
    --container-max-width: 1200px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-sm: 8px;
    
    /* الظلال */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* الانتقالات */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* إعادة تعيين الأنماط */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
    overflow-x: hidden;
}

/* الحاويات */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* العناوين */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* الفقرات والروابط */
p {
    margin-bottom: 1rem;
    color: var(--gray-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== الأزرار ===== */
.btn, .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary, .cta-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover, .cta-btn.primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary, .cta-btn.secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--white-color);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover, .cta-btn.secondary:hover {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== الشريط العلوي ===== */
.top-bar {
    background: linear-gradient(135deg, var(--dark-color), var(--dark-light));
    color: var(--white-color);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-quick {
    display: flex;
    gap: 2rem;
}

.top-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white-color);
    transition: var(--transition-fast);
}

.top-contact-item:hover {
    color: var(--secondary-color);
    transform: translateY(-1px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white-color);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* ===== الهيدر الرئيسي ===== */
.main-header {
    background: var(--white-color);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.logo-text span {
    font-size: 0.9rem;
    color: var(--gray-color);
    font-weight: 500;
}

/* التنقل الرئيسي */
.main-nav ul {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    position: relative;
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(30, 64, 175, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* قائمة الجوال */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ===== القسم الرئيسي (Hero) ===== */
.hero-section {
    background: linear-gradient(135deg, 
        rgba(30, 64, 175, 0.95), 
        rgba(59, 130, 246, 0.9)
    ), url('s1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white-color);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(30, 64, 175, 0.8), 
        rgba(59, 130, 246, 0.6)
    );
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    margin-bottom: 1rem;
}

.title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--white-color), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub {
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.hero-slogan {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-img-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

.floating-card {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.2rem;
}

.card-content h4 {
    color: var(--dark-color);
    margin: 0;
    font-size: 1rem;
}

.card-content p {
    color: var(--gray-color);
    margin: 0;
    font-size: 0.9rem;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white-color);
    font-size: 1.2rem;
    animation: bounce 2s infinite;
    backdrop-filter: blur(10px);
}

/* ===== رؤوس الأقسام ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 2px;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== قسم من نحن ===== */
.about-section {
    padding: 100px 0;
    background: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--gray-color);
    margin: 0;
    font-size: 0.95rem;
}

.about-description p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-visual {
    position: relative;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.main-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--white-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    display: block;
}

.exp-text {
    font-size: 0.9rem;
    color: var(--gray-color);
    font-weight: 600;
}

/* ===== قسم الخدمات ===== */
.services-section {
    padding: 100px 0;
    background: var(--white-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card.premium {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white-color);
    transform: scale(1.05);
}

.service-card.premium .service-content h3,
.service-card.premium .service-content p {
    color: var(--white-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white-color);
    box-shadow: var(--shadow-md);
}

.service-card.premium .service-icon {
    background: var(--white-color);
    color: var(--primary-color);
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    text-align: right;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.service-features i {
    color: var(--success-color);
    font-size: 0.8rem;
}

.service-card.premium .service-features i {
    color: var(--white-color);
}

/* ===== قسم المعرض ===== */
.gallery-section {
    padding: 100px 0;
    background: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item.large img {
    height: 400px;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(30, 64, 175, 0.8), 
        rgba(59, 130, 246, 0.6)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: var(--white-color);
    padding: 2rem;
}

.gallery-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.gallery-zoom {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    backdrop-filter: blur(10px);
}

/* ===== قسم الاتصال ===== */
.contact-section {
    padding: 100px 0;
    background: var(--white-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-methods {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--white-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    text-decoration: none;
    border: 2px solid transparent;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.contact-method.phone {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white-color);
}

.contact-method.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white-color);
}

.contact-method.social {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--white-color);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-method.phone .method-icon,
.contact-method.whatsapp .method-icon,
.contact-method.social .method-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white-color);
}

.method-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.method-content p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.method-action {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
}

.office-info {
    display: grid;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h4 {
    color: var(--dark-color);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.info-content p {
    color: var(--gray-color);
    margin: 0;
    font-size: 0.9rem;
}

.contact-map {
    position: relative;
}

.map-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--white-color);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.map-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.map-info p {
    color: var(--gray-color);
    margin: 0;
    font-size: 0.9rem;
}

/* ===== الفوتر ===== */
.main-footer {
    background: linear-gradient(135deg, var(--dark-color), var(--dark-light));
    color: var(--white-color);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.brand-text h3 {
    color: var(--white-color);
    margin: 0;
    font-size: 1.5rem;
}

.brand-text p {
    color: var(--secondary-color);
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.brand-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    transition: var(--transition-fast);
}

.social-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: var(--white-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--secondary-color);
    padding-right: 5px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--secondary-color);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* ===== الأزرار العائمة ===== */
.floating-contacts {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    position: relative;
    text-decoration: none;
}

.floating-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.floating-btn.phone {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-color);
    color: var(--white-color);
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.floating-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* زر العودة للأعلى */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ===== الرسوم المتحركة ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* فئات الرسوم المتحركة */
.animate-fade-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-left {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-right {
    animation: fadeInRight 0.8s ease-out;
}

/* ===== التصميم المتجاوب ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    /* الهيدر */
    .top-bar {
        display: none;
    }
    
    .header-content {
        padding: 0.75rem 0;
    }
    
    .main-nav {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero */
    .hero-section {
        padding: 80px 0 60px;
        text-align: center;
    }
    
    .title-main {
        font-size: 2.5rem;
    }
    
    .title-sub {
        font-size: 1.4rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* الأقسام */
    .section-title {
        font-size: 2rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    /* الخدمات */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.premium {
        transform: none;
    }
    
    /* المعرض */
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    /* الفوتر */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* الأزرار العائمة */
    .floating-contacts {
        bottom: 20px;
        left: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .service-card,
    .feature-item,
    .contact-method {
        padding: 1.5rem;
    }
    
    .floating-contacts {
        bottom: 15px;
        left: 15px;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
    }
}

/* تحسينات إضافية للأداء */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* تحسين التمرير */
html {
    scroll-padding-top: 80px;
}

/* إخفاء شريط التمرير في بعض المتصفحات */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}