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

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

body {
    font-family: 'Heebo', 'Segoe UI', Tahoma, Arial, sans-serif;
    line-height: 1.6;
    color: #2d3436;
    background: #fff;
    direction: rtl;
}

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

ul {
    list-style: none;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: #fff;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #c8a45c, #1a3a5c, #c8a45c) 1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    gap: 8px;
}

.nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #4a5568;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #1a3a5c;
    background: rgba(26, 58, 92, 0.08);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 14px;
    left: 14px;
    height: 2px;
    background: #c8a45c;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav a:hover::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1a3a5c;
}

/* Hero */
.hero {
    margin-top: 77px;
    background: linear-gradient(135deg, #1a3a5c 0%, #234b6e 50%, #2d6187 100%);
    color: #fff;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(200, 164, 92, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    text-align: right;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 12px;
}

.hero-tagline {
    font-size: 1.15rem;
    opacity: 0.8;
    border-right: 3px solid #c8a45c;
    padding-right: 15px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background: linear-gradient(180deg, #f8f9fa 0%, #edf2f7 100%);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #c8a45c, #1a3a5c);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* Property Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.property-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(26, 58, 92, 0.15);
}

.property-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.placeholder-img {
    background: linear-gradient(135deg, #dfe6e9, #b2bec3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #636e72;
    font-size: 1.1rem;
}

.property-info {
    padding: 20px;
}

.property-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 8px;
}

.property-location {
    color: #636e72;
    margin-bottom: 5px;
}

.property-rooms {
    color: #636e72;
    margin-bottom: 15px;
}

.btn-details {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #1a3a5c, #2d6187);
    color: #fff;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-details:hover {
    background: linear-gradient(135deg, #c8a45c, #b8944c);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200, 164, 92, 0.3);
}

/* Sold Badge */
.sold-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* More Button */
.btn-more {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 12px 35px;
    background: transparent;
    border: 2px solid #1a3a5c;
    color: #1a3a5c;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-more:hover {
    background: #1a3a5c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 58, 92, 0.25);
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.team-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 58, 92, 0.12);
}

.team-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid #c8a45c;
}

.team-card h3 {
    font-size: 1.2rem;
    color: #1a3a5c;
}

/* About */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.about-list li {
    padding: 14px 0;
    padding-right: 30px;
    position: relative;
    font-size: 1.1rem;
    color: #4a5568;
    border-bottom: 1px solid #edf2f7;
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: #c8a45c;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-top: 3px solid #c8a45c;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.placeholder-img-small {
    background: linear-gradient(135deg, #dfe6e9, #b2bec3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #636e72;
    font-size: 0.8rem;
}

.testimonial-quote {
    font-style: italic;
    color: #4a5568;
    margin-bottom: 12px;
    line-height: 1.5;
}

.testimonial-name {
    font-weight: 600;
    color: #1a3a5c;
    margin-bottom: 4px;
}

.testimonial-type {
    font-size: 0.85rem;
    color: #636e72;
}

/* Contact */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #4a5568;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-contact {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-call {
    background: linear-gradient(135deg, #1a3a5c, #2d6187);
    color: #fff;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a3a5c 0%, #0f2a42 100%);
    color: #fff;
    text-align: center;
    padding: 25px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-open {
        display: flex;
    }

    .nav a {
        padding: 12px 10px;
        border-bottom: 1px solid #edf2f7;
    }

    .nav a::after {
        display: none;
    }

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

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-tagline {
        border-right: none;
        padding-right: 0;
    }

    .hero-image img {
        max-height: 250px;
    }

    .cards-grid,
    .team-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 60px 20px;
    }

    .section {
        padding: 50px 0;
    }
}
