:root {
    --primary-color: #0B1F35;
    --luxury-gold: #C9A14A;
    --white: #FFFFFF;
    --bg-light: #F7F8FA;
    --dark-text: #222222;
    --gray-text: #666666;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(10px);
    --transition: all 0.3s ease;
    --shadow-luxury: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Cairo', 'Poppins', sans-serif;
    color: var(--dark-text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

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

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

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

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

.btn-gold {
    background-color: var(--luxury-gold);
    color: var(--white);
}

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

.btn-dark:hover {
    background-color: #163a61;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

.header.scrolled {
    background-color: rgba(11, 31, 53, 0.95);
    backdrop-filter: var(--glass-blur);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--luxury-gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
}

.lang-switcher {
    cursor: pointer;
    border: 1px solid var(--white);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.btn-call, .btn-whatsapp {
    padding: 8px 12px;
    font-size: 18px;
}

.btn-whatsapp {
    color: #25D366;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
}

.stat-card span {
    font-size: 36px;
    font-weight: 700;
    color: var(--luxury-gold);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--white);
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    border-radius: 50%;
    animation: scroll-ani 2s infinite;
}

@keyframes scroll-ani {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

/* Search Box */
.search-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-luxury);
}

.search-box {
    padding: 30px;
    border-radius: 12px;
}

.search-tabs {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    padding: 10px 25px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-text);
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--luxury-gold);
}

.search-fields {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: flex-end;
}

.field-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.field-group input, .field-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}

/* Property Cards */
.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

.property-img {
    position: relative;
    height: 250px;
}

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

.property-card:hover .property-img img {
    transform: scale(1.1);
}

.property-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 4px;
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    background: rgba(11, 31, 53, 0.7);
}

.fav-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--luxury-gold);
}

.property-info {
    padding: 25px;
}

.property-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.location {
    color: var(--gray-text);
    font-size: 14px;
    margin-bottom: 15px;
}

.property-meta {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--gray-text);
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.price small {
    font-size: 12px;
    font-weight: 400;
}

.btn-link {
    color: var(--luxury-gold);
    font-weight: 600;
    font-size: 14px;
}

/* Investment Section */
.investment {
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.investment h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.inv-list {
    margin: 30px 0;
}

.inv-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.inv-list i {
    color: var(--luxury-gold);
}

.inv-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    width: 150px;
}

.stat-box span {
    font-size: 36px;
    font-weight: 700;
    display: block;
    color: var(--luxury-gold);
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-luxury);
}

.feature-card i {
    font-size: 48px;
    color: var(--luxury-gold);
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--luxury-gold);
}

.footer-links h4, .footer-contact h4, .footer-newsletter h4 {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-contact h4::after, .footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: var(--luxury-gold);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px;
    border-radius: 4px;
    border: none;
    flex: 1;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* Back to top */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--luxury-gold);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: none;
    z-index: 100;
}

/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(201, 161, 74, 0.3);
    border-radius: 50%;
    border-top-color: var(--luxury-gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
