/* Global CSS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Jost:wght@300;400;500&display=swap');

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

:root {
  /* LIGHT THEME VARIABLES (Corporate Slate & Navy Palette) */
  --bg: #F0F2F5;
  /* Koyu beyaz/hafif gri, daha normal bir website hissiyatı veren arkaplan */
  --bg-card: #FFFFFF;
  /* Tüm kartların (container) bembeyaz görünmesi için */
  --bg-hover: #E2E8F0;
  /* Gri, soft etkileşim efekti */

  --text-main: #1E293B;
  /* Ciddi koyu slate grisi/siyah */
  --text-muted: #64748B;
  /* Modern gri okuma fontu */
  --text-dim: #94A3B8;
  /* İkincil çok silik/açık gri text */

  --gold: #1D4E89;
  /* Ana Vurgu Rengi: Lüks ve canlı Safir/Royal Mavi (Sapphire Navy) */
  --gold-dim: rgba(29, 78, 137, 0.08);
  /* Arkaplan, hafif mavimsi */
  --gold-border: rgba(29, 78, 137, 0.2);
  /* Kartları saran ciddi koyu ayraç border rengi */

  --heading-font: 'Playfair Display', serif;
  --body-font: 'Jost', sans-serif;

  --container-width: 1200px;
}

html {
  font-family: var(--body-font);
  background: var(--bg);
  color: var(--text-main);
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  min-height: 100vh;
  position: relative;
}

/* ── Grain overlay (subtle for light theme too) ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 1000;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

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

p {
  line-height: 1.6;
}

/* Base Navigation Elements */
.logo {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--text-main);
}

.logo span {
  color: var(--gold);
}

/* Global Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gold {
  color: var(--gold);
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

/* Buttons & Links */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: #FFFFFF;
  /* White text on Gold */
  border: none;
  border-radius: 4px;
  /* Minimalist slightly rounded */
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #A0835B;
  /* Darker gold */
  box-shadow: 0 4px 15px rgba(184, 151, 106, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--text-main);
  border-radius: 4px;
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--text-main);
  color: var(--bg);
}

/* Reusable Header style */
.section-title {
  font-family: var(--heading-font);
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

/* Animations included globally */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
footer {
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid var(--gold-border);
  background: var(--bg);
}

footer .logo {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Global Navigation ── */
nav {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 4rem;
}

.nav-links {
  display: flex;
  gap: 2.8rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.4s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

@media (max-width: 768px) {
  nav {
    padding: 1.8rem 1.8rem;
  }

  .nav-links {
    display: none;
  }
}

/* ── Shared Property Card ── */
.prop-card {
  flex: 0 0 320px;
  text-decoration: none;
  border: 1px solid var(--gold-dim);
  border-radius: 4px;
  background: var(--bg);
  transition: transform 0.3s, box-shadow 0.3s;
  scroll-snap-align: start;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.prop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: var(--gold-border);
}

.prop-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  background: var(--bg-hover);
}

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

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

.prop-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.prop-price {
  font-family: var(--heading-font);
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.prop-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.prop-loc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.prop-loc svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.prop-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--gold-dim);
  padding-top: 1rem;
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--text-dim);
}