/*
Theme Name: Fason Aerosol Dolum Theme
Theme URI: https://fasonaerosoldolum.com
Author: Antigravity & Heros Kozmetik Development Team
Author URI: https://heroskozmetik.com
Description: Heros Kozmetik fason aerosol dolum ve private label üretimi için tasarlanmış 2026 E-E-A-T SEO uyumlu, ACF Options (Renkli & Beyaz Logo, İç Sayfa Header Görseli, Adres, Telefon, GSM, İletişim Formu Shortcode & Harita), Saydam-Beyaz Sticky Header, Mobilde Yandan Açılan Menü, Şık Kart Butonları & Modern Numaralandırma (Pagination) destekli özel WordPress teması.
Version: 2.1.0
License: GNU General Public License v2 or later
Text Domain: fasonaerosoldolum
Tags: industrial, b2b, aerosol, cosmetics, acf, custom-post-types, slider, e-e-a-t, dynamic-logo, mobile-drawer, pagination, contact-form
*/

:root {
  --color-dark-topbar: rgba(11, 19, 37, 0.95);
  --color-dark-nav: #090D16;
  --color-dark-hero: #070C16;
  --color-primary: #0066FF;
  --color-primary-hover: #0052CC;
  --color-primary-light: #EFF6FF;
  --color-secondary: #0EA5E9;
  --color-accent-blue: #38BDF8;
  --color-dark-text: #0F172A;
  --color-slate-text: #334155;
  --color-muted: #64748B;
  --color-light-bg: #F8FAFC;
  --color-card-border: #E2E8F0;
  --color-white: #FFFFFF;
  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-dropdown: 0 16px 40px rgba(0, 0, 0, 0.16);
  --transition-fast: all 0.2s ease;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-light-bg);
  color: var(--color-dark-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--color-primary-hover);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   1. FIXED HEADER & TRANSPARENT-TO-WHITE STICKY SYSTEM
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
}

/* 1.1 Topbar */
.topbar {
  background-color: var(--color-dark-topbar);
  color: #CBD5E1;
  padding: 0.5rem 0;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.topbar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.topbar-left svg {
  color: var(--color-accent-blue);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-right a {
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-right a:hover {
  color: var(--color-white);
}

/* 1.2 Navbar (Transparent by Default) */
.navbar {
  background: rgba(9, 13, 22, 0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition-smooth);
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-smooth);
}

/* 1.3 Brand Logos Switching */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.site-header-logo {
  max-height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: var(--transition-smooth);
}

.site-footer-logo {
  max-height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.site-header .logo-white {
  display: block;
}
.site-header .logo-color {
  display: none;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0066FF 0%, #0284C7 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.brand-title {
  font-weight: 800;
  font-size: 1.22rem;
  color: var(--color-white);
  line-height: 1.2;
  transition: var(--transition-smooth);
}

.brand-title span {
  color: #94A3B8;
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 2px;
  transition: var(--transition-smooth);
}

/* 1.4 DESKTOP NAVIGATION & DROPDOWNS */
.site-header .nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header .nav-links > li {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 80px;
}

.site-header .nav-links > li > a {
  font-weight: 600;
  font-size: 0.92rem;
  color: #E2E8F0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
}

.site-header .nav-links > li > a:hover,
.site-header .nav-links > li.current-menu-item > a,
.site-header .nav-links > li.current-menu-ancestor > a {
  color: var(--color-accent-blue);
}

.site-header .nav-links > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 4px;
  margin-top: -3px;
  transition: transform 0.25s ease;
}

.site-header .nav-links > li.menu-item-has-children:hover > a::after {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.site-header .nav-links .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 320px;
  width: max-content;
  max-width: 420px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dropdown);
  border: 1px solid var(--color-card-border);
  padding: 0.5rem 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100;
  display: flex;
  flex-direction: column;
}

.site-header .nav-links > li:hover > .sub-menu,
.site-header .nav-links > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-header .nav-links .sub-menu li {
  width: 100%;
  height: auto;
  position: relative;
  display: block;
}

.site-header .nav-links .sub-menu li a {
  display: block;
  padding: 0.7rem 1.4rem;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-header .nav-links .sub-menu li a:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  transform: translateX(4px);
}

/* 1.5 SCROLLED STICKY STATE */
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.site-header.scrolled .topbar {
  margin-top: -38px;
  opacity: 0;
  pointer-events: none;
}

.site-header.scrolled .navbar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-card-border);
}

.site-header.scrolled .nav-flex,
.site-header.scrolled .nav-links > li {
  height: 70px;
}

.site-header.scrolled .logo-white {
  display: none;
}
.site-header.scrolled .logo-color {
  display: block;
}
.site-header.scrolled .logo-invert {
  filter: invert(1) brightness(0.2);
}

.site-header.scrolled .brand-title {
  color: var(--color-dark-text);
}
.site-header.scrolled .brand-title span {
  color: var(--color-muted);
}

.site-header.scrolled .nav-links > li > a {
  color: #334155;
}
.site-header.scrolled .nav-links > li > a:hover,
.site-header.scrolled .nav-links > li.current-menu-item > a {
  color: var(--color-primary);
  font-weight: 600;
}

/* ==========================================================================
   2. MOBILE HAMBURGER & OFF-CANVAS DRAWER
   ========================================================================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.site-header.scrolled .mobile-menu-toggle span {
  background-color: var(--color-dark-text);
}

.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: var(--color-white);
  z-index: 2001;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-card-border);
  background: #F8FAFC;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.drawer-logo-img {
  max-height: 38px;
  width: auto;
  object-fit: contain;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--color-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.drawer-close:hover {
  color: var(--color-dark-text);
  background: #E2E8F0;
}

.drawer-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
}

.drawer-nav-list li {
  display: block;
}

.drawer-nav-list > li > a {
  display: block;
  padding: 0.75rem 1rem;
  color: #1E293B;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.drawer-nav-list > li > a:hover,
.drawer-nav-list > li.current-menu-item > a {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.drawer-nav-list .sub-menu {
  list-style: none;
  padding: 0.25rem 0 0.5rem 1.25rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-left: 2px solid var(--color-card-border);
  margin-left: 1rem;
}

.drawer-nav-list .sub-menu li a {
  display: block;
  padding: 0.45rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #64748B;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.drawer-nav-list .sub-menu li a:hover,
.drawer-nav-list .sub-menu li.current-menu-item a {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.drawer-contact-box {
  background: #F1F5F9;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.drawer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-dark-text);
  font-size: 0.88rem;
}

.drawer-contact-icon {
  width: 34px;
  height: 34px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.drawer-contact-label {
  display: block;
  font-size: 0.72rem;
  color: var(--color-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.drawer-contact-val {
  display: block;
  font-size: 0.9rem;
  color: var(--color-dark-text);
}

.drawer-trust-tag {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0284C7;
  padding-top: 0.5rem;
  border-top: 1px solid #E2E8F0;
}

.drawer-cta-btn {
  width: 100%;
  padding: 0.85rem;
  text-align: center;
  font-weight: 700;
}

/* ==========================================================================
   3. INNER PAGE HEADER BANNER
   ========================================================================== */
.page-header-banner {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--color-white);
  padding-top: 155px;
  padding-bottom: 60px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-header-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin: 0.5rem 0 0.75rem 0;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.page-header-desc {
  color: #CBD5E1;
  font-size: 1.05rem;
  max-width: 760px;
  line-height: 1.6;
}

/* ==========================================================================
   4. ARTICLE / RICH CONTENT TYPOGRAPHY & INDENTED LISTS (ul / ol)
   ========================================================================== */
article, .entry-content {
  font-size: 1.05rem;
  color: var(--color-slate-text);
  line-height: 1.85;
}

article p, .entry-content p {
  margin-bottom: 1.35rem;
  line-height: 1.85;
}

article h2, .entry-content h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-dark-text);
  margin: 2.5rem 0 1.15rem 0;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

article h3, .entry-content h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-dark-text);
  margin: 2.2rem 0 1rem 0;
  line-height: 1.35;
}

article h4, .entry-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark-text);
  margin: 1.75rem 0 0.75rem 0;
  line-height: 1.4;
}

article ul, .entry-content ul, main article ul {
  list-style-type: disc;
  margin: 1.25rem 0 1.75rem 0;
  padding-left: 2rem;
}

article ul li, .entry-content ul li, main article ul li {
  margin-bottom: 0.75rem;
  line-height: 1.75;
  color: var(--color-slate-text);
  padding-left: 0.35rem;
}

article ol, .entry-content ol, main article ol {
  list-style-type: decimal;
  margin: 1.25rem 0 1.75rem 0;
  padding-left: 2rem;
}

article ol li, .entry-content ol li, main article ol li {
  margin-bottom: 0.75rem;
  line-height: 1.75;
  color: var(--color-slate-text);
  padding-left: 0.35rem;
}

article ul li strong, article ol li strong,
.entry-content ul li strong, .entry-content ol li strong {
  color: var(--color-dark-text);
  font-weight: 700;
}

/* ==========================================================================
   5. BUTTONS & UI COMPONENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0052CC 0%, #003D99 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.5);
  color: var(--color-white);
}

.btn-outline-hero {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-hero:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
}

/* MODERN CARD ACTION BUTTON */
.card-action-link, .btn-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 102, 255, 0.15);
  transition: var(--transition-smooth);
  text-decoration: none;
  margin-top: auto;
  text-align: center;
  box-sizing: border-box;
}

.card-action-link:hover, .btn-card-action:hover {
  background: linear-gradient(135deg, #0066FF 0%, #0284C7 100%);
  color: var(--color-white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.35);
  gap: 0.75rem;
}

/* ==========================================================================
   6. MODERN PAGINATION (NUMARALANDIRMA)
   ========================================================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3.5rem 0 1.5rem 0;
  width: 100%;
}

.pagination .screen-reader-text {
  display: none !important;
}

.pagination .nav-links {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.85rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--color-card-border);
  background: var(--color-white);
  color: #334155;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
}

.pagination .page-numbers:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pagination .page-numbers.current {
  background: linear-gradient(135deg, #0066FF 0%, #0284C7 100%);
  color: var(--color-white) !important;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.4);
  pointer-events: none;
}

.pagination .page-numbers.dots {
  border: none;
  background: transparent;
  box-shadow: none;
  color: var(--color-muted);
  min-width: 28px;
  cursor: default;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  padding: 0 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.pagination .page-numbers.prev:hover,
.pagination .page-numbers.next:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ==========================================================================
   7. HERO SLIDER SECTION
   ========================================================================== */
.hero-section {
  background: radial-gradient(circle at 75% 30%, #0D2248 0%, #070C16 70%);
  color: var(--color-white);
  padding: 8.5rem 0 0rem 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.badge-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 102, 255, 0.15);
  border: 1px solid rgba(0, 102, 255, 0.35);
  color: var(--color-accent-blue);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero-title .text-blue {
  color: #38BDF8;
  display: block;
}

.hero-desc {
  font-size: 1.05rem;
  color: #94A3B8;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 380px;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-stats-strip {
  background: rgba(10, 18, 36, 0.85);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem 0;
  margin-top: 1rem;
}

.stats-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 102, 255, 0.15);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-blue);
  flex-shrink: 0;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}

.stat-text {
  font-size: 0.78rem;
  color: #94A3B8;
  margin-top: 0.25rem;
}

/* ==========================================================================
   8. 5-CATEGORY HOMEPAGE PRODUCT SHOWCASE
   ========================================================================== */
.section-categories {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  padding: 5rem 0;
  border-bottom: 1px solid var(--color-card-border);
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.card-category-box {
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.35rem 1.75rem 1.35rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.card-category-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0066FF, #38BDF8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-category-box:hover {
  transform: translateY(-6px);
  border-color: #93C5FD;
  box-shadow: var(--shadow-lg);
}

.card-category-box:hover::before {
  opacity: 1;
}

.cat-box-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-dark-text);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.cat-box-title a {
  color: var(--color-dark-text);
}

.cat-box-title a:hover {
  color: var(--color-primary);
}

.cat-count-badge {
  display: inline-flex;
  align-items: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  margin-bottom: 1.1rem;
}

.cat-box-desc {
  font-size: 0.88rem;
  color: var(--color-slate-text);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.cat-btn-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
}

.cat-btn-link:hover {
  gap: 0.55rem;
}

/* ==========================================================================
   9. COMMON SECTIONS & CARDS
   ========================================================================== */
.section {
  padding: 5rem 0;
}

.section-white {
  background-color: var(--color-white);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.section-pill {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-dark-text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--color-muted);
  font-size: 0.98rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.card-service {
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-service:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.card-img-header {
  height: 190px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #F1F5F9;
}

.card-img-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.card-service:hover .card-img-header img {
  transform: scale(1.06);
}

.card-badge-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 38px;
  height: 38px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 102, 255, 0.35);
  z-index: 2;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark-text);
  margin-bottom: 0.85rem;
}

.card-list {
  list-style: none;
  margin-bottom: 1.5rem;
  padding-left: 0;
  flex-grow: 1;
}

.card-list li {
  font-size: 0.88rem;
  color: var(--color-slate-text);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.25rem;
}

.card-list li::before {
  content: "•";
  color: var(--color-primary);
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -2px;
}

/* BLOG CARD STYLES */
.card-blog {
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-blog:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.blog-img-box {
  height: 190px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #0F172A;
}

.blog-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.card-blog:hover .blog-img-box img {
  transform: scale(1.06);
}

.blog-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 102, 255, 0.9);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  z-index: 2;
}

.blog-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.blog-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark-text);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.blog-title a {
  color: var(--color-dark-text);
}

.blog-title a:hover {
  color: var(--color-primary);
}

.blog-excerpt {
  font-size: 0.88rem;
  color: var(--color-slate-text);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.blog-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-card-border);
  padding-top: 1rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-dark-text);
}

.author-avatar {
  width: 28px;
  height: 28px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
}

/* 5-STEP PRODUCTION PROCESS TIMELINE */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
  margin-top: 2rem;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: #E2E8F0;
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.process-icon-circle {
  width: 64px;
  height: 64px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.25);
  font-size: 1.4rem;
}

.process-step-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-dark-text);
  margin-bottom: 0.3rem;
}

.process-step-desc {
  font-size: 0.84rem;
  color: var(--color-muted);
  line-height: 1.45;
  padding: 0 0.25rem;
}

/* HEROS KOZMETİK TRUST BANNER */
.trust-banner-card {
  background: linear-gradient(135deg, #091224 0%, #0F1E3D 100%);
  border-radius: var(--radius-xl);
  color: var(--color-white);
  padding: 3.5rem 3rem;
  margin: 3rem 0;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.trust-banner-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.trust-banner-desc {
  color: #94A3B8;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-badge-item {
  text-align: center;
}

.trust-badge-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
  color: var(--color-accent-blue);
}

.trust-badge-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
}

.trust-badge-sub {
  font-size: 0.72rem;
  color: #94A3B8;
  margin-top: 0.2rem;
}

/* FAQ & CTA DUAL SECTION */
.faq-cta-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.faq-box-card {
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 2rem;
}

.faq-img-col {
  width: 210px;
  height: 270px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.faq-content-col {
  flex-grow: 1;
}

.faq-accordion-item {
  border-bottom: 1px solid var(--color-card-border);
  padding: 1rem 0;
}

.faq-accordion-item:last-child {
  border-bottom: none;
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question-btn span.plus-icon {
  font-size: 1.2rem;
  color: var(--color-primary);
  font-weight: 400;
}

.faq-answer-panel {
  display: none;
  padding-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--color-slate-text);
}

.faq-accordion-item.active .faq-answer-panel {
  display: block;
}

.cta-blue-card {
  background: linear-gradient(135deg, #0066FF 0%, #0284C7 100%);
  border-radius: var(--radius-xl);
  color: var(--color-white);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.35);
}

.cta-blue-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.cta-blue-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.btn-white-cta {
  background: var(--color-white);
  color: var(--color-primary);
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.btn-white-cta:hover {
  background: #F1F5F9;
  transform: translateY(-2px);
  color: var(--color-primary-hover);
}

/* ==========================================================================
   10. E-E-A-T AUTHOR & LINK BOX
   ========================================================================== */
.eeat-box {
  background: #F8FAFC;
  border: 1px solid var(--color-card-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2.5rem 0;
}

.eeat-content h4 {
  font-size: 1.1rem;
  color: var(--color-dark-text);
  margin-bottom: 0.4rem;
}

.eeat-content p {
  font-size: 0.92rem;
  color: var(--color-slate-text);
  margin-bottom: 0;
}

.eeat-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.footer {
  background-color: var(--color-dark-nav);
  color: #94A3B8;
  padding: 4.5rem 0 2rem 0;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-5col {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col ul li a {
  color: #94A3B8;
}

.footer-col ul li a:hover {
  color: var(--color-white);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social-icon {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.footer-social-icon:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

/* ==========================================================================
   12. FORM SYSTEM & CONTACT FORM 7 / STANDALONE STYLING
   ========================================================================== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--color-dark-text);
}

.form-control, .form-select,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-main);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-dark-text);
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus, .form-select:focus,
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

.wpcf7-form p {
  margin-bottom: 1.2rem;
}

.wpcf7-form label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--color-dark-text);
}

.wpcf7-submit, .wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem 1.75rem;
  background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.4);
  transition: all 0.25s ease;
}

.wpcf7-submit:hover, .wpcf7-form input[type="submit"]:hover {
  background: linear-gradient(135deg, #0052CC 0%, #003D99 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.5);
}

.wpcf7-not-valid-tip {
  color: #DC2626;
  font-size: 0.82rem;
  margin-top: 0.35rem;
  display: block;
}

.wpcf7-response-output {
  margin: 1.25rem 0 0 0 !important;
  padding: 0.85rem 1.25rem !important;
  border-radius: var(--radius-md) !important;
  font-size: 0.9rem !important;
}

/* ==========================================================================
   13. MODAL B2B LEAD QUOTE WIZARD
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--color-white);
  width: 100%;
  max-width: 680px;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.modal-header {
  background: var(--color-dark-nav);
  color: var(--color-white);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body {
  padding: 2rem;
}

.wizard-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.wizard-steps::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #E2E8F0;
  z-index: 1;
}

.w-step {
  position: relative;
  z-index: 2;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0 0.5rem;
}

.w-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #E2E8F0;
  color: var(--color-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.w-step.active .w-step-num {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ==========================================================================
   14. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .grid-4, .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
  .trust-banner-card {
    grid-template-columns: 1fr;
  }
  .faq-cta-grid {
    grid-template-columns: 1fr;
  }
  .footer-5col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .desktop-nav, .desktop-cta {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .topbar {
    display: none;
  }
  .hero-section {
    padding-top: 6.5rem;
  }
  .page-header-banner {
    padding-top: 110px;
    padding-bottom: 40px;
  }
  .page-header-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .grid-5, .grid-4, .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .stats-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .footer-5col {
    grid-template-columns: 1fr;
  }
  .faq-box-card {
    flex-direction: column;
  }
  article ul, .entry-content ul, main article ul,
  article ol, .entry-content ol, main article ol {
    padding-left: 1.4rem;
  }
}
