/* ==========================================================================
   Burak Zeytinyağı Fabrikası — Ana Stil Dosyası
   Marka renkleri "TOKENS" bölümünde tanımlı — tüm sayfalar buradan
   otomatik etkilenir.
   ========================================================================== */

:root {
  /* ---- TOKENS: Castabala Burolive / Burak Zeytinyağı gerçek marka renkleri ---- */
  --color-olive-dark: #1f3320;
  --color-olive: #2f4a2f;
  --color-olive-light: #6b8a5a;
  --color-gold: #bb9a4a;
  --color-gold-light: #e3d3a3;
  --color-cream: #f6f2e6;
  --color-cream-dark: #ece4cd;
  --color-text: #362d22;
  --color-text-muted: #6b6152;
  --color-white: #ffffff;

  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  --max-width: 1160px;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(61, 74, 42, 0.10);
}

/* ---- Reset ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-olive-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { color: var(--color-text-muted); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 4.5rem 0; }
.section--alt { background: var(--color-cream-dark); }
.section--dark { background: var(--color-olive-dark); color: var(--color-cream); }
.section--dark h2, .section--dark h3 { color: var(--color-gold-light); }
.section--dark p { color: var(--color-cream-dark); }

.section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-intro p {
  margin-top: 0.6rem;
}

.video-showcase {
  max-width: 780px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-showcase video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--color-olive-dark);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--color-olive-dark);
  color: var(--color-white);
}
.btn--primary:hover { background: var(--color-olive); box-shadow: var(--shadow); }

.btn--outline {
  border-color: var(--color-olive-dark);
  color: var(--color-olive-dark);
}
.btn--outline:hover { background: var(--color-olive-dark); color: var(--color-white); }

.btn--gold {
  background: var(--color-gold);
  color: var(--color-olive-dark);
}
.btn--gold:hover { background: var(--color-gold-light); }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 239, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-cream-dark);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo img {
  height: 52px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav__links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--color-olive-dark);
  border-color: var(--color-gold);
}

/* ---- Hero (video background) ---- */
.hero-video {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(31, 51, 32, 0.55), rgba(31, 51, 32, 0.15) 65%);
  z-index: 1;
}
.hero-video__box {
  position: relative;
  z-index: 2;
  background: var(--color-cream);
  padding: 2.5rem 2.2rem;
  border-radius: var(--radius);
  max-width: 460px;
  margin: 3rem 0 3rem 1.5rem;
  box-shadow: var(--shadow);
}
.hero-video__box h1 { margin-bottom: 1rem; }
.hero-video__box p.lead {
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .hero-video { min-height: 560px; }
  .hero-video__box { margin: 2rem 1rem; padding: 1.8rem; max-width: none; }
}

/* ---- Swipeable gallery ---- */
.gallery-hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* ---- Bento photo grid ---- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 240px) auto;
  grid-template-areas:
    "a a b c"
    "a a d e"
    "f f f f";
  gap: 1rem;
}
.bento-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
@media (hover: hover) and (pointer: fine) {
  .bento-item:hover img { transform: scale(1.07); }
}
.bento-item--a { grid-area: a; }
.bento-item--b { grid-area: b; }
.bento-item--c { grid-area: c; }
.bento-item--d { grid-area: d; }
.bento-item--e { grid-area: e; }
.bento-item--f {
  grid-area: f;
  aspect-ratio: 21 / 9;
}
.bento-item--f img { object-position: center 68%; }

@media (max-width: 720px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 220px 160px 160px auto;
    grid-template-areas:
      "a a"
      "b c"
      "d e"
      "f f";
  }
  .bento-item--f { aspect-ratio: 16 / 9; }
}

/* ---- Testimonials (swipeable) ---- */
.testimonials {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}
.testimonial-card {
  flex: 0 0 auto;
  width: min(85vw, 340px);
  scroll-snap-align: start;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.testimonial-card__stars {
  color: var(--color-gold);
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
}
.testimonial-card__quote {
  color: var(--color-text);
  font-style: italic;
  flex: 1;
  margin-bottom: 1rem;
}
.testimonial-card__author {
  font-weight: 700;
  color: var(--color-olive-dark);
  font-size: 0.9rem;
}

.page-hero {
  padding: 3.5rem 0;
  background: var(--color-olive-dark);
  color: var(--color-cream);
  text-align: center;
}
.page-hero h1 { color: var(--color-white); }
.page-hero p { color: var(--color-gold-light); max-width: 560px; margin: 0.75rem auto 0; }

/* ---- Cards / grids ---- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-top: 1.1rem;
  border-top: 2px solid var(--color-gold);
  transition: border-color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .why-item:hover { border-top-color: var(--color-olive-dark); }
}
.why-item__icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
}
.why-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}
.why-item p {
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 720px) {
  .why-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .why-item {
    border-top: none;
    border-left: 2px solid var(--color-gold);
    padding-top: 0;
    padding-left: 1rem;
  }
}

.photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.facts-strip {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-cream-dark);
  text-align: center;
}
.facts-strip__num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-olive-dark);
  line-height: 1;
}
.facts-strip__label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 0.4rem;
}

@media (max-width: 600px) {
  .facts-strip { gap: 1.75rem; }
  .facts-strip__num { font-size: 1.8rem; }
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info__item {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}
.contact-info__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-embed {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: var(--radius);
  background: var(--color-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  text-align: center;
  padding: 1rem;
}

.social-links {
  margin-top: 1.5rem;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--color-olive-dark);
  color: var(--color-cream-dark);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.site-footer a, .site-footer p { color: var(--color-cream-dark); font-size: 0.9rem; }
.site-footer li { margin-bottom: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--color-olive-light);
  text-align: center;
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Sticky mobile call bar ---- */
.call-fab { display: none; }
@media (max-width: 720px) {
  .call-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 1.1rem;
    bottom: calc(1.6rem + env(safe-area-inset-bottom, 0px));
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-olive-dark);
    font-size: 1.4rem;
    box-shadow: 0 8px 20px rgba(31, 51, 32, 0.3);
    z-index: 200;
  }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .nav { padding: 0.75rem 1rem; }
  .nav__logo img { height: 38px; }
  .nav__links { gap: 0.85rem; }
  .nav__links a { font-size: 0.82rem; }
}
