/* =========================================
   Verde Emlak — main.css
   Değişkenler, Reset, Tipografi, Layout
   ========================================= */

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

:root {
  --color-primary: #1A4731;
  --color-primary-light: #2D6A4F;
  --color-primary-dark: #122E20;
  --color-accent: #C8A96E;
  --color-accent-light: #DFC08A;
  --color-dark: #1C1C1C;
  --color-dark-soft: #2D2D2D;
  --color-gray: #6B7280;
  --color-gray-light: #9CA3AF;
  --color-border: #E5E7EB;
  --color-light: #F8F5F0;
  --color-light-alt: #F0EDE8;
  --color-white: #FFFFFF;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.18);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;

  --container-width: 1200px;
  --container-padding: 1.5rem;

  --navbar-height: 72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}
input:focus, textarea:focus, select:focus { outline: none; }

/* ---- Tipografi ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { color: var(--color-gray); line-height: 1.75; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ---- Section Spacing ---- */
.section { padding: 5rem 0; }
.section--sm { padding: 3rem 0; }
.section--lg { padding: 7rem 0; }

/* ---- Section Header ---- */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .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;
}
.section-header h2 { color: var(--color-dark); margin-bottom: 1rem; }
.section-header p { max-width: 560px; margin: 0 auto; }

/* ---- Grid ---- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Flex Helpers ---- */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }
.text-white { color: var(--color-white); }
.bg-light { background-color: var(--color-light); }
.bg-primary { background-color: var(--color-primary); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ---- Scroll Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-gray-light);
  margin-bottom: 1rem;
}
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb span { color: var(--color-accent); }

/* ---- Page Hero (iç sayfalar) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  padding: 5rem 0 3.5rem;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 60L60 0H0V60z' fill='rgba(255,255,255,0.02)'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.page-hero h1 { color: var(--color-white); margin-bottom: 0.5rem; }
.page-hero .breadcrumb { color: rgba(255,255,255,0.6); }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero .breadcrumb a:hover { color: var(--color-accent); }
.page-hero .breadcrumb span { color: var(--color-accent-light); }

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

@media (max-width: 768px) {
  :root { --container-padding: 1rem; }
  .section { padding: 3.5rem 0; }
  .section--lg { padding: 5rem 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .section-header { margin-bottom: 2.5rem; }
}
