/**
 * FARMERS Project – Ekran görüntüsüne birebir uyumlu stiller.
 * Renkler: koyu yeşil #1B6A3B / #033820, açık yeşil (buton) #7CB342 benzeri, beyaz, açık gri #F7F7F7
 */

:root {
  --farmers-dark: #033820;
  --farmers-dark-bar: #1B6A3B;
  --farmers-green: #0a5c38;
  --farmers-btn: #7CB342;
  --farmers-btn-hover: #689F38;
  --farmers-white: #fff;
  --farmers-text: #333;
  --farmers-muted: #666;
  --farmers-bg-light: #F7F7F7;
  --farmers-contact-bg: #C8E6C9;
  --farmers-footer-grey: #E8E8E8;
  --farmers-accent: #D5E014;
}

body {
  font-family: "Roboto", "Manrope", sans-serif;
  color: var(--farmers-text);
  overflow-x: hidden;
}

/* ===== 1. ÜST BAR – Açık gri, ortada AB/TR logosu (230x120) + eş-finans metni ===== */
.header-top {
  background: var(--farmers-bg-light);
  padding: 12px 0;
}
.header-top .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.header-top-logo-link {
  display: inline-block;
  line-height: 0;
}
.header-top-eu-logo {
  width: 230px;
  height: 120px;
  object-fit: contain;
  display: block;
}

/* ===== 2. ANA NAV – Beyaz zemin, koyu linkler, EN yeşil buton ===== */
.site-header {
  background: var(--farmers-white);
  padding: 12px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.site-header .navbar-brand img {
  width: 128px;
  height: 36px;
  object-fit: contain;
}
.site-header .nav-link {
  color: var(--farmers-text) !important;
  font-weight: 500;
  font-size: 18px;
  padding: 13px 18px !important;
}
.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--farmers-dark) !important;
  font-weight: 600;
}
.site-header .nav-link.btn-en {
  background: transparent !important;
  color: var(--farmers-text) !important;
  text-transform: uppercase;
  padding: 13px 18px !important;
  margin-left: 0.5rem;
}
.site-header .nav-link.btn-en:hover {
  background: transparent !important;
  color: var(--farmers-dark) !important;
}
.site-header .navbar-toggler {
  border-color: rgba(0,0,0,0.2);
}
.site-header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23333' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-actions .search-btn {
  color: var(--farmers-text);
  padding: 0.35rem 0.5rem;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.header-actions .search-btn:hover {
  color: var(--farmers-dark);
}
/* Sosyal ikonlar: sarı daire, siyah kenarlık, siyah ikon */
.header-social-circles {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-social-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #000000;
  border-style: solid;
  border-width: 3px;
  border-color: #D5E014;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.header-social-circle:hover {
  opacity: 0.9;
  color: #ffffff;
}
/* e-fab-* ikonları: Font Awesome 6 Brands ile eşleştirme */
.e-font-icon-svg.e-fab-instagram::before { font-family: "Font Awesome 6 Brands"; font-weight: 400; content: "\f16d"; }
.e-font-icon-svg.e-fab-x-twitter::before { font-family: "Font Awesome 6 Brands"; font-weight: 400; content: "\e61b"; }
.e-font-icon-svg.e-fab-linkedin::before { font-family: "Font Awesome 6 Brands"; font-weight: 400; content: "\f08c"; }
.e-font-icon-svg.e-fab-youtube::before { font-family: "Font Awesome 6 Brands"; font-weight: 400; content: "\f167"; }
.e-font-icon-svg {
  display: inline-block;
  font-style: normal;
  line-height: 1;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--farmers-white);
    margin: 0.5rem -0.75rem -0.5rem;
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px solid #eee;
  }
  .navbar-collapse .nav-link.btn-en {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

/* ===== 3. HERO ===== */
.hero-slider .carousel-item {
  height: 75vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
}
.hero-slider .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent 45%);
}
.hero-slider .carousel-caption {
  bottom: 20%;
  z-index: 2;
}
.hero-slider .carousel-caption h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: var(--farmers-white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  letter-spacing: 0.02em;
}
.hero-slider .carousel-indicators {
  bottom: 14%;
}
.hero-slider .carousel-indicators button {
  width: 12px;
  height: 12px;
  min-width: 12px;
  min-height: 12px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--farmers-white);
  opacity: 0.8;
}
.hero-slider .carousel-indicators button.active {
  opacity: 1;
  background: var(--farmers-btn);
}
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  opacity: 0.9;
}

/* ===== 4. DALGA AYIRICI ===== */
.section-wave {
  margin-top: -1px;
  line-height: 0;
}
.section-wave svg {
  width: 100%;
  height: 48px;
  fill: var(--farmers-bg-light);
}

/* ===== 5. PROJE HAKKINDA – Koyu yeşil, beyaz yazı ===== */
/* Proje Hakkında – Koyu yeşil zemin, açık yeşil başlık/ikon, beyaz metin, CTA linki, yuvarlatılmış beyaz çerçeveli görsel */
.about-intro {
  background: #1A512D;
  color: var(--farmers-white);
  padding: 4rem 0;
}
.about-intro.about-intro-inner {
  background: #033820;
  padding: 4rem 0;
}
.about-intro .row {
  align-items: center;
}
.about-intro .col-lg-6:last-child {
  display: flex;
}
.about-intro.about-intro-inner .about-intro-img {
  width: 365px;
  height: 545px;
  max-width: 100%;
  object-fit: cover;
  margin-left: auto;
  display: block;
}
.about-intro-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #A6E781;
  font-weight: 700;
  font-size: 30px;
  line-height: 50px;
  margin-bottom: 1.25rem;
}
.about-intro-icon {
  width: 27px;
  height: 64px;
  flex-shrink: 0;
  object-fit: contain;
}
.about-intro-text {
  color: #FFFFFF;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.about-intro-text strong {
  color: #FFFFFF;
  font-weight: 700;
}
.about-intro-cta {
  color: #FFFFFF;
  margin: 0;
  line-height: 1.6;
}
.about-intro-cta a {
  color: #A6E781;
  text-decoration: underline;
  font-weight: 500;
}
.about-intro-cta a:hover {
  color: #A6E781;
  opacity: 0.9;
}
.about-intro-img {
  border-radius: 24px;
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  box-shadow: 0px 0px 10px 0px #FFFFFF;
}

/* ===== 6. PROJE İLLERİ ===== */
.provinces-section {
  background: #033820;
  padding: 4rem 0;
}
    .provinces-section.provinces-section-home {
        background: #ffffff url('https://cdniys.tarimorman.gov.tr/api/File/GetGaleriFileWithoutCache/515/ResimGaleri/9339/0/farmers_filigran2.png') no-repeat center center;
        background-size: contain;
        min-height: 800px;
        display: flex;
        align-items: center;
    }
.provinces-section .section-title {
  color: #299768;
  font-weight: 700;
  font-size: 60px;
  text-align: center;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.provinces-section .section-title .sub {
  display: block;
  font-size: 60px;
  letter-spacing: 0.02em;
  color: #299768;
}
.provinces-section .provinces-intro {
  color: #d1e0c5;
  font-size: 20px;
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.provinces-section-home .provinces-intro {
  color: #205234;
}

/* Anasayfa Proje İlleri – dairesel kartlar */
.provinces-section .row.justify-content-center.g-4 {
  margin-top: 1.5rem;
}
.province-circle {
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}
.province-img-wrap {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #d1e0c5;
  margin: 0 auto 0.25rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  background: rgba(0,0,0,0.2);
}
.province-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.province-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #299768;
}
.btn-incele {
  background: #007643;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.35rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.btn-incele:hover {
  background: #0a5c38;
  color: #ffffff;
}

/* Proje İlleri sayfası – kartlı görünüm (banner altı) */
.provinces-section .row.g-5 {
  margin-top: 1rem;
}
.province-card-inner {
  color: #fff;
}
.province-card-img {
  width: 100%;
  height: 190px;
  border-radius: 24px;
  object-fit: cover;
  display: block;
  box-shadow: 0px 0px 10px 0px #FFFFFF;
}
.province-card-title {
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
  font-size: 25px;
  font-weight: 600;
  color: #ffffff;
}
h3.province-card-title {
  padding-top: 20px;
  padding-bottom: 20px;
}
.province-card-line {
  height: 2px;
  width: 100%;
  max-width: 200px;
  background-color: #d1e0c5;
}

/* Proje İlleri – alt büyük görsel */
.province-bottom-image {
  background: #033820;
  padding: 50px 0 4rem;
}
.province-bottom-image .container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.province-bottom-image-inner {
  max-width: 100%;
  height: 500px;
  margin: 0;
}
.province-bottom-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  display: block;
}
/* ===== 7. PROJE BİLEŞENLERİ – Koyu yeşil, intro + grid + açık yeşil 2 kutu ===== */
.components-section {
  background: #205234;
  color: var(--farmers-white);
  padding: 4rem 0;
}
.components-section .section-title,
.components-section .section-title .sub {
  color: var(--farmers-white);
  font-size: 60px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}
.components-section .components-intro-block,
.impact-section .components-intro-block {
  max-width: 900px;
  margin: 0 auto 1rem;
  display: flex;
  gap: 12px;
  align-items: center;
}
.components-section .components-intro-icon,
.impact-section .components-intro-icon {
  width: 27px;
  height: 64px;
  flex-shrink: 0;
  object-fit: contain;
}
.components-section .components-intro-slogan,
.impact-section .components-intro-slogan {
  color: #A6E781;
  font-weight: 700;
  font-size: 24px;
  margin: 0;
  line-height: 1.3;
}
.components-section .components-intro-desc,
.impact-section .components-intro-desc {
  color: var(--farmers-white);
  font-size: 18px;
  line-height: 1.5;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.components-section .component-card {
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 1.5rem;
  height: 100%;
  border: 1px solid rgba(255,255,255,0.1);
}
.components-section .component-icon-wrap {
  width: 70px;
  height: 70px;
  background: #007643;
  border-radius: 5px 20px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.components-section .component-card .component-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.components-section .component-card h3 {
  color: var(--farmers-white);
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.components-section .component-card p {
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}
/* Impact alanı: sol telefon çerçeveli görsel, sağ açık yeşil 2 kutu */
/* Bileşen B alanı: sol görsel beyaz çerçeve, sağ ikon+başlık (önceki gibi) + alt başlık 18px + 2 kutu #007643 */
.impact-section {
  background: #033820;
  padding: 4rem 0;
}
.impact-section .impact-block .impact-intro {
  margin-bottom: 1rem;
}
.impact-section .impact-block .impact-subtitle {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1.5rem;
}
.impact-section .impact-image-wrap {
  border-radius: 24px;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: 0px 0px 10px 0px #FFFFFF;
}
.impact-section .impact-image-wrap img {
  border-radius: 21px;
  width: 100%;
  height: auto;
  display: block;
}
.impact-section .impact-box {
  background: #007643;
  color: var(--farmers-white);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  border: none;
}
.impact-section .impact-box:last-child {
  margin-bottom: 0;
}
.impact-section .impact-box h4 {
  color: var(--farmers-white);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.components-section .impact-box p {
  color: rgba(255,255,255,0.95);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.55;
}

/* ===== 8. BİZDEN HABERLER – Açık gri, Haber etiketi, light green kartlar ===== */
.news-section {
  background: var(--farmers-bg-light);
  padding: 4rem 0;
}
.news-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.news-section .section-title {
  color: var(--farmers-dark);
  font-weight: 700;
  margin: 0;
}
.news-section .btn-tumunu {
  background: var(--farmers-btn);
  color: var(--farmers-white);
  border: none;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  text-decoration: none;
}
.news-section .btn-tumunu:hover {
  background: var(--farmers-btn-hover);
  color: var(--farmers-white);
}
.news-section .news-card {
  background: var(--farmers-contact-bg);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(3,56,32,0.08);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}
.news-section .news-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.news-section .news-card .card-img-top {
  height: 180px;
  object-fit: cover;
}
.news-section .news-card .card-body {
  padding: 1.25rem;
}
.news-section .news-card .badge-haber {
  display: inline-block;
  background: var(--farmers-btn);
  color: var(--farmers-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.news-section .news-card .card-title {
  font-weight: 700;
  color: var(--farmers-dark);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.news-section .news-card .card-title a {
  color: inherit;
  text-decoration: none;
}
.news-section .news-card .card-title a:hover {
  text-decoration: underline;
}
.news-section .news-card .card-text {
  color: var(--farmers-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.news-section .news-card .btn-devam {
  background: var(--farmers-dark);
  color: var(--farmers-white);
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 6px;
  text-decoration: none;
}
.news-section .news-card .btn-devam:hover {
  background: var(--farmers-green);
  color: var(--farmers-white);
}

/* ===== 9. GALERİ – Koyu yeşil, sol başlık, 5 kare ===== */
.gallery-section {
  background: var(--farmers-dark);
  padding: 3rem 0;
}
.gallery-section .section-title,
.gallery-section .section-title .sub {
  color: var(--farmers-white);
  text-align: left;
  margin-bottom: 1.25rem;
}
.gallery-carousel-wrap {
  position: relative;
  padding: 0;
}
.gallery-carousel-wrap .carousel {
  position: relative;
}
.gallery-section .gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgb(0 0 0 / 48%);
  border-radius: 50%;
  border: none;
  opacity: 1;
  margin: 0;
  z-index: 2;
}
.gallery-section .gallery-nav:hover {
  background: rgb(0 0 0 / 70%);
  opacity: 1;
}
.gallery-section .gallery-nav-prev {
  left: -48px;
  right: auto;
}
.gallery-section .gallery-nav-next {
  right: -48px;
  left: auto;
}
.gallery-section .gallery-slide {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.gallery-section .gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* Galeri kartları: görseller başlıkla aynı hizada, aralarında belirgin boşluk */
.gallery-section .carousel-inner .row.g-2.g-md-3 {
  --bs-gutter-x: 0.9rem;
  --bs-gutter-y: 0.9rem;
  justify-content: flex-start !important;
}

/* ===== 10. FOOTER – Görsele birebir: üst lime yeşil, orta beyaz 3 logo, alt lime disclaimer ===== */
.site-footer {
  padding: 0;
  color: #333;
}
/* Üst: #79C143, ortalanmış iletişim + menü */
.footer-top-green {
  background: #79C143;
  padding: 2.5rem 0;
  text-align: center;
}
.footer-contact-title {
  color: #000;
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.footer-org,
.footer-project {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}
.footer-project {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.footer-address {
  color: #000;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.footer-top-green .footer-social {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 1rem;
}
.footer-top-green .footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}
.footer-top-green .footer-menu a {
  color: #000;
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-top-green .footer-menu a:hover {
  text-decoration: underline;
  color: #000;
}
/* Orta: beyaz, 3 logo + copyright / KVKK */
.footer-mid-white {
  background: #FFFFFF;
  padding: 2rem 0 1.5rem;
}
.footer-logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.footer-logo-item {
  flex: 0 0 auto;
}
.footer-logo-img {
  max-height: 100px;
  width: auto;
  display: block;
}
.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #eee;
}
.footer-copyright {
  color: #333;
  font-size: 0.85rem;
  margin: 0;
}
.footer-kvkk {
  color: #333;
  font-size: 0.85rem;
  text-decoration: none;
}
.footer-kvkk:hover {
  text-decoration: underline;
  color: #333;
}
/* Alt: #79C143, disclaimer ortalı siyah */
.footer-bottom-green {
  background: #79C143;
  padding: 1rem 0;
  text-align: center;
}
.footer-disclaimer {
  color: #000;
  font-size: 0.75rem;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 900px;
}

/* Genel */
.section-title .sub { display: block; letter-spacing: 0.05em; }
.img-fluid-rounded { border-radius: 12px; }

/* Sayfa içi paragraflar (header/footer hariç) */
main p {
  font-family: "Manrope", Sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  text-transform: none;
  line-height: 1.4em;
}
.province-detail-page {
  background-color: #033820;
}
.province-detail-page main p {
  color: #ffffff;
}
.province-detail-page h3 {
  color: #ffffff;
}
.page-banner {
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-banner h1 {
  position: relative;
  z-index: 2;
  color: var(--farmers-white);
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.page-banner .breadcrumb-item a { color: var(--farmers-white); text-decoration: none; }


#galleryCarousel {
    position: relative;
    max-width: 100%;
}

    #galleryCarousel .viewport {
        overflow: hidden;
    }

    #galleryCarousel .track {
        display: flex;
        transition: transform 0.4s ease;
    }

    #galleryCarousel .item {
        flex: 0 0 20%; /* 5 tane görünür */
        padding: 5px;
        box-sizing: border-box;
    }

    #galleryCarousel img {
        width: 100%;
        height: 150px; /* SABİT YÜKSEKLİK */
        object-fit: cover; /* TAŞANI KES (EN KRİTİK SATIR) */
        border-radius: 6px;
    }

/* OKLAR */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
}

.gallery-nav-prev {
    left: 5px;
}

.gallery-nav-next {
    right: 5px;
}
