:root {
  --gold-primary: #d4af37;
  --gold-secondary: #ffd700;
  --gold-dark: #b8860b;
  --luxury-dark: #1a1a1a;
  --luxury-light: #2d2d2d;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: "Vazir", sans-serif;
  overflow-x: hidden;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(
    135deg,
    var(--luxury-dark) 0%,
    #2d1b69 50%,
    var(--gold-dark) 100%
  );
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" style="stop-color:%23FFD700;stop-opacity:0.1"/><stop offset="100%" style="stop-color:%23D4AF37;stop-opacity:0.05"/></radialGradient></defs><circle cx="500" cy="500" r="500" fill="url(%23a)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(
    45deg,
    var(--gold-secondary),
    var(--gold-primary),
    #fff
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-buttons .btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  margin: 0 0.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-primary-custom {
  background: linear-gradient(
    135deg,
    var(--gold-primary),
    var(--gold-secondary)
  );
  color: #1a1a1a;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  color: #1a1a1a;
}

.btn-outline-custom {
  border: 2px solid var(--gold-primary);
  color: var(--gold-primary);
  background: transparent;
}

.btn-outline-custom:hover {
  background: var(--gold-primary);
  color: #1a1a1a;
  transform: translateY(-3px);
}

/* Features Section */
.features-section {
  padding: 100px 0;
  background: #fff;
}

.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--gold-primary),
    var(--gold-secondary)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: #1a1a1a;
}

/* Stats Section */
.stats-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--luxury-dark), var(--luxury-light));
  color: white;
}

.stat-number {
  color: var(--gold-secondary);
  margin-bottom: 0.5rem;
}

.stat-number i {
  color: var(--gold-secondary);
  filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.about-content {
  background: #fff;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
  background: var(--luxury-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold-primary);
}

/* Animations */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .feature-card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  .hero-content {
    padding: 40px 0;
  }

  .feature-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .stat-number i {
    font-size: 2.5rem !important;
  }

  .about-content {
    padding: 2rem 1.5rem;
  }

  .contact-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 60px 0 40px;
  }

  .hero-content {
    padding: 20px 0;
    min-height: auto;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin: 0.4rem 0;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }
}

/* Hero cards responsive */
.hero-section .row.g-3 .col-4 {
  padding: 0.2rem;
}

.hero-section .bg-white.bg-opacity-10 {
  padding: 0.6rem !important;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px !important;
}

.hero-section .fa-2x {
  font-size: 1.1rem !important;
  margin-bottom: 0.2rem !important;
}

.hero-section .h6 {
  font-size: 0.7rem !important;
  margin-bottom: 0;
  line-height: 1.2;
  font-weight: 600;
}

.feature-card {
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.stat-number i {
  font-size: 2rem !important;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
}

.about-content {
  padding: 1.5rem 1rem;
  margin-bottom: 2rem;
}

.about-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.about-content .lead {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contact-card {
  padding: 1.25rem;
}

.contact-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  margin: 0.5rem 0;
  text-align: center;
}

.footer-links {
  text-align: center;
  margin-bottom: 1rem;
}

/* Footer mobile adjustments */
.footer .row:last-child {
  flex-direction: column;
  gap: 1rem;
}

.footer .row:last-child .col-md-6 {
  text-align: center;
  width: 100%;
}

.footer .row:last-child .col-md-6:first-child .footer-links {
  order: 1;
}

.footer .row:last-child .col-md-6:last-child {
  order: 2;
  margin-top: 1rem;
}

@media (max-width: 480px) {
  .hero-section {
    padding: 50px 0 30px;
  }

  .hero-title {
    font-size: 1.6rem;
    margin-bottom: 0.7rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .hero-content {
    padding: 15px 0;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .navbar-brand {
    font-size: 1.1rem;
  }

  .navbar-brand .small {
    font-size: 0.8rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  .lead {
    font-size: 0.95rem;
  }
}

/* Navigation responsive improvements */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(26, 26, 26, 0.95);
    border-radius: 0 0 10px 10px;
    padding: 1rem;
    margin-top: 0.5rem;
  }

  .navbar-nav {
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .navbar-nav .nav-item {
    text-align: center;
    margin-bottom: 0.75rem;
    width: 100%;
    display: block;
  }

  .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0.75rem 1rem;
    display: block;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: center;
  }

  .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffd700 !important;
  }

  .navbar-nav .btn {
    width: 100%;
    margin: 0.25rem 0;
    display: block !important;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    text-align: center;
  }

  /* Remove margin in mobile menu */
  @media (max-width: 991px) {
    .navbar-nav .btn {
      margin-left: 0 !important;
      margin-right: 0 !important;
    }
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1rem;
  }

  .navbar-brand i {
    font-size: 1rem;
  }

  .navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
  }
}
