:root {
    --primary-color: #1a3c5e;
    /* Deep Blue */
    --secondary-color: #c5a059;
    /* Gold */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark-overlay: rgba(0, 0, 0, 0.6);
    --transition: all 0.3s ease;
    --font-main: 'Cairo', sans-serif;
    --font-heading: 'Tajawal', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    direction: rtl;
    text-align: right;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
    color: #666;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--light-bg);
}

.mt-4 {
    margin-top: 2rem;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-whatsapp,
.btn-phone,
.btn-submit {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b08d45;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.logo .highlight {
    color: var(--secondary-color);
}

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

.nav-links a {
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
}

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

.nav-links .btn-primary {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('../images/image-1.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 60px;
    /* Navbar height */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 60, 94, 0.8), rgba(26, 60, 94, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.badge {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Features Section */
.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

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

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.feature-card .icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Building Info */
.row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.col-text,
.col-img {
    flex: 1;
}

.info-list {
    margin-top: 2rem;
}

.info-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.info-list i {
    color: var(--secondary-color);
}

.rounded-img {
    border-radius: 10px;
    width: 100%;
}

.shadow-lg {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    display: block;
}

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

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

.gallery .btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.gallery .btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Location */
.reverse-mobile {
    flex-direction: row;
}

.map-placeholder {
    height: 400px;
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.location-list {
    margin-top: 2rem;
}

.location-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.location-list i {
    width: 40px;
    height: 40px;
    background-color: rgba(197, 160, 89, 0.1);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Contact */
.contact {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.contact-card {
    background-color: var(--white);
    color: var(--text-color);
    padding: 50px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.price-tag {
    margin-bottom: 2rem;
}

.price-tag span {
    display: block;
    font-size: 1rem;
    color: #888;
}

.price-tag h3 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin: 0.5rem 0;
}

.price-tag .note {
    color: #28a745;
    font-weight: 600;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.btn-phone {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-phone:hover {
    background-color: #132f4a;
}

.contact-form {
    max-width: 500px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-main);
    font-size: 1rem;
}

.contact-form .btn-submit {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Footer */
footer {
    background-color: #111;
    color: #888;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .row {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }

    .hero {
        margin-top: 60px;
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .row {
        flex-direction: column;
    }

    .reverse-mobile {
        flex-direction: column-reverse;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .price-tag h3 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .map-placeholder {
        height: 300px;
    }
}

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

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

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

    .contact-actions {
        flex-direction: column;
    }

    .btn-whatsapp,
    .btn-phone {
        width: 100%;
    }
}