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

body {
    font-family: 'Cairo', Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #ffffff;
    direction: rtl;
    text-align: right;
    padding-top: 70px; /* مساحة لشريط التنقل الثابت */
}

/* شريط التنقل */
.navigation-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h2 {
    color: #d4af37;
    font-size: 1.3rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

/* قائمة المشاريع المنسدلة */
.projects-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

.projects-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 250px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 3000;
    max-height: 400px;
    overflow-y: auto;
}

.projects-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #d4af37;
    padding-right: 25px;
}

.dropdown-item:last-child {
    border-bottom: none;
}

/* قائمة الهاتف المحمول */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #d4af37;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

/* الشريط الثابت للتواصل */
.contact-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.contact-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.contact-btn i {
    font-size: 1.5rem;
    z-index: 2;
}

.contact-btn .btn-text {
    position: absolute;
    right: 70px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.contact-btn:hover .btn-text {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-btn {
    background: #25D366;
}

.whatsapp-btn:hover {
    background: #1fa851;
    transform: translateY(-2px);
}

.call-btn {
    background: #f4a460;
}

.call-btn:hover {
    background: #e6935a;
    transform: translateY(-2px);
}

/* الهيدر */
.header {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
    padding: 80px 0 40px;
    text-align: center;
}

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

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #d4af37;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin: 10px;
}

.cta-button:hover {
    background: #b8941f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212,175,55,0.4);
}

/* قسم عن الشركة */
.about-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* قسم أحدث العروض */
.offers-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
}

.offer-content {
    max-width: 900px;
    margin: 0 auto;
}

.offer-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.offer-icon {
    font-size: 4rem;
    color: #ffffff;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.offer-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.offer-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

.offer-btn {
    display: inline-block;
    background: #d4af37;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(212,175,55,0.3);
}

.offer-btn:hover {
    background: #b8941f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212,175,55,0.4);
}

.offer-btn i {
    margin-left: 10px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #000;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: #d4af37;
    margin: 20px auto;
}

.about-content {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

/* قسم المشاريع */
.projects-section {
    padding: 80px 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #d4af37;
}

.project-header {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
    padding: 20px;
    text-align: center;
}

.project-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* معرض الصور */
.project-gallery {
    position: relative;
    margin-bottom: 20px;
}

.main-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

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

.gallery-thumbnails {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
}

.thumbnail {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0.7;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: #d4af37;
    transform: scale(1.1);
}

.gallery-counter {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.zoom-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zoom-icon:hover {
    background: rgba(0,0,0,0.9);
    transform: scale(1.1);
}

.project-content {
    padding: 25px;
}

.project-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #666;
}

.payment-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-right: 4px solid #d4af37;
}

.payment-info h4 {
    color: #d4af37;
    margin-bottom: 10px;
}

.payment-info ul {
    list-style: none;
    padding: 0;
}

.payment-info li {
    padding: 5px 0;
    color: #555;
}

.project-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.project-btn {
    flex: 1;
    max-width: 150px;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.whatsapp-project-btn {
    background: #25D366;
    color: white;
}

.whatsapp-project-btn:hover {
    background: #1fa851;
}

.call-project-btn {
    background: #f4a460;
    color: white;
}

.call-project-btn:hover {
    background: #e6935a;
}

/* مودال الصورة الكبيرة */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

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

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

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-nav:hover {
    background: white;
}

.modal-prev {
    right: -70px;
}

.modal-next {
    left: -70px;
}

.modal-info {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    color: white;
    text-align: center;
    font-size: 1rem;
}

/* تأثيرات تحميل الصور */
.image-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 2s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.image-error {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
    border: 2px dashed #ddd;
}

/* البوب أب */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: popupAnimation 0.3s ease-out;
}

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

.popup-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #f0f0f0;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: #666;
}

.popup-close:hover {
    background: #ddd;
}

.popup-title {
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.popup-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.popup-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.popup-btn {
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.popup-whatsapp {
    background: #25D366;
    color: white;
}

.popup-whatsapp:hover {
    background: #1fa851;
}

.popup-call {
    background: #f4a460;
    color: white;
}

.popup-call:hover {
    background: #e6935a;
}

/* الفوتر */
.footer {
    background: #f8f9fa;
    color: #000;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 80px;
    border-top: 2px solid #d4af37;
}

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

.footer-section h3 {
    color: #d4af37;
    margin-bottom: 15px;
}

.footer-section p,
.footer-section a {
    color: #333;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: #d4af37;
}

.footer-bottom {
    border-top: 1px solid #d4af37;
    padding-top: 20px;
    text-align: center;
    color: #666;
}

/* التصميم المتجاوب */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    /* شريط التنقل للهاتف */
    .nav-content {
        padding: 10px 0;
    }
    
    .logo h2 {
        font-size: 1.1rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-radius: 0 0 10px 10px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
        border-radius: 0;
    }
    
    .projects-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* قسم العروض للهاتف */
    .offer-card {
        padding: 30px 20px;
    }
    
    .offer-icon {
        font-size: 3rem;
    }
    
    .offer-text h3 {
        font-size: 1.5rem;
    }
    
    .offer-text p {
        font-size: 1rem;
    }
    
    /* الشريط الثابت للهاتف */
    .contact-bar {
        bottom: 15px;
        right: 15px;
    }
    
    .contact-btn {
        width: 55px;
        height: 55px;
    }
    
    .contact-btn i {
        font-size: 1.3rem;
    }
    
    .contact-btn .btn-text {
        right: 65px;
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .popup-content {
        padding: 30px 20px;
    }
    
    .popup-actions {
        flex-direction: column;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .main-image-container {
        height: 200px;
    }
    
    .gallery-thumbnails {
        flex-wrap: wrap;
    }
    
    .thumbnail {
        width: 60px;
        height: 40px;
    }
    
    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .modal-prev {
        right: -60px;
    }
    
    .modal-next {
        left: -60px;
    }
}

/* إضافات للتحسين */
.highlight {
    color: #d4af37;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.icon {
    font-size: 1.2rem;
    margin-left: 5px;
}

/* تحسينات البصمة البصرية */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f4a460);
}

.bounce {
    animation: bounce 2s infinite;
}

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

/* تحسينات الحركة للأزرار */
.pulse-animation {
    animation: pulseButton 2s infinite;
}

.shake-animation {
    animation: shakeButton 3s infinite;
}

@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes shakeButton {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-2px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(2px);
    }
}

/* تحسينات إضافية للأزرار */
.whatsapp-btn:hover,
.whatsapp-project-btn:hover {
    animation: none;
    transform: scale(1.1) !important;
}

.call-btn:hover,
.call-project-btn:hover {
    animation: none;
    transform: scale(1.1) !important;
}

/* تحسين التنقل السلس */
html {
    scroll-behavior: smooth;
}

/* تأثير التمرير للشريط العلوي */
.navigation-bar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

/* أقسام سيتي إيدج الجديدة */
.city-edge-section {
    background: #ffffff;
}

.why-choose-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #d4af37;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
}

.feature-card h3 {
    color: #000;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p {
    color: #333;
    line-height: 1.6;
}



/* تحديث الألوان الذهبية */
.highlight {
    color: #10100f;
    font-weight: 700;
}

.section-title {
    color: #000;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    border-radius: 2px;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #d4af37;
    padding-right: 25px;
}

/* استجابة للهواتف المحمولة للأقسام الجديدة */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
} 