/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-y: scroll; }
body {
  font-family: var(--font-body);
  background: var(--cma-dark);
  color: var(--cma-text-light);
  line-height: 1.65;
  font-size: var(--text-base, 0.95rem);
  -webkit-font-smoothing: antialiased;
}

/* ── Site standardı görsel filtresi ── */
/* Ürün kartı görselleri */
.cma-pcard__img img,
.cma-product-hero__img-wrap img,
.cma-pgallery__main img {
  filter: var(--img-filter-card);
  transition: filter 0.3s ease;
}
.cma-pcard:hover .cma-pcard__img img {
  filter: saturate(1.15) contrast(1.05) brightness(1.0);
}
/* Thumbnail/galeri küçük resimler */
.cma-pgallery__thumb img {
  filter: var(--img-filter-card);
}
/* Blog/haber görselleri */
.cma-news-card__img,
.cma-single-post__featured img,
.cma-post-thumb img {
  filter: var(--img-filter);
}
/* Hero arka plan görselleri — zaten CSS filter ile yönetiliyor, burada çakışmaması için hariç */
.cma-hero__video,
.cma-catalog-hero__bg { filter: unset; }
/* Genel içerik img (blog post içi) */
.cma-post-content img {
  filter: var(--img-filter);
  border-radius: var(--radius-md);
  max-width: 100%;
  height: auto;
}
/* Hakkimizda kurucu fotoğrafı */
.cma-founder-photo img {
  filter: var(--img-filter);
}

/* Tipografi — sabit scale */
h1,h2,h3,h4 { font-family: var(--font-heading); line-height: 1.15; color: var(--cma-white); }
h1 { font-size: clamp(2.4rem,5vw,3.6rem); font-weight: 400; }
h2 { font-size: clamp(1.7rem,3vw,2.4rem); font-weight: 400; }
h3 { font-size: clamp(1.1rem,2vw,1.4rem); font-weight: 400; }
h4 { font-size: 1rem; font-weight: 600; font-family: var(--font-body); }
p  { color: var(--cma-text-light); line-height: 1.65; font-size: 0.95rem; }
a  { color: var(--cma-green-light); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
a:hover { color: var(--cma-gold); }

/* Container */
.cma-container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-lg); }
.cma-container--wide { max-width: var(--container-wide); }

/* Section */
.cma-section { padding: var(--space-2xl) 0; position: relative; }
.cma-section--dark    { background: var(--cma-dark); }
.cma-section--dark-2  { background: var(--cma-dark-2); }
.cma-section--light   { background: var(--cma-surface-2); }
.cma-section--cream   { background: var(--cma-surface); }
.cma-section--surface { background: var(--cma-surface); }

/* Hero dışı koyu section'lara glass noise overlay */
.cma-section--dark::before,
.cma-section--dark-2::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 20%, rgba(45,106,79,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 80%, rgba(45,106,79,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.cma-section--dark > .cma-container,
.cma-section--dark-2 > .cma-container {
  position: relative;
  z-index: 1;
}

/* ══ Timeline — Yenilikçilik Kronolojisi özel section ══ */
.cma-section--timeline {
  background: var(--cma-timeline-bg);
  position: relative;
  overflow: hidden;
}
.cma-section--timeline::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 30%, rgba(45,106,79,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 70%, rgba(100,180,255,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.cma-section--timeline h2,
.cma-section--timeline h3,
.cma-section--timeline h4 {
  color: var(--cma-white) !important;
  -webkit-text-fill-color: var(--cma-white) !important;
}
.cma-section--timeline p {
  color: rgba(200,220,255,0.70);
}
.cma-section--timeline .cma-eyebrow {
  color: var(--timeline-dot-color);
}
.cma-section--timeline .cma-eyebrow::before {
  background: var(--timeline-dot-color);
}

/* Timeline glass kartları */
.cma-timeline-glass-card {
  width: 46%;
  background: var(--timeline-glass-bg);
  border: 1px solid var(--timeline-glass-border);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.06);
}
.cma-timeline-glass-card:hover {
  background: var(--timeline-glass-bg2);
  border-color: var(--timeline-glass-border-hover);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.10);
}
.cma-timeline-glass-card__dot {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--timeline-dot-color);
  border: 2px solid var(--cma-timeline-bg);
  box-shadow: 0 0 14px var(--timeline-dot-glow);
}
.cma-timeline-glass-card__dot--left  { right: -7%; }
.cma-timeline-glass-card__dot--right { left: -7%; }
.cma-timeline-glass-card__year {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--timeline-dot-color);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.08em;
}
.cma-timeline-glass-card h4 {
  margin-bottom: var(--space-xs);
  color: var(--cma-white) !important;
  -webkit-text-fill-color: var(--cma-white) !important;
  font-size: 0.95rem;
}
.cma-timeline-glass-card p {
  font-size: 0.82rem;
  color: rgba(200,220,255,0.65);
  margin: 0;
}

/* Açık section metin overrides */
.cma-section--light h2,
.cma-section--light h3,
.cma-section--light h4,
.cma-section--cream h2,
.cma-section--cream h3,
.cma-section--cream h4 {
  color: var(--cma-text-dark) !important;
  -webkit-text-fill-color: var(--cma-text-dark) !important;
}
.cma-section--light p,
.cma-section--cream p {
  color: var(--cma-text-muted-dark);
}
.cma-section--light .cma-eyebrow,
.cma-section--cream .cma-eyebrow {
  color: var(--cma-green-2);
}
.cma-section--light .cma-eyebrow::before,
.cma-section--cream .cma-eyebrow::before {
  background: var(--cma-green-2);
}
/* Açık section glass card overrides */
.cma-section--light .cma-animal-card,
.cma-section--cream .cma-animal-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.cma-section--light .cma-animal-card:hover,
.cma-section--cream .cma-animal-card:hover {
  background: #ffffff;
  border-color: rgba(200,150,12,0.3);
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}
.cma-section--light .cma-animal-card__name,
.cma-section--cream .cma-animal-card__name {
  color: var(--cma-text-dark);
}
.cma-section--light .cma-animal-card__count,
.cma-section--cream .cma-animal-card__count {
  color: var(--cma-text-muted-dark);
}
.cma-section--cream .cma-drug-class-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.cma-section--cream .cma-drug-class-card__name {
  color: var(--cma-text-dark) !important;
  -webkit-text-fill-color: var(--cma-text-dark) !important;
}
.cma-section--cream .cma-drug-class-card__desc {
  color: var(--cma-text-muted-dark);
}

/* Eyebrow */
.cma-eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--cma-gold); margin-bottom: var(--space-md);
}
.cma-eyebrow::before {
  content: ''; display: block; width: 20px; height: 1.5px;
  background: var(--grad-gold); border-radius: 2px;
}

/* Butonlar */
.cma-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 28px; border-radius: var(--radius-full);
  font-family: var(--font-body); font-size: 0.87rem; font-weight: 600;
  letter-spacing: 0.02em; cursor: pointer; border: none;
  transition: all var(--dur-mid) var(--ease-out); text-decoration: none;
}
.cma-btn--primary { background: var(--grad-gold); color: #0d1f17; }
.cma-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(200,150,12,0.35); color: #0d1f17; }
.cma-btn--outline {
  background: transparent; color: var(--cma-white);
  border: 1.5px solid rgba(255,255,255,0.22);
  backdrop-filter: var(--glass-blur);
}
.cma-btn--outline:hover { border-color: var(--cma-green-light); color: var(--cma-green-light); transform: translateY(-2px); }
.cma-btn--ghost {
  background: var(--glass-bg); color: var(--cma-text-light);
  border: 1px solid var(--glass-border); backdrop-filter: var(--glass-blur);
}
.cma-btn--ghost:hover { background: var(--glass-bg-hover); color: var(--cma-white); }

/* Badge */
.cma-badge {
  display: inline-flex; align-items: center; padding: 3px 10px;
  border-radius: var(--radius-full); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.cma-badge--gold  { background: rgba(200,150,12,0.12); color: var(--cma-gold-light); border: 1px solid rgba(200,150,12,0.28); }
.cma-badge--green { background: rgba(64,145,108,0.12); color: var(--cma-green-light); border: 1px solid rgba(64,145,108,0.28); }
.cma-badge--new   { background: rgba(64,145,108,0.18); color: #6ee7b7; border: 1px solid rgba(110,231,183,0.35); }

/* Divider */
.cma-divider { height: 1px; background: linear-gradient(90deg,transparent,var(--glass-border),transparent); margin: var(--space-2xl) 0; }

/* Utility */
.text-gold   { color: var(--cma-gold); }
.text-green  { color: var(--cma-green-light); }
.text-muted  { color: var(--cma-text-muted); }
.text-center { text-align: center; }
.font-mono   { font-family: var(--font-mono); }

/* Responsive */
@media (max-width: 768px) {
  .cma-section { padding: var(--space-2xl) 0; }
  .cma-container { padding: 0 var(--space-md); }
  h1 { font-size: clamp(1.9rem,6vw,2.6rem); }
  h2 { font-size: clamp(1.5rem,4.5vw,2rem); }
}

/* Blocksy override */
body.custom-background { background-color: var(--cma-dark) !important; }
.site, .hfg-header, #header, .site-header, [data-id="header"], .header-wrapper { display: none !important; }
.entry-content, .wp-block-group, .is-root-container { max-width: none; padding: 0; margin: 0; }
h1,h2,h3 { color: var(--cma-white); }
.cma-hero__title { color: var(--cma-white) !important; opacity: 1 !important; }

/* Typography global override */
body h1, body h2, body h3, .cma-hero h1, .cma-hero__title {
  color: #ffffff !important; opacity: 1 !important; -webkit-text-fill-color: #ffffff !important;
}
.cma-hero__title em {
  color: transparent !important; -webkit-text-fill-color: transparent !important;
  background: linear-gradient(90deg,#c8960c,#e8b020,#c8960c) !important;
  -webkit-background-clip: text !important; background-clip: text !important;
}

/* Animal + drug card icons */
.cma-animal-card__icon svg { stroke: #40916c !important; filter: drop-shadow(0 0 5px rgba(64,145,108,0.35)); }
.cma-animal-card:hover .cma-animal-card__icon svg { stroke: #c8960c !important; filter: drop-shadow(0 0 7px rgba(200,150,12,0.45)); }

/* ══════════════════════════════════════════
   HAKKIMIZDA — Founder, MV, Timeline
   ══════════════════════════════════════════ */
.cma-founder-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.cma-founder-visual { display: flex; flex-direction: column; gap: var(--space-md); }
.cma-founder-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  aspect-ratio: 3 / 4;
  display: flex; align-items: center; justify-content: center;
}
.cma-founder-photo__placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-md); width: 100%; height: 100%;
  color: var(--cma-text-muted); font-size: 0.85rem;
}
.cma-founder-badge {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.cma-founder-badge__item {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: var(--space-lg);
  text-align: center;
}
.cma-founder-badge__num {
  display: block; font-family: var(--font-heading);
  font-size: 2rem; color: var(--cma-gold); line-height: 1;
  margin-bottom: 4px;
}
.cma-founder-badge__label { font-size: 0.72rem; color: var(--cma-text-muted); }
.cma-founder-content { display: flex; flex-direction: column; gap: var(--space-md); }
.cma-founder-title { color: var(--cma-gold-light); font-size: 0.9rem; margin: 0; }
.cma-founder-text { display: flex; flex-direction: column; gap: var(--space-md); }
.cma-founder-certs { display: flex; gap: var(--space-sm); flex-wrap: wrap; padding-top: var(--space-sm); }

/* Misyon/Vizyon */
.cma-mv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.cma-mv-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: var(--space-xl);
  display: flex; flex-direction: column; gap: var(--space-md);
  transition: all var(--dur-mid) var(--ease-out);
}
.cma-mv-card:hover {
  background: var(--glass-bg-hover); transform: translateY(-3px);
  box-shadow: var(--glass-shadow);
}
.cma-mv-card__icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: rgba(200,150,12,0.08); border: 1px solid rgba(200,150,12,0.15);
  display: flex; align-items: center; justify-content: center;
}
.cma-mv-card h3 {
  color: var(--cma-white) !important; -webkit-text-fill-color: var(--cma-white) !important;
}
.cma-mv-card p { font-size: 0.88rem; color: var(--cma-text-muted); line-height: 1.65; }

/* Timeline */
.cma-timeline {
  position: relative; padding: var(--space-lg) 0;
  max-width: 800px; margin: 0 auto;
}
.cma-timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: var(--glass-border);
  transform: translateX(-50%);
}
.cma-timeline-item {
  position: relative; width: 47%; margin-bottom: var(--space-xl);
}
.cma-timeline-item--left  { margin-right: auto; padding-right: var(--space-lg); }
.cma-timeline-item--right { margin-left: auto;  padding-left: var(--space-lg); }
.cma-timeline-item__dot {
  position: absolute; width: 12px; height: 12px;
  background: var(--cma-gold); border-radius: 50%;
  top: 18px;
}
.cma-timeline-item--left  .cma-timeline-item__dot { right: -6px; }
.cma-timeline-item--right .cma-timeline-item__dot { left: -6px; }
.cma-timeline-item__card {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: var(--space-lg);
}
.cma-timeline-item__year {
  font-family: var(--font-heading); font-size: 1.5rem;
  color: var(--cma-gold); display: block; margin-bottom: 4px;
}
.cma-timeline-item__title {
  color: var(--cma-white) !important; -webkit-text-fill-color: var(--cma-white) !important;
  font-size: 1rem; font-weight: 600; margin-bottom: var(--space-sm);
}
.cma-timeline-item__desc { font-size: 0.83rem; color: var(--cma-text-muted); line-height: 1.6; }

/* İletişim sayfası */
.cma-contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: var(--space-2xl); align-items: start;
}
.cma-contact-info { display: flex; flex-direction: column; gap: var(--space-xl); }
.cma-contact-info h2 {
  color: var(--cma-white) !important; -webkit-text-fill-color: var(--cma-white) !important;
}
.cma-contact-info__items { display: flex; flex-direction: column; gap: var(--space-md); }
.cma-contact-info__item {
  display: flex; gap: var(--space-md); align-items: flex-start;
}
.cma-contact-info__icon {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: rgba(200,150,12,0.08); border: 1px solid rgba(200,150,12,0.15);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cma-contact-info__label { display: block; font-size: 0.7rem; color: var(--cma-text-muted); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2px; }
.cma-contact-info__value { display: block; font-size: 0.9rem; color: var(--cma-text-light); }
.cma-contact-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--glass-border); }

/* Form */
.cma-contact-form-wrap { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-xl); padding: var(--space-xl); }
.cma-contact-form { display: flex; flex-direction: column; gap: var(--space-md); }
.cma-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.cma-form-group { display: flex; flex-direction: column; gap: 6px; }
.cma-form-group label { font-size: 0.8rem; font-weight: 600; color: var(--cma-text-light); }
.cma-form-group label .req { color: var(--cma-gold); }
.cma-form-group input,
.cma-form-group select,
.cma-form-group textarea {
  background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); padding: 10px 14px;
  color: var(--cma-white); font-family: var(--font-body); font-size: 0.88rem;
  transition: border-color var(--dur-fast) var(--ease-out);
  outline: none;
}
.cma-form-group input:focus,
.cma-form-group select:focus,
.cma-form-group textarea:focus { border-color: var(--cma-green-light); }
.cma-form-group input::placeholder,
.cma-form-group textarea::placeholder { color: var(--cma-text-muted); }
.cma-form-group select { appearance: none; cursor: pointer; }
.cma-form-group textarea { resize: vertical; min-height: 120px; }
.cma-form-success {
  text-align: center; padding: var(--space-2xl);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-md);
}
.cma-form-success h3 { color: var(--cma-white) !important; -webkit-text-fill-color: var(--cma-white) !important; }
.cma-form-success p { color: var(--cma-text-muted); }
.cma-form-error {
  background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--radius-md); padding: 10px 14px;
  color: #fca5a5; font-size: 0.85rem;
}

@media (max-width: 900px) {
  .cma-founder-grid { grid-template-columns: 1fr; }
  .cma-mv-grid { grid-template-columns: 1fr; }
  .cma-contact-grid { grid-template-columns: 1fr; }
  .cma-form-row { grid-template-columns: 1fr; }
  .cma-timeline::before { left: 20px; }
  .cma-timeline-item { width: 100%; padding-left: 50px; padding-right: 0; }
  .cma-timeline-item--left,
  .cma-timeline-item--right { margin-left: 0; padding-left: 50px; padding-right: 0; }
  .cma-timeline-item__dot { left: 14px !important; right: auto !important; }
}
