/* EMLAKJET — mockup-aligned UI */

:root {
  --bg: #f8fafc;
  --bg-elevated: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --nav-dark: #0f172a;
  --border: rgba(15, 23, 42, 0.08);
  --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius: 16px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

cite {
  font-style: normal;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* ——— Header (koyu) ——— */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: #fff;
  z-index: 2;
}

.logo-icon {
  display: flex;
  color: #fff;
  opacity: 0.95;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  transition: color var(--transition), opacity var(--transition);
}

.nav-links a:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 12px;
  transition: transform var(--transition), background var(--transition), opacity var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 0.65rem 1.15rem;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-listing {
  white-space: nowrap;
}

.btn-search-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
}

.btn-search-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

/* ——— Hero (tam genişlik görsel) ——— */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 12vw, 6rem) 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #94a3b8;
  background-image: url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?w=1920&q=85");
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.35) 0%, rgba(248, 250, 252, 0.55) 50%, rgba(248, 250, 252, 0.72) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--text);
  max-width: 20ch;
}

.hero-search {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 720px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 0.45rem 0.45rem 0.45rem 1.15rem;
  gap: 0;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.hero-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: transparent;
  padding: 0.85rem 0;
}

.hero-search-input::placeholder {
  color: #94a3b8;
}

.hero-search-input:focus {
  outline: none;
}

.hero-search-divider {
  width: 1px;
  align-self: stretch;
  background: var(--border);
  margin: 0.65rem 0.75rem;
  flex-shrink: 0;
}

.hero-search-select {
  width: auto;
  min-width: 7.5rem;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  padding: 0.85rem 1.75rem 0.85rem 0.35rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.hero-search-select:focus {
  outline: none;
}

.btn-hero-submit {
  padding: 0 1.75rem;
  border-radius: 12px;
  flex-shrink: 0;
  align-self: stretch;
  margin-left: 0.25rem;
}

/* ——— Sections ——— */
.section {
  padding: clamp(5rem, 10vw, 6.25rem) 0;
}

.section-pad {
  padding-top: clamp(4rem, 8vw, 5rem);
}

.section-alt {
  background: #fff;
}

.section-title {
  margin: 0 0 2.75rem;
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
}

.section-title-center {
  text-align: center;
  margin-bottom: 2.75rem;
}

/* ——— Grid ——— */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

.grid-why {
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1040px;
  margin-inline: auto;
}

/* ——— Property cards ——— */
.card {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-image-wrap {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.property-card:hover .card-image-wrap img {
  transform: scale(1.04);
}

.badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 8px;
}

.badge-dark {
  background: var(--nav-dark);
  color: #fff;
}

.card-body {
  padding: 1.35rem 1.35rem 1.5rem;
}

.property-loc {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.property-spec {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.property-price {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ——— City cards (4 sütun) ——— */
.city-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.city-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.city-card:hover img {
  transform: scale(1.05);
}

.city-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.82) 100%);
  pointer-events: none;
}

.city-name {
  position: absolute;
  z-index: 1;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

/* ——— Neden Biz ——— */
.feature-center {
  text-align: center;
  padding: 0 0.5rem;
  background: transparent;
  border: none;
  box-shadow: none;
}

.feature-icon-outline {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fafafa;
  color: var(--text-muted);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.feature-text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 300px;
  margin-inline: auto;
}

/* ——— Testimonials (2 sütun, yatay) ——— */
.testimonial-card {
  position: relative;
  margin: 0;
  padding: 1.75rem 1.75rem 1.5rem;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.testimonial-row {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-body {
  min-width: 0;
}

.testimonial-name {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.testimonial-quote {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.testimonial-more {
  position: absolute;
  bottom: 1rem;
  right: 1.25rem;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  padding: 0.25rem;
  opacity: 0.7;
}

.testimonial-more:hover {
  opacity: 1;
  color: var(--text);
}

/* ——— Footer ——— */
.footer {
  background: var(--nav-dark);
  color: #e2e8f0;
  padding: 2.5rem 0 0;
  margin-top: 0;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.75rem;
}

.logo-footer {
  color: #fff;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  transition: color var(--transition), opacity var(--transition);
}

.social-link:hover {
  color: #fff;
}

.footer-rule {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  max-width: min(1140px, 92vw);
  margin: 0 auto;
}

.footer-bottom {
  display: flex;
  justify-content: flex-end;
  padding: 1.25rem 0 1.75rem;
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(148, 163, 184, 0.95);
}

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

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-why {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-top {
    justify-content: center;
  }

  .footer-social {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: static;
    transform: none;
  }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 5;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 0.75rem;
    gap: 0;
  }

  .nav-links.is-open li {
    padding: 0.5rem 0;
  }

  .nav-actions {
    display: none;
  }

  .nav-actions.is-open {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 6;
    gap: 0.75rem;
    padding: 0.75rem 0 0;
  }

  .nav-actions.is-open .btn {
    justify-content: center;
    width: 100%;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-search {
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
  }

  .hero-search-divider {
    display: none;
  }

  .hero-search-select {
    width: 100%;
    padding: 0.5rem 0;
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
  }

  .btn-hero-submit {
    width: 100%;
    margin-left: 0;
    min-height: 48px;
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (min-width: 721px) {
  .nav-toggle {
    display: none !important;
  }
}
