/* =========================================================
   Hadımköy Peyzaj — Tasarım Sistemi
   Tema: Yeşil alan / doğa (yaprak yeşili + güneş/amber) ekseni
   Not: Değişken adları (--ember, --steel vb.) önceki temadan miras kalan
   iç isimlendirmedir; renk değerleri Hadımköy Peyzaj paletine göredir.
   ========================================================= */

:root{
  /* Renkler */
  --ember:        #2E7D32;   /* ana yaprak yeşili */
  --ember-dark:   #1B5E20;
  --ember-light:  #8BC34A;   /* açık limon yeşili vurgu */
  --steel:        #E08B1F;   /* güneş / amber vurgu */
  --steel-light:  #F5B44E;
  --steel-pale:   #FBEFD9;
  --ink:          #1E2A1F;   /* ana metin / koyu zemin */
  --ink-soft:     #47543F;
  --paper-bg:     #F6F4EA;   /* doğal, sıcak krem zemin */
  --paper-card:   #FFFDF7;
  --line:         #E1DFC9;
  --success:      #2E7D32;

  /* Tipografi */
  --font-display: 'Baloo 2', sans-serif;
  --font-body:    'Work Sans', sans-serif;

  /* Ölçü */
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 10px 30px -12px rgba(30,42,31,.25);
  --shadow-sm: 0 2px 10px -4px rgba(30,42,31,.18);
  --container: 1180px;

  --heat-gradient: linear-gradient(90deg, var(--ember-dark) 0%, var(--ember) 30%, var(--ember-light) 58%, var(--steel-light) 82%, var(--steel) 100%);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 .5em;
  letter-spacing: .01em;
  color: var(--ink);
}
h1{ font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
h2{ font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3{ font-size: 1.35rem; }
p{ margin: 0 0 1em; }
.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }

:focus-visible{
  outline: 3px solid var(--steel-light);
  outline-offset: 2px;
}

/* ---------- Isı skalası: imza öğesi ---------- */
.heat-rule{
  height: 5px;
  border-radius: 999px;
  background: var(--heat-gradient);
  width: 84px;
}
.heat-rule.wide{ width: 100%; height: 3px; }

.eyebrow{
  display:flex; align-items:center; gap:10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .82rem;
  color: var(--ember-dark);
  font-weight: 600;
  margin-bottom: .9em;
}
.eyebrow::before{
  content:"";
  width: 22px; height: 2px;
  background: var(--heat-gradient);
  display:inline-block;
}

/* ---------- Butonlar ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.55em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .02em;
  padding: .82em 1.5em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-ember{
  background: var(--ember);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-ember:hover{ background: var(--ember-dark); }
.btn-outline{
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.btn-outline:hover{ background: rgba(255,255,255,.12); border-color:#fff; }
.btn-steel{
  background: var(--steel);
  color:#fff;
}
.btn-steel:hover{ background:#1e3542; }
.btn-whatsapp{
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover{ background:#1fb958; }
.btn-block{ width: 100%; }
.btn-sm{ padding: .5em 1em; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: var(--ink);
  color:#fff;
}
.site-header .heat-rule.wide{ position:absolute; bottom:0; left:0; }
.header-inner{
  position: relative;
  display:flex; align-items:center; justify-content:space-between;
  gap: 20px;
  padding: 14px 24px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-family: var(--font-display);
}
.brand-mark{
  width:44px; height:44px; border-radius: 10px;
  background: var(--heat-gradient);
  display:flex; align-items:center; justify-content:center;
  font-weight:800; color:#fff; font-size:1.3rem;
  flex: none;
}
.brand-text{ line-height:1.15; }
.brand-text .brand-name{ font-size:1.28rem; font-weight:800; display:block; letter-spacing:.02em; }
.brand-text .brand-tag{ font-size:.72rem; color: var(--steel-light); text-transform:uppercase; letter-spacing:.12em; }
.brand-logo-img{
  height: 40px; width:auto; max-width: 210px; object-fit: contain;
  background:#fff; border-radius: 8px; padding: 6px 10px;
}
.brand-logo-img--footer{ height: 36px; }

.main-nav ul{ display:flex; gap: 6px; align-items:center; }
.main-nav a{
  font-family: var(--font-display);
  font-weight:600;
  font-size: 1.02rem;
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover, .main-nav a.active{ background: rgba(255,255,255,.1); color: var(--ember-light); }
.nav-instagram{
  display:flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:50%;
  color:#fff !important; padding:0 !important;
}
.nav-instagram svg{ width:20px; height:20px; }
.nav-instagram:hover{ background: rgba(255,255,255,.14); }

.header-cta{ display:flex; align-items:center; gap:10px; }
.nav-toggle{
  display:none;
  background:none; border:none; color:#fff;
  width:42px; height:42px; border-radius: var(--radius);
  cursor:pointer;
}
.nav-toggle:hover{ background: rgba(255,255,255,.1); }

@media (max-width: 900px){
  .main-nav{
    position:absolute; top:100%; left:0; right:0;
    background: var(--ink);
    border-top: 1px solid rgba(255,255,255,.12);
    max-height:0; overflow:hidden;
    transition: max-height .25s ease;
  }
  .main-nav.open{ max-height: 420px; }
  .main-nav ul{ flex-direction:column; align-items:stretch; padding: 10px 24px 18px; gap:2px; }
  .main-nav a{ display:block; padding:12px 10px; }
  .header-cta .btn span{ display:none; }
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
}
@media (max-width: 560px){
  .header-cta{ display:none; }
}

/* ---------- Hero ---------- */
.hero{
  background: var(--ink);
  color:#fff;
  position: relative;
  overflow:hidden;
  padding: 72px 0 90px;
}
.hero::after{
  content:"";
  position:absolute; inset:auto -10% -40% auto;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(199,67,31,.35), transparent 70%);
  filter: blur(10px);
  pointer-events:none;
}
.hero::before{
  content:"";
  position:absolute; inset: -30% -10% auto auto;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(44,76,94,.5), transparent 70%);
  pointer-events:none;
}
.hero-grid{
  position:relative; z-index:1;
  display:grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items:center;
}
.hero-copy .eyebrow{ color: var(--ember-light); }
.hero-copy .eyebrow::before{ background: var(--heat-gradient); }
.hero h1{ color:#fff; }
.hero-lead{ color: #D9D2C6; font-size: 1.14rem; max-width: 46ch; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top: 28px; }
.hero-stats{
  display:flex; gap: 28px; margin-top: 42px; flex-wrap:wrap;
}
.hero-stats div strong{
  display:block; font-family: var(--font-display); font-size: 1.9rem; color: var(--ember-light);
}
.hero-stats div span{ font-size:.85rem; color:#B9B1A3; text-transform:uppercase; letter-spacing:.08em; }

.hero-panel{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(6px);
}
.hero-panel-title{
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing:.1em; font-size:.8rem;
  color: var(--steel-light); margin-bottom: 16px; font-weight:700;
}
.mini-service{
  display:flex; gap:14px; align-items:flex-start;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.mini-service:first-of-type{ border-top:none; }
.mini-service .ic{
  width:40px; height:40px; border-radius:9px; flex:none;
  background: rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
}
.mini-service .ic svg{ width:22px; height:22px; }
.mini-service h4{ margin:0 0 2px; font-size:1.02rem; font-family: var(--font-body); font-weight:700; color:#fff; }
.mini-service p{ margin:0; font-size:.88rem; color:#B9B1A3; }

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero{ padding: 48px 0 64px; }
}

/* ---------- Genel bölüm yapısı ---------- */
.section{ padding: 80px 0; }
.section-tight{ padding: 56px 0; }
.section-head{ max-width: 680px; margin-bottom: 44px; }
.section-alt{ background: var(--paper-card); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-dark{ background: var(--ink); color:#fff; }
.section-dark h2{ color:#fff; }
.section-dark .eyebrow{ color: var(--ember-light); }

/* ---------- Kartlar ---------- */
.grid{ display:grid; gap: 26px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px){ .grid-3{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .ic{
  width:52px; height:52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--ember) 0%, var(--steel) 100%);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px;
}
.card .ic svg{ width:26px; height:26px; color:#fff; }
.card h3{ margin-bottom:.4em; }
.card p{ color: var(--ink-soft); margin-bottom:0; font-size:.98rem; }

.feature-row{
  display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:center;
}
@media (max-width: 860px){ .feature-row{ grid-template-columns: 1fr; gap:32px; } }

.check-list li{
  display:flex; gap:12px; align-items:flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.check-list li:last-child{ border-bottom:none; }
.check-list .dot{
  width:22px; height:22px; border-radius:50%; flex:none; margin-top:2px;
  background: var(--heat-gradient);
  display:flex; align-items:center; justify-content:center;
}
.check-list .dot svg{ width:13px; height:13px; color:#fff; }

.stat-block{
  display:flex; gap:32px; flex-wrap:wrap;
  padding: 26px 0 0;
}
.stat-block div strong{ display:block; font-family: var(--font-display); font-size:2.2rem; color: var(--ember); }
.stat-block div span{ font-size:.82rem; text-transform:uppercase; letter-spacing:.08em; color: var(--ink-soft); }

/* ---------- CTA şeridi ---------- */
.cta-strip{
  background: linear-gradient(120deg, var(--ember-dark), var(--ember) 55%, var(--steel) 130%);
  color:#fff;
  border-radius: var(--radius-lg);
  padding: 42px;
  display:flex; align-items:center; justify-content:space-between; gap: 24px; flex-wrap:wrap;
}
.cta-strip h3{ color:#fff; margin-bottom:.25em; }
.cta-strip p{ margin:0; color: rgba(255,255,255,.88); }
.cta-actions{ display:flex; gap:12px; flex-wrap:wrap; }

/* ---------- Galeri ---------- */
.gallery-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 860px){ .gallery-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px){ .gallery-grid{ grid-template-columns: 1fr; } }
.gallery-item{
  position:relative;
  border-radius: var(--radius);
  overflow:hidden;
  aspect-ratio: 4/3;
  background: var(--steel-pale);
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition: transform .35s ease; }
.gallery-item:hover img{ transform: scale(1.06); }
.gallery-item .cap{
  position:absolute; left:0; right:0; bottom:0;
  padding: 10px 12px 8px;
  background: linear-gradient(0deg, rgba(0,0,0,.65), transparent);
  color:#fff; font-size:.85rem;
  opacity:0; transition:opacity .2s ease;
}
.gallery-item:hover .cap{ opacity:1; }
.gallery-item.is-video .cap{ opacity: 1; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent 70%); }
.play-badge{
  position:absolute; inset:0; margin:auto; width:58px; height:58px;
  border-radius:50%; background: rgba(33,28,24,.55);
  display:flex; align-items:center; justify-content:center;
  color:#fff; backdrop-filter: blur(2px);
  transition: transform .18s ease, background .18s ease;
}
.play-badge svg{ width:24px; height:24px; margin-left:3px; }
.gallery-item.is-video:hover .play-badge{ transform: scale(1.1); background: var(--ember); }
.gallery-empty{
  text-align:center; padding: 60px 20px; color: var(--ink-soft);
  border: 1px dashed var(--line); border-radius: var(--radius-lg);
}

.lightbox{
  position:fixed; inset:0; background: rgba(20,16,13,.92);
  display:none; align-items:center; justify-content:center; z-index:1000;
  padding: 30px;
}
.lightbox.open{ display:flex; }
.lightbox img{ max-width:92vw; max-height:86vh; border-radius: 8px; }
.lightbox-video-wrap{
  display:none;
  width: min(92vw, 960px);
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.lightbox-video-wrap iframe{ width:100%; height:100%; border:0; display:block; }
.lightbox-close{
  position:absolute; top:20px; right:24px;
  background: rgba(255,255,255,.12); border:none; color:#fff;
  width:44px; height:44px; border-radius:50%; cursor:pointer; font-size:1.4rem;
}

/* ---------- İletişim ---------- */
.contact-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
@media (max-width: 860px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-card{
  background: var(--paper-card); border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px;
}
.contact-row{
  display:flex; gap: 16px; align-items:flex-start;
  padding: 16px 0; border-top: 1px solid var(--line);
}
.contact-row:first-child{ border-top:none; padding-top:0; }
.contact-row .ic{
  width:44px; height:44px; border-radius:10px; flex:none;
  background: var(--steel-pale); color: var(--steel);
  display:flex; align-items:center; justify-content:center;
}
.contact-row .ic svg{ width:22px; height:22px; }
.contact-row h4{ margin:0 0 4px; font-family: var(--font-body); font-size:1rem; font-weight:700; }
.contact-row a, .contact-row p{ color: var(--ink-soft); margin:0; font-size:.96rem; }
.contact-row a:hover{ color: var(--ember); }
.phone-list{ display:flex; flex-direction:column; gap:4px; }

.map-wrap{
  border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--line);
  min-height: 320px; box-shadow: var(--shadow-sm);
}
.map-wrap iframe{ width:100%; height:100%; min-height:320px; border:0; display:block; }

.whatsapp-float{
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width:60px; height:60px; border-radius:50%;
  background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 12px 26px -8px rgba(37,211,102,.6);
  transition: transform .15s ease;
}
.whatsapp-float:hover{ transform: scale(1.08); }
.whatsapp-float svg{ width:30px; height:30px; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--ink); color: #C9C1B4;
  padding: 56px 0 26px;
}
.footer-grid{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 34px; border-bottom:1px solid rgba(255,255,255,.1);
}
@media (max-width: 760px){ .footer-grid{ grid-template-columns:1fr; gap:28px; } }
.site-footer h4{ color:#fff; font-family:var(--font-display); font-size:1.05rem; margin-bottom:14px; text-transform:uppercase; letter-spacing:.06em; }
.site-footer .brand{ margin-bottom: 14px; }
.site-footer p{ color:#B9B1A3; font-size:.94rem; }
.footer-instagram{
  display:inline-flex; align-items:center; gap:8px;
  color: var(--ember-light); font-weight:600; font-size:.92rem;
  margin-top:6px;
}
.footer-instagram svg{ width:18px; height:18px; }
.footer-instagram:hover{ color:#fff; }
.site-footer ul li{ margin-bottom:10px; }
.site-footer a:hover{ color: var(--ember-light); }
.footer-bottom{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  padding-top: 22px; font-size:.84rem; color:#8B8377;
}
.footer-bottom a{ color:#8B8377; }
.footer-bottom a:hover{ color:#fff; }

/* ---------- Breadcrumb / sayfa başlığı ---------- */
.page-hero{
  background: var(--ink); color:#fff; padding: 56px 0 46px; position:relative; overflow:hidden;
}
.page-hero::after{
  content:""; position:absolute; inset:0;
  background: var(--heat-gradient); opacity:.08;
}
.page-hero h1{ color:#fff; margin-bottom: 6px; }
.page-hero p{ color:#B9B1A3; max-width:60ch; margin-bottom:0; }
.breadcrumb{ font-size:.85rem; color:#9C948700; }
.breadcrumb a{ color: var(--steel-light); }
.breadcrumb span{ color:#8B8377; margin: 0 6px; }

/* ---------- Yardımcı sınıflar ---------- */
.text-center{ text-align:center; margin-left:auto; margin-right:auto; }
.mt-0{ margin-top:0; }
.muted{ color: var(--ink-soft); }

/* ---------- Admin ortak stiller ---------- */
.admin-body{ background:#F1EEE7; font-family: var(--font-body); color: var(--ink); }
.admin-shell{ display:flex; min-height:100vh; }
.admin-sidebar{
  width: 240px; background: var(--ink); color:#fff; flex:none;
  padding: 24px 18px; display:flex; flex-direction:column; gap: 6px;
}
.admin-sidebar .brand{ margin-bottom: 20px; }
.admin-sidebar a{
  padding: 11px 14px; border-radius: var(--radius); font-weight:600; font-size:.96rem;
  color:#D9D2C6;
}
.admin-sidebar a:hover, .admin-sidebar a.active{ background: rgba(255,255,255,.1); color:#fff; }
.admin-sidebar .logout{ margin-top:auto; color:var(--ember-light); }
.admin-main{ flex:1; padding: 30px 36px; max-width: 980px; }
.admin-card{
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; margin-bottom: 22px;
}
.admin-card h2{ margin-top:0; }
.form-row{ margin-bottom: 18px; }
.form-row label{ display:block; font-weight:700; margin-bottom:6px; font-size:.92rem; }
.form-row .hint{ font-size:.82rem; color: var(--ink-soft); margin-top:4px; }
.form-control{
  width:100%; padding: .7em .85em; border-radius: var(--radius);
  border: 1px solid #D7CFC1; font-family: var(--font-body); font-size: .98rem;
  background:#FCFAF6;
}
.form-control:focus{ outline: 2px solid var(--steel-light); border-color: var(--steel-light); }
textarea.form-control{ resize: vertical; min-height: 110px; }
.alert{
  padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; font-size:.94rem;
}
.alert-success{ background:#E5F3E9; color: var(--success); border:1px solid #BEE0C7; }
.alert-error{ background:#FBE7E2; color: var(--ember-dark); border:1px solid #F2C3B4; }
.login-wrap{
  min-height:100vh; display:flex; align-items:center; justify-content:center;
  background: var(--ink); padding: 20px;
}
.login-box{
  background:#fff; border-radius: var(--radius-lg); padding: 38px; width: 100%; max-width: 380px;
  box-shadow: var(--shadow);
}
.repeater-item{
  border:1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom:12px; background:#FCFAF6;
  position:relative;
}
.repeater-item .remove-btn{
  position:absolute; top:10px; right:10px; background:none; border:none; color:var(--ember-dark);
  cursor:pointer; font-weight:700; font-size:.85rem;
}
.gallery-admin-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap:16px; }
.gallery-admin-item{ border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; background:#fff; }
.gallery-admin-item img{ width:100%; aspect-ratio:4/3; object-fit:cover; }
.gallery-admin-item .meta{ padding:10px; }
.gallery-admin-item .meta form{ margin-top:6px; }
.gallery-admin-item .type-badge{
  position:absolute; top:8px; left:8px;
  background: rgba(33,28,24,.75); color:#fff; font-size:.72rem; font-weight:700;
  padding: 3px 9px; border-radius: 999px; letter-spacing:.02em;
}
.type-tabs{ display:flex; gap:8px; margin-bottom:18px; }
.type-tab{
  font-family: var(--font-display); font-weight:700; font-size:.98rem;
  padding: 10px 18px; border-radius: var(--radius);
  border: 1px solid var(--line); background:#FCFAF6; color: var(--ink-soft);
  cursor:pointer;
}
.type-tab.active{ background: var(--ink); color:#fff; border-color: var(--ink); }
