/*
Theme Name: Amiri Group Theme
Theme URI: https://amiri-estate.ir
Author: Milad Maniei
Description: قالب اختصاصی هلدینگ ساختمانی و مشاورین املاک امیری گرمدره
Version: 1.0.0
Text Domain: amiri-group
*/

:root {
  --primary-color: #182313; /* رنگ سازمانی تیره */
  --primary-light: #24351d;
  --accent-gold: #c5a880;   /* طلایی شیک */
  --accent-gold-hover: #b09166;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --font-base: 'Vazirmatn', 'IRANYekan', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  direction: rtl;
  text-align: right;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(24, 35, 19, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid rgba(197, 168, 128, 0.2);
  transition: all 0.3s ease;
}

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

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

.logo-brand h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.logo-brand span {
  font-size: 0.75rem;
  color: var(--accent-gold);
}

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

.nav-links a {
  text-decoration: none;
  color: #e5e7eb;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.btn-contact-header {
  background: var(--accent-gold);
  color: var(--primary-color) !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700 !important;
  transition: background 0.3s ease !important;
}

.btn-contact-header:hover {
  background: var(--accent-gold-hover) !important;
}

/* Hero Slider */
.hero-slider-section {
  position: relative;
  height: 90vh;
  margin-top: 65px;
  overflow: hidden;
  background-color: var(--primary-color);
}

.slide-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
}

.slide-item.active {
  opacity: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 35, 19, 0.9) 0%, rgba(24, 35, 19, 0.65) 50%, rgba(24, 35, 19, 0.3) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
  color: #fff;
  width: 100%;
}

.slide-tag {
  display: inline-block;
  background: rgba(197, 168, 128, 0.2);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.slide-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 15px;
}

.slide-desc {
  font-size: 1.1rem;
  color: #d1d5db;
  max-width: 580px;
  margin-bottom: 25px;
}

.btn-slider {
  display: inline-block;
  text-decoration: none;
  background: var(--accent-gold);
  color: var(--primary-color);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  transition: all 0.3s;
}

.btn-slider:hover {
  background: #fff;
  transform: translateY(-2px);
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.dot.active {
  background: var(--accent-gold);
  transform: scale(1.3);
}

/* Common Section */
.section {
  padding: 90px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 50px;
}

.section-head h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.project-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(24, 35, 19, 0.06);
  border: 1px solid rgba(24, 35, 19, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(24, 35, 19, 0.12);
}

.project-thumb {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.project-body {
  padding: 20px;
}

.project-badge {
  font-size: 0.75rem;
  color: #fff;
  background: var(--primary-color);
  padding: 3px 10px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 10px;
}

.project-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.project-location {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

/* Advisors / Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.team-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid rgba(24, 35, 19, 0.08);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 15px;
}

.team-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.team-role {
  color: var(--accent-gold-hover);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.btn-advisor-call {
  display: block;
  text-decoration: none;
  background: var(--primary-color);
  color: #fff;
  padding: 9px 0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-advisor-call:hover {
  background: var(--primary-light);
}

/* Licenses */
.licenses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.license-box {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  border-top: 4px solid var(--accent-gold);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.license-box h3 {
  font-size: 1.05rem;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.license-box p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: #9ca3af;
  padding: 50px 20px 25px;
  border-top: 2px solid var(--accent-gold);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand h2 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .slide-title {
    font-size: 1.8rem;
  }
}