/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Quicksand', sans-serif; background: #fff; color: #333; font-size: 15px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ── PROMO BANNER ── */
.promo-banner {
  background: #2c6a55;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 15px;
}
.promo-banner .slide { display: none; }
.promo-banner .slide.active { display: block; }
.promo-banner span { color: #a8e6c8; font-weight: 700; text-decoration: underline; }

/* ── TOP INFO BAR ── */
.top-info-bar {
  background: #dfe5da;
  border-bottom: 1px solid #cdd8c4;
  font-size: 12px;
  font-weight: 600;
  color: #3a5c3a;
}
.top-info-bar .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 7px; padding-bottom: 7px;
}
.top-info-bar .left-info { font-size: 12px; color: #3a5c3a; }
.top-info-bar .left-info strong { color: #1a3a1a; }
.top-info-bar .right-links { display: flex; gap: 18px; align-items: center; }
.top-info-bar .right-links a {
  font-size: 12px; color: #3a5c3a; font-weight: 600;
  display: flex; align-items: center; gap: 4px;
  transition: color .2s;
}
.top-info-bar .right-links a:hover { color: #1a5c1a; }
.top-info-bar .right-links a svg { width: 10px; height: 10px; fill: currentColor; }

/* ── MAIN HEADER ── */
header {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  position: sticky; top: 0; z-index: 100;
}
.header-main { padding: 12px 0; }
.header-main .container {
  display: flex; align-items: center; gap: 20px;
}

/* Logo */
.logo { flex-shrink: 0; }
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-tagline {
  font-family: 'Dancing Script', cursive;
  font-size: 19px;
  font-weight: 700;
  color: #2c6a55;
  letter-spacing: .2px;
  line-height: 1.2;
  border-left: 2px solid #2c6a55;
  padding-left: 11px;
  white-space: nowrap;
  transition: opacity .2s;
}
.logo-tagline-dot {
  color: #2c6a55;
  font-size: 22px;
}
.logo-link:hover .logo-tagline { opacity: .75; }

/* Search */
.header-search { flex: 1; max-width: 560px; }
.search-form {
  display: flex; border: 1.5px solid #e0e0e0; border-radius: 6px;
  overflow: hidden; transition: border-color .2s;
}
.search-form:focus-within { border-color: #4ba96d; }
.search-form input {
  flex: 1; padding: 10px 16px; border: none; outline: none;
  font-family: 'Quicksand', sans-serif; font-size: 14px; color: #555;
  background: #fff;
}
.search-form button {
  background: #4ba96d; border: none; cursor: pointer;
  padding: 10px 18px; display: flex; align-items: center;
  transition: background .2s;
}
.search-form button:hover { background: #3a8a58; }
.search-form button svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.5; }

/* Auth + Cart */
.header-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.auth-btn {
  display: flex; align-items: center; gap: 8px;
  background: none; border: none; cursor: pointer;
  font-family: 'Quicksand', sans-serif;
}
.auth-btn svg { width: 30px; height: 30px; stroke: #4ba96d; fill: none; stroke-width: 1.5; }
.auth-btn-text { text-align: left; }
.auth-btn-text .main-text { font-size: 13px; font-weight: 700; color: #333; display: block; }
.auth-btn-text .sub-text { font-size: 11px; color: #888; display: block; }
.cart-btn {
  position: relative; background: none; border: none; cursor: pointer;
  display: flex; align-items: center;
}
.cart-btn svg { width: 32px; height: 32px; stroke: #333; fill: none; stroke-width: 1.5; }
.cart-badge {
  position: absolute; top: -5px; right: -6px;
  background: #4ba96d; color: #fff; border-radius: 50%;
  width: 17px; height: 17px; font-size: 10px;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.hamburger-btn {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger-btn span { display: block; width: 24px; height: 2px; background: #333; border-radius: 2px; }

/* ── SECONDARY NAV ── */
.secondary-nav {
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.secondary-nav .container {
  display: flex; align-items: center; justify-content: space-between;
}
.secondary-nav .nav-links {
  display: flex; align-items: center; gap: 0;
}
.secondary-nav .nav-links > a,
.secondary-nav .nav-links .has-submenu {
  padding: 11px 14px; font-size: 13px; font-weight: 700; color: #333;
  display: flex; align-items: center; gap: 5px;
  border-right: 1px solid #f0f0f0;
  transition: color .2s, background .2s;
  white-space: nowrap;
  cursor: pointer;
}
.secondary-nav .nav-links > a:first-child {
  background: #f5f5f5;
}
.secondary-nav .nav-links > a:hover,
.secondary-nav .nav-links .has-submenu:hover { color: #4ba96d; background: #f9fdf9; }
.secondary-nav .nav-links a svg:not(.nav-home-icon),
.secondary-nav .nav-links .has-submenu svg {
  width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2;
  transition: transform .2s;
}
.secondary-nav .nav-links a svg.nav-home-icon {
  width: 15px; height: 15px; stroke: currentColor; fill: none;
}
.secondary-nav .phone {
  font-size: 13px; font-weight: 700; color: #333;
  white-space: nowrap; padding-left: 10px;
}

/* ── DROPDOWN SUBMENU ── */
.nav-item-dropdown {
  position: relative;
  display: flex; align-items: stretch;
}
.nav-item-dropdown .has-submenu {
  border-right: 1px solid #f0f0f0;
}
.nav-item-dropdown:hover .has-submenu svg {
  transform: rotate(180deg);
}
.submenu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-top: 2px solid #4ba96d;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
  min-width: 180px;
  z-index: 200;
  list-style: none;
  padding: 6px 0;
}
.nav-item-dropdown:hover .submenu {
  display: block;
}
.submenu li a {
  display: block;
  padding: 10px 18px;
  font-size: 13px; font-weight: 600; color: #333;
  border-right: none !important;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.submenu li a:hover {
  color: #4ba96d; background: #f4faf6;
}

/* ── HERO SECTION ── */
.hero-section {
  background: transparent;
  position: relative;
  padding: 22px 0 0;
  overflow: hidden;
  background:rgb(5,134,104);
  background: linear-gradient(117deg, rgba(5,134,104,0.58) 0%, rgba(190,207,71,0.52) 100%);
}

/* Arka plan görseli — canlı ve keskin */
.hero-section::after {
  content: "";
  position: absolute; inset: 0;
  background: url('../img/hero-background-img.webp') center/cover no-repeat;
  filter: saturate(1.35) brightness(1.08) contrast(1.05);
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Gradient overlay — görselin üstünde, hafif saydam */
.hero-section::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(117deg, rgba(5,134,104,0.58) 0%, rgba(190,207,71,0.52) 100%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
}

.hero-cards {
  position: relative; z-index: 2;
  display: flex; gap: 10px; align-items: stretch;
}

/* Each card takes equal space */
.area-box { flex: 1; min-width: 0; }
.area-box-content {
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  position: relative;
  min-height: 390px;
  display: flex;
  color: #fff;
  background-size: cover !important;
  background-position: center;
  flex-direction: column;
  justify-content: flex-end;
}
.area-box-content::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,64,51,0.2) 0%, rgba(9,64,51,0.88) 100%);
  border-radius: 12px 12px 0 0;
}
.area-box-text {
  position: relative; z-index: 1;
  padding: 20px 18px 22px;
}
.area-box-text h2 {
  font-size: 22px; font-weight: 800;
  margin-bottom: 14px; line-height: 1.2;
}
.area-box-text ul { margin-bottom: 14px; }
.area-box-text ul li {
  font-size: 13px; font-weight: 600;
  padding: 2px 0; opacity: 0.9;
}
.btn-tumu {
  display: inline-block;
  background: #3a8a6a;
  color: #fff;
  border-radius: 5px;
  padding: 7px 18px;
  font-size: 13px; font-weight: 700;
  border: none; cursor: pointer;
  transition: background .2s;
}
.btn-tumu:hover { background: #2c6a55; color: #fff; }

/* Card images */
.card-market {
  background: url('../img/kutu-1.webp') center/cover no-repeat;
}
.card-hizmet {
  background: url('../img/kutu-2.webp') center/cover no-repeat;
}
.card-cozum {
  background: url('../img/kutu-3.webp') center/cover no-repeat;
}
.card-tavsiye {
  background: url('../img/kutu-4.webp') center/cover no-repeat;
}

/* ── AHŞAP SAKSI PROMO ── */
.ahsap-section { background: #fff; padding: 24px 0; }
.ahsap-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.ahsap-images { display: flex; gap: 16px; align-items: flex-end; width: 25%; }
.ahsap-img-1 {
  width: 100%; height: 140px; object-fit: cover;
  border-radius: 8px; background: #7a5c28;
}
.ahsap-img-2 {
  width: 200px; height: 155px; object-fit: cover;
  border-radius: 8px; background: #d4ac0d;
}
.ahsap-text { flex: 1; text-align: right; }
.ahsap-text h2 {
  font-size: 38px; font-weight: 900;
  color: #1a2e4a; line-height: 1.1;
  text-transform: uppercase; letter-spacing: -1px;
}
.ahsap-text h2 .brand {
  font-size: 30px; color: #4ba96d;
  display: inline-flex; align-items: center; gap: 6px;
}
.ahsap-text h2 .brand svg { width: 24px; height: 24px; }

/* ── CATEGORY ICONS ── */
.category-section { padding: 8px 0 18px; padding-top: 40px;}
.category-icons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.cat-item {
  min-width: 0;
  text-align: center;
}
.cat-item a { display: block; text-decoration: none !important; }
.cat-item a > div {
  background: #f0f5ec;
  border-radius: 8px;
  padding: 14px 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: all .25s ease;
  min-height: 110px;
}
.cat-item a > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.cat-item svg {
  width: 36px; height: 36px;
  margin-bottom: 8px;
  stroke: #3a8a6a; fill: none; stroke-width: 1.5;
}
.cat-item span {
  font-size: 12px; font-weight: 700; color: #222;
  line-height: 1.3; display: block;
}

/* ── MASONRY FEATURE BOXES ── */
.masonry-section { padding: 30px 0px 60px 0px; }

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 190px;
  gap: 14px;
}

/* Tall: 2 satır yüksekliği */
.masonry-item.m-tall { grid-row: span 2; }
/* Wide: 2 sütun genişliği */
.masonry-item.m-wide { grid-column: span 2; }

.masonry-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  text-decoration: none !important;
  display: block;
}
/* Navigasyon linkleri — ok etiketi */
.masonry-arrow {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  opacity: .75;
  transition: opacity .2s, transform .2s;
}
.masonry-nav-link:hover .masonry-arrow {
  opacity: 1;
  transform: translateX(4px);
}
.masonry-inner--row .masonry-arrow { display: block; margin-top: 10px; }
.masonry-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.22);
}

/* Arka plan görseli */
.masonry-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .4s ease;
}
.masonry-item:hover .masonry-bg { transform: scale(1.05); }

/* Koyu overlay */
.masonry-overlay {
  position: absolute; inset: 0;
  border-radius: 14px;
  z-index: 1;
}

/* İçerik */
.masonry-inner {
  position: relative; z-index: 2;
  padding: 24px 26px;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
.masonry-inner--row {
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
}
.masonry-inner--row p { flex: 1; margin: 0; }

.masonry-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.masonry-icon svg { width: 22px; height: 22px; stroke: #fff; }

.masonry-item h3 {
  font-size: 20px; font-weight: 800;
  line-height: 1.2; margin-bottom: 10px;
}
.masonry-item.m-tall h3 { font-size: 24px; }
.masonry-item.m-wide h3 { font-size: 22px; margin-bottom: 0; white-space: nowrap; }
.masonry-item p {
  font-size: 13px; line-height: 1.6;
  opacity: .88; margin: 0;
}

/* Renk varyantları (fallback gradient, görselin üstünde) */
.m-green  .masonry-overlay { background: rgba(15,70,45,0.70) !important; }
.m-teal   .masonry-overlay { background: rgba(10,90,90,0.75) !important; }
.m-purple .masonry-overlay { background: rgba(55,15,90,0.70) !important; }
.m-orange .masonry-overlay { background: rgba(110,45,0,0.72) !important; }
.m-dark   .masonry-overlay { background: rgba(10,30,20,0.80) !important; }
.m-blue   .masonry-overlay { background: rgba(10,30,70,0.72) !important; }

@media (max-width: 768px) {
  .masonry-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 170px;
  }
  .masonry-item.m-tall { grid-row: span 2; }
  .masonry-item.m-wide { grid-column: span 2; }
}
@media (max-width: 500px) {
  .masonry-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 160px;
  }
  .masonry-item.m-tall,
  .masonry-item.m-wide { grid-row: span 1; grid-column: span 1; }
}

/* ── METRO PRODUCT GRID ── */
.metro-grid { padding: 0 0 6px;  padding-bottom: 50px;}
.metro-grid-row { display: flex; gap: 14px; margin-bottom: 14px; }
.metro-card-wrap { flex: 1; }
.metro-card-wrap.half { flex: 1; }
.metro-card-wrap.third { flex: 1; }

.metro-card {
  border-radius: 12px; overflow: hidden;
  position: relative; min-height: 190px;
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  height: 100%;
}
.metro-card-inner { width: 100%; padding: 16px; position: relative; z-index: 1; }
.metro-card h3 {
  font-size: 16px; font-weight: 900;
  text-transform: uppercase; line-height: 1.2; margin-bottom: 6px;
}
.metro-card .subtitle { font-size: 11px; margin-bottom: 10px; line-height: 1.4; }
.metro-card .btn-incele { font-size: 13px; font-weight: 700; text-decoration: underline; }

.mc-pink { background: #ffd5d7; }
.mc-pink .metro-card-inner { color: #7a1520; }
.mc-pink .card-img {
  position: absolute; right: 0; bottom: 0;
  height: 92%; width: 52%; object-fit: contain;
  pointer-events: none;
}

.mc-gray { background: #ebebeb; }
.mc-gray .metro-card-inner { color: #222; }
.mc-gray .card-img {
  position: absolute; right: 0; bottom: 0;
  height: 92%; width: 52%; object-fit: contain;
  pointer-events: none;
}

.mc-peyzaj {
  background: url('https://picsum.photos/seed/peyzaj/600/400') center/cover;
}
.mc-peyzaj::before {
  content:""; position:absolute; inset:0;
  background: rgba(70,110,70,0.58); border-radius: 12px;
}
.mc-peyzaj .metro-card-inner { color: #fff; }
.mc-peyzaj h3 { color: #c8f7d4; }

.mc-icerik {
  background: #fff; border: 1px solid #e4e4e4;
}
.mc-icerik .metro-card-inner { color: #333; }
.mc-icerik .card-img {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 50%; object-fit: cover; border-radius: 0 12px 12px 0;
}

.mc-blog { background: #3a8a6a; }
.mc-blog .metro-card-inner { color: #fff; padding: 26px 20px; }
.mc-blog h3 { font-size: 20px; color: #fff; }

/* Daha Fazla */
.daha-fazla-wrap { text-align: center; padding: 10px 0 22px; }
.daha-fazla-btn {
  background: none; border: none; cursor: pointer;
  color: #4ba96d; font-size: 15px; font-weight: 700;
  font-family: 'Quicksand', sans-serif;
  display: inline-flex; align-items: center; gap: 6px;
  transition: opacity .2s;
}
.daha-fazla-btn:hover { opacity: .75; }
.daha-fazla-btn svg { width: 16px; height: 16px; stroke: #4ba96d; fill: none; stroke-width: 2.5; }

/* ── FULL BAND – PARALLAX CTA ── */
.full-band-3 {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  isolation: isolate;
}

/* Parallax arka plan */
.band-parallax-bg {
  position: absolute; inset: -60px 0;
  background: url('../img/parallax.webp') center/cover no-repeat;
  background-attachment: fixed;
  z-index: 0;
}

/* Koyu yeşil cam overlay */
.band-glass-overlay {
  position: absolute; inset: 0;
  background: #2c7747d9;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1;
}

.band-inner-wrap {
  position: relative; z-index: 2;
}
.full-band-3 .band-inner {
  display: flex; align-items: center; justify-content: flex-start;
}
.band-text { color: #f0f5ec; }
.band-text .band-subtitle {
  font-size: 15px; font-weight: 600;
  margin-bottom: 8px; opacity: .85; letter-spacing: .5px;
}
.band-text .band-title {
  font-size: 44px; font-weight: 900;
  line-height: 1.1; margin-bottom: 24px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.band-text a {
  display: inline-block;
  color: #fff; font-weight: 700; font-size: 14px;
  background: rgba(255,255,255,0.14);
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 6px; padding: 10px 28px;
  transition: background .2s, border-color .2s;
  text-decoration: none;
}
.band-text a:hover {
  background: rgba(255,255,255,0.26);
  border-color: #fff;
}

/* ── SECTION HEADER (ortak) ── */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.section-header h2 { font-size: 22px; font-weight: 800; color: #1a2e1a; }
.section-header a  { color: #4ba96d; font-weight: 700; font-size: 14px; }

/* ── FOTOĞRAF GALERİ ── */
.galeri-section { padding: 30px 0 50px; }

/* Lazy placeholder — shimmer efekti */
.galeri-lazy {
  background: linear-gradient(90deg,#e8f0e8 25%,#d4e8d4 50%,#e8f0e8 75%);
  background-size: 200% 100%;
  animation: galeriShimmer 1.4s infinite;
  opacity: 1;
  transition: opacity .3s ease;
}
.galeri-lazy.galeri-loaded {
  animation: none;
  background: none;
  opacity: 1;
}
@keyframes galeriShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.galeri-item { aspect-ratio: 4/3; overflow: hidden; border-radius: 10px; }
.galeri-hidden { display: none; }

.galeri-thumb {
  width: 100%; height: 100%;
  padding: 0; border: none; background: none; cursor: pointer;
  position: relative; display: block;
}
.galeri-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
  display: block;
}
.galeri-thumb:hover img { transform: scale(1.07); }

.galeri-zoom {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
  background: rgba(0,0,0,0);
  transition: background .25s;
  border-radius: 10px;
}
.galeri-thumb:hover .galeri-zoom { background: rgba(0,0,0,0.28); }

.galeri-more-wrap { text-align: center; margin-top: 24px; }
.btn-galeri-more {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 28px;
  background: #fff; border: 2px solid #4ba96d; border-radius: 30px;
  color: #4ba96d; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-galeri-more:hover { background: #4ba96d; color: #fff; }
.galeri-count { font-size: 12px; opacity: .75; }

/* ── VİDEO GALERİ ── */
.video-galeri-section { padding-top: 0; }
.video-galeri-grid { grid-template-columns: repeat(4, 1fr); }

.video-no-thumb {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(145deg, #1b3a28 0%, #0d1f13 100%);
  position: relative;
}
.video-no-thumb::after {
  content: 'VIDEO';
  position: absolute;
  bottom: 10px; left: 0; right: 0;
  text-align: center;
  font-size: 10px; letter-spacing: 4px;
  color: rgba(255,255,255,0.2);
  font-family: 'Quicksand', sans-serif;
}
.video-thumb { position: relative; display: block; width: 100%; padding: 0; border: none; background: #000; cursor: pointer; border-radius: 10px; overflow: hidden; }
.video-thumb img,
.video-first-frame { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform .35s, opacity .3s; pointer-events: none; }
.video-thumb:hover img,
.video-thumb:hover .video-first-frame { transform: scale(1.05); opacity: .75; }

.video-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
  transition: transform .2s;
  pointer-events: none;
}
.video-thumb:hover .video-play-btn { transform: scale(1.15); }

/* Video lightbox içi */
.video-lb-wrap { display: flex; align-items: center; justify-content: center; }
.video-lb-wrap iframe,
.video-lb-wrap video { max-width: 90vw; max-height: 82vh; border-radius: 6px; }

/* ── LİGHTBOX ── */
.galeri-lb-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.88); z-index: 9998;
}
.galeri-lb-backdrop.active { display: block; }

.galeri-lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  align-items: center; justify-content: center;
  pointer-events: none;
}
.galeri-lightbox.active { display: flex; pointer-events: all; }

.galeri-lb-img-wrap {
  max-width: 88vw; max-height: 88vh;
  display: flex; align-items: center; justify-content: center;
}
.galeri-lb-img-wrap img {
  max-width: 100%; max-height: 88vh;
  object-fit: contain; border-radius: 6px;
  transition: opacity .15s ease;
}

.galeri-lb-close {
  position: fixed; top: 18px; right: 22px;
  background: rgba(255,255,255,.15); border: none; border-radius: 50%;
  width: 40px; height: 40px; font-size: 18px; color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.galeri-lb-close:hover { background: rgba(255,255,255,.3); }

.galeri-lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: none; border-radius: 50%;
  width: 48px; height: 48px; font-size: 32px; line-height: 1; color: #fff;
  cursor: pointer; transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.galeri-lb-nav:hover  { background: rgba(255,255,255,.28); }
.galeri-lb-prev { left: 16px; }
.galeri-lb-next { right: 16px; }

.galeri-lb-counter {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: 13px; margin: 0;
}

/* ── BLOG CAROUSEL ── */
.blog-section { padding: 10px 0 36px; }

.blog-carousel-wrapper {
  position: relative;
}
.blog-carousel {
  width: 100%; overflow: hidden;
}
.blog-track {
  display: flex; gap: 16px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.blog-card {
  flex: 0 0 calc(33.333% - 11px);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  border: 1px solid #eef2ee;
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  transform: translateY(-3px);
}
.blog-card-img-link { display: block; overflow: hidden; }
.blog-card-img-link img {
  width: 100%; height: 185px; object-fit: cover; display: block;
  transition: transform .35s;
}
.blog-card-img-link:hover img { transform: scale(1.05); }
.blog-card img {
  width: 100%; height: 185px; object-fit: cover; display: block;
}
.blog-card-body { padding: 14px 16px 18px; }
.blog-tag {
  display: inline-block;
  background: #e8f5ee; color: #2c6a55;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  margin-bottom: 8px;
}
.blog-card-body h3 {
  font-size: 14px; font-weight: 700;
  color: #1a2e1a; margin-bottom: 6px; line-height: 1.4;
}
.blog-card-body h3 a {
  color: #1a2e1a; font-weight: 700;
  transition: color .2s;
}
.blog-card-body h3 a:hover { color: #4ba96d; }
.blog-card-body p {
  font-size: 12px; color: #666;
  margin-bottom: 10px; line-height: 1.55;
}
.wpcf7-form input, .wpcf7-form textarea{
    padding:12px;
    width:100%;
    box-sizing:border-box;
}
.wpcf7-submit{
    background:#4ba96d;
    border:1px solid #4ba96d;
    color:#fff;
    cursor:pointer;
}
.blog-card-body a {
  color: #4ba96d; font-weight: 700; font-size: 13px;
  transition: color .2s;
}
.blog-card-body a:hover { color: #2c6a55; }

/* Prev / Next butonları — carousel üzerine absolute */
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; border: 1.5px solid #ddd;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.carousel-prev { left: -18px; }
.carousel-next { right: -18px; }
.carousel-btn:hover {
  background: #4ba96d; border-color: #4ba96d;
}
.carousel-btn:hover svg { stroke: #fff; }
.carousel-btn svg {
  width: 18px; height: 18px; stroke: #444;
  transition: stroke .2s;
}
.carousel-btn:disabled {
  opacity: .35; pointer-events: none;
}

/* Dots */
.carousel-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 18px;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ccc; border: none; cursor: pointer;
  padding: 0; transition: background .2s, transform .2s;
}
.carousel-dot.active {
  background: #4ba96d; transform: scale(1.3);
}

/* ── FOOTER ── */
footer { background: #092513; color: #7f7f7f; margin-top: 50px;}
.footer-top { padding: 40px 0 30px; }
.footer-cols { display: flex; gap: 40px; }
.footer-col { flex: 1; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.footer-col ul li { padding: 4px 0; font-size: 13px; }
.footer-col ul li::before { content: "›"; margin-right: 6px; color: #7f7f7f; }
.footer-col ul li a { color: #7f7f7f; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }

.footer-extra h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 10px; margin-top: 26px; }
.footer-extra p { font-size: 13px; margin-bottom: 12px; }
.social-icons { display: flex; gap: 8px; }
.social-icon {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid #4ba96d;
  display: flex; align-items: center; justify-content: center;
  color: #4ba96d; transition: all .2s;
}
.social-icon:hover { border-color: #fff; color: #fff; }
.social-icon svg { width: 14px; height: 14px; fill: currentColor; } .social-icon:last-child svg{fill: none !important;}

.newsletter-form { display: flex; margin-top: 12px; }
.newsletter-form input {
  flex: 1; padding: 10px 14px;
  border: 1px solid #555; background: #3e3e3e; color: #ccc;
  border-radius: 5px 0 0 5px;
  font-family: 'Quicksand', sans-serif; font-size: 13px; outline: none;
}
.newsletter-form button {
  padding: 10px 16px; background: #4ba96d; border: none;
  color: #fff; border-radius: 0 5px 5px 0; cursor: pointer; font-size: 16px;
}

.footer-divider { border: none; border-top: 1px solid #444; }
.footer-bottom { padding: 16px 0; text-align: center; }
.payment-logos { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.pay-logo {
  background: rgba(255,255,255,0.1); border-radius: 4px;
  padding: 5px 10px; font-size: 11px; font-weight: 700; color: #ccc;
  transition: background .2s, color .2s;
}
a.pay-logo:hover {
  background: rgba(75,169,109,0.25);
  color: #a8e6c8;
}
.footer-copyright { font-size: 12px; color: #666; }
.footer-copyright a { color: #888; }

/* Footer iletişim bilgileri */
.footer-contact-info {
  margin-top: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: #aaa;
  transition: color .2s;
}
.footer-contact-item:hover { color: #fff; }
.footer-contact-item svg {
  width: 16px; height: 16px;
  stroke: #4ba96d; flex-shrink: 0;
}
.footer-contact-address { align-items: flex-start; cursor: default; line-height: 1.55; }
.footer-contact-address svg { margin-top: 2px; }

/* ── WHATSAPP BUTONU ── */
.whatsapp-btn {
  position: fixed;
  bottom: 86px; right: 24px;
  width: 52px; height: 52px;
  background: #4ba96d;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 998;
  box-shadow: 0 4px 16px rgba(75,169,109,.45);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  background: #3a9060;
  box-shadow: 0 6px 22px rgba(75,169,109,.6);
}
.whatsapp-btn svg {
  width: 28px; height: 28px;
  fill: #fff;
}

/* ── SCROLL UP ── */
.scrollup {
  position: fixed; bottom: 24px; right: 24px;
  width: 52px; height: 52px; background: #4ba96d;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 999; box-shadow: 0 4px 16px rgba(75,169,109,.45);
  transition: background .2s, transform .2s; opacity: 0; pointer-events: none;
}
.scrollup.visible { opacity: 1; pointer-events: all; }
.scrollup:hover { background: #3a9060; transform: scale(1.1); }
.scrollup svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2.5; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .ahsap-text h2 { font-size: 28px; }
  .band-text .band-title { font-size: 28px; }
}
@media (max-width: 900px) {
  .hero-cards { flex-wrap: wrap; }
  .area-box { flex: 0 0 calc(50% - 5px); }
  .secondary-nav .nav-links a { padding: 9px 10px; font-size: 12px; }
  .blog-card { flex: 0 0 calc(50% - 8px); }
}
@media (max-width: 600px) {
  .blog-card { flex: 0 0 calc(100% - 0px); }
  .carousel-btn { width: 32px; height: 32px; }
}
/* ── MOBİL MENU ── */
.hamburger-btn { display: none; }

.mobile-menu-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 998;
}
.mobile-menu-overlay.active { display: block; }

.mobile-menu {
  position: fixed; top: 0; left: -280px;
  width: 280px; height: 100%;
  background: #fff;
  z-index: 999;
  transition: left .3s ease;
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0,0,0,0.15);
}
.mobile-menu.open { left: 0; }

.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  background: #2c6a55;
  color: #fff;
}
.mobile-menu-title { font-size: 16px; font-weight: 700; }
.mobile-menu-close {
  background: none; border: none; cursor: pointer;
  color: #fff; display: flex; align-items: center; padding: 4px;
}
.mobile-menu-close svg { width: 22px; height: 22px; }

.mobile-nav-links { list-style: none; padding: 8px 0; }
.mobile-nav-links > li { border-bottom: 1px solid #f0f0f0; }
.mobile-nav-links > li > a {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  font-size: 14px; font-weight: 700; color: #333;
  transition: background .2s, color .2s;
}
.mobile-nav-links > li > a:hover { background: #f4faf6; color: #2c6a55; }
.mobile-nav-links > li > a svg { stroke: #4ba96d; flex-shrink: 0; }

.mobile-submenu-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: none; border: none; cursor: pointer;
  font-family: 'Quicksand', sans-serif;
  font-size: 14px; font-weight: 700; color: #333;
  transition: background .2s, color .2s;
}
.mobile-submenu-toggle:hover { background: #f4faf6; color: #2c6a55; }
.mobile-submenu-toggle svg {
  width: 12px; height: 12px; stroke: currentColor; fill: none;
  transition: transform .25s;
}
.mobile-has-sub.open .mobile-submenu-toggle svg { transform: rotate(180deg); }

.mobile-submenu {
  display: none; list-style: none;
  background: #f8fdf9;
  border-top: 1px solid #e8f0e8;
}
.mobile-has-sub.open .mobile-submenu { display: block; }
.mobile-submenu li a {
  display: block; padding: 11px 20px 11px 36px;
  font-size: 13px; font-weight: 600; color: #444;
  transition: color .2s;
}
.mobile-submenu li a::before { content: "›"; margin-right: 6px; color: #4ba96d; }
.mobile-submenu li a:hover { color: #2c6a55; }

.mobile-menu-search {
  padding: 16px 16px 24px;
  border-top: 1px solid #eee;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .video-galeri-grid { grid-template-columns: repeat(2, 1fr); }
  .top-info-bar .right-links { display: none; }
  .category-icons { grid-template-columns: repeat(3, 1fr); }
  .cat-item { margin-bottom: 0; }
  .metro-grid-row { flex-direction: column; }
  .area-box { flex: 0 0 100%; }
  .band-parallax-bg { background-attachment: scroll; inset: 0; }
  .band-text .band-title { font-size: 30px; }
  .footer-cols { flex-direction: column; }
  .ahsap-banner { flex-direction: column; align-items: flex-start; }
  .ahsap-text { text-align: left; }
  .secondary-nav { display: none; }
  .header-search { display: none; }
  .header-right .search-form { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .hamburger-btn { display: flex; }
  .galeri-grid { grid-template-columns: repeat(2, 1fr); gap: 7px; }
  
  .masonry-grid{
      display:block;
      
  }
  .masonry-item{
      margin-bottom:20px;
  }
  .single-featured-img img{height:auto;}
}
@media (max-width: 600px) {
  .cards-grid { grid-template-columns: 1fr; }
  .galeri-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .video-galeri-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero h1 { font-size: 22px; }
}

/* ════════════════════════════════════════
   PAGE TEMPLATE
════════════════════════════════════════ */

/* ── Sayfa başlık bandı ── */
.page-hero {
  background: linear-gradient(135deg, #2c6a55 0%, #2c6a55 100%);
  padding: 44px 0 38px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.page-breadcrumb {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}
/* Tüm alt elemanlar (Yoast span yapısı) */
.page-breadcrumb,
.page-breadcrumb span,
.page-breadcrumb p { font-size: 14px; }
.page-breadcrumb a {
  color: rgba(255,255,255,.85);
  transition: color .2s;
}
.page-breadcrumb a:hover { color: #fff; }
/* Yoast son öğe (aktif sayfa) */
.page-breadcrumb .breadcrumb_last,
.page-breadcrumb .bc-current {
  color: #a8e6c8;
  font-weight: 600;
}

/* ── İçerik sarmalayıcı ── */
.page-content-wrap { padding: 52px 0 72px; }

/* Yalnızca shortcode olan sayfalarda sıkışık görünmesin */
.page-content-wrap.page-sc-only { padding: 30px 0 60px; }

/* ── Metin sayfaları için tipografi ── */
.page-entry {
  max-width: 100%;
}
.page-entry p {
  line-height: 1.85;
  margin-bottom: 1.2em;
  color: #444;
}
.page-entry h2 {
  font-size: 22px; font-weight: 700;
  color: #1a3a1a;
  margin: 1.8em 0 .6em;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8f4ec;
}
.page-entry h3 {
  font-size: 18px; font-weight: 600;
  color: #2c6a3a;
  margin: 1.5em 0 .5em;
}
.page-entry h4 {
  font-size: 15px; font-weight: 700;
  color: #333;
  margin: 1.2em 0 .4em;
}
.page-entry ul, .page-entry ol {
  padding-left: 1.6em;
  margin-bottom: 1.2em;
}
.page-entry ul { list-style: disc; }
.page-entry ol { list-style: decimal; }
.page-entry li { margin-bottom: .45em; line-height: 1.75; color: #444; }
.page-entry a { color: #4ba96d; }
.page-entry a:hover { text-decoration: underline; }
.page-entry img { border-radius: 8px; margin: 1em 0; }
.page-entry figure { margin: 1.5em 0; }
.page-entry figcaption {
  font-size: 12px; color: #888;
  text-align: center; margin-top: 6px;
}
.page-entry blockquote {
  border-left: 4px solid #4ba96d;
  padding: 14px 20px;
  background: #f5fbf7;
  border-radius: 0 8px 8px 0;
  margin: 1.6em 0;
  color: #2c6a3a;
  font-style: italic;
}
.page-entry hr {
  border: none;
  border-top: 1px solid #e0e9e0;
  margin: 2em 0;
}
.page-entry table {
  width: 100%; border-collapse: collapse; margin: 1.5em 0;
}
.page-entry th, .page-entry td {
  padding: 10px 14px;
  border: 1px solid #dde8dd;
  font-size: 14px;
}
.page-entry th {
  background: #f0f8f0;
  font-weight: 700;
  color: #1a3a1a;
}
.page-entry tr:nth-child(even) td { background: #fafdf9; }

/* Shortcode galeri blokları sayfa içinde tam genişlik */
.page-entry .galeri-section,
.page-entry .ipekcim-sc-galeri {
  padding-left: 0;
  padding-right: 0;
}

/* ── Çok sayfalı içerik nav ── */
.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: #888;
}
.page-links span a,
.page-links > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid #dde8dd;
  border-radius: 6px;
  font-weight: 600;
  color: #4ba96d;
  transition: background .2s, color .2s;
}
.page-links span a:hover,
.page-links > a:hover {
  background: #4ba96d;
  color: #fff;
  border-color: #4ba96d;
}

/* ════════════════════════════════════════
   SINGLE.PHP
════════════════════════════════════════ */
.single-post-layout { max-width: 100%; }

/* ── Meta satırı ── */
.single-post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.single-cat-badge {
  background: #4ba96d; color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 3px 12px; border-radius: 20px;
  letter-spacing: .5px; text-transform: uppercase;
}
.single-meta-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; color: #888;
}
.single-meta-item svg {
  width: 14px; height: 14px;
  stroke: #4ba96d; fill: none; stroke-width: 2; flex-shrink: 0;
}

/* ── Öne çıkan görsel ── */
.single-featured-img {
  margin-bottom: 32px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
}
.single-featured-img img { width: 100%; display: block; }

/* ── Yazı içeriği — page-entry tipografisini devralır ── */
.single-post-content { margin-top: 0; }

/* ── Etiketler ── */
.single-tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid #e8f0e8;
}
.single-tags-label { font-size: 13px; color: #888; font-weight: 600; }
.single-tag-pill {
  background: #f0f8f0; color: #2c6a55;
  font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
  border: 1px solid #c8e6c9;
  transition: background .2s, color .2s;
}
.single-tag-pill:hover { background: #4ba96d; color: #fff; border-color: #4ba96d; }

/* ── Önceki / Sonraki yazı ── */
.single-post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid #e8f0e8;
}
.single-nav-item a {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 20px;
  background: #f8fbf8;
  border: 1px solid #e0ece0;
  border-radius: 10px;
  transition: background .2s, border-color .2s;
}
.single-nav-item a:hover { background: #edf7ef; border-color: #4ba96d; }
.single-nav-next a { text-align: right; }
.nav-direction { font-size: 11px; color: #4ba96d; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.nav-title { font-size: 14px; font-weight: 700; color: #1a2e1a; line-height: 1.4; }

/* ── İlgili yazılar ── */
.single-related { margin-top: 52px; }
.single-related-title {
  font-size: 20px; font-weight: 700; color: #1a2e1a;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8f4ec;
}
.single-related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

/* ════════════════════════════════════════
   CATEGORY.PHP
════════════════════════════════════════ */
.page-hero-desc {
  color: rgba(255,255,255,.75);
  font-size: 14px; margin-top: 6px; margin-bottom: 8px;
}
.archive-header {
  display: flex; align-items: center; justify-content: flex-end;
  margin-bottom: 20px;
}
.archive-count { font-size: 13px; color: #888; }
.archive-count strong { color: #4ba96d; }

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.archive-grid .blog-card { flex: none; }

/* Sayfalama */
.archive-pagination {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  margin: 40px 0 10px;
}
.archive-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid #dde8dd; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: #4ba96d;
  transition: background .2s, color .2s;
}
.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
  background: #4ba96d; color: #fff; border-color: #4ba96d;
}
.archive-pagination .page-numbers.prev,
.archive-pagination .page-numbers.next { width: auto; padding: 0 14px; }

/* Boş kategori */
.archive-empty {
  text-align: center; padding: 80px 20px;
  color: #aaa;
}
.archive-empty svg { width: 48px; height: 48px; stroke: #ccc; margin: 0 auto 16px; display: block; }
.archive-empty p { font-size: 15px; margin-bottom: 20px; }

/* ════════════════════════════════════════
   404.PHP
════════════════════════════════════════ */
.error-404-wrap {
  text-align: center;
  padding: 60px 20px 80px;
  max-width: 560px;
  margin: 0 auto;
}
.error-404-number {
  font-size: clamp(80px, 18vw, 160px);
  font-weight: 800;
  line-height: 1;
  color: #e8f4ec;
  letter-spacing: -4px;
  margin-bottom: -10px;
  background: linear-gradient(135deg, #4ba96d, #2c6a3a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.error-404-icon {
  margin: 0 auto 24px;
  width: 72px; height: 72px;
  background: #f0f8f0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.error-404-icon svg { width: 36px; height: 36px; stroke: #4ba96d; }
.error-404-wrap h2 { font-size: 22px; font-weight: 700; color: #1a2e1a; margin-bottom: 10px; }
.error-404-wrap > p { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 28px; }

.error-404-search {
  display: flex; max-width: 400px; margin: 0 auto 32px;
  border: 1.5px solid #c8e6c9; border-radius: 8px; overflow: hidden;
}
.error-404-search input {
  flex: 1; padding: 10px 14px; border: none; outline: none;
  font-size: 14px; font-family: inherit;
}
.error-404-search button {
  background: #4ba96d; border: none; padding: 0 16px; cursor: pointer;
  display: flex; align-items: center;
  transition: background .2s;
}
.error-404-search button:hover { background: #3a9060; }
.error-404-search button svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.5; }

.error-404-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.btn-back-home {
  display: inline-flex; align-items: center;
  background: #4ba96d; color: #fff;
  padding: 10px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 700;
  transition: background .2s;
}
.btn-back-home:hover { background: #3a9060; }
.btn-back-home.btn-outline {
  background: transparent; color: #4ba96d;
  border: 2px solid #4ba96d;
}
.btn-back-home.btn-outline:hover { background: #4ba96d; color: #fff; }

/* ════════════════════════════════════════
   SEARCH.PHP
════════════════════════════════════════ */
.search-results-form {
  display: flex;
  max-width: 560px;
  margin: 0 auto 28px;
  border: 1.5px solid #d0e8d0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.search-results-form input {
  flex: 1; padding: 12px 16px;
  border: none; outline: none;
  font-size: 15px; font-family: inherit; color: #333;
}
.search-results-form button {
  display: flex; align-items: center; gap: 7px;
  background: #4ba96d; color: #fff;
  border: none; padding: 0 20px;
  font-size: 14px; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: background .2s;
}
.search-results-form button:hover { background: #3a9060; }
.search-results-form button svg {
  width: 17px; height: 17px;
  stroke: #fff; fill: none; stroke-width: 2.5;
}
.search-result-count {
  text-align: center; font-size: 14px; color: #666;
  margin-bottom: 24px;
}
.search-result-count strong { color: #1a2e1a; }
.search-no-thumb {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(145deg, #f0f8f0, #e4f0e4);
  display: flex; align-items: center; justify-content: center;
}
.search-no-thumb svg { width: 40px; height: 40px; stroke: #b8d8b8; fill: none; stroke-width: 1.5; }
.search-no-results { text-align: center; padding: 60px 20px; }
.search-no-results h2 { font-size: 20px; font-weight: 700; color: #1a2e1a; margin: 16px 0 8px; }
.search-no-results p  { font-size: 14px; color: #777; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .single-related-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .single-post-nav { grid-template-columns: 1fr; }
  .single-nav-next a { text-align: left; }
}
@media (max-width: 600px) {
  .single-related-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
}
