:root {
    --primary: #0f172a;
    --accent: #00acc1;
    --light-bg: #f8fafc;
    --text-color: #334155;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

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

/* --- اللوجو التحفة الجديد --- */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.02);
}

.logo-badge-modern {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0f172a, #00838f);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #4dd0e1;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 131, 143, 0.3);
    border: 1px solid rgba(77, 208, 225, 0.4);
}

.logo-info {
    display: flex;
    flex-direction: column;
}

.logo-brand-name {
    font-size: 24px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: 1.5px;
    line-height: 1;
}

.logo-brand-name span {
    color: var(--accent);
}

.logo-brand-desc {
    font-size: 10px;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.cta-btn {
    background-color: var(--accent);
    color: white;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #00838f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 172, 193, 0.3);
}

/* --- الأنيماشن (Animation) --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero, .page-header, .about-content, .contact-container {
    animation: fadeIn 0.8s ease-out;
}

.page-header {
    height: 40vh;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 70px;
    padding: 0 20px;
}

.page-header h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-header p {
    color: #cbd5e1;
    font-size: 16px;
}

.hero {
    height: 90vh;
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    margin-top: 70px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    max-width: 800px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    color: #cbd5e1;
}

.search-box {
    background: white;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 900px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.search-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: right;
}

.search-field label {
    font-size: 13px;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 5px;
}

.search-field select, .search-field input {
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
}

.search-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 22px;
}

.search-btn:hover {
    background-color: var(--accent);
}

.properties-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary);
    font-weight: 800;
}

.section-title p {
    color: #64748b;
    margin-top: 8px;
}

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

.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
}

.property-img {
    height: 230px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.property-card:hover .property-img {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

.property-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: white;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
}

.property-content {
    padding: 20px;
}

.property-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.property-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.property-location {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 15px;
}

.property-features {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
    color: #64748b;
    font-size: 13px;
}

/* صفحة من نحن */
.about-content {
    max-width: 1000px;
    margin: 60px auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.about-content h3 {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 15px;
}

.about-content p {
    color: #475569;
    margin-bottom: 20px;
    font-size: 16px;
}

/* صفحة اتصل بنا */
.contact-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.form-group label {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
}

.form-group input, .form-group textarea {
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent);
}

.submit-btn {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #00838f;
    transform: translateY(-2px);
}

footer {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 80px;
}

@media(max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .search-box { flex-direction: column; }
    .nav-links { display: none; }
}

/* أزرار الاتصال والواتساب العائمة */
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1001;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.float-btn:hover {
    background: #00838f;
    transform: translateY(-3px);
}
