/* ============================================================
   DRUPAL ORMAN ÜRÜNLERİ – Ana Stil Dosyası
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brown-dark:   #3d2b1f;
  --brown:        #6b3f2a;
  --brown-light:  #a0522d;
  --amber:        #d4813a;
  --amber-light:  #f0a85a;
  --cream:        #f8f5f0;
  --cream-dark:   #ede8e0;
  --white:        #ffffff;
  --text:         #2c1a0e;
  --text-muted:   #7a6050;
  --green:        #25d366;
  --green-dark:   #128c7e;
  --shadow-sm:    0 2px 8px rgba(61,43,31,.10);
  --shadow-md:    0 6px 24px rgba(61,43,31,.14);
  --shadow-lg:    0 16px 48px rgba(61,43,31,.18);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn--primary:hover {
  background: var(--brown-light);
  border-color: var(--brown-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn--outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}
.btn--white {
  background: var(--white);
  color: var(--brown);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--whatsapp {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--whatsapp:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--lg  { padding: 15px 32px; font-size: 1rem; }
.btn--sm  { padding: 9px 20px;  font-size: .875rem; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  color: var(--brown-dark);
  flex-shrink: 0;
}
.logo__icon { font-size: 1.6rem; }
.logo__text strong { color: var(--brown-light); }

/* Nav */
.nav { margin-left: auto; }
.nav__list {
  display: flex;
  gap: 4px;
}
.nav__list a {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.nav__list a:hover {
  color: var(--brown);
  background: var(--cream);
}
.header__cta { flex-shrink: 0; }

/* Mobile toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--brown-dark);
  margin-left: auto;
}
.nav__mobile {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--cream-dark);
  padding: 16px 24px 20px;
}
.nav__mobile ul { display: flex; flex-direction: column; gap: 8px; }
.nav__mobile a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition);
}
.nav__mobile a:hover { background: var(--cream); }
.nav__mobile .btn { margin-top: 8px; justify-content: center; }
.nav__mobile.open { display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 50%, var(--brown-light) 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(212,129,58,.25) 0%, transparent 60%),
    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");
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 80px 24px 100px;
  max-width: 640px;
}
.hero__badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: var(--amber-light);
  border: 1px solid rgba(255,255,255,.2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero__title span { color: var(--amber-light); }
.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  max-width: 500px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
}
.hero__wave svg { width: 100%; height: 100%; }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--cream);
  padding: 48px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stat-card__num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brown-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card__label {
  font-size: .9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section { padding: 88px 0; }
.section--alt { background: var(--cream); }

.section__head {
  text-align: center;
  margin-bottom: 56px;
}
.section__tag {
  display: inline-block;
  background: rgba(160,82,45,.12);
  color: var(--brown-light);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section__title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--brown-dark);
  margin-bottom: 12px;
}
.section__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--amber);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card--featured {
  border-color: var(--amber);
}
.service-card--featured .service-card__body {
  background: linear-gradient(145deg, var(--brown) 0%, var(--brown-dark) 100%);
  color: var(--white);
}
.service-card--featured .service-card__body h3,
.service-card--featured .service-card__body p { color: var(--white); }
.service-card--featured .service-card__body .service-card__list li { color: rgba(255,255,255,.85); }

/* Resim alanı */
.service-card__img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--cream-dark);
  flex-shrink: 0;
}
.service-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
  display: block;
}
.service-card:hover .service-card__img-wrap img {
  transform: scale(1.06);
}
/* Resim yüklenemezse fallback */
.service-card__img-wrap.img-error {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.service-card__img-wrap.img-error::after {
  content: '🪵';
  font-size: 4rem;
}

/* Resim üstü etiket */
.service-card__img-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brown-dark);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.service-card__img-badge--amber { background: var(--amber); }
.service-card__img-badge--blue  { background: #2563eb; }

/* "En Çok Tercih" rozeti */
.service-card__badge {
  position: absolute;
  top: 206px; /* resim yüksekliği - 14px */
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--white);
  padding: 4px 18px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* İçerik alanı */
.service-card__body {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.service-card__icon { font-size: 2.2rem; }
.service-card__body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brown-dark);
}
.service-card__body p { color: var(--text-muted); font-size: .93rem; flex: 1; line-height: 1.65; }
.service-card__list { display: flex; flex-direction: column; gap: 6px; }
.service-card__list li { font-size: .88rem; color: var(--text-muted); }

/* ============================================================
   ABOUT
   ============================================================ */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.about__img-wrap:hover .about__img { transform: scale(1.04); }
.about__img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(61,43,31,.85) 0%, transparent 100%);
  padding: 28px 24px 20px;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}
.about__img-placeholder {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
  height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: var(--radius-lg);
}
.about__img-placeholder span { font-size: 6rem; }
.about__img-placeholder p {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  font-weight: 600;
}
.about__text { display: flex; flex-direction: column; gap: 18px; }
.about__text .section__tag { align-self: flex-start; }
.about__text p { color: var(--text-muted); line-height: 1.75; }
.about__text strong { color: var(--brown-dark); }

/* ============================================================
   FEATURES
   ============================================================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--amber);
}
.feature-card__icon { font-size: 2.4rem; margin-bottom: 14px; }
.feature-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 10px;
}
.feature-card p { font-size: .9rem; color: var(--text-muted); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--brown-light) 0%, var(--brown-dark) 100%);
  padding: 64px 0;
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.cta-banner p { color: rgba(255,255,255,.8); font-size: 1.05rem; }
.cta-banner__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact__info { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-item__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item strong {
  display: block;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-item a {
  color: var(--brown-light);
  font-weight: 600;
  font-size: 1.05rem;
}
.contact-item a:hover { color: var(--amber); }
.contact-item span { font-weight: 500; color: var(--text); }
.contact__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 420px;
}
.contact__map iframe { width: 100%; height: 100%; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,.75);
  padding: 48px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 40px;
}
.footer__brand { display: flex; flex-direction: column; gap: 8px; }
.footer__logo {
  font-size: 1.1rem;
  color: var(--white);
}
.footer__brand p { font-size: .9rem; }
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.footer__links a {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--amber-light); }
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.footer__contact a {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer__contact a:hover { color: var(--amber-light); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 24px;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--amber);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 99;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top:hover {
  background: var(--brown-light);
  transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__img { height: 300px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__contact { align-items: flex-start; }
}

@media (max-width: 768px) {
  .nav, .header__cta { display: none; }
  .nav__toggle { display: block; }

  .hero__content { padding: 60px 24px 80px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .services__grid { grid-template-columns: 1fr; }
  .service-card__img-wrap { height: 240px; }
  .service-card__badge { top: 226px; }

  .features__grid { grid-template-columns: 1fr 1fr; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__map { height: 300px; }

  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__btns { justify-content: center; }

  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer__contact { align-items: flex-start; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .contact__actions { flex-direction: column; }
  .contact__actions .btn { justify-content: center; }
}

/* ============================================================
   SON POSTLAR
   ============================================================ */
.posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.post-card:hover {
  border-color: var(--amber);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.post-card__cat {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown));
  padding: 14px 20px 12px;
}
.post-card__cat span {
  display: inline-block;
  background: rgba(255,255,255,.18);
  color: var(--amber-light);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.15);
}

.post-card__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.post-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.4;
  margin: 0;
}

.post-card__excerpt {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--cream-dark);
  margin-top: auto;
}
.post-card__author,
.post-card__date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.post-card__author svg,
.post-card__date svg {
  color: var(--amber);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .posts__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .posts__grid { grid-template-columns: 1fr; }
}
