/* Korifi Foods — Minimal, modern, mobile-first */

/* ============ THEME ============ */

:root {
  /* Zeminler */
  --bg: #050816;           /* çok koyu lacivert-mavi */
  --bg-soft: #070f1f;      /* içerik blokları için biraz daha açık */
  --card: #0b1729;         /* kart arka planı (hafif mavi) */
  --card-alt: #0f172a;     /* alternatif kart zemin */

  /* Metinler */
  --fg: #e7ecf5;
  --muted: #94a3b8;

  /* GIDA İÇİN UYGUN AKSANLAR */
  --accent: #16a34a;       /* taze yeşil */
  --accent-soft: #bbf7d0;  /* pastel yeşil */
  --accent-dark: #166534;  /* koyu yeşil */

  /* Sıcak küçük vurgu */
  --accent-warm: #f97316;  /* turuncu – fırın, ekmek, güneş hissi */

  --border: #1e293b;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 18px 40px rgba(15,23,42,.18);
  --shadow-card: 0 10px 25px rgba(15,23,42,.26);
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,sans-serif;
  color: var(--fg);
  background:
    radial-gradient(circle at top, #0f172a 0, #020617 50%, #020617 100%);
  line-height: 1.6;
  overflow-x: hidden; /* 100vw map hack’i için */
}

/* ============ UTILITIES ============ */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 16px;
}

.section {
  padding: 64px 0;
}

.section-alt {
  padding: 72px 0;
  background: linear-gradient(to bottom, #070f1f, #020617);
}

.section-header {
  text-align: left;
  margin-bottom: 32px;
}

.section-header h2 {
  margin: 0 0 8px;
  font-size: 1.9rem;
  color: #f9fafb;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
}

/* ============ HEADER ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(2,6,23,0.98), rgba(2,6,23,0.88));
  border-bottom: 1px solid rgba(148,163,184,0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 10px;
  gap: 16px;
}

.logo img {
  display: block;
  height: auto;
  max-height: 60px;   /* desktop header */
  width: auto;
}

.main-nav {
  display: none;
}

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

.main-nav a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.94rem;
  padding: 6px 0;
}

.main-nav a:hover {
  color: var(--accent-soft);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  padding: 4px 14px;
  font-size: 0.8rem;
  text-decoration: none;
  color: #e5e7eb;
}

.lang-switch:hover {
  background: rgba(148,163,184,0.15);
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  background: #e5e7eb;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-3px) rotate(-45deg);
}

.main-nav.is-open {
  display: block;
  position: absolute;
  inset: 56px 12px auto 12px;
  border-radius: 16px;
  background: rgba(15,23,42,0.98);
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: var(--shadow-card);
}

.main-nav.is-open ul {
  flex-direction: column;
  padding: 12px 16px;
}

/* ============ HERO / SLIDER ============ */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: relative;
}

.hero-slide {
  position: relative;
  display: none;
  min-height: 640px;
}

.hero-slide.is-active {
  display: block;
}

.hero-slide picture,
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

/* Foto kararmasın, ama yazı da rahat okunsun */
.hero-slide::after {
  background: linear-gradient(
    to bottom,
    rgba(15,23,42,0.02) 0%,
    rgba(15,23,42,0.35) 45%,
    rgba(15,23,42,0.65) 100%
  );
}

.hero-content {
  position: relative;
  padding-top: 72px;
  padding-bottom: 96px;
  color: #e5e7eb;
}

/* Blur’lu panel istersen kullan */
.hero-content-inner {
  display: inline-block;
  padding: 14px 18px;
  border-radius: 18px;
  background: radial-gradient(circle at top,
              rgba(15,23,42,0.75),
              rgba(15,23,42,0.90));
  backdrop-filter: blur(4px);
}

.hero-content h1,
.hero-content h2 {
  margin: 0 0 12px;
  color: #ffffff;
  text-shadow: 0 3px 16px rgba(0,0,0,0.9);
}

.hero-content h1 {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
}

.hero-content h1 span {
  font-size: 1.1rem;
  display: block;
  color: var(--accent-soft);
}

.hero-content p {
  max-width: 640px;
  color: #f9fafb;
  margin: 0 0 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* HERO dots */

.hero-dots {
  position: absolute;
  inset-inline: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  background: rgba(15,23,42,0.5);
  padding: 0;
  cursor: pointer;
}

.hero-dots .dot.is-active {
  background: var(--accent);
  border-color: transparent;
}

/* HORECA slide – şefi kadraja al */
.hero-slide--horeca img {
  object-fit: cover;
  object-position: left center;
}

/* Mobilde biraz daha yukarıdan göster */
@media (max-width: 768px) {
  .hero,
  .hero-slider,
  .hero-slide {
    min-height: 540px;
  }

  .hero-slide--horeca img {
    object-position: left 40%;
  }
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(to right, var(--accent), var(--accent-dark));
  color: #ecfdf5;
  box-shadow: 0 14px 32px rgba(15,23,42,0.7);
}

.btn-primary:hover {
  filter: brightness(1.05);
  background: linear-gradient(to right, var(--accent), var(--accent-warm));
}

.btn-ghost {
  background: rgba(15,23,42,0.75);
  color: #e5e7eb;
  border-color: rgba(148,163,184,0.9);
}

.btn-ghost:hover {
  background: rgba(15,23,42,0.95);
}

.btn-full {
  width: 100%;
}

/* ============ ABOUT ============ */

.about-grid {
  display: grid;
  gap: 32px;
  align-items: flex-start;
}

.about-grid h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.7rem;
}

.about-grid p {
  color: #e2e8f0;
}

.about-cards {
  display: grid;
  gap: 16px;
}

/* Info & sector kartları için ortak yapı */
.info-card,
.sector-card {
  background: linear-gradient(135deg, #0b1729, #020617);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  border: 1px solid rgba(148,163,184,0.45);
  box-shadow: var(--shadow-card);
}

.info-card h3,
.sector-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #f9fafb;
}

.info-card p,
.sector-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ============ BRANDS GRID ============ */

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
}

.brands-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

/* DIŞ KART */
.brand-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  background: radial-gradient(circle at top,
              #020617 0%,
              #020617 55%,
              #050816 100%);
  border-radius: 22px;
  border: 1px solid rgba(148,163,184,0.55);
  box-shadow: 0 14px 28px rgba(15,23,42,0.75);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* İÇ İNCE ÇERÇEVE */
.brand-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.25);
  pointer-events: none;
}

.brand-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-soft);
  box-shadow: 0 18px 40px rgba(15,23,42,0.95);
}

/* İÇ LOGO ALANI */
.brand-logo-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 150px; /* LOGO SAHNESİ */
  border-radius: 16px;
  background: radial-gradient(circle at top,
              rgba(34,197,94,0.10) 0%,
              rgba(15,23,42,0.85) 70%,
              rgba(15,23,42,0.98) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px 10px;
}

/* LOGO – tam görünsün, kesme yok */
.brand-logo-wrap img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* SADECE LOGO; METİN YOK */
.brand-card .brand-meta {
  display: none;
}

.brands-note {
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--muted);
}

/* ============ SECTORS ============ */

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 16px;
}

/* sector-card yapısı yukarıda ortak */

/* ============ CONTACT ============ */

.contact-grid {
  display: grid;
  gap: 32px;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  color: #e5e7eb;
}

.contact-list li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.contact-list a {
  color: var(--accent-soft);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-note {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form {
  background: rgba(15,23,42,0.98);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: var(--shadow-soft);
}

.form-field {
  margin-bottom: 12px;
}

.form-field label {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 4px;
  color: #cbd5f5;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.6);
  padding: 8px 10px;
  font: inherit;
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-privacy {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ============ FOOTER ============ */

.site-footer {
  border-top: 1px solid rgba(148,163,184,0.35);
  padding: 18px 0;
  background: #020617;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.footer-brand {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
}

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-soft);
}

/* ============ MAP SECTION ============ */

.map-section {
  padding: 40px 0 0;
  background: #020617;
  border-top: 1px solid rgba(148,163,184,0.35);
}

.map-header h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  color: #e5e7eb;
}

.map-header p {
  margin: 0 0 16px;
  color: #94a3b8;
  max-width: 640px;
}

/* Tam geniş harita */
.map-embed-full {
  margin-top: 10px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-top: 1px solid rgba(15,23,42,1);
  border-bottom: 1px solid rgba(15,23,42,1);
  box-shadow: 0 -8px 25px rgba(15,23,42,0.9);
}

.map-embed-full iframe {
  display: block;
  width: 100% !important;
  height: 280px;
}

@media (min-width: 720px) {
  .map-embed-full iframe {
    height: 360px;
  }
}

@media (min-width: 1024px) {
  .map-embed-full iframe {
    height: 440px;
  }
}

/* ============ RESPONSIVE BREAKPOINTS ============ */

@media (min-width: 720px) {
  .main-nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .hero-content {
    padding-top: 96px;
    padding-bottom: 120px;
  }

  .about-grid {
    grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .about-cards {
    grid-template-columns: 1fr;
  }
}

/* Mobile tweak’ler */

@media (max-width: 480px) {
  .logo img {
    max-height: 48px;
  }

  .brand-logo-wrap {
    height: 140px;
  }
}
