/* ==============================
   /assets/css/site.css
   Premium - Ferah - Yeşil/Kırık Beyaz/Füme
   ============================== */

:root{
  --green:#0F4A0A;     /* rgb(15,74,10) */
  --off:#F7F4EE;       /* kırık beyaz */
  --char:#1F2328;      /* füme/siyaha yakın */
  --muted:#6B7280;
  --border:#E6E0D6;
  --white:#ffffff;
  --radius:18px;
  --shadow: 0 12px 30px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,Arial,sans-serif;
  background:var(--off);
  color:var(--char);
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{max-width:1180px;margin:0 auto;padding:0 16px}
.muted{color:var(--muted)}
.main{padding:24px 0 40px}

/* Alerts (frontend) */
.alert{padding:12px 14px;border-radius:14px;margin-bottom:12px;border:1px solid}
.alert--ok{background:#ecfdf3;border-color:#a7f3d0}
.alert--err{background:#fef2f2;border-color:#fecaca}

/* Header */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(247,244,238,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}
.brand img{height:42px;width:auto}

.nav{display:flex;align-items:center;gap:18px}
.nav a{
  padding:8px 10px;
  border-radius:12px;
  font-weight:650;
  color:var(--char);
}
.nav a.active{background:rgba(15,74,10,.08);color:var(--green)}

.nav-toggle{
  display:none;
  background:transparent;
  border:0;
  cursor:pointer;
  padding:8px;
  border-radius:12px;
}
.nav-toggle:hover{background:rgba(0,0,0,.04)}
.nav-toggle span{
  display:block;
  width:26px;height:2px;
  background:var(--char);
  margin:6px 0;
  border-radius:3px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid transparent;
  font-weight:750;
  cursor:pointer;
  transition:.15s transform, .15s box-shadow, .15s background;
}
.btn:active{transform:translateY(1px)}
.btn-primary{
  background:var(--green);
  color:#fff;
  box-shadow:0 10px 22px rgba(15,74,10,.16);
}
.btn-primary:hover{box-shadow:0 14px 30px rgba(15,74,10,.18)}
.btn-ghost{
  background:var(--white);
  border-color:var(--border);
}
.btn-ghost:hover{background:#fbfbfb}
.btn-link{
  background:transparent;
  border-color:transparent;
  text-decoration:underline;
  padding:10px 8px;
}

@media (max-width: 980px){
  .nav-toggle{display:block}
  .nav{
    position:fixed;
    left:16px;right:16px;top:72px;
    background:var(--white);
    border:1px solid var(--border);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:14px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }
  .nav.open{display:flex}
  .nav a{padding:10px 12px}
}

/* Hero */
.hero{
  border:1px solid var(--border);
  background:var(--white);
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  min-height:420px;
}
.hero-media{
  background-size:cover;
  background-position:center;
  position:relative;
}
.hero-media::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(120deg, rgba(15,74,10,.10), rgba(0,0,0,.02));
  pointer-events:none;
}
.hero-content{
  padding:34px 30px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:14px;
}
.kicker{
  color:var(--green);
  font-weight:850;
  letter-spacing:.6px;
  text-transform:uppercase;
  font-size:12px;
}
.h1{
  font-size:40px;
  line-height:1.12;
  margin:0;
}
.p{
  font-size:16px;
  line-height:1.8;
  color:var(--muted);
  margin:0;
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:8px;
}

@media (max-width: 980px){
  .hero-inner{grid-template-columns:1fr}
  .hero-media{min-height:240px}
  .h1{font-size:32px}
}

/* Sections */
.section{margin-top:22px}
.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin:12px 0;
}
.section-title h2{margin:0;font-size:22px}

/* Cards */
.card-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
@media (max-width: 980px){.card-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 540px){.card-grid{grid-template-columns:1fr}}

.card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:0 10px 22px rgba(0,0,0,.05);
}
.card h3{margin:0 0 8px;font-size:16px}
.card p{margin:0;color:var(--muted);line-height:1.7}

/* Blog cards */
.blog-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
@media (max-width: 980px){.blog-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 540px){.blog-grid{grid-template-columns:1fr}}

.blog-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 10px 22px rgba(0,0,0,.05);
  transition:.15s transform, .15s box-shadow;
}
.blog-card:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(0,0,0,.08);
}
.blog-card img{
  height:160px;
  width:100%;
  object-fit:cover;
}
.blog-card .pad{padding:14px}
.blog-card .date{
  font-size:12px;
  color:var(--muted);
  font-weight:800;
}
.blog-card h3{margin:6px 0 8px;font-size:16px}
.blog-card p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
  min-height:54px;
}
.blog-card .more{
  display:inline-block;
  margin-top:10px;
  color:var(--green);
  font-weight:900;
}

/* Generic grid helper used in contact page */
.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
@media (max-width: 980px){.grid{grid-template-columns:1fr}}

/* Forms (frontend) */
label{display:block;font-weight:750;margin:10px 0 6px}
input,textarea{
  width:100%;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:14px;
  font-size:14px;
  background:#fff;
  outline:none;
}
input:focus,textarea:focus{
  border-color:rgba(15,74,10,.35);
  box-shadow:0 0 0 4px rgba(15,74,10,.08);
}
textarea{resize:vertical}

/* Footer */
.footer{
  margin-top:26px;
  border-top:1px solid var(--border);
  background:rgba(255,255,255,.7);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:18px;
  padding:24px 0;
}
.footer-logo{height:42px;width:auto;margin-bottom:10px}
.footer h4{margin:0 0 10px}
.footer-list{
  list-style:none;
  padding:0;margin:0;
  display:grid;
  gap:8px;
}
.footer-list a:hover{color:var(--green)}
.footer-bottom{
  padding:14px 0;
  border-top:1px solid var(--border);
  display:flex;
  justify-content:center;
}
@media (max-width: 980px){.footer-grid{grid-template-columns:1fr}}

/* Floating actions */
.fab{
  position:fixed;
  left:18px;
  bottom:18px;
  z-index:60;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.fab-btn{
  width:48px;
  height:48px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--white);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  font-size:20px;
  transition:.15s transform;
}
.fab-btn:hover{transform:translateY(-1px)}

.to-top{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:60;
  width:48px;
  height:48px;
  border-radius:16px;
  border:1px solid var(--border);
  background:var(--white);
  box-shadow:var(--shadow);
  display:none;
  align-items:center;
  justify-content:center;
  font-size:18px;
  font-weight:950;
  cursor:pointer;
}
.to-top.show{display:flex}

/* Cookie banner */
.cookie-banner{
  position:fixed;
  left:14px;
  right:14px;
  bottom:14px;
  z-index:70;
  display:none;
}
body.show-cookie-banner .cookie-banner{display:block}
.cookie-banner__inner{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:14px;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
}
.cookie-banner__text{
  color:var(--muted);
  line-height:1.6;
  font-weight:650;
}
.cookie-banner__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
@media (max-width: 720px){
  .cookie-banner__inner{flex-direction:column;align-items:stretch}
  .cookie-banner__actions{justify-content:flex-end}
}
/* site.css EN ALTINA EKLE (Loader) */
.page-loader{
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(247,244,238,.92);
  backdrop-filter: blur(10px);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:1;
  transition:opacity .35s ease, visibility .35s ease;
}
.page-loader.hide{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.loader-card{
  width:min(520px, calc(100% - 32px));
  background:rgba(255,255,255,.85);
  border:1px solid var(--border);
  border-radius:22px;
  box-shadow: var(--shadow);
  padding:18px 18px 16px;
  display:flex;
  align-items:center;
  gap:14px;
}
.loader-logo{
  width:46px;height:46px;border-radius:16px;
  border:1px solid var(--border);
  background:rgba(15,74,10,.06);
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
}
.loader-logo img{width:100%;height:100%;object-fit:contain;padding:8px}
.loader-text{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.loader-title{
  font-weight:900;
  letter-spacing:.2px;
}
.loader-sub{
  color:var(--muted);
  font-weight:650;
  font-size:13px;
  line-height:1.5;
}
.loader-dots{
  display:flex;
  gap:6px;
  align-items:center;
}
.loader-dot{
  width:7px;height:7px;border-radius:999px;
  background:rgba(15,74,10,.28);
  animation:dotPulse 1.1s infinite ease-in-out;
}
.loader-dot:nth-child(2){animation-delay:.15s}
.loader-dot:nth-child(3){animation-delay:.30s}
@keyframes dotPulse{
  0%,100%{transform:translateY(0);opacity:.55}
  50%{transform:translateY(-4px);opacity:1}
}
/* Mobilde: görsel üstte, içerik altta */
@media (max-width: 980px){
  .hero-inner{
    display:flex;
    flex-direction:column;
  }
  .hero-media{
    order:1;
    min-height:260px; /* istersen 220-320 arası ayarla */
  }
  .hero-content{
    order:2;
  }
}
@media (max-width: 980px){
  .hero-media img{
    width:100%;
    height:260px;
    object-fit:cover;
  }
}
/* Desktop default */
.hero-media{
  background-position:center center;
}

/* Mobil düzeltme */
@media (max-width: 980px){
  .hero-media{
    background-position:center 20%;
  }
}


