


.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(0, 0, 0, 0.5) 40%, 
        rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--on-primary);
    margin-top: 60px;
}

.hero-content h1 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: #ffffff !important;
}

.hero-content p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 48px;
    opacity: 0.9;
    color: #ffffff !important;
}


.search-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-end;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 1000px;
    margin: 0 auto;
}

.search-group {
    flex: 1;
    text-align: right;
}

.search-group label {
    display: block;
    color: var(--tertiary-container);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.input-wrapper {
    position: relative;
    background: var(--surface-container-highest);
    border-radius: 12px;
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    background: var(--surface-container-lowest);
    box-shadow: 0 0 0 2px var(--primary);
}

.input-wrapper input {
    border: none;
    background: transparent;
    width: 100%;
    padding: 0 12px;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 15px;
    outline: none;
    color: var(--on-surface);
}

.btn-search {
    background: var(--tertiary-container);
    color: var(--on-tertiary-container);
    height: 56px;
    padding: 0 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
}


.services {
    background-color: var(--surface-container-low);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--surface-container-lowest);
    padding: 48px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-ambient);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: var(--secondary-container);
    color: var(--primary-container);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
}


.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.property-card {
    background: var(--surface-container-lowest);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-ambient);
}

.card-image {
    position: relative;
    height: 280px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.badge.gold {
    background: var(--tertiary-container);
    color: var(--on-tertiary-container);
}

.price {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
    color: white;
    font-family: 'Cairo', sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.card-details {
    padding: 32px;
}

.location {
    color: var(--on-surface-variant);
    font-size: 14px;
    margin-bottom: 24px;
}

.card-amenities {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--on-surface-variant);
}


.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-container));
    border-radius: 32px;
    display: flex;
    overflow: hidden;
    color: white;
}

.cta-graphic {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-content {
    flex: 1.2;
    padding: 80px 60px;
}

.cta-content h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: white;
}

.cta-actions {
    display: flex;
    gap: 16px;
}

.btn-yellow {
    background: var(--tertiary-container);
    color: var(--on-tertiary-container);
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
}


@media (max-width: 1024px) {
    .search-box { flex-direction: column; align-items: stretch; }
    .services-grid, .properties-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .cta-box { flex-direction: column; }
    .services-grid, .properties-grid { grid-template-columns: 1fr; }
    .cta-content { padding: 40px 24px; }
}
