/* ⚡ CSS متقدم - موقع معلم كهرباء منازل احترافي */

:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --success: #27ae60;
    --warning: #f39c12;
    --info: #17a2b8;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #f8f9fa;
    --gray-dark: #343a40;
    
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 20px;
    
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --transition-fast: all 0.15s ease;
    
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Arial', sans-serif;
}

/* 🔄 Reset وتحضير الأساسيات */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 🎯 Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.d-flex { display: flex; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.flex-column { flex-direction: column; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

/* 🎭 الأنيميشن الأساسية */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    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);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateY(0);
    }
    40%, 43% {
        transform: translateY(-10px);
    }
    70% {
        transform: translateY(-5px);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 🔝 الشريط العلوي */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 5px 0;
    box-shadow: var(--shadow-lg);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--secondary);
    object-fit: cover;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: rotate(10deg);
    border-color: var(--accent);
}

.logo-text h1 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 700;
}

.logo-text span {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--secondary);
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--secondary);
    background: rgba(52, 152, 219, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 50%;
    transform: translateX(50%);
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
}

.nav-cta {
    margin-right: 2rem;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--secondary);
}

/* 🎭 قسم الهيرو */
.hero {
    background: linear-gradient(135deg, 
        rgba(44, 62, 80, 0.9) 0%, 
        rgba(52, 152, 219, 0.8) 100%),
        url('../images/hero-bg.jpg') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png');
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-title .highlight {
    color: var(--warning);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 0;
    width: 100%;
    height: 8px;
    background: rgba(243, 156, 18, 0.3);
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    animation: fadeInUp 1s ease 0.6s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--warning);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.9s both;
}

.working-status {
    animation: fadeInUp 1s ease 1.2s both;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.status.available {
    background: rgba(39, 174, 96, 0.2);
    color: var(--success);
}

.status.unavailable {
    background: rgba(231, 76, 60, 0.2);
    color: var(--accent);
}

.status i {
    font-size: 0.7rem;
    animation: pulse 2s infinite;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    right: 50%;
    transform: translateX(50%);
    animation: bounce 2s infinite;
}

.scroll-down {
    color: white;
    font-size: 2rem;
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-down:hover {
    opacity: 1;
    transform: translateY(5px);
}

/* 🎪 الأزرار */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::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: var(--transition-slow);
}

.btn:hover::before {
    right: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

.btn-primary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    background: #2980b9;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.btn-whatsapp {
    background: var(--success);
    color: white;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-whatsapp:hover {
    background: #219653;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

.btn-outline {
    background: transparent;
    color: rgb(10, 10, 10);
    border: 2px solid rgb(93, 30, 30);
    box-shadow: 0 4px 15px rgba(19, 17, 17, 0.234);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-accent {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-accent:hover {
    background: #c0392b;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

/* ⚡ الميزات السريعة */
.features {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-light.png');
    opacity: 0.03;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary), #667eea);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 700;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 1rem;
}

/* 🛠️ قسم الخدمات */
.services {
    padding: 80px 0;
    background: var(--gray-light);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: var(--transition-slow);
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 700;
}

.service-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-content ul {
    list-style: none;
    margin: 20px 0;
}

.service-content li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    padding-right: 25px;
    color: var(--dark);
}

.service-content li:last-child {
    border-bottom: none;
}

.service-content li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--success);
    font-weight: bold;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 20px 0;
    text-align: center;
}

.services-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 50px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('../images/pattern.png');
    opacity: 0.1;
    animation: rotate 20s linear infinite;
}

.services-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.services-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    position: relative;
    z-index: 2;
}

/* 🎨 معرض الأعمال */
.gallery {
    padding: 80px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 300px;
    
}
btn-outline
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.gallery-cta {
    text-align: center;
}

/* 👨‍💼 قسم عنّي */
.about {
    padding: 80px 0;
    background: var(--gray-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content {
    padding-left: 30px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

.about-features {
    margin: 2rem 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-feature i {
    color: var(--success);
    font-size: 1.2rem;
}

.about-image {
    position: relative;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--accent), var(--warning));
    color: white;
    padding: 20px;
    border-radius: 50%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

.experience-badge .years {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    opacity: 0.9;
}

.about-cta {
    margin-top: 2rem;
}

/* 📞 قسم الاتصال */
.contact {
    padding: 80px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--gray-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-method:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateX(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--info));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary);
    font-weight: 600;
}

.contact-link {
    display: block;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 5px;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--accent);
}

.contact-details span {
    display: block;
    color: var(--gray);
    font-size: 0.9rem;
}

.contact-form-container {
    background: var(--gray-light);
    padding: 40px;
    border-radius: var(--border-radius-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    margin-top: 1rem;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* 🗺️ قسم الخريطة */
.map-section {
    padding: 60px 0;
    background: var(--gray-light);
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

#map {
    height: 400px;
    background: var(--light);
    position: relative;
}

.map-placeholder {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    text-align: center;
    color: var(--gray);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.map-placeholder h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.map-info {
    padding: 30px;
    background: var(--white);
}

.map-info h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 600;
}

.areas-list {
    list-style: none;
}

.areas-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    padding-right: 25px;
    color: var(--dark);
}

.areas-list li::before {
    content: "📍";
    position: absolute;
    right: 0;
}

.areas-list li:last-child {
    border-bottom: none;
    font-weight: 600;
    color: var(--secondary);
}

/* 🔚 الفوتر */
.footer {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-logo span {
    color: var(--secondary);
    font-size: 1rem;
}

.footer-description {
    line-height: 1.6;
    opacity: 0.8;
    margin-top: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-right: 5px;
}

.footer-contact .contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact .contact-link:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* 📞 شريط الاتصال العائم */
.floating-contact {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    animation: pulse 2s infinite;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.floating-call {
    background: var(--secondary);
}

.floating-whatsapp {
    background: var(--success);
}

.floating-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: pulse-ring 1.5s ease-out infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* 🎭 أنيميشن إضافية */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease both;
}

/* 📱 وسائط الاستعلام للجوال */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .footer-section:last-child {
        grid-column: 1 / -1;
        margin-top: 2rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        background: white;
        width: 80%;
        height: calc(100vh - 80px);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content {
        padding-left: 0;
    }
    
    .map-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .hero {
        padding: 120px 0 50px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .service-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 30px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .feature-card,
    .service-card {
        padding: 25px 20px;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .services-cta {
        padding: 30px 20px;
    }
    
    .floating-contact {
        bottom: 20px;
        left: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* 🖨️ طباعة */
@media print {
    .header,
    .floating-contact,
    .hero-scroll {
        display: none;
    }
    
    .hero {
        background: white !important;
        color: black !important;
        min-height: auto;
        padding: 50px 0;
    }
    
    .btn {
        border: 1px solid black;
        color: black;
        background: white;
    }
}
/* إضافة أنماط للعناصر الجديدة */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #27ae60;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    animation: slideInRight 0.3s ease;
}
/* css/features.css */
/* أنماط نظام التقييم */
.review-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.rating-stars {
    color: #f39c12;
    font-size: 1.2rem;
}

.star-rating {
    direction: ltr;
}

.star-rating .star {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.3s ease;
}

/* أنماط المدونة */
.blog-post {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.post-category {
    background: #3498db;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* أنماط نظام الحجز */
.time-slot {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot.available:hover {
    border-color: #3498db;
}

.time-slot.selected {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.time-slot.booked {
    background: #e74c3c;
    color: white;
    cursor: not-allowed;
}

/* أنماط الأمان */
.privacy-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 10000;
    max-width: 400px;
}

/* أنماط الخريطة */
#map {
    height: 400px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.service-popup {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
/* css/features.css */
.reviews-preview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.blog-preview {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.booking-cta {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.consultation-cta {
    background: #2c3e50;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.text-center {
    text-align: center;
}

.booking-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.booking-feature {
    text-align: center;
}

.booking-feature i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.consultation-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.service-areas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.service-areas span {
    background: rgba(52, 152, 219, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
}

@media (max-width: 768px) {
    .booking-features {
        gap: 20px;
    }
    
    .consultation-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .consultation-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}
/* 📱 تحسينات خاصة للهواتف */
body.no-hover .feature-card:hover,
body.no-hover .service-card:hover,
body.no-hover .gallery-item:hover,
body.no-hover .nav-link:hover {
    transform: none !important;
}

.mobile-header .navbar {
    padding: 10px 0;
}

/* تحسين التمرير على iOS */
html {
    -webkit-overflow-scrolling: touch;
}

/* منع تحديد النص على العناصر التفاعلية */
.btn, .nav-link, .floating-btn {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

/* تحسين مظهر شريط التمرير */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
/* 🎯 تحسينات SEO إضافية */

/* تحسين قابلية القراءة لمحركات البحث */
.seo-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.seo-content strong {
    color: #2c3e50;
    font-weight: 700;
}

.seo-content mark {
    background: #fff3cd;
    padding: 2px 5px;
    border-radius: 3px;
}

/* تحسين الهيكل لمحركات البحث */
h1, h2, h3, h4, h5, h6 {
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-weight: 800;
}

h2 {
    font-weight: 700;
}

/* تحسين الروابط الداخلية */
.internal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.internal-link {
    background: #3498db;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.internal-link:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* تحسين القوائم لمحركات البحث */
.service-list, .area-list {
    columns: 2;
    list-style: none;
    padding: 0;
}

.service-list li, .area-list li {
    margin-bottom: 10px;
    padding-right: 20px;
    position: relative;
}

.service-list li::before, .area-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--success);
    font-weight: bold;
}

/* تحسينات للهواتف */
@media (max-width: 767px) {
    .seo-content {
        padding: 30px 0;
    }
    
    .seo-keywords ul {
        columns: 1;
    }
    
    .service-list, .area-list {
        columns: 1;
    }
}
/* 🗺️ تنسيقات الخريطة التفاعلية */
.interactive-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.interactive-map iframe {
    display: block;
    border: none;
}

.map-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.map-info h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.areas-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.areas-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.areas-list li:last-child {
    border-bottom: none;
    font-weight: bold;
    color: #ffeb3b;
}

.delivery-time {
    text-align: center;
    margin: 1.5rem 0;
}

.time-badge {
    background: rgba(255,255,255,0.2);
    padding: 1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    backdrop-filter: blur(10px);
}

.map-cta {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.map-cta p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* مؤشرات سرعة الوصول */
.delivery-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-right: 4px solid #007bff;
}

.indicator-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.indicator-content h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.indicator-content p {
    color: #666;
    margin: 0;
}

/* التصميم المتجاوب */
@media (max-width: 768px) {
    .map-container {
        grid-template-columns: 1fr;
    }
    
    .delivery-indicators {
        grid-template-columns: 1fr;
    }
    
    .indicator {
        flex-direction: column;
        text-align: center;
    }
}
/* أنماط نظام إدارة الأعمال */
.admin-control {
    position: fixed;
    top: 100px;
    left: 20px;
    z-index: 1000;
}

.btn-admin {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
}

.btn-admin:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.admin-works {
    background: #f8f9fa;
    padding: 60px 0;
    border-top: 3px solid #3498db;
}

.admin-form-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.form-header {
    border-bottom: 2px solid #3498db;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.form-header h4 {
    color: #2c3e50;
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.features-input {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.features-input input {
    flex: 1;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    background: #3498db;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.feature-tag button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    font-size: 0.8rem;
}

.upload-section {
    margin-top: 20px;
}

.upload-areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.upload-area {
    border: 2px dashed #bdc3c7;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.upload-area:hover {
    border-color: #3498db;
    background: #f8f9fa;
}

.upload-area.main-image {
    border-color: #e74c3c;
}

.upload-area i {
    font-size: 2rem;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.upload-area.main-image i {
    color: #e74c3c;
}

.image-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.preview-container {
    margin-top: 15px;
    min-height: 50px;
}

.preview-item {
    position: relative;
    display: inline-block;
    margin: 5px;
}

.preview-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #3498db;
}

.remove-preview {
    position: absolute;
    top: -5px;
    left: -5px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    cursor: pointer;
}

.works-list-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.work-item {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.work-item:hover {
    border-color: #3498db;
    box-shadow: 0 3px 15px rgba(52, 152, 219, 0.2);
}

.work-item-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 15px;
}

.work-item-header h5 {
    margin: 0;
    color: #2c3e50;
    flex: 1;
}

.work-actions {
    display: flex;
    gap: 5px;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.edit-work {
    background: #3498db;
    color: white;
}

.delete-work {
    background: #e74c3c;
    color: white;
}

.view-work {
    background: #27ae60;
    color: white;
}

.work-item-details {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.work-item-details span {
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #6c757d;
}

.work-item-preview img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.admin-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.admin-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* المودال */
.work-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.work-details-modal .modal-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .upload-areas {
        grid-template-columns: 1fr;
    }
    
    .work-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .admin-control {
        left: 10px;
        top: 80px;
    }
}
   .admin-control {
            position: fixed;
            top: 100px;
            left: 20px;
            z-index: 1000;
            display: none; /* مخفي بشكل افتراضي */
        }

        /* الزر السري لإدخال كلمة المرور */
        .secret-admin-btn {
            position: fixed;
            top: 100px;
            left: 20px;
            z-index: 1000;
            background: #34495e;
            color: white;
            border: none;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 3px 10px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
        }

        .secret-admin-btn:hover {
            background: #2c3e50;
            transform: scale(1.1);
        }

        /* نافذة إدخال كلمة المرور */
        .login-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }

        .login-modal.active {
            display: flex;
        }

        .login-box {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            width: 90%;
            max-width: 400px;
            text-align: center;
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .login-box h3 {
            color: #2c3e50;
            margin-bottom: 20px;
            border-bottom: 2px solid #3498db;
            padding-bottom: 10px;
        }

        .login-input {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #bdc3c7;
            border-radius: 8px;
            margin-bottom: 15px;
            font-size: 1rem;
            text-align: center;
            transition: all 0.3s ease;
        }

        .login-input:focus {
            outline: none;
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        }

        .login-actions {
            display: flex;
            gap: 10px;
            justify-content: center;
        }

        .btn-login {
            background: #27ae60;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-login:hover {
            background: #219a52;
        }

        .btn-cancel {
            background: #95a5a6;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-cancel:hover {
            background: #7f8c8d;
        }

        .admin-works {
            background: #f8f9fa;
            padding: 60px 0;
            border-top: 3px solid #3498db;
            display: none; /* مخفي عن العملاء */
        }

        .admin-form-container {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.1);
            margin-bottom: 40px;
        }

        .form-header {
            border-bottom: 2px solid #3498db;
            padding-bottom: 15px;
            margin-bottom: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .form-header h4 {
            color: #2c3e50;
            margin: 0;
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #2c3e50;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #bdc3c7;
            border-radius: 8px;
            background: white;
            color: #2c3e50;
            font-size: 1rem;
            transition: all 0.3s ease;
            font-family: inherit;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        }

        .features-input {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }

        .features-input input {
            flex: 1;
        }

        .features-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .feature-tag {
            background: #3498db;
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
        }

        .feature-tag button {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            padding: 0;
            font-size: 0.8rem;
        }

        .upload-section {
            margin-top: 20px;
        }

        .upload-areas {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .upload-area {
            border: 2px dashed #bdc3c7;
            border-radius: 10px;
            padding: 30px 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .upload-area:hover {
            border-color: #3498db;
            background: #f8f9fa;
        }

        .upload-area.main-image {
            border-color: #e74c3c;
        }

        .upload-area i {
            font-size: 2rem;
            color: #7f8c8d;
            margin-bottom: 10px;
        }

        .upload-area.main-image i {
            color: #e74c3c;
        }

        .image-input {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
        }

        .preview-container {
            margin-top: 15px;
            min-height: 50px;
        }

        .preview-item {
            position: relative;
            display: inline-block;
            margin: 5px;
        }

        .preview-item img {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: 8px;
            border: 2px solid #3498db;
        }

        .remove-preview {
            position: absolute;
            top: -5px;
            left: -5px;
            background: #e74c3c;
            color: white;
            border: none;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            font-size: 0.7rem;
            cursor: pointer;
        }

        .works-list-section {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.1);
        }

        .work-item {
            border: 1px solid #e9ecef;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 15px;
            transition: all 0.3s ease;
        }

        .work-item:hover {
            border-color: #3498db;
            box-shadow: 0 3px 15px rgba(52, 152, 219, 0.2);
        }

        .work-item-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .work-item-header h5 {
            margin: 0;
            color: #2c3e50;
            flex: 1;
        }

        .work-actions {
            display: flex;
            gap: 5px;
        }

        .btn-sm {
            padding: 5px 10px;
            font-size: 0.8rem;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        .edit-work {
            background: #3498db;
            color: white;
        }

        .delete-work {
            background: #e74c3c;
            color: white;
        }

        .view-work {
            background: #27ae60;
            color: white;
        }

        .work-item-details {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .work-item-details span {
            background: #f8f9fa;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 0.8rem;
            color: #6c757d;
        }

        .work-item-preview img {
            width: 100px;
            height: 80px;
            object-fit: cover;
            border-radius: 8px;
        }

        .admin-message {
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .admin-message.success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .admin-message.error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        .form-actions {
            display: flex;
            gap: 10px;
            justify-content: flex-start;
        }

        /* تصميم متجاوب */
        @media (max-width: 768px) {
            .form-grid {
                grid-template-columns: 1fr;
            }
            
            .upload-areas {
                grid-template-columns: 1fr;
            }
            
            .work-item-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .secret-admin-btn {
                left: 10px;
                top: 80px;
            }
            
            .admin-control {
                left: 10px;
                top: 80px;
            }
            
            .form-actions {
                flex-direction: column;
            } }