/* =========================================
   Verde Emlak — pages.css
   Sayfa-özel stiller
   ========================================= */

/* =====================
   ANASAYFA — HERO
   ===================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--navbar-height);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1920&q=80');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18, 46, 32, 0.88) 0%,
    rgba(26, 71, 49, 0.75) 50%,
    rgba(45, 106, 79, 0.60) 100%
  );
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  max-width: 760px;
  margin-bottom: 3rem;
}
.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(200,169,110,0.2);
  border: 1px solid rgba(200,169,110,0.4);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 1.5rem;
}
.hero__label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 5.5vw, 4rem);
}
.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
  position: relative;
}
.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.25rem;
  max-width: 540px;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__search {
  position: relative;
  z-index: 2;
}

/* =====================
   ANASAYFA — STATS
   ===================== */
.stats-section {
  background: var(--color-white);
  padding: 0;
  margin-top: -2px;
}
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}
.stats-bar .stat-card {
  background: var(--color-white);
  border-right: 1px solid var(--color-border);
  padding: 2.25rem 1.5rem;
}
.stats-bar .stat-card:last-child { border-right: none; }
@media (max-width: 768px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); border-radius: var(--radius-lg); margin-top: -2rem; }
  .stats-bar .stat-card:nth-child(2) { border-right: none; }
  .stats-bar .stat-card:nth-child(1),
  .stats-bar .stat-card:nth-child(2) { border-bottom: 1px solid var(--color-border); }
}
@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
}

/* =====================
   ANASAYFA — WHY US
   ===================== */
.why-us {
  background: var(--color-light);
}
.why-us__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-us__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-xl);
}
.why-us__image img { width: 100%; height: 100%; object-fit: cover; }
.why-us__image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(26,71,49,0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.why-us__image-badge__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-us__image-badge__icon svg { width: 24px; height: 24px; color: var(--color-white); }
.why-us__image-badge strong { display: block; font-size: 1.1rem; }
.why-us__image-badge span { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

.why-us__content .label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.why-us__content h2 { margin-bottom: 1.25rem; }
.why-us__content > p { margin-bottom: 2rem; }
.why-us__list { display: flex; flex-direction: column; gap: 1rem; }
.why-us__item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.why-us__check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(26,71,49,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 1px;
}
.why-us__check svg { width: 13px; height: 13px; }
.why-us__item-text h4 { font-size: 0.95rem; margin-bottom: 0.15rem; font-family: var(--font-body); font-weight: 600; }
.why-us__item-text p { font-size: 0.85rem; }

@media (max-width: 768px) {
  .why-us__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-us__image { aspect-ratio: 16/9; }
}

/* =====================
   ANASAYFA — FEATURED
   ===================== */
.featured-section { background: var(--color-white); }

/* =====================
   HAKKIMIZDA — STORY
   ===================== */
.about-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-story__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-xl);
}
.about-story__image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) {
  .about-story__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-story__image { aspect-ratio: 16/9; }
}

/* =====================
   BLOG — FEATURED POST
   ===================== */
.blog-featured {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-md);
}
.blog-featured__image {
  aspect-ratio: unset;
  min-height: 320px;
  overflow: hidden;
}
.blog-featured__image img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured__body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.blog-featured__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  background: var(--color-primary);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.blog-featured__body h2 { font-size: 1.75rem; margin-bottom: 1rem; }
.blog-featured__body p { font-size: 0.9rem; margin-bottom: 1.5rem; }
.blog-featured__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--color-gray-light);
  margin-top: auto;
}
@media (max-width: 768px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured__image { min-height: 220px; }
  .blog-featured__body { padding: 1.5rem; }
}

/* =====================
   BLOG — CATEGORY TABS
   ===================== */
.category-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.category-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1.5px solid var(--color-border);
  color: var(--color-gray);
  background: var(--color-white);
  cursor: pointer;
  transition: all var(--transition);
}
.category-tab:hover, .category-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* =====================
   İLETİŞİM — MAP
   ===================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  border: 1px solid var(--color-border);
  margin-top: 2rem;
  background: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray);
  font-size: 0.875rem;
}
.contact-map iframe { width: 100%; height: 100%; border: none; }
.contact-form-wrapper {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.contact-form-wrapper h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.contact-form-wrapper > p { font-size: 0.875rem; margin-bottom: 2rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form-wrapper { padding: 1.5rem; }
}

/* =====================
   İLAN DETAY SAYFASI
   ===================== */
.listings-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
#listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  #listings-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  #listings-grid { grid-template-columns: 1fr; }
}

/* =====================
   EMPTY STATE
   ===================== */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--color-gray);
}
.empty-state svg {
  width: 64px; height: 64px;
  color: var(--color-border);
  margin: 0 auto 1.5rem;
}
.empty-state h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--color-dark); }
.empty-state p { font-size: 0.9rem; }
