/* =========================================================
   S.S. Ahıska Türkleri Konut Yapı Kooperatifi
   Kurumsal Ana Site Tasarımı - Etap 1
   ========================================================= */

:root{
  --green-950:#052e24;
  --green-900:#073f31;
  --green-800:#0b5a45;
  --green-700:#0f6f54;
  --green-600:#11845f;
  --green-500:#16a46f;
  --green-100:#e8f6ef;
  --gold-500:#f5b700;
  --gold-400:#ffc928;
  --gold-100:#fff6cf;
  --red-600:#dc2626;
  --red-100:#fee2e2;
  --yellow-600:#d99a00;
  --yellow-100:#fff4cc;
  --blue-600:#2563eb;
  --ink-900:#13251f;
  --ink-700:#344b42;
  --ink-500:#667a72;
  --line:#d7e5de;
  --surface:#ffffff;
  --surface-soft:#f6faf8;
  --page:#edf4f0;
  --shadow:0 16px 42px rgba(5,46,36,.10);
  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:24px;
  --container:1180px;
}

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

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--ink-900);
  background:var(--page);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{
  display:block;
  max-width:100%;
}

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

button,
input,
select,
textarea{
  font:inherit;
}

button{
  cursor:pointer;
}

.container{
  width:min(calc(100% - 32px), var(--container));
  margin-inline:auto;
}

.section{
  padding:72px 0;
}

.section-soft{
  background:var(--surface-soft);
}

.section-title{
  margin:0 0 14px;
  font-size:clamp(28px, 4vw, 44px);
  line-height:1.15;
  color:var(--green-900);
  letter-spacing:-.02em;
}

.section-lead{
  max-width:760px;
  margin:0;
  color:var(--ink-700);
  font-size:18px;
}

/* HEADER */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid rgba(11,90,69,.12);
  backdrop-filter:blur(12px);
}

.header-inner{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:240px;
}

.brand-logo{
  width:58px;
  height:58px;
  object-fit:contain;
  border-radius:50%;
  background:#fff;
  border:1px solid var(--line);
}

.brand-text strong{
  display:block;
  color:var(--green-900);
  font-size:18px;
  line-height:1.2;
}

.brand-text span{
  display:block;
  color:var(--ink-500);
  font-size:13px;
}

.main-nav{
  display:flex;
  align-items:center;
  gap:6px;
}

.main-nav a{
  padding:10px 12px;
  border-radius:8px;
  color:var(--ink-700);
  font-weight:700;
  font-size:14px;
}

.main-nav a:hover,
.main-nav a:focus-visible{
  color:var(--green-900);
  background:var(--green-100);
  outline:none;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:11px 18px;
  border:0;
  border-radius:12px;
  font-weight:800;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn-primary{
  color:#111;
  background:var(--gold-500);
  box-shadow:0 10px 22px rgba(245,183,0,.25);
}

.btn-primary:hover{
  background:var(--gold-400);
}

.btn-dark{
  color:#fff;
  background:var(--green-950);
}

.btn-success{
  color:#fff;
  background:var(--green-500);
}

.btn-light{
  color:var(--green-900);
  background:#fff;
  border:1px solid var(--line);
}

.mobile-menu-button{
  display:none;
  width:46px;
  height:46px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  color:var(--green-900);
  font-size:22px;
}

/* HERO */
.hero{
  position:relative;
  overflow:hidden;
  padding:80px 0 64px;
  background:
    radial-gradient(circle at 90% 10%, rgba(245,183,0,.16), transparent 30%),
    linear-gradient(135deg, #f9fcfa 0%, #edf7f2 100%);
}

.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  gap:48px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:18px;
  padding:8px 12px;
  border-radius:999px;
  background:var(--green-100);
  color:var(--green-800);
  font-size:14px;
  font-weight:800;
}

.hero h1{
  margin:0;
  max-width:760px;
  color:var(--green-950);
  font-size:clamp(40px, 6vw, 70px);
  line-height:1.04;
  letter-spacing:-.04em;
}

.hero h1 span{
  color:var(--green-600);
}

.hero p{
  margin:24px 0 0;
  max-width:680px;
  color:var(--ink-700);
  font-size:19px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px;
}

.hero-media{
  position:relative;
  min-height:470px;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow);
  background:#dbe9e2;
}

.hero-media img{
  width:100%;
  height:100%;
  min-height:470px;
  object-fit:cover;
}

.hero-overlay{
  position:absolute;
  inset:auto 18px 18px;
  padding:18px;
  border-radius:16px;
  color:#fff;
  background:rgba(5,46,36,.90);
  box-shadow:0 12px 30px rgba(0,0,0,.20);
}

.hero-overlay strong{
  display:block;
  font-size:18px;
}

.hero-overlay span{
  display:block;
  margin-top:3px;
  font-size:14px;
  color:#dff4ea;
}

/* TRUST STRIP */
.trust-strip{
  margin-top:-18px;
  position:relative;
  z-index:2;
}

.trust-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.trust-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px;
  box-shadow:0 12px 28px rgba(5,46,36,.07);
}

.trust-card strong{
  display:block;
  color:var(--green-900);
  font-size:16px;
}

.trust-card span{
  display:block;
  margin-top:4px;
  color:var(--ink-500);
  font-size:13px;
}

/* STATS */
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.stat-card{
  padding:26px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  text-align:center;
}

.stat-card strong{
  display:block;
  color:var(--green-900);
  font-size:34px;
  line-height:1;
}

.stat-card span{
  display:block;
  margin-top:10px;
  color:var(--ink-500);
  font-weight:700;
}

/* FEATURE CARDS */
.feature-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin-top:34px;
}

.feature-card{
  padding:26px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  box-shadow:0 10px 26px rgba(5,46,36,.05);
}

.feature-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  margin-bottom:18px;
  border-radius:14px;
  background:var(--green-100);
  color:var(--green-800);
  font-size:24px;
}

.feature-card h3{
  margin:0;
  color:var(--green-900);
  font-size:20px;
}

.feature-card p{
  margin:10px 0 0;
  color:var(--ink-700);
}

/* PARCEL STATUS */
.status-legend{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:24px 0;
}

.status-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 13px;
  border-radius:999px;
  font-size:14px;
  font-weight:800;
}

.status-badge::before{
  content:"";
  width:11px;
  height:11px;
  border-radius:50%;
}

.status-available{
  color:#086a42;
  background:#dcfce7;
}

.status-available::before{
  background:#16a34a;
}

.status-reserved{
  color:#8a5b00;
  background:var(--yellow-100);
}

.status-reserved::before{
  background:#eab308;
}

.status-sold{
  color:#991b1b;
  background:var(--red-100);
}

.status-sold::before{
  background:var(--red-600);
}

/* TABLES */
.table-wrap{
  overflow:auto;
  margin-top:28px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-md);
}

.data-table{
  width:100%;
  border-collapse:collapse;
  min-width:720px;
}

.data-table th,
.data-table td{
  padding:16px 18px;
  border-bottom:1px solid var(--line);
  text-align:left;
}

.data-table th{
  color:#fff;
  background:var(--green-800);
  font-size:14px;
}

.data-table tr:last-child td{
  border-bottom:0;
}

.data-table tbody tr:hover{
  background:#f7fbf9;
}

/* PURCHASE PROCESS */
.process-grid{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:12px;
  margin-top:36px;
}

.process-step{
  position:relative;
  min-height:190px;
  padding:22px 16px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  text-align:center;
}

.process-step:not(:last-child)::after{
  content:"→";
  position:absolute;
  top:50%;
  right:-14px;
  transform:translateY(-50%);
  z-index:2;
  color:var(--gold-500);
  font-size:24px;
  font-weight:900;
}

.process-number{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  margin:0 auto 14px;
  border-radius:50%;
  color:#111;
  background:var(--gold-500);
  font-weight:900;
}

.process-step h3{
  margin:0;
  color:var(--green-900);
  font-size:16px;
}

.process-step p{
  margin:10px 0 0;
  color:var(--ink-500);
  font-size:13px;
}

/* BANK */
.bank-panel{
  display:grid;
  grid-template-columns:300px 1fr;
  gap:28px;
  align-items:center;
  padding:32px;
  background:var(--green-950);
  color:#fff;
  border:2px solid var(--gold-500);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
}

.bank-logo{
  padding:24px;
  background:#fff;
  border-radius:16px;
}

.bank-info h3{
  margin:0;
  color:var(--gold-400);
  font-size:28px;
}

.bank-info dl{
  display:grid;
  grid-template-columns:170px 1fr;
  gap:10px 18px;
  margin:24px 0 0;
}

.bank-info dt{
  color:#b9d5c8;
  font-weight:700;
}

.bank-info dd{
  margin:0;
  color:#fff;
  font-weight:800;
  word-break:break-word;
}

/* CONTACT */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

.contact-card{
  padding:28px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-md);
}

.contact-card h3{
  margin:0 0 18px;
  color:var(--green-900);
  font-size:24px;
}

.contact-list{
  display:grid;
  gap:12px;
}

.contact-list a,
.contact-list div{
  padding:13px 15px;
  border-radius:12px;
  background:var(--surface-soft);
  color:var(--ink-700);
}

/* FOOTER */
.site-footer{
  padding:48px 0 26px;
  background:var(--green-950);
  color:#e6f2ed;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr repeat(3,1fr);
  gap:34px;
}

.footer-title{
  margin:0 0 14px;
  color:#fff;
  font-size:18px;
}

.footer-links{
  display:grid;
  gap:9px;
}

.footer-links a{
  color:#c5dcd2;
}

.footer-links a:hover{
  color:#fff;
}

.footer-bottom{
  margin-top:34px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.12);
  color:#9fb9ad;
  font-size:14px;
  text-align:center;
}

/* FLOATING ACTIONS */
.floating-actions{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:950;
  display:flex;
  gap:10px;
  padding:10px;
  border-radius:18px;
  background:rgba(5,46,36,.95);
  box-shadow:0 14px 34px rgba(0,0,0,.22);
}

.floating-actions .btn{
  min-height:42px;
  padding:9px 14px;
  border-radius:10px;
  font-size:14px;
}

/* FORMS */
.form-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}

.form-group{
  display:grid;
  gap:7px;
}

.form-group.full{
  grid-column:1 / -1;
}

.form-group label{
  color:var(--green-900);
  font-weight:800;
}

.form-control{
  width:100%;
  min-height:48px;
  padding:12px 14px;
  border:1px solid #bdd2c8;
  border-radius:12px;
  background:#fff;
  color:var(--ink-900);
}

.form-control:focus{
  outline:3px solid rgba(22,164,111,.15);
  border-color:var(--green-500);
}

textarea.form-control{
  min-height:120px;
  resize:vertical;
}

/* RESPONSIVE */
@media (max-width:1080px){
  .main-nav{
    display:none;
  }

  .mobile-menu-button{
    display:inline-grid;
    place-items:center;
  }

  .hero-grid,
  .bank-panel{
    grid-template-columns:1fr;
  }

  .trust-grid,
  .stats-grid,
  .feature-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .process-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .process-step:not(:last-child)::after{
    display:none;
  }

  .footer-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:720px){
  .container{
    width:min(calc(100% - 20px), var(--container));
  }

  .section{
    padding:52px 0;
  }

  .header-inner{
    min-height:68px;
  }

  .brand{
    min-width:0;
  }

  .brand-logo{
    width:48px;
    height:48px;
  }

  .brand-text strong{
    font-size:15px;
  }

  .brand-text span{
    font-size:12px;
  }

  .header-actions .btn{
    display:none;
  }

  .hero{
    padding-top:54px;
  }

  .hero-media,
  .hero-media img{
    min-height:320px;
  }

  .trust-grid,
  .stats-grid,
  .feature-grid,
  .process-grid,
  .contact-grid,
  .form-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .bank-panel{
    padding:22px;
  }

  .bank-info dl{
    grid-template-columns:1fr;
  }

  .bank-info dd{
    margin-bottom:8px;
  }

  .floating-actions{
    right:10px;
    bottom:10px;
    left:10px;
    justify-content:space-between;
  }

  .floating-actions .btn{
    flex:1;
    padding-inline:8px;
    font-size:12px;
  }
}

/* PRINT */
@media print{
  .site-header,
  .floating-actions,
  .mobile-menu-button{
    display:none !important;
  }

  body{
    background:#fff;
  }

  .section{
    padding:24px 0;
  }

  .bank-panel{
    color:#000;
    background:#fff;
    box-shadow:none;
  }
}

/* MOBİL MENÜ DÜZELTMESİ */

.mobile-navigation{
    display:none;
}

.mobile-navigation.is-open{
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:12px 16px 18px;
    background:#ffffff;
    border-top:1px solid #d7e5de;
}

.mobile-navigation a{
    padding:12px 14px;
    border-radius:9px;
    color:#073f31;
    font-weight:700;
}

.mobile-navigation a:hover{
    background:#e8f6ef;
}

.back-to-top{
    position:fixed;
    left:18px;
    bottom:18px;
    z-index:900;
    width:42px;
    height:42px;
    display:none;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:50%;
    background:#073f31;
    color:#ffffff;
    font-size:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.20);
}

.back-to-top.is-visible{
    display:flex;
}

.parcel-placeholder{
    margin-top:26px;
    min-height:300px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:30px;
    border:2px dashed #9ebcaf;
    border-radius:20px;
    background:#ffffff;
}

.parcel-placeholder-content{
    max-width:720px;
    text-align:center;
}

.parcel-placeholder-content strong{
    display:block;
    margin-bottom:12px;
    color:#073f31;
    font-size:26px;
}

.payment-note{
    margin-top:18px;
    padding:15px 18px;
    border-left:5px solid #f5b700;
    border-radius:10px;
    background:#fff8d9;
    color:#344b42;
}

@media (min-width:1081px){
    .mobile-navigation,
    .mobile-navigation.is-open{
        display:none !important;
    }
}

@media (max-width:1080px){
    .main-nav{
        display:none;
    }
}
