/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.7;
    color: #2c5aa0;
    background-color: #ffffff;
    direction: rtl;
}

/* Fixed Contact Icons - أسفل على اليمين */
.fixed-contact-icons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fixed-contact-icons .whatsapp-btn,
.fixed-contact-icons .phone-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
}

.fixed-contact-icons .whatsapp-btn {
    background: linear-gradient(45deg, #25D366, #128C7E);
}

.fixed-contact-icons .phone-btn {
    background: linear-gradient(45deg, #2196f3, #1976d2);
}

.fixed-contact-icons .whatsapp-btn:hover,
.fixed-contact-icons .phone-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Hero Section - بدون تداخل */
.hero-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: #2c5aa0;
    text-align: center;
    position: relative;
    padding: 60px 0;
    margin-bottom: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.05), rgba(33, 150, 243, 0.05));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1565c0;
    text-shadow: 2px 2px 4px rgba(44, 90, 160, 0.1);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2c5aa0;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #546e7a;
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

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

/* Buttons */
.btn-whatsapp {
    background: linear-gradient(45deg, #428dea, #20b358);
    border: none;
    color: white;
    padding: 14px 32px;
    font-size: 1.1rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin: 8px 10px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
    font-weight: 600;
}

.btn-phone {
    background: linear-gradient(45deg, #2196f3, #1976d2);
    border: none;
    color: white;
    padding: 14px 32px;
    font-size: 1.1rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin: 8px 10px;
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.25);
    font-weight: 600;
}

.btn-download {
    background: linear-gradient(45deg, #ff9800, #f57c00);
    border: none;
    color: white;
    padding: 16px 40px;
    font-size: 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 152, 0, 0.25);
    animation: bounce 2s infinite;
    font-weight: 600;
}

.btn-whatsapp:hover,
.btn-phone:hover,
.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: white;
}

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

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1565c0;
    margin-bottom: 3rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #2196f3, #1976d2);
    border-radius: 2px;
}

/* Gallery Section - بدون تداخل */
.gallery-section {
    padding: 100px 0 80px 0;
    background-color: #fafafa;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.1);
    margin-bottom: 30px;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(44, 90, 160, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(33, 150, 243, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: white;
}

/* Feature Items */
.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(33, 150, 243, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid #2196f3;
}

.feature-item:hover {
    transform: translateX(10px);
    background: rgba(33, 150, 243, 0.1);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.1);
}

.feature-item i {
    font-size: 1.8rem;
    color: #1976d2;
    min-width: 35px;
}

/* Unit Cards */
.units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.unit-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.unit-card:hover {
    transform: translateY(-8px);
    border-color: #2196f3;
    box-shadow: 0 12px 30px rgba(44, 90, 160, 0.15);
}

.unit-card h4 {
    color: #1565c0;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid #e3f2fd;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(44, 90, 160, 0.15);
    border-top-color: #2196f3;
}

.service-card i {
    font-size: 3.5rem;
    color: #2196f3;
    margin-bottom: 25px;
}

.service-card h4 {
    color: #1565c0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: #546e7a;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Payment Features */
.payment-features {
    display: grid;
    gap: 25px;
    margin-top: 40px;
}

.payment-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.08);
    transition: all 0.3s ease;
    border-right: 4px solid #5698b4;
}

.payment-item:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 30px rgba(44, 90, 160, 0.15);
}

.payment-item i {
    font-size: 3rem;
    color: #4999b5;
    min-width: 70px;
}

.payment-item h4 {
    color: #1565c0;
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.payment-item p {
    color: #546e7a;
    margin: 0;
    font-size: 1rem;
}

/* Why Choose Cards */
.why-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid #4caf50;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(44, 90, 160, 0.15);
    border-top-color: #2e7d32;
}

.why-card i {
    font-size: 3.5rem;
    color: #203aa6;
    margin-bottom: 25px;
}

.why-card h4 {
    color: #1565c0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.why-card p {
    color: #546e7a;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Brochure Section */
.brochure-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
    margin: 60px 0;
    padding: 80px 0;
}

.brochure-section .section-title {
    color: #1565c0;
}

.brochure-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    background: rgba(255,255,255,0.8);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.1);
}

.benefit-item i {
    font-size: 1.8rem;
    color: #3163be;
    min-width: 35px;
}

.benefit-item span {
    color: #2c5aa0;
    font-weight: 500;
}

/* Section Spacing - بدون تداخل */
.location-section,
.developer-section,
.units-section,
.services-section,
.payment-section,
.why-choose-section {
    padding: 80px 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.location-section {
    background-color: #ffffff;
}

.developer-section {
    background-color: #fafafa;
}

.units-section {
    background-color: #ffffff;
}

.services-section {
    background-color: #fafafa;
}

.payment-section {
    background-color: #ffffff;
}

.why-choose-section {
    background-color: #fafafa;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1565c0, #1976d2) !important;
    margin-top: 0;
    padding: 40px 0;
}

.footer-contact a {
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #25D366 !important;
}

/* Additional Improvements */
.container {
    max-width: 1200px;
}

.lead {
    color: #546e7a;
    font-size: 1.1rem;
    line-height: 1.7;
}

.cta-buttons {
    margin-top: 2rem;
}

.cta-buttons .btn {
    margin: 0 8px 15px 8px;
}

/* Image placeholders */
img {
    max-width: 100%;
    height: auto;
}

.location-image img,
.developer-image img,
.units-image img {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.1);
}

/* Text improvements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

p {
    color: #546e7a;
    line-height: 1.7;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f8f9ff;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #2196f3, #1976d2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #1976d2, #1565c0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .fixed-contact-icons {
        right: 15px;
        bottom: 15px;
    }
    
    .fixed-contact-icons .whatsapp-btn,
    .fixed-contact-icons .phone-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .btn-whatsapp,
    .btn-phone {
        padding: 12px 24px;
        font-size: 1rem;
        margin: 8px 5px;
    }
    
    .btn-download {
        padding: 14px 32px;
        font-size: 1.1rem;
    }
    
    .gallery-item img {
        height: 220px;
    }
    
    .gallery-section {
        padding: 80px 0 60px 0;
    }
    
    .units-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .brochure-benefits {
        grid-template-columns: 1fr;
    }
    
    .payment-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .location-section,
    .developer-section,
    .units-section,
    .services-section,
    .payment-section,
    .why-choose-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 50vh;
        padding: 30px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-whatsapp,
    .btn-phone,
    .btn-download {
        width: 100%;
        margin: 8px 0;
        padding: 14px 20px;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .service-card,
    .unit-card,
    .why-card {
        padding: 25px 20px;
    }
    
    .payment-item {
        padding: 20px;
    }
    
    .location-section,
    .developer-section,
    .units-section,
    .services-section,
    .payment-section,
    .why-choose-section {
        padding: 50px 0;
    }
    
    .fixed-contact-icons {
        right: 10px;
        bottom: 10px;
    }
}

/* Developer Logo Styling */
.developer-image {
    padding: 20px;
}

.developer-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.15);
    margin: 0 auto;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.developer-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(44, 90, 160, 0.2);
}

@media (max-width: 768px) {
    .developer-logo {
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .developer-logo {
        max-width: 200px;
    }
} 