@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&family=Tajawal:wght@300;400;500;700;900&display=swap');

:root {
    --bg-dark: #090d16;
    --bg-card: rgba(17, 24, 39, 0.75);
    --border-color: rgba(212, 175, 55, 0.2);
    --color-gold: #d4af37;
    --color-gold-hover: #f3e5ab;
    --color-emerald: #10b981;
    --color-text-primary: #f3f4f6;
    --color-text-secondary: #9ca3af;
    --font-primary: 'Cairo', 'Tajawal', sans-serif;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

/* Base Layout & Containers */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}

/* Typography & Titles */
h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--color-text-primary);
}

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

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: 15px auto 0 auto;
}

.section-title span {
    color: var(--color-gold);
}

.text-gold {
    color: var(--color-gold);
}

.text-emerald {
    color: var(--color-emerald);
}

/* Header & Nav */
header {
    background: rgba(9, 13, 22, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--color-gold);
    animation: rotateLogo 10s linear infinite;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--color-gold);
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-gold);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(9, 13, 22, 0.95), rgba(9, 13, 22, 0.7)), url('2.jpeg') no-repeat center center/cover;
    padding-top: 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.08), transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    padding: 20px;
    z-index: 10;
}

.hero-subtitle {
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
    display: inline-block;
    border-bottom: 2px solid var(--color-gold);
    padding-bottom: 5px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.3;
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero h1 span {
    background: linear-gradient(90deg, var(--color-gold), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), #b38f1d);
    color: #000;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-gold-hover), var(--color-gold));
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-gold);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25d366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}

/* Quick Stats Section */
.quick-stats {
    background: linear-gradient(180deg, var(--bg-dark), #0d121f);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--border-color);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 5px;
}

.stat-unit {
    font-size: 0.9rem;
    color: var(--color-gold);
    font-weight: 600;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-top: 5px;
}

.price-card {
    border: 1px solid var(--color-gold) !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(17, 24, 39, 0.8)) !important;
}

.price-card .stat-number {
    color: var(--color-gold);
    font-size: 2.5rem;
}

/* About / Overview Section */
.about {
    background: #0d121f;
}

.about-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.about-content {
    flex: 1 1 500px;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--color-gold);
}

.about-content p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 25px;
    text-align: justify;
}

.about-list {
    list-style: none;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    margin-bottom: 15px;
    color: var(--color-text-primary);
}

.about-list i {
    color: var(--color-gold);
    font-size: 1.2rem;
}

.about-image {
    flex: 1 1 450px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid var(--border-color);
}

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

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

/* Interactive Maps & Organogram */
.gallery {
    background: var(--bg-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.gallery-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.gallery-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color);
}

.gallery-img-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    cursor: zoom-in;
}

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

.gallery-card:hover .gallery-img-wrapper img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.zoom-btn {
    background: rgba(212, 175, 55, 0.9);
    color: #000;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.gallery-info {
    padding: 25px;
    text-align: center;
}

.gallery-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.gallery-info p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Zones & Project Sections */
.zones {
    background: #0d121f;
}

.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.zone-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.zone-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.02));
    pointer-events: none;
}

.zone-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color);
    box-shadow: 0 20px 45px rgba(212, 175, 55, 0.08);
}

.zone-icon {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.zone-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.zone-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Investment CTA Section */
.invest-section {
    background: linear-gradient(135deg, rgba(9, 13, 22, 0.98), rgba(13, 18, 31, 0.95)), url('2.jpeg') no-repeat center center/cover;
    position: relative;
}

.invest-wrapper {
    display: flex;
    gap: 50px;
    align-items: stretch;
    flex-wrap: wrap;
}

.invest-info {
    flex: 1 1 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.invest-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.invest-info p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    text-align: justify;
}

.highlight-box {
    background: rgba(212, 175, 55, 0.08);
    border-right: 4px solid var(--color-gold);
    padding: 20px;
    border-radius: 4px 12px 12px 4px;
    margin-bottom: 30px;
}

.highlight-box p {
    margin: 0;
    font-weight: 600;
    color: var(--color-text-primary);
}

.invest-form-wrapper {
    flex: 1 1 450px;
    background: rgba(17, 24, 39, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    backdrop-filter: blur(15px);
}

.invest-form-wrapper h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(9, 13, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(9, 13, 22, 0.9);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

textarea.form-control {
    resize: none;
    height: 120px;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 13, 22, 0.95);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    border: 1px solid var(--border-color);
}

.lightbox-caption {
    color: var(--color-text-primary);
    text-align: center;
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.lightbox-close {
    position: absolute;
    top: -45px;
    left: 0;
    color: var(--color-text-primary);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--color-gold);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    text-decoration: none;
    animation: floatAnimation 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #20ba5a;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* Success Popup */
.success-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--bg-card);
    border: 1px solid var(--color-gold);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    z-index: 1001;
    transform: translateY(150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 15px;
}

.success-popup.show {
    transform: translateY(0);
}

.success-icon {
    font-size: 2rem;
    color: var(--color-emerald);
}

.success-text h4 {
    color: var(--color-gold);
    margin-bottom: 3px;
    font-size: 1.1rem;
}

.success-text p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Footer */
footer {
    background: #060910;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--color-gold);
}

.footer-desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
}

/* Animations */
@keyframes rotateLogo {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .container {
        padding: 60px 0;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .about-wrapper, .invest-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .about-content, .about-image, .invest-info, .invest-form-wrapper {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Can be simplified for landing page or added as toggle, but since it's a simple landing page, removing it for cleaner mobile UI */
    }
    .hero {
        text-align: center;
    }
    .hero h1 {
        font-size: 2.1rem;
    }
    .hero-desc {
        font-size: 1.05rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
}
