/* =========================================================
   Batuhan Berk Güneri — site styles (Mindova layout base)
   ========================================================= */

/* -------------------------
   Variables
------------------------- */
:root{
  --primary: #4c7219;
  --secondary: #b2bfd0;
  --accent: #bfbfd0;
  --light: #f9faf5;
  --dark: #1e293b;
  --text: #000000;

  --radius: 1rem;
  --transition: all .3s ease;

  /* Anchor ile kaydırmada header boşluğu */
  --header-offset: 118px; /* top-bar + navbar */
}

/* -------------------------
   Base
------------------------- */
html{
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

html, body{
  overflow-x: hidden; /* taşmaları öldürür */
}

body{
  margin: 0;
  font-family: 'Inter','Segoe UI',sans-serif;
  line-height: 1.7;
  color: var(--text);
  padding-top: 40px;            /* fixed top-bar için boşluk */
  background-color: #f8fafc;
}

a{ color: var(--primary); }
a:hover{ color: var(--secondary); }

/* Sections - genel ritim */
section{ padding: 80px 0; }
.section-title{ margin-bottom: 60px; }

section[id],
[id].anchor-offset{
  scroll-margin-top: 145px;
}

/* -------------------------
   Top Bar
------------------------- */
.top-bar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1031;
  font-size: .9rem;
  background: linear-gradient(to right, var(--secondary), var(--secondary));
}
.top-bar i{ margin-right: 8px; }
.topbar-link{ transition: opacity .2s ease; }
.topbar-link:hover{ opacity: .8; }

/* -------------------------
   Navbar
------------------------- */
.navbar{
  top: 40px;
  padding: 6px 0;
  backdrop-filter: blur(10px);
  background-color: rgba(255,255,255,.9) !important;
}
.navbar.fixed-top{
  min-height: 72px;
  top: 40px;
  z-index: 1030;
}

.navbar-logo{
  max-height: 100px;
  width: auto;
}

/* Ortak header (layout.js — tüm sayfalar) */
.site-navbar .navbar-logo,
#site-header .navbar-logo{
  max-height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
  opacity: 1;
}

.site-navbar .brand-text{
  font-size: 1rem;
  font-weight: 600;
  color: #2c2c2c;
  line-height: 1.2;
  white-space: nowrap;
}

.site-navbar.navbar-light .navbar-brand{
  font-weight: 600;
  font-size: 1rem;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
}

#site-header .site-navbar .container{
  align-items: center;
}

@media (min-width: 992px){
  #site-header .site-navbar .navbar-collapse{
    flex-grow: 1;
  }

  #site-header .site-navbar .navbar-nav .nav-link{
    padding: 0.5rem 0.65rem;
    margin: 0 0.1rem;
  }
}

.brand-text{
  font-size: 1.1rem;
  font-weight: 500;
  color: #2c2c2c;
  white-space: nowrap;
}

.navbar-brand{
  font-weight: 800;
  font-size: 1.75rem;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-link{
  font-weight: 500;
  margin: 0 12px;
  position: relative;
  padding: 8px 0;
}
.nav-link::after{
  content:'';
  position:absolute;
  bottom:0; left:0;
  width:0; height:2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav-link:hover::after{ width:100%; }

/* Blog ve sabit header sayfaları */
body.blog-page,
body.blog-post,
.has-fixed-header{
  padding-top: var(--header-offset) !important;
}

/* -------------------------
   Hero
------------------------- */
.hero-section{
  height: 90vh;
  color: #fff;
  padding-top: 80px;
  background:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
    url('../img/hero-gorsel.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.hero-section h1{
  font-size: clamp(2.6rem, 4vw, 3.1rem);
  line-height: 1.15;
}

.hero-section .display-4{
  font-size: clamp(2.6rem, 4vw, 3.1rem) !important;
  line-height: 1.15 !important;
  margin-bottom: 1.25rem !important;
}

/* -------------------------
   Cards (genel)
------------------------- */
.card{
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover{
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,.1);
}

/* -------------------------
   Forms
------------------------- */
.form-control{
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: .75rem;
  transition: var(--transition);
}
.form-control:focus{
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(76,114,25,.12);
}
.form-select{
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: .75rem;
}

/* -------------------------
   Buttons
------------------------- */
.btn{
  padding: .8rem 1.5rem;
  border-radius: .75rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary{
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  border: none;
  box-shadow: 0 4px 15px rgba(76,114,25,.18);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(76,114,25,.28);
}

.btn-outline-primary{
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline-primary:hover{
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  border-color: transparent;
  color: #fff;
}

.btn-outline-secondary{
  border-radius: 12px;
  padding: 12px;
  font-weight: 600;
}

/* -------------------------
   Modal
------------------------- */
.modal-content{
  border-radius: var(--radius);
  overflow: hidden;
}
.modal-header{
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: #fff;
  padding: 1.5rem 2rem;
}
.modal-title{ font-weight: 700; color:#fff; }
.modal-body{ padding: 2rem; }

.modal-body h2{
  color: var(--secondary);
  margin-top: 2rem;
}
.modal-body p, .modal-body ul, .modal-body ol{
  color: #666;
  line-height: 1.8;
}
.modal-body ul, .modal-body ol{
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.modal-body li{ margin-bottom: .5rem; }
.modal-dialog-scrollable .modal-content{ max-height: 90vh; }

/* -------------------------
   Service Icons
------------------------- */
.service-icon{
  font-size: 3.5rem;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

/* -------------------------
   Google Map
------------------------- */
.google-map{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

/* -------------------------
   Animations
------------------------- */
@keyframes fadeInUp{
  from{ opacity:0; transform: translateY(20px); }
  to{ opacity:1; transform: translateY(0); }
}
.fade-in{ animation: fadeInUp .6s ease-out; }

/* -------------------------
   Social Links
------------------------- */
.social-links a{
  font-size: 1.5rem;
  transition: opacity .3s ease, transform .2s ease, color .2s ease;
}
.social-links a:hover{
  opacity: .9;
  transform: translateY(-3px) scale(1.05);
  color: #E1306C !important;
}

/* Contact Card */
.contact-card{
  padding: 20px;
  border-radius: 16px;
  transition: all 0.2s ease;
}
.contact-card:hover{
  background: rgba(0,0,0,0.03);
  transform: translateY(-3px);
}

/* KVKK link underline anim */
.kvkk-link{
  position: relative;
  text-decoration: none;
  color: inherit;
}
.kvkk-link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #4c7219;
  transition: width .25s ease;
}
.kvkk-link:hover::after{ width: 100%; }

/* -------------------------
   Articles slider (anasayfa)
------------------------- */
.articles-row{
  display:flex;
  gap:16px;
  overflow-x:auto;
  padding-bottom:10px;
  scroll-snap-type:x mandatory;
}
.article-item{
  flex: 0 0 320px;
  scroll-snap-align: start;
}
.articles-row::-webkit-scrollbar{ height: 10px; }

.articles-nav{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-bottom:12px;
}
.nav-btn{
  border:none;
  background:#94ab72;
  color:#fff;
  width:36px; height:36px;
  border-radius:50%;
  font-size:20px;
  cursor:pointer;
}
.nav-btn:hover{ background: var(--primary); }

/* Makaleler section boşluk (sıkı) */
#makaleler{
  padding-top: 32px !important;
  padding-bottom: 8px !important;
}
#makaleler .blog-preview,
#makaleler .articles-row{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
#makaleler .blog-all-link{
  display:flex;
  justify-content:center;
  width:100%;
  margin-top: 4px !important;
  text-align:center;
}
#makaleler .blog-all-link a.btn-blog-all{
  display: inline-block;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 2.25rem;
  border-radius: 999px;
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #1a1a1a;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.2s ease, box-shadow 0.25s ease;
}

#makaleler .blog-all-link a.btn-blog-all:hover,
#makaleler .blog-all-link a.btn-blog-all:focus-visible{
  background: #2d2d2d;
  border-color: #2d2d2d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

#makaleler .blog-all-link a.btn-blog-all:active{
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

@media (max-width: 576px){
  #makaleler .blog-all-link a.btn-blog-all{
    width: 100%;
    max-width: 320px;
    padding: 0.8rem 1.5rem;
  }
}

/* -------------------------
   Blog content (okunabilirlik)
------------------------- */
.blog-content{ margin: 0 auto; }
.blog-content h1,
.blog-content h2{ margin-top: 2.5rem; }
.blog-content p{
  line-height: 1.7;
  margin-bottom: 1.2rem;
  text-align: left;
}

.etik-not{
  font-size: .85rem;
  color:#666;
  margin-top: 2rem;
  text-align:center;
}
.etik-bilgi{
  font-size: .95rem;
  font-weight: 600;
  color:#6c757d;
  margin-bottom: 0 !important;
}
.gizlilik-blok{ margin-top: 24px; }
.gizlilik-gorsel{ margin:0; display:block; }

/* -------------------------
   About
------------------------- */
.about-section{
  padding: 80px 20px;
  background-color: #e3eefc;
}
.about-container{
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.about-title{
  text-align:center;
  margin-bottom: 40px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}
.about-title span{
  font-size: 22px;
  font-weight: 500;
  color: #1f1f1f;
  letter-spacing: .5px;
}

/* Ekip butonu */
.btn-ekip{
  display:inline-block;
  margin-top:30px;
  padding:14px 32px;
  background: var(--primary);
  color:#fff;
  text-decoration:none;
  border-radius:30px;
  font-weight:600;
  font-size:15px;
  transition: all .2s ease;
}
.btn-ekip:hover{
  background: #3f5f15;
  transform: translateY(-2px);
  color:#fff;
}

/* -------------------------
   Google Translate - banner gizle
------------------------- */
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
}
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight{
  display:none !important;
  box-shadow:none !important;
  background:none !important;
}
html{ margin-top:0 !important; }
body{ top:0 !important; }

/* -------------------------
   WhatsApp Floating Button
------------------------- */
.whatsapp-float{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  z-index: 9999;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover{
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
  color:#fff;
}

/* -------------------------
   Google Scheduling Button style
------------------------- */
.gcal-btn-anchor button,
.gcal-btn-anchor .google-calendar-scheduling-button{
  width: 100% !important;
  border-radius: 14px !important;
  padding: 14px 18px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.08) !important;
}
.gcal-btn-anchor button:hover,
.gcal-btn-anchor .google-calendar-scheduling-button:hover{
  transform: translateY(-1px);
}

/* -------------------------
   Calendar preview card + mini calendar
------------------------- */
.calendar-preview{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  text-decoration:none;
  color:inherit;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.calendar-preview:hover{
  transform: translateY(-2px);
  box-shadow:0 16px 32px rgba(0,0,0,.08);
}
.calendar-preview__icon{
  width:44px; height:44px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(47,127,111,.10);
  color:#2f7f6f;
  font-size:18px;
}
.calendar-preview__title{
  font-weight:700;
  font-size:14px;
}
.calendar-preview__sub{
  font-size:12px;
  color:#6b7280;
}
.calendar-preview__arrow{
  margin-left:auto;
  color:#2f7f6f;
}

.mini-cal{
  margin-top:10px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.06);
  background: rgba(47,127,111,.04);
}
.mini-cal__head{
  display:flex;
  justify-content:space-between;
  font-size:12px;
  font-weight:700;
  color:#2f7f6f;
  margin-bottom:8px;
}
.mini-cal__grid{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap:6px;
  font-size:11px;
  color:#6b7280;
}
.mini-cal__grid span{
  text-align:center;
  font-weight:700;
  opacity:.8;
}
.mini-cal__grid b{
  display:flex;
  align-items:center;
  justify-content:center;
  height:26px;
  border-radius:8px;
  background:#fff;
  color:#111827;
  border:1px solid rgba(0,0,0,.05);
  font-weight:600;
}
.mini-cal__grid b.is-free{
  background: rgba(47,127,111,.12);
  border-color: rgba(47,127,111,.18);
  color:#2f7f6f;
}

/* -------------------------
   Footer (Mindova uyumlu, tam genişlik)
------------------------- */
#site-footer{
  width: 100%;
  margin: 0;
  padding: 0;
  background: #1f2328;
}

#site-footer > footer.footer-dark{
  width: 100%;
  margin: 0;
  border-radius: 0;
  display: block;
}

.footer-dark{
  background: #1f2328;
  color: #fff;
}

.footer-dark .footer-brand{
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.footer-dark .footer-tagline{
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.footer-dark .footer-divider{
  border-color: rgba(255, 255, 255, 0.18);
  opacity: 1;
}

.footer-dark .footer-copy{
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.footer-dark .footer-legal{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.75rem;
}

.footer-dark .footer-legal-link{
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-dark .footer-legal-link:hover{
  color: #fff;
  text-decoration: none;
}
.footer-dark .footer-legal-link{
  position: relative;
}

.footer-dark .footer-legal-link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: rgba(255,255,255,.85);
  transition: width .25s ease;
}

.footer-dark .footer-legal-link:hover::after{
  width: 100%;
}

.footer-dark .footer-legal-sep{
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}

.footer-dark .footer-social-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-size: 1.35rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-dark .footer-social-link:hover{
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.footer-dark .footer-social-link:hover i.fa-instagram{
  color: #e1306c;
}

.footer-dark .footer-social-link:hover i.fa-whatsapp{
  color: #25d366;
}

.footer-dark .footer-social-link:hover i.fa-linkedin,
.footer-dark .footer-social-link:hover i.fa-linkedin-in{
  color: #0A66C2;
}

.footer-dark .kvkk-link::after{
  background: rgba(255, 255, 255, 0.85);
}

/* -------------------------
   Process Section (premium + sıkı boşluk)
------------------------- */
/* Genel section padding (80px) bunu şişirir. Bu yüzden section.process-section ile eziyoruz. */
section.process-section{
  background: #f8f9f7;
  padding-top: 10px !important;
  padding-bottom: 18px !important;
}

section.process-section .process-box{
  background:#fff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
  padding: 18px 24px;
}

section.process-section .process-title{
  font-size: 14px;
  letter-spacing: .22em;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

section.process-section .process-text{
  font-size: 16px;
  line-height: 1.75;
  font-style: italic;
  color: #2f2f2f;
  margin: 0;
}

/* -------------------------
   Responsive
------------------------- */
@media (max-width: 768px){
  .navbar{
    background-color: rgba(255,255,255,.95) !important;
  }
  .hero-section{
    min-height: 80vh;
    background-attachment: scroll;
  }
  .card{ margin-bottom: 1.5rem; }
  .modal-dialog{ margin: 1rem; }

  /* Process daha kompakt */
  section.process-section{
    padding-top: 8px !important;
    padding-bottom: 14px !important;
  }
  section.process-section .process-box{
    padding: 16px 18px;
  }
}
/* MOBIL SON DUZELTME - DOGRU CLASSLAR */
@media (max-width: 768px){

  body{
    padding-top: 112px !important;
  }

  .top-bar{
    height: 54px !important;
    min-height: 54px !important;
    padding: 6px 14px !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    overflow: hidden !important;
  }

  .top-bar .container,
  .top-bar .row,
  .top-bar .d-flex{
    height: 100% !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .top-bar a,
  .top-bar span{
    font-size: 13px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }

  .navbar,
  .navbar.fixed-top{
    top: 54px !important;
    min-height: 58px !important;
    padding: 4px 0 !important;
  }

  .navbar-logo,
  .site-navbar .navbar-logo,
  #site-header .navbar-logo{
    max-height: 42px !important;
  }

  .hero-section{
    height: auto !important;
    min-height: 620px !important;
    padding-top: 70px !important;
    padding-bottom: 40px !important;
  }

  .hero-section h1,
  .hero-section .display-4{
    font-size: 2.35rem !important;
    line-height: 1.08 !important;
    margin-bottom: 1rem !important;
  }

  .hero-section p{
    font-size: 1.05rem !important;
    line-height: 1.55 !important;
  }

  .hero-section p.lead{
    font-size: 1.15rem !important;
  }

  .hero-section p:nth-of-type(2){
    display: none !important;
  }

  .whatsapp-float{
    width: 52px !important;
    height: 52px !important;
    right: 18px !important;
    bottom: 82px !important;
    font-size: 27px !important;
  }
}

@media (max-width: 480px){

  body{
    padding-top: 108px !important;
  }

  .top-bar{
    height: 50px !important;
    min-height: 50px !important;
    font-size: 12px !important;
  }

  .top-bar a,
  .top-bar span{
    font-size: 12px !important;
  }

  .navbar,
  .navbar.fixed-top{
    top: 50px !important;
    min-height: 56px !important;
  }

  .hero-section h1,
  .hero-section .display-4{
    font-size: 2.05rem !important;
  }

  .hero-section p{
    font-size: 1rem !important;
  }
}