/* Home Page Styles - Şahbaz Emlak */

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(10, 10, 10, 0.85) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 80px);
}

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

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--gold);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.15;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-item span {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 400;
}

/* Services Section */
.services-section {
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-gold);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(201, 168, 76, 0.2);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-link {
  color: var(--gold);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition);
}

.service-link:hover {
  gap: 0.5rem;
  color: var(--gold-light);
}

/* Stats Section */
.stats-section {
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(201, 168, 76, 0.05) 0%, transparent 70%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-box {
  padding: 1.5rem;
}

.stat-number-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1rem;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: 3rem;
  font-family: var(--font-heading);
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}

.stat-plus {
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
  font-family: var(--font-heading);
}

.stat-label {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Featured Properties Section */
.featured-section {
  background: var(--bg-primary);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* Property Card Overrides for HTML structure */
.property-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.property-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.property-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--bg-primary);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
  box-shadow: var(--shadow);
}

.property-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 600;
}

.property-location {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.property-location::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
}

.property-details {
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

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

.property-price {
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 700;
}

.property-link {
  color: var(--gold);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.property-link:hover {
  color: var(--gold-light);
}

/* Testimonials Section */
.testimonials-section {
  background: var(--bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--glass-border);
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  font-family: var(--font-heading);
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.stars svg {
  width: 18px;
  height: 18px;
}

.testimonial-quote {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(201, 168, 76, 0.1) 0%, transparent 70%);
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

/* Section Line */
.section-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Scroll Reveal */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

body.js-loaded .reveal:not(.revealed):not(.active) {
  opacity: 0;
  transform: translateY(30px);
}

.reveal.revealed, .reveal.active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Responsive */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .hero-stat-item {
    min-width: 120px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .stat-number {
    font-size: 2.25rem;
  }
  .property-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: 60px;
  }
  .hero-badge {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
