/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ألوان الزجاج والألمنيوم - هوية بصرية موحدة (الثيم الفاتح - الافتراضي) */
    --primary-color: #1e3a5f;
    --secondary-color: #4a90e2;
    --accent-color: #00a8cc;
    --glass-color: rgba(255, 255, 255, 0.1);
    --aluminum-color: #c0c0c0;
    --text-color: #333;
    --text-light: #666;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #4a90e2 100%);
    --gradient-glass: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(0, 168, 204, 0.1) 100%);
}

/* الثيم الليلي */
[data-theme="dark"] {
    --primary-color: #2d3748;
    --secondary-color: #4a5568;
    --accent-color: #63b3ed;
    --glass-color: rgba(0, 0, 0, 0.3);
    --aluminum-color: #718096;
    --text-color: #e2e8f0;
    --text-light: #cbd5e0;
    --light-bg: #1a202c;
    --bg-color: #1a202c;
    --card-bg: #2d3748;
    --white: #2d3748;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --gradient-primary: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    --gradient-glass: linear-gradient(135deg, rgba(99, 179, 237, 0.1) 0%, rgba(66, 153, 225, 0.1) 100%);
}

/* الثيم الأزرق */
[data-theme="blue"] {
    --primary-color: #1e40af;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --glass-color: rgba(59, 130, 246, 0.1);
    --aluminum-color: #93c5fd;
    --text-color: #1e293b;
    --text-light: #475569;
    --light-bg: #eff6ff;
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(30, 64, 175, 0.15);
    --shadow-lg: 0 10px 30px rgba(30, 64, 175, 0.25);
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-glass: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(96, 165, 250, 0.15) 100%);
}

/* الثيم الأخضر */
[data-theme="green"] {
    --primary-color: #065f46;
    --secondary-color: #10b981;
    --accent-color: #34d399;
    --glass-color: rgba(16, 185, 129, 0.1);
    --aluminum-color: #6ee7b7;
    --text-color: #064e3b;
    --text-light: #047857;
    --light-bg: #f0fdf4;
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(6, 95, 70, 0.15);
    --shadow-lg: 0 10px 30px rgba(6, 95, 70, 0.25);
    --gradient-primary: linear-gradient(135deg, #065f46 0%, #10b981 100%);
    --gradient-glass: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(52, 211, 153, 0.15) 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* شريط التنقل - شفاف في البداية */
.navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--card-bg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.8rem 0;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(45, 55, 72, 0.98);
}

[data-theme="blue"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

[data-theme="green"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

.navbar.scrolled .nav-menu a {
    color: var(--text-color);
}

.navbar:not(.scrolled) .nav-menu a {
    color: var(--white);
}

.navbar:not(.scrolled) .logo {
    color: var(--white);
}

.navbar:not(.scrolled) .hamburger span {
    background: var(--white);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.navbar:not(.scrolled) .logo i {
    color: var(--white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-menu a::after {
    background: var(--secondary-color);
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.navbar:not(.scrolled) .nav-menu a:hover {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* زر تبديل الثيمات */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-switcher {
    position: relative;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
}

.navbar.scrolled .theme-toggle {
    background: var(--gradient-primary);
    border-color: var(--secondary-color);
    color: var(--white);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .theme-toggle:hover {
    background: var(--gradient-primary);
    box-shadow: var(--shadow);
}

/* قائمة الثيمات */
.theme-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) scale(0);
    transform-origin: top center;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10000;
    border: 2px solid var(--glass-color);
    backdrop-filter: blur(10px);
}

.theme-menu.active {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.theme-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    text-align: right;
    font-size: 0.95rem;
    font-weight: 500;
}

.theme-option:hover {
    background: var(--gradient-glass);
    transform: translateX(-5px);
    color: var(--secondary-color);
}

.theme-option i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.theme-option.active {
    background: var(--gradient-primary);
    color: var(--white);
}

.theme-option.active:hover {
    color: var(--white);
    transform: translateX(-5px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 3px;
}

/* قسم البطل */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&h=1080&fit=crop') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 168, 204, 0.4);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #0099b8;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 168, 204, 0.6);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
    border: 2px solid var(--white);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* قسم عن الشركة */
.about {
    padding: 100px 0;
    background: var(--bg-color);
    transition: background-color 0.3s ease;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 8px;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--gradient-glass);
    transform: translateX(-5px);
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

/* قسم الخدمات */
.services {
    padding: 100px 0;
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotate(360deg);
    scale: 1.1;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

/* قسم معرض الصور */
.gallery {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-bg) 100%);
    position: relative;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(30, 58, 95, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 193, 7, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    aspect-ratio: 4/3;
    background: var(--light-bg);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(30, 58, 95, 0.3);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(0.95);
}

.gallery-item:hover img {
    transform: scale(1.15) rotate(1deg);
    filter: brightness(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.9) 0%, rgba(255, 193, 7, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
    backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 3.5rem;
    transform: scale(0.5) rotate(-180deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1) rotate(0deg);
}

/* قسم المناطق */
.areas {
    padding: 100px 0;
    background: var(--white);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.area-card {
    background: var(--gradient-glass);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.area-card:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow);
}

.area-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.area-card:hover i {
    color: var(--white);
    transform: scale(1.2);
}

.area-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.area-card:hover h3 {
    color: var(--white);
}

/* قسم آراء العملاء */
.testimonials {
    padding: 100px 0;
    background: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 1rem;
    color: #ffc107;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* قسم الاتصال */
.contact {
    padding: 100px 0;
    background: var(--bg-color);
    transition: background-color 0.3s ease;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--gradient-glass);
    transform: translateX(-5px);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.contact-details a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.social-media {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.social-media h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--gradient-primary);
    border-radius: 50px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.social-link i {
    font-size: 1.2rem;
}

.contact-map {
    position: relative;
}

.contact-map iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.map-note {
    margin-top: 1rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* زر العودة للأعلى */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* تذييل الصفحة */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-right: 5px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    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);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.developer-credit {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.developer-credit {
    display: flex;
    align-items: center;
    justify-content: center;
}

.developer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.15) 0%, rgba(0, 168, 204, 0.15) 100%);
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.developer-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.3) 0%, rgba(0, 168, 204, 0.3) 100%);
    transition: left 0.5s ease;
    z-index: -1;
}

.developer-button:hover::before {
    left: 0;
}

.developer-button:hover {
    border-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.25) 0%, rgba(0, 168, 204, 0.25) 100%);
}

.developer-button i {
    font-size: 1.1rem;
    color: var(--secondary-color);
    animation: pulse 2s infinite;
    transition: var(--transition);
}

.developer-button:hover i {
    color: var(--white);
    transform: rotate(360deg);
}

.developer-button span {
    transition: var(--transition);
}

/* تحسينات إضافية للمعرض - حركات متتالية للصور */
.gallery-item {
    animation: galleryFadeInUp 0.6s ease forwards;
    opacity: 0;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes galleryFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تحسينات إضافية للواتساب */
.whatsapp-link i {
    font-size: 1.2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-actions {
        order: -1;
        margin-left: auto;
        margin-right: 1rem;
    }
    
    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .theme-menu {
        left: auto;
        right: 0;
        transform: translateX(0) scale(0);
        transform-origin: top right;
        min-width: 160px;
    }
    
    .theme-menu.active {
        transform: translateX(0) scale(1);
    }
    
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--card-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-menu a {
        color: var(--text-color) !important;
    }

    .nav-menu a::after {
        background: var(--secondary-color) !important;
    }

    .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(7px, -7px);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--secondary-color);
    color: var(--white);
}

/* Loading Animation for Images */
img {
    transition: opacity 0.3s;
}

img[loading="lazy"] {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* لمسات إضافية - تأثيرات حركية */
.service-card,
.testimonial-card,
.area-card,
.gallery-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* تأثير توهج للأيقونات */
.service-icon i,
.contact-icon i {
    filter: drop-shadow(0 0 5px rgba(74, 144, 226, 0.5));
    transition: var(--transition);
}

.service-card:hover .service-icon i,
.contact-item:hover .contact-icon i {
    filter: drop-shadow(0 0 15px rgba(74, 144, 226, 0.8));
    transform: scale(1.1);
}

/* تأثير على الأزرار */
.btn-primary,
.btn-secondary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

/* تأثير على الروابط في القائمة */
.nav-menu a {
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: right 0.5s;
}

.nav-menu a:hover::before {
    right: 100%;
}

/* تأثير على بطاقات الخدمات */
.service-card {
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: var(--transition);
    pointer-events: none;
}

.service-card:hover::after {
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
}

/* تأثير على معرض الصور - Lightbox effect */
.gallery-item {
    position: relative;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(30, 58, 95, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

/* تحسين تأثيرات التمرير */
.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-content p {
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.6s both;
}

/* تأثير على العنوان الرئيسي */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -30px;
    width: 20px;
    height: 3px;
    background: var(--secondary-color);
    transform: translateY(-50%);
    opacity: 0;
    transition: var(--transition);
}

.section-title:hover::before {
    opacity: 1;
    width: 50px;
}

/* تأثير على بطاقات المناطق */
.area-card {
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.area-card:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

/* تحسين تأثيرات النص */
.about-text p,
.service-card p,
.testimonial-text {
    line-height: 1.8;
    transition: var(--transition);
}

.service-card:hover p,
.testimonial-card:hover .testimonial-text {
    color: var(--text-color);
}

/* تأثير على خريطة الاتصال */
.contact-map {
    position: relative;
}

.contact-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05) 0%, rgba(0, 168, 204, 0.05) 100%);
    border-radius: 10px;
    pointer-events: none;
    z-index: 1;
}

/* تأثير على الروابط الاجتماعية */
.social-link {
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

/* تحسين تأثيرات الصور */
img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.service-image img:hover,
.about-image img:hover {
    filter: brightness(1.1) contrast(1.05);
}

/* تأثير على زر العودة للأعلى */
.back-to-top {
    position: relative;
}

.back-to-top::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent-color);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.back-to-top:hover::before {
    transform: translate(-50%, -50%) scale(1.2);
}

/* تأثير على بطاقات آراء العملاء */
.testimonial-card {
    position: relative;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.5s ease;
}

.testimonial-card:hover::after {
    width: 100%;
}

/* تحسين تأثيرات التمرير للعناصر */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* تأثير على العنوان الرئيسي في Hero */
.hero-content h1 {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* تحسين تأثيرات الأيقونات */
.feature-item i {
    transition: var(--transition);
}

.feature-item:hover i {
    transform: rotate(360deg) scale(1.2);
    color: var(--accent-color);
}

/* Lightbox للمعرض */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* تأثيرات إضافية للعناصر */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* تحسين تأثيرات الاستجابة */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
    }
    
    .lightbox-close {
        top: -50px;
        font-size: 2.5rem;
    }
    
    .developer-credit {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .developer-credit p {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .developer-link,
    .whatsapp-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }
    
    .whatsapp-number {
        font-size: 0.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item {
        aspect-ratio: 16/9;
    }
}
