/* ================= AS&KA Asil Kahve — stil ================= */

:root {
  --bg-black: #0d0805;
  --bg-dark: #150c07;
  --bg-brown: #20140c;
  --bg-brown-light: #2b1810;
  --gold: #d4af6a;
  --gold-light: #e9cf9a;
  --gold-dark: #a97c3c;
  --cream: #f5ead9;
  --cream-dim: rgba(245, 234, 217, 0.72);
  --whatsapp: #25D366;
  --whatsapp-dark: #1ebe57;
  --font-display: 'Playfair Display', 'Cormorant Garamond', serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;
  --header-h: 84px;
  --container-w: 1140px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  overflow-wrap: break-word;
  background: var(--bg-black);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

section { scroll-margin-top: var(--header-h); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--bg-black);
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- tipografi ---------- */

.eyebrow {
  font-family: var(--font-body);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  color: var(--cream);
  max-width: 720px;
}

.ornate-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 26px 0 40px;
}
.ornate-divider::before,
.ornate-divider::after {
  content: "";
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ornate-divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.ornate-divider span {
  width: 8px; height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

/* sections whose divider is left-aligned (not centered) share the same look */
.story-inner .ornate-divider,
.details .ornate-divider,
.products .ornate-divider,
.contact-inner .ornate-divider { margin-left: 0; justify-content: flex-start; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  color: #06230f;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.25);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(37, 211, 102, 0.35); }
.btn-whatsapp .icon-wa { width: 20px; height: 20px; fill: #06230f; flex-shrink: 0; }

.btn-outline {
  border-color: var(--gold);
  color: var(--gold-light);
  background: transparent;
}
.btn-outline:hover { background: rgba(212, 175, 106, 0.1); transform: translateY(-2px); }

.btn-lg { padding: 17px 34px; font-size: 1.02rem; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}
.site-header.scrolled {
  background: rgba(13, 8, 5, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  height: 70px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-emblem { filter: drop-shadow(0 0 6px rgba(212,175,106,0.25)); }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.brand-name em { color: var(--gold); font-style: normal; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-size: 0.92rem;
  color: var(--cream-dim);
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-link:hover { color: var(--gold-light); }
.nav-link:hover::after { width: 100%; }

.nav-cta { padding: 10px 20px; font-size: 0.88rem; }
.nav-cta .icon-wa { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid rgba(212,175,106,0.4);
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1px;
  background: var(--gold);
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 100px;
  text-align: center;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212,175,106,0.10), transparent 55%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-brown) 55%, var(--bg-black) 100%);
  z-index: -2;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(circle at 20% 30%, var(--gold) 0, transparent 2px),
                     radial-gradient(circle at 70% 60%, var(--gold) 0, transparent 2px),
                     radial-gradient(circle at 40% 80%, var(--gold) 0, transparent 2px),
                     radial-gradient(circle at 85% 20%, var(--gold) 0, transparent 2px),
                     radial-gradient(circle at 55% 45%, var(--gold) 0, transparent 2px);
  background-size: 260px 260px;
}

.hero-glow {
  position: absolute;
  top: 10%; left: 50%;
  width: min(620px, 120vw); height: min(620px, 120vw);
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(212,175,106,0.18), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-inner { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }

.hero-emblem { width: 96px; height: 96px; margin-bottom: 22px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  letter-spacing: 0.03em;
  color: var(--cream);
  margin-bottom: 10px;
}
.hero-title span {
  display: block;
  background: linear-gradient(120deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.62em;
  letter-spacing: 0.32em;
  margin-top: 6px;
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.hero-desc {
  color: var(--cream-dim);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }

.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1px solid rgba(212,175,106,0.5);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollcue 1.8s infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 20px; }
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- story ---------- */

.story {
  background: var(--bg-dark);
  padding: 110px 0;
}
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.story-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--cream-dim);
}
.story-photo {
  border: 1px solid rgba(212,175,106,0.3);
  border-radius: 18px;
  padding: 10px;
  background: var(--bg-brown-light);
}
.story-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
}

/* ---------- atmosphere (full-bleed photo band) ---------- */

.atmosphere {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-brown);
}
.atmosphere-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(13,8,5,0.72), rgba(13,8,5,0.45) 70%),
    linear-gradient(180deg, rgba(13,8,5,0.65), rgba(13,8,5,0.35) 45%, rgba(13,8,5,0.7));
}
.atmosphere-caption {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.75rem);
  color: var(--gold-light);
  max-width: 620px;
  text-align: center;
  margin: 0 24px;
  padding: 22px 36px;
  border-radius: 14px;
  background: rgba(13, 8, 5, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(212,175,106,0.25);
}

/* ---------- details ---------- */

.details {
  background: var(--bg-brown);
  padding: 110px 0;
  position: relative;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.detail-card {
  background: linear-gradient(160deg, rgba(212,175,106,0.06), transparent 60%), var(--bg-brown-light);
  border: 1px solid rgba(212,175,106,0.18);
  border-radius: 14px;
  padding: 32px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.detail-card:hover { transform: translateY(-6px); border-color: rgba(212,175,106,0.5); }

.detail-icon {
  width: 30px; height: 30px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 18px;
}

.detail-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 8px;
}
.detail-card p { color: var(--cream-dim); font-size: 0.94rem; }

/* ---------- products ---------- */

.products { background: var(--bg-black); padding: 110px 0; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.product-card {
  border: 1px solid rgba(212,175,106,0.18);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-dark);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(212,175,106,0.45); }

.product-photo {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(212,175,106,0.18), transparent 55%),
    linear-gradient(150deg, var(--bg-brown-light), var(--bg-brown) 70%);
  position: relative;
}
.product-photo::before {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(212,175,106,0.25);
  border-radius: 10px;
  z-index: 2;
  pointer-events: none;
}
.product-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.product-photo svg {
  position: relative;
  z-index: 1;
  width: 30%; height: 30%;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

.product-body { padding: 26px; }
.product-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 8px;
}
.product-body p { color: var(--cream-dim); font-size: 0.94rem; margin-bottom: 16px; }
.product-link { color: var(--gold-light); font-size: 0.9rem; font-weight: 500; }
.product-link:hover { color: var(--gold); }

/* ---------- contact ---------- */

.contact {
  background: var(--bg-brown);
  padding: 110px 0 130px;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,175,106,0.14), transparent 70%);
}

.contact-inner { max-width: 760px; position: relative; }
.contact-desc { color: var(--cream-dim); margin-bottom: 40px; font-size: 1rem; }

.contact-card {
  background: var(--bg-brown-light);
  border: 1px solid rgba(212,175,106,0.25);
  border-radius: 20px;
  padding: 46px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream-dim);
  font-size: 0.95rem;
}
.contact-meta-item svg {
  width: 18px; height: 18px;
  fill: var(--gold);
}
a.contact-meta-item:hover { color: var(--gold-light); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--bg-black);
  border-top: 1px solid rgba(212,175,106,0.15);
  padding: 44px 0 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
}
.footer-brand .brand-name { font-size: 1rem; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: var(--cream-dim); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--gold-light); }

.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(212,175,106,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social svg { width: 17px; height: 17px; fill: var(--gold); }
.footer-social a:hover { background: rgba(212,175,106,0.12); }

.footer-bottom {
  border-top: 1px solid rgba(212,175,106,0.1);
  padding: 18px 0;
  text-align: center;
}
.footer-bottom p { color: rgba(245,234,217,0.5); font-size: 0.82rem; }

/* ---------- floating whatsapp button ---------- */

.fab-whatsapp {
  position: fixed;
  right: calc(22px + env(safe-area-inset-right, 0px));
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 90;
  animation: fabpulse 2.6s infinite;
}
.fab-whatsapp svg { width: 28px; height: 28px; fill: #06230f; }
.fab-whatsapp:hover { transform: scale(1.06); }

@keyframes fabpulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45), 0 10px 30px rgba(37,211,102,0.4); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 10px 30px rgba(37,211,102,0.4); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 30px rgba(37,211,102,0.4); }
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .story, .details, .products { padding-top: 90px; padding-bottom: 90px; }
  .details-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .story-grid { grid-template-columns: 1fr; gap: 36px; }
  .story-photo { order: -1; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: rgba(13,8,5,0.97);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 26px;
    border-top: 1px solid rgba(212,175,106,0.15);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .main-nav.open { opacity: 1; transform: translateY(0); visibility: visible; }
  .nav-link { padding: 14px 0; border-bottom: 1px solid rgba(212,175,106,0.08); }
  .nav-cta { margin-top: 14px; justify-content: center; }
  .nav-toggle { display: flex; width: 44px; height: 44px; flex-shrink: 0; }
  .site-header.scrolled { height: var(--header-h); }
  .main-nav {
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
  }
  .brand { min-width: 0; }
  .header-inner { gap: 12px; }
}

@media (max-width: 620px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .btn-lg { padding: 16px 20px; font-size: 0.97rem; }
  .details-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 28px 20px; align-items: stretch; gap: 24px; }
  .contact-card .btn-lg { width: 100%; justify-content: center; }
  .contact-meta { flex-direction: column; gap: 6px; }
  .contact-meta-item { min-height: 44px; }
  .story { padding: 70px 0; }
  .details, .products, .contact { padding: 70px 0; }
  .contact { padding-bottom: 90px; }
  .hero { text-align: center; padding: calc(var(--header-h) + 20px) 0 110px; }
  .hero-tagline { font-size: 1.1rem; }
  .atmosphere-caption { padding: 16px 20px; margin: 0 16px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 20px; }
  .footer-nav { justify-content: center; gap: 12px 20px; }
  .site-footer { padding-bottom: 72px; }
  .fab-whatsapp { width: 54px; height: 54px; }
}

@media (max-width: 420px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .main-nav { padding-left: 18px; padding-right: 18px; }
  .brand-name { font-size: 1rem; letter-spacing: 0.02em; }
  .brand-emblem { width: 34px; height: 34px; }
  .eyebrow { letter-spacing: 0.18em; font-size: 0.7rem; }
  .hero-title span { letter-spacing: 0.2em; }
  .contact-card { padding: 24px 16px; }
  .detail-card { padding: 26px 20px; }
  .product-body { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .fab-whatsapp { animation: none; }
  .scroll-cue span { animation: none; }
}

/* ---------- logo (fotoğraf) ---------- */
.brand-emblem, .hero-emblem {
  border-radius: 50%;
  object-fit: cover;
}
.brand-emblem { width: 40px; height: 40px; }
.footer-brand .brand-emblem { width: 32px; height: 32px; }
@media (max-width: 420px) {
  .brand-emblem { width: 34px; height: 34px; }
  .footer-brand .brand-emblem { width: 30px; height: 30px; }
}

/* ---------- iletişim butonu: mobilde düzenli iki satır ---------- */
@media (max-width: 620px) {
  .contact-card .btn-lg { gap: 14px; padding: 14px 20px; }
  .contact-card .btn-lg .icon-wa { width: 26px; height: 26px; }
  .contact-card .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
    text-align: left;
  }
  .contact-card .btn-num { font-size: 1.05rem; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
  .contact-card .btn-sep { display: none; }
  .contact-card .btn-sub { font-size: 0.85rem; font-weight: 500; opacity: 0.85; white-space: nowrap; }
  .contact-card .btn-lg { justify-content: center; }
}

@media (max-width: 620px) {
  .site-footer { padding-top: 40px; padding-bottom: 80px; }
  .footer-inner { padding-bottom: 32px; }
  .footer-bottom { padding-top: 20px; padding-bottom: 20px; }
}
