:root {
  /* Kurumsal Renk Paleti */
  --primary: #cba358; /* Lüks Altın */
  --primary-hover: #b58d47;
  --corporate: #112236; /* Kurumsal Lacivert */
  --corporate-dark: #0a1421;

  --bg-light: #f8f9fc;
  --white: #ffffff;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #f1f5f9;

  --success: #10b981;
  --danger: #ef4444;
  --border: #e2e8f0;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px -5px rgba(17, 34, 54, 0.15);
  --shadow-form: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --max-width: 1280px;
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}
img {
  max-width: 100%;
  display: block;
}
input,
select,
textarea,
button {
  font: inherit;
}

button:disabled,
.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

/* --- TOPBAR --- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.topbar-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  color: var(--corporate);
  letter-spacing: -0.5px;
}
.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: var(--corporate);
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
}
.mini-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  background: var(--bg-light);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid var(--border);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

/* Sağ Blok Hizalaması */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto; /* En sağa iter */
}

/* Custom Lang Select (Dropdown) Stilleri */
.custom-lang-select {
  position: relative;
  user-select: none;
}

.lang-selected {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--corporate);
  transition: var(--transition);
}

.lang-selected:hover {
  border-color: var(--primary);
}

.lang-selected img {
  border-radius: 2px;
  width: 20px;
  height: auto;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.lang-selected svg {
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.custom-lang-select.open .lang-selected svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.lang-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 130px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  overflow: hidden;
}

.custom-lang-select.open .lang-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
  text-decoration: none;
}

.lang-option img {
  border-radius: 2px;
  width: 20px;
  height: auto;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.lang-option:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.lang-option.active {
  background: rgba(203, 163, 88, 0.08);
  color: var(--primary);
}

/* Mobil görünüm düzeltmesi */
@media (max-width: 640px) {
  .topbar-right {
    gap: 12px;
  }
}

/* --- HERO SECTION --- */
.hero {
  background: var(--corporate)
    url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=2000&q=80")
    center/cover no-repeat;
  position: relative;
  padding: 80px 0;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--corporate-dark) 0%,
    rgba(17, 34, 54, 0.85) 60%,
    rgba(17, 34, 54, 0.6) 100%
  );
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.label-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.pill.primary {
  background: var(--primary);
  color: var(--corporate);
  border-color: var(--primary);
}

.hero h1 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero h1 span {
  color: var(--primary);
}
.hero-desc {
  font-size: clamp(16px, 1.5vw, 18px);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
}

.offer-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.offer-item {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}
.offer-item strong {
  display: block;
  font-size: 28px;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.offer-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  margin-right: 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: var(--corporate-dark);
  box-shadow: 0 10px 20px rgba(203, 163, 88, 0.2);
}
.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.btn-whatsapp {
  background: #25d366;
  color: white;
}
.btn-whatsapp:hover {
  background: #1ebe57;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-telegram {
  background: #0088cc;
  color: white;
}
.btn-telegram:hover {
  background: #0077b5;
  box-shadow: 0 10px 20px rgba(0, 136, 204, 0.2);
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- YENİ EKLENEN KISIM: HERO 2x2 BUTON DİZİLİMİ --- */
.hero-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px; /* Alttaki yazılarla arasına boşluk koyalım */
}

.hero-cta-row .btn {
  width: 100%;
  margin-right: 0; /* Mevcut margin'i eziyoruz */
}

@media (max-width: 480px) {
  .hero-cta-row {
    grid-template-columns: 1fr; /* Mobilde alt alta sıralansın */
  }
}

.hero-foot {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* --- FORM CARD --- */
.form-card {
  background: var(--white);
  color: var(--text-main);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-form);
}
.form-header h2 {
  font-size: 26px;
  margin-bottom: 8px;
  color: var(--corporate);
  letter-spacing: -0.5px;
}
.form-header p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
}

.countdown-box {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  text-align: center;
}
.countdown-box small {
  display: block;
  color: var(--danger);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.time {
  background: var(--white);
  border: 1px solid rgba(239, 68, 68, 0.1);
  padding: 12px 4px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.time strong {
  display: block;
  font-size: 24px;
  color: var(--corporate);
  line-height: 1;
  margin-bottom: 4px;
}
.time span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

form {
  display: grid;
  gap: 16px;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--corporate);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fdfdfd;
  color: var(--text-main);
  transition: var(--transition);
}
.field textarea {
  min-height: 100px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(203, 163, 88, 0.1);
}

.form-card .btn-primary {
  width: 100%;
  margin-top: 8px;
}
.disclaimer {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* --- SECTION GENERAL --- */
.section {
  padding: 80px 0;
}
.section-light {
  background: var(--white);
}
.section-head {
  margin-bottom: 50px;
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}
.section-head h2 {
  font-size: clamp(28px, 3vw, 40px);
  color: var(--corporate);
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 16px;
}

/* --- CAMPAIGN GRID --- */
.campaign-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.campaign-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.campaign-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.campaign-card .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: rgba(203, 163, 88, 0.1);
  color: var(--primary);
  font-weight: 800;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 18px;
}
.campaign-card strong {
  display: block;
  font-size: 18px;
  color: var(--corporate);
  margin-bottom: 12px;
}
.campaign-card p {
  color: var(--text-muted);
  font-size: 14px;
}

/* --- PROPERTY GRID --- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.property-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.property-media {
  height: 240px;
  position: relative;
  background-size: cover;
  background-position: center;
}
/* Gorseller (Gerçek hayatta src'den gelecek, burada bg olarak simüle edildi) */
.property-card:nth-child(1) .property-media {
  background-image: url("https://images.unsplash.com/photo-1560185007-c5ca9d2c014d?auto=format&fit=crop&w=800&q=80");
}
.property-card:nth-child(2) .property-media {
  background-image: url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?auto=format&fit=crop&w=800&q=80");
}
.property-card:nth-child(3) .property-media {
  background-image: url("https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=800&q=80");
}
.property-card:nth-child(4) .property-media {
  background-image: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=800&q=80");
}
.property-card:nth-child(5) .property-media {
  background-image: url("https://images.unsplash.com/photo-1600047509807-ba8f99d2cdde?auto=format&fit=crop&w=800&q=80");
}
.property-card:nth-child(6) .property-media {
  background-image: url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=800&q=80");
}
.property-card:nth-child(7) .property-media {
  background-image: url("https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?auto=format&fit=crop&w=800&q=80");
}
.property-card:nth-child(8) .property-media {
  background-image: url("https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=800&q=80");
}
.property-card:nth-child(9) .property-media {
  background-image: url("https://images.unsplash.com/photo-1605146769289-440113cc3d00?auto=format&fit=crop&w=800&q=80");
}
.property-card:nth-child(10) .property-media {
  background-image: url("https://images.unsplash.com/photo-1600607687644-c7171b42498f?auto=format&fit=crop&w=800&q=80");
}

.property-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--corporate);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.property-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.property-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.meta-chip {
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}
.property-title {
  font-size: 20px;
  color: var(--corporate);
  margin-bottom: 16px;
  line-height: 1.3;
}
.property-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
  flex-grow: 1;
}
.property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-bottom: 20px;
}
.price-block strong {
  display: block;
  font-size: 22px;
  color: var(--corporate);
  line-height: 1;
}
.price-block span {
  font-size: 12px;
  color: var(--primary);
  font-weight: 700;
}
.property-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.property-actions .btn {
  min-height: 44px;
  padding: 0;
  font-size: 13px;
}

.btn-dark-outline {
  border: 1px solid var(--border);
  color: var(--corporate);
  background: transparent;
}
.btn-dark-outline:hover {
  background: var(--bg-light);
}

/* --- FINAL CTA --- */
.final-cta {
  background: var(--corporate);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.final-cta::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(203, 163, 88, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.final-cta-text h2 {
  font-size: clamp(28px, 3vw, 42px);
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.final-cta-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  max-width: 600px;
}

/* --- FOOTER --- */
.footer {
  background: var(--corporate-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 0;
  font-size: 14px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-brand {
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
}

.g-recaptcha {
  margin: 8px 0 14px;
}

.form-success {
  text-align: center;
  padding: 36px 20px;
}

.form-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  font-size: 32px;
  font-weight: 800;
}

.form-success h2 {
  margin-bottom: 12px;
  color: var(--corporate);
  font-size: 28px;
  line-height: 1.2;
}

.form-success p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 420px;
  margin: 0 auto;
}

/* --- SCROLL TO TOP BUTONU --- */
.scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: var(--corporate);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--primary);
  color: var(--corporate-dark);
  transform: translateY(-5px);
}

.scroll-to-top svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 420px) {
  .g-recaptcha {
    transform: scale(0.92);
    transform-origin: left top;
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 40px 0;
  }
  .form-card {
    max-width: 600px;
    margin: 0 auto;
  }
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .campaign-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .final-cta {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }
  .cta-row {
    justify-content: center;
  }
  .offer-box {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    min-height: 70px;
  }
  .mini-note {
    display: none;
  }
  .property-grid {
    grid-template-columns: 1fr;
  }
  .campaign-grid {
    grid-template-columns: 1fr;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
  }
  .hero-foot {
    flex-direction: column;
    gap: 10px;
  }
  .form-card {
    padding: 24px;
  }
}
