@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Vazirmatn', sans-serif; direction: rtl; line-height: 1.6; }

.container { max-width: 1200px; margin: 0 auto; width: 90%; }

.gold { color: #c5a059; }



/* --- استایل هدر --- */
.navbar {
    position: absolute;
    top: 0; width: 100%;
    z-index: 10;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo { color: #c5a059; font-size: 1.8rem; font-weight: bold; letter-spacing: 1px; }
.navbar ul { display: flex; list-style: none; gap: 30px; }
.navbar ul li a { color: white; text-decoration: none; font-size: 0.95rem; transition: 0.3s; }
.navbar ul li a:hover { color: #c5a059; }
.nav-call-btn {
    background: #c5a059; color: white;
    padding: 12px 25px; border-radius: 50px;
    text-decoration: none; font-weight: bold; font-size: 0.9rem;
    transition: 0.3s;
}
.nav-call-btn:hover { background: #a68545; transform: scale(1.05); }

/* --- استایل هیرو (بخش اصلی) --- */
.hero {
    height: 100vh;
    background: url('bg-villa.jpg') no-repeat center center / cover;
    display: flex; align-items: center; position: relative;
    overflow: hidden;
}
.overlay { position: absolute; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }

.main-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    z-index: 1; 
    color: white; 
    gap: 40px;
}

.hero-text { width: 55%; }
.hero-text h1 { font-size: 3.2rem; margin-bottom: 25px; line-height: 1.3; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero-text p { font-size: 1.2rem; margin-bottom: 30px; color: #eee; }

.stats { display: flex; gap: 40px; margin-top: 40px; }
.stat-item { font-size: 0.9rem; color: #ccc; }
.stat-item b { display: block; font-size: 1.8rem; color: #c5a059; margin-bottom: 5px; }

/* --- استایل اصلاح شده فیلدها و فرم شیشه‌ای --- */
.glass-form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 25px;
    width: 400px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    text-align: center;
}

.glass-form-container h3 { font-size: 1.6rem; margin-bottom: 10px; color: #fff; }
.glass-form-container p { font-size: 0.9rem; margin-bottom: 25px; color: #ddd; }

.glass-form-container input {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: 'Vazirmatn';
    outline: none;
    transition: 0.3s;
}

.glass-form-container input::placeholder { color: rgba(255, 255, 255, 0.6); }
/* اصلاح فونت دکمه و ورودی‌ها */
.glass-form-container input,
.btn-form {
    font-family: 'Vazirmatn', sans-serif !important; /* اجبار به استفاده از فونت فارسی */
}

.btn-form {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #c5a059 0%, #a68545 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700; /* ضخامت بیشتر برای فونت فارسی */
    font-size: 1.15rem; /* کمی بزرگتر برای خوانایی بهتر فارسی */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
    display: inline-block;
    text-align: center;
}

.btn-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.5);
    filter: brightness(1.1);
}

.form-footer { margin-top: 15px; font-size: 0.8rem; color: #ffbcbc; }

/* --- استایل فوتر --- */
.footer { background: #111; color: #999; padding: 60px 0 20px; border-top: 2px solid #c5a059; }
.footer-wrapper { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.footer h4 { color: white; margin-bottom: 25px; border-bottom: 2px solid #c5a059; padding-bottom: 5px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; }
.footer ul li a { color: #999; text-decoration: none; transition: 0.3s; }
.footer ul li a:hover { color: #c5a059; padding-right: 8px; }
.copyright { text-align: center; margin-top: 50px; padding-top: 20px; border-top: 1px solid #222; font-size: 0.8rem; }

/* --- موبایل --- */
@media (max-width: 992px) {
    .main-content { flex-direction: column; text-align: center; padding-top: 120px; height: auto; padding-bottom: 50px;}
    .hero { height: auto; min-height: 100vh; }
    .hero-text { width: 100%; }
    .hero-text h1 { font-size: 2.5rem; }
    .stats { justify-content: center; margin-bottom: 40px; }
    .glass-form-container { width: 100%; }
    .navbar ul { display: none; }
}
