/* =============================================================
   Psy'd Works — Shared Theme Layer
   "De-template" restyle: one deliberate plum accent, warm neutrals,
   Newsreader serif headings, softer shadows.

   HOW IT WORKS: this file is linked LAST in each public page's <head>.
   The site's CSS variable names are identical across every page, so
   redefining :root here (last in source order) re-tints the whole
   palette without editing the per-page stylesheets.

   Only colors / fonts / radius change here — no layout, position, or
   structural rules — so all JS hooks (.modal, .btn-loading, sliders,
   .active, etc.) keep working untouched.

   Admin pages (yonetim.html, yeni-etkinlik.html) intentionally do NOT
   link this file, so they stay on the old theme.
   ============================================================= */

/* ---- Newsreader (self-hosted variable font; Turkish latin + latin-ext) ---- */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/newsreader-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/newsreader-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/newsreader-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/newsreader-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Design tokens (override the site's canonical :root variables) ---- */
:root {
  /* brand accent — one deliberate plum (replaces the #805AD5 purple + #667eea→#764ba2 gradient) */
  --accent-color: #5A4A7A;
  --primary-color: #23202A;
  --secondary-color: #6E5C92;

  /* text + neutrals (warmed off the cold Chakra defaults) */
  --text-dark: #23202A;
  --text-light: #6A6577;
  --bg-light: #F7F5F2;
  --bg-white: #FFFFFF;
  --border-color: #E9E3DB;

  /* gradient stops → subtle plum (neutralizes the tell-tale blue-purple gradient everywhere it's var-driven) */
  --bg-gradient-start: #5F4F80;
  --bg-gradient-end: #473A63;

  /* softer, warm/plum-tinted shadows */
  --shadow: 0 10px 30px rgba(35, 32, 42, 0.08);
  --shadow-sm: 0 4px 14px rgba(35, 32, 42, 0.06);
  --shadow-hover: 0 14px 34px rgba(90, 74, 122, 0.14);

  /* semantic colors kept (buy / success = green, error = red) */
  --success-color: #48BB78;
  --error-color: #F56565;

  /* ---- new tokens added by the theme ---- */
  --font-serif: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --accent-deep: #473A63;
  --accent-soft: #8877A6;
  --accent-tint: #EFEBF5;
  --radius: 8px;
}

/* ---- Serif headings (font-family only — existing per-heading weights are preserved) ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
}

/* ---- Calmer button silhouette (matches the approved preview: pill → 8px) ---- */
.btn {
  border-radius: var(--radius);
}

/* =============================================================
   Phase 3 — Editorial card polish (matches the approved preview)

   The "airy" look = a hairline frame + a soft shadow instead of a
   heavy drop-shadow, and a gentler hover lift. Implemented with
   box-shadow only (a 1px spread "ring" + a soft shadow), so no
   `border` is overridden and NO layout shift occurs. Loaded last,
   so these win over the per-page card shadows.
   ============================================================= */
.about-item, .product-card, .product-card-slider, .testimonial-card, .blog-card,
.value-item, .audience-item, .principle-item, .team-member, .event-card,
.contact-option, .specialized-item, .time-item, .related-product-card, .faq-item,
.guide-card, .problem-item, .requirements-box, .story-card, .channel-card,
.tip-item, .notice-box {
  box-shadow: 0 0 0 1px var(--border-color), var(--shadow-sm);
}

/* calmer hover: gentle lift + soft shadow + accent hairline */
.about-item:hover, .product-card:hover, .product-card-slider:hover, .blog-card:hover,
.value-item:hover, .audience-item:hover, .principle-item:hover, .team-member:hover,
.event-card:hover, .specialized-item:hover, .time-item:hover, .support-option:hover,
.guide-card:hover, .story-card:hover, .channel-card:hover, .related-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px var(--accent-soft), var(--shadow);
}

/* normalize remaining pill controls to the 8px radius (matches the buttons) */
.auth-btn, .btn-view, .btn-add-cart, .btn-add-to-cart, .btn-buy-now,
.newsletter-form input, .newsletter-form button,
.blog-newsletter-form input, .blog-newsletter-form button,
.search-bar input, .search-bar button, .filter-section select {
  border-radius: var(--radius);
}
