/* Doğal bal & arı ürünleri — sıcak, doğal tema */
:root {
  --honey: #c9a227;
  --honey-dark: #8b6914;
  --cream: #fdf8ee;
  --cream-dark: #f0e6d4;
  --bark: #2c2416;
  --bark-soft: #4a3f2f;
  --white: #fffef9;
  --shadow: rgba(0, 0, 0, 0.45);
  --radius: 12px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  /* Koyu sayfa zemini */
  --bg-page: #000000;
  --bg-elevated: #141414;
  --bg-card: #161616;
  --border-subtle: #2a2a2a;
  --text-on-dark: #ece6dc;
  --text-muted-dark: #9a8f7e;
  --header-safe-top: 88px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-on-dark);
  background: var(--bg-page);
}

/* Masaüstünde (arı + fare) sistem imleci gizli; tıklanabilir öğelerde görünür */
@media (min-width: 769px) and (pointer: fine) {
  body {
    cursor: none;
  }

  a[href],
  button,
  .btn,
  summary,
  label[for],
  [role="button"],
  .hamburger,
  .icon-link,
  .hero-btn,
  .hero-dot {
    cursor: pointer;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  input[type="password"],
  textarea {
    cursor: text;
  }

  select {
    cursor: pointer;
  }

  body.nav-open {
    cursor: auto;
  }

  body.nav-open a[href],
  body.nav-open button,
  body.nav-open .btn {
    cursor: pointer;
  }
}

body.nav-open {
  overflow: hidden;
}

/* Gezinen arı (images/animation.svg + JS), tıklamayı engellemez */
.site-bee {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 85;
  width: 52px;
  height: 58px;
  margin: 0;
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
  opacity: 1;
  transition: opacity 0.2s ease;
}

.site-bee__img {
  display: block;
  width: 52px;
  height: auto;
}

/* İmleç göründüğünde (link, buton, form) arıyı gizle — çakışmayı önler */
@media (min-width: 769px) and (pointer: fine) {
  body:has(
      :is(a[href], button, .btn, input, textarea, select, label[for], [role="button"], .hamburger, .icon-link, .hero-btn, .hero-dot, summary):hover
    )
    .site-bee {
    opacity: 0;
  }
}

body.nav-open .site-bee {
  opacity: 0;
  transition: opacity 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  .site-bee {
    display: none !important;
  }
}

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

a {
  color: #d4b44a;
  text-decoration: none;
}

a:hover {
  color: var(--honey);
  text-decoration: underline;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border-subtle);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.85rem 0;
  gap: 1rem;
  position: relative;
}

.nav-main {
  grid-column: 1;
  justify-self: start;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--text-on-dark);
  letter-spacing: 0.02em;
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  z-index: 120;
}

.logo span {
  color: var(--honey);
}

.logo:hover {
  text-decoration: none;
}

.logo img {
  display: block;
  width: auto;
  height: 44px;
}

.hamburger {
  display: none;
  grid-column: 1;
  justify-self: start;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.12);
  color: #ffffff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.hamburger:hover {
  color: var(--honey);
  border-color: rgba(201, 162, 39, 0.45);
  background: rgba(0, 0, 0, 0.28);
}

.hamburger:focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 2px;
}

.hamburger-icon {
  display: block;
}

.hamburger-icon--close {
  display: none;
}

body.nav-open .hamburger-icon--open {
  display: none;
}

body.nav-open .hamburger-icon--close {
  display: block;
}

.nav-main ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-main a {
  color: var(--text-on-dark);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-main a:hover {
  color: var(--honey);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  grid-column: 3;
  justify-self: end;
}

.header-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.12);
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease,
    color 0.2s ease;
}

.icon-link:hover {
  transform: translateY(-1px);
  color: var(--honey);
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(201, 162, 39, 0.45);
}

.icon-link:focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 2px;
}

.icon-link svg {
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(145deg, var(--honey), var(--honey-dark));
  color: var(--white);
  box-shadow: 0 4px 14px var(--shadow);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(139, 105, 20, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
  background: var(--bg-elevated);
  border-color: #3a3a3a;
  color: var(--text-on-dark);
}

/* Hero slider */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg-page);
  /* Hero ilk ekranda tam kaplasın; header üstüne biner */
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100vh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tüm slaytlar: yazı okunurluğu için aynı karartma */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.52) 45%,
    rgba(0, 0, 0, 0.32) 100%
  );
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  pointer-events: none;
  padding-top: var(--header-safe-top);
}

.hero-content .container {
  pointer-events: auto;
  padding-block: 2rem;
}

.hero-text {
  max-width: min(52rem, 100%);
  color: var(--white);
}

@keyframes hero-soft-in {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-soft-in-desc {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 0.95;
    transform: translate3d(0, 0, 0);
  }
}

.hero-text--reveal .hero-kicker,
.hero-text--reveal h1,
.hero-text--reveal .hero-cta {
  animation-duration: 0.75s;
  animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
  animation-fill-mode: both;
  animation-name: hero-soft-in;
}

.hero-text--reveal [data-hero-desc] {
  animation-duration: 0.75s;
  animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
  animation-fill-mode: both;
  animation-name: hero-soft-in-desc;
}

.hero-text--reveal .hero-kicker {
  animation-delay: 0.08s;
}

.hero-text--reveal h1 {
  animation-delay: 0.18s;
}

.hero-text--reveal [data-hero-desc] {
  animation-delay: 0.3s;
}

.hero-text--reveal .hero-cta {
  animation-delay: 0.42s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-text--reveal .hero-kicker,
  .hero-text--reveal h1,
  .hero-text--reveal [data-hero-desc],
  .hero-text--reveal .hero-cta {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .hero-text--reveal [data-hero-desc] {
    opacity: 0.95;
  }
}

.hero-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 0.75rem;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-text p {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  opacity: 0.95;
  line-height: 1.55;
}

/* 1. ve 3. slaytta iki satırlık blok; JS’te \n ile aynı düzen */
.hero-text [data-hero-desc] {
  white-space: pre-line;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-cta .btn-primary {
  background: var(--honey);
  color: #141109;
}

.hero-cta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.hero-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Slider controls */
.hero-controls {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(44, 36, 22, 0.45);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.hero-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-btn:focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 2px;
}

.hero-dots {
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.hero-dot[aria-current="true"] {
  background: var(--honey);
  transform: scale(1.15);
}

.hero-dot:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* Sections */
.section {
  padding: 4rem 0;
  scroll-margin-top: calc(var(--header-safe-top) + 16px);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 600;
  text-align: center;
  margin: 0 0 0.5rem;
  color: var(--text-on-dark);
}

.section-lead {
  text-align: center;
  color: var(--text-muted-dark);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  font-size: 1.02rem;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 20rem));
  justify-content: center;
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 20rem));
  }
}

@media (max-width: 520px) {
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-inline: auto;
  }
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 28px var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
  border-color: rgba(201, 162, 39, 0.35);
}

.product-card figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  background: var(--bg-elevated);
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 1.1rem 1.15rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
  color: var(--text-on-dark);
}

.product-origin {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--honey);
  margin: 0 0 0.5rem;
}

.product-meta {
  font-size: 0.88rem;
  color: var(--text-muted-dark);
  margin-bottom: 1rem;
  flex: 1;
}

.product-card .btn-primary {
  width: 100%;
  margin-top: auto;
}

/* Trust strip */
.trust-strip {
  background: linear-gradient(180deg, #0a0a0a 0%, var(--bg-elevated) 50%, #0a0a0a 100%);
  border-block: 1px solid var(--border-subtle);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
  padding: 2rem 0;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-on-dark);
}

.trust-item span {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
}

/* Footer */
.site-footer {
  background: #050505;
  color: var(--text-muted-dark);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h4 {
  font-family: var(--font-display);
  color: var(--text-on-dark);
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  color: #c9b8a0;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--honey);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  font-size: 0.88rem;
  text-align: center;
  color: var(--text-muted-dark);
  opacity: 1;
}

@media (min-width: 769px) {
  .hamburger {
    display: none !important;
  }

  .nav-backdrop {
    display: none !important;
  }

  .logo {
    bottom: -40px;
  }

  .logo img {
    height: 80px;
  }
}

@media (max-width: 768px) {
  .site-header.is-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-main {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(320px, 86vw);
    /* Petek görseli: images/hamburgermenubackground.svg (+ hafif karartma, yazı kontrastı) */
    background-color: #080808;
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.58)
      ),
      url("../images/hamburgermenubackground.svg");
    background-size: cover, cover;
    background-position: center center, center center;
    background-repeat: no-repeat, no-repeat;
    border-right: 1px solid rgba(201, 162, 39, 0.28);
    transform: translateX(-105%);
    transition: transform 200ms ease;
    /* Menü linkleri panelde yatay/dikey ortada */
    padding: max(env(safe-area-inset-top, 0px), 0.75rem) 1rem
      max(env(safe-area-inset-bottom, 0px), 0.75rem) 1rem;
    z-index: 160;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
  }

  body.nav-open .nav-main {
    transform: translateX(0);
  }

  .nav-main ul {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0;
    text-align: center;
    width: 100%;
  }

  .nav-main li {
    width: 100%;
    max-width: 16rem;
  }

  .nav-main a {
    display: block;
    padding: 0.9rem 0.75rem;
    border-radius: 10px;
    font-size: 1.38rem;
    font-weight: 600;
    text-align: center;
  }

  .nav-main a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 150;
  }

  body.nav-open .nav-backdrop {
    display: block;
  }

  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .logo {
    bottom: -72px;
  }

  .logo img {
    height: 94px;
  }

  .header-actions {
    grid-column: 1;
    justify-self: center;
  }

  .hamburger {
    display: inline-flex;
    position: fixed;
    top: 10px;
    left: 12px;
    z-index: 170;
  }

  .header-actions {
    width: 100%;
  }

  .header-icons {
    position: fixed;
    right: 14px;
    bottom: 14px;
    flex-direction: column;
    gap: 0.6rem;
    z-index: 200;
    padding: 10px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
  }

  .icon-link {
    width: 46px;
    height: 46px;
  }
}
