/*
Theme Name: Vellenza
Template: storefront
Description: Vellenza Home — "Doğal Keten / Toprak Kontrast" kimliği: koyu adaçayı hero, buğday vurgu, kemer formları.
Version: 2.3
Author: Vellenza Home
Text Domain: vellenza
*/

/* ---------- Fontlar (self-hosted, latin-ext) ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url(fonts/fraunces-v38-latin_latin-ext-regular.woff2) format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url(fonts/fraunces-v38-latin_latin-ext-500.woff2) format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url(fonts/fraunces-v38-latin_latin-ext-500italic.woff2) format('woff2');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url(fonts/fraunces-v38-latin_latin-ext-600.woff2) format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Karla';
  src: url(fonts/karla-v33-latin_latin-ext-regular.woff2) format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Karla';
  src: url(fonts/karla-v33-latin_latin-ext-600.woff2) format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Tasarım token'ları — Doğal Keten ---------- */
:root {
  --vlz-bg: #FAF8F4;        /* kırık beyaz zemin */
  --vlz-card: #FFFFFF;      /* kart beyazı */
  --vlz-panel: #E6DECD;     /* kum paneli */
  --vlz-hero: #4C5842;      /* koyu adaçayı (hero bloğu) */
  --vlz-ink: #2E2A22;       /* koyu toprak */
  --vlz-sage: #6F7D5C;      /* adaçayı (vurgu) */
  --vlz-sage-dark: #59684A;
  --vlz-wheat: #D8CBA4;     /* buğday (hero vurgu/buton) */
  --vlz-warm: #6F5F45;      /* kum üstü metin */
  --vlz-muted: #8A8171;
  --vlz-hairline: #E5E0D4;
  --vlz-serif: 'Fraunces', Georgia, serif;
  --vlz-sans: 'Karla', system-ui, -apple-system, sans-serif;
}

/* ---------- Temel ---------- */
body {
  background: var(--vlz-bg);
  color: var(--vlz-ink);
  font-family: var(--vlz-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}
h1, h2, h3, h4, .beta, .gamma {
  font-family: var(--vlz-serif);
  font-weight: 500;
  color: var(--vlz-ink);
  letter-spacing: -0.005em;
}
a { color: var(--vlz-sage-dark); }
a:hover, a:focus { color: var(--vlz-ink); }
a:focus-visible, button:focus-visible, .button:focus-visible {
  outline: 2px solid var(--vlz-sage);
  outline-offset: 2px;
}

/* ---------- Üst bar + başlık ---------- */
.site-header, .storefront-primary-navigation { background: var(--vlz-bg); }
.site-header { border-bottom: 0; padding-top: 1.25rem; }
.vlz-brand a {
  display: inline-flex; align-items: baseline; gap: 0.45rem;
  text-decoration: none; color: var(--vlz-ink);
}
.vlz-brand .vlz-mark {
  font-family: var(--vlz-serif);
  font-weight: 600; font-size: 1.65rem;
}
.vlz-brand .vlz-sub {
  font-family: var(--vlz-serif);
  font-weight: 600; font-size: 1.65rem; color: var(--vlz-sage);
}
.main-navigation ul li a,
.secondary-navigation ul.menu a,
.site-header-cart .cart-contents {
  font-family: var(--vlz-sans); font-weight: 600;
  color: var(--vlz-ink);
}
.main-navigation ul li a:hover { color: var(--vlz-sage-dark); }
.storefront-handheld-footer-bar { background: var(--vlz-ink); }

/* ---------- Butonlar: adaçayı, hap formu ---------- */
.button, button, input[type="submit"], .added_to_cart,
.woocommerce #respond input#submit,
.wc-block-components-button {
  background: var(--vlz-sage);
  color: #fff;
  border-radius: 999px;
  font-family: var(--vlz-sans); font-weight: 600;
  padding: 0.75em 1.7em;
  transition: background-color 160ms ease;
}
.button:hover, button:hover, input[type="submit"]:hover, .added_to_cart:hover,
.wc-block-components-button:hover {
  background: var(--vlz-sage-dark);
  color: #fff;
}
.button.alt, .single_add_to_cart_button { background: var(--vlz-sage); }
.button.alt:hover, .single_add_to_cart_button:hover { background: var(--vlz-sage-dark); }

/* ---------- Ürün kartları: yumuşak, kemer üstlü ---------- */
ul.products li.product {
  background: var(--vlz-card);
  border: 0;
  border-radius: 18px;
  padding: 0 0 1.35rem;
  text-align: center;
  box-shadow: 0 2px 14px rgba(90, 80, 60, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(90, 80, 60, 0.12);
}
ul.products li.product img {
  margin-bottom: 1rem;
  border-radius: 150px 150px 0 0;
  aspect-ratio: 3/4; object-fit: cover; object-position: 50% 62%; width: 100%;
}
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--vlz-serif); font-weight: 500;
  font-size: 1.05rem; padding: 0 1rem;
}
ul.products li.product .price { color: var(--vlz-sage-dark); font-weight: 600; }
ul.products li.product .button { margin: 0.8rem auto 0; }

/* Kart üzerinde varyant önizlemesi */
.vlz-varyantlar {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
  justify-content: center; align-items: center;
  padding: 0 1rem; margin: 0.45rem 0 0.15rem;
}
.vlz-cip {
  border: 1px solid var(--vlz-hairline); background: var(--vlz-bg);
  border-radius: 999px; padding: 0.08rem 0.6rem;
  font-size: 0.78rem; font-weight: 600; color: var(--vlz-muted);
}
.vlz-renk {
  width: 17px; height: 17px; border-radius: 50%;
  display: inline-block; border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 0 0 2px var(--vlz-card);
}

/* ---------- Ana sayfa: hero (koyu adaçayı blok) ---------- */
.vlz-hero { background: var(--vlz-hero); border-bottom: 0; }
.vlz-hero-inner {
  max-width: 66.4989rem; margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3.5rem; align-items: center;
}
.vlz-rozet {
  display: inline-block; background: rgba(255, 255, 255, 0.14); color: #EDE9DB;
  border-radius: 999px; padding: 0.4rem 1.1rem;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 1.2rem;
}
.vlz-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  line-height: 1.12; margin-bottom: 1.2rem;
  color: #F3EFE5;
}
.vlz-hero h1 em { font-style: italic; font-weight: 500; color: var(--vlz-wheat); }
.vlz-hero p { max-width: 30rem; color: #D9DCCE; margin-bottom: 1.8rem; }
.vlz-hero .button { background: var(--vlz-wheat); color: var(--vlz-ink); }
.vlz-hero .button:hover { background: #C7B583; color: var(--vlz-ink); }
.vlz-hero img {
  width: 100%; aspect-ratio: 1/1.05; object-fit: cover; object-position: 50% 45%;
  border-radius: 260px 260px 18px 18px; display: block;
}

/* ---------- Ana sayfa: bölümler ---------- */
.vlz-section {
  max-width: 66.4989rem; margin: 0 auto;
  padding: 3rem 1.5rem 3.5rem;
}
.vlz-section > h2 { text-align: center; font-size: 2rem; margin-bottom: 0.3rem; }
.vlz-section .vlz-alt { text-align: center; color: var(--vlz-muted); margin-bottom: 2.4rem; }
.vlz-values { background: var(--vlz-bg); border-top: 1px solid var(--vlz-hairline); }
.vlz-values-inner {
  max-width: 66.4989rem; margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; text-align: center;
}
.vlz-values-inner h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.vlz-values-inner p { color: var(--vlz-muted); font-size: 0.95rem; margin: 0; }

/* ---------- Sayfa/footer ---------- */
.hentry .entry-header { border-bottom: 0; }
.site-footer {
  background: var(--vlz-ink);
  color: #CFCBC4;
}
.site-footer a, .site-footer .widget a { color: #EDE9DB; }
.site-footer a:hover, .site-footer .widget a:hover { color: var(--vlz-wheat); }
.site-footer .widget .widget-title { color: #fff; }
.site-footer .widget ul { list-style: none; margin-left: 0; }
.site-footer .widget ul li { margin-bottom: 0.4rem; }
.site-info { font-size: 0.9rem; }

/* ---------- Duyarlılık ---------- */
@media (max-width: 768px) {
  .vlz-hero-inner { grid-template-columns: 1fr; padding: 2rem 1.25rem 2.75rem; gap: 1.75rem; }
  .vlz-values-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .vlz-brand .vlz-mark, .vlz-brand .vlz-sub { font-size: 1.35rem; }
}

/* ---------- Hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  ul.products li.product:hover { transform: none; }
}
