/**
 * MERTYÜZ REKLAM — Public Subpages Design System Styles
 * Master Visual Reference Extension
 */

/* ═══════════════════════════════════════════
   1. SUBPAGE HEADER / HERO & BREADCRUMB
═══════════════════════════════════════════ */

.page-hero-strip {
  background-color: #111823;
  background-image:
    linear-gradient(135deg, rgba(11, 16, 22, 0.72) 0%, rgba(17, 24, 35, 0.66) 60%, rgba(11, 16, 22, 0.74) 100%),
    url('../images/backgrounds/mertyuz-color-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px 0 44px;
  position: relative;
  overflow: hidden;
}
.page-hero-strip::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 58%;
  background: radial-gradient(ellipse at 25% 50%, rgba(11, 16, 22, 0.55) 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.page-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast);
}
.page-breadcrumb a:hover {
  color: var(--brand-coral);
}
.page-breadcrumb .sep {
  color: var(--border-medium);
  font-size: 12px;
}
.page-breadcrumb .current {
  color: var(--text-heading);
  font-weight: 600;
}

.page-hero-title {
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-heading) !important;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.page-hero-desc {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-body);
  max-width: 680px;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════
   2. FILTER TABS (ÜRÜN & PORTFOLYO)
═══════════════════════════════════════════ */

.subpage-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.filter-btn-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  background: rgba(21, 29, 40, 0.75);
  color: var(--text-body);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: all var(--t-fast);
}
.filter-btn-tab:hover {
  background: rgba(26, 36, 49, 0.95);
  color: #F5F7FA;
  border-color: rgba(255, 255, 255, 0.2);
}
.filter-btn-tab.active {
  background: var(--brand-coral) !important;
  color: #FFFFFF !important;
  border-color: var(--brand-coral) !important;
  box-shadow: 0 4px 14px rgba(255, 90, 61, 0.35);
}
.filter-btn-tab .badge-count {
  font-size: 12px;
  opacity: 0.85;
}

/* ═══════════════════════════════════════════
   3. VISUAL CATALOGUE PRODUCT GRID (3 COLUMNS)
═══════════════════════════════════════════ */

.catalog-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.catalog-item-card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.catalog-item-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background var(--t-fast);
  z-index: 2;
}
.catalog-item-card:hover {
  border-color: rgba(255, 90, 61, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}
.catalog-item-card:hover::before {
  background: var(--brand-coral);
}

.catalog-item-thumb {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-sec-2);
}
.catalog-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-base);
}
.catalog-item-card:hover .catalog-item-thumb img {
  transform: scale(1.03);
}

.catalog-item-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.catalog-item-category {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-coral);
  margin-bottom: 6px;
}

.catalog-item-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.3;
  margin-bottom: 8px;
}
.catalog-item-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}
.catalog-item-title a:hover {
  color: var(--brand-coral);
}

.catalog-item-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

/* 2 Butonlu Aksiyon Satırı: Sol Detay, Sağ WhatsApp Sipariş */
.catalog-item-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.btn-catalog-detail {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #F5F7FA;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: all var(--t-fast);
}
.btn-catalog-detail:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.btn-catalog-wa {
  flex: 1.25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #25D366;
  background: rgba(37, 211, 102, 0.10);
  border: 1px solid rgba(37, 211, 102, 0.28);
  text-decoration: none;
  transition: all var(--t-fast);
}
.btn-catalog-wa:hover {
  background: #25D366;
  color: #0B1016;
  border-color: #25D366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}
.btn-catalog-wa:active {
  transform: translateY(0);
}
.btn-catalog-wa svg {
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   4. PRODUCT DETAIL LAYOUT (60% Gallery / 40% Info)
═══════════════════════════════════════════ */

.product-detail-grid {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 56px;
}

.product-gallery-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-main-view {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--bg-sec-2);
  border: 1px solid var(--border-subtle);
}
.product-main-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-thumb-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.product-thumb-item {
  width: 90px;
  height: 68px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  background: var(--bg-sec-2);
  transition: border-color var(--t-fast);
}
.product-thumb-item.active,
.product-thumb-item:hover {
  border-color: var(--brand-coral);
}
.product-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-column {
  display: flex;
  flex-direction: column;
}

.product-meta-cat {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-coral);
  margin-bottom: 8px;
}
.product-meta-cat a {
  color: inherit;
}

.product-h1 {
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-heading);
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.product-lead-desc {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 24px;
}

/* ── Ürün Detay: BİLGİ & SİPARİŞ Paneli ── */
.product-order-panel {
  background: rgba(17, 24, 35, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 3px solid var(--brand-coral);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.product-order-head {
  margin-bottom: 18px;
}

.product-order-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-coral);
  margin-bottom: 10px;
}
.product-order-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-coral);
  box-shadow: 0 0 8px rgba(255, 90, 61, 0.6);
  display: inline-block;
}

.product-order-desc {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

.product-order-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-order-wa {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--brand-coral);
  color: #FFFFFF !important;
  border: 1px solid var(--brand-coral);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--t-fast);
  box-shadow: 0 4px 16px rgba(255, 90, 61, 0.35);
}
.btn-order-wa:hover {
  background: #ff7056;
  border-color: #ff7056;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 90, 61, 0.45);
}
.btn-order-wa:active {
  transform: translateY(0);
}
.btn-order-wa svg {
  flex-shrink: 0;
}

.btn-order-phone {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #F5F7FA !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--t-fast);
}
.btn-order-phone:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF !important;
}
.btn-order-phone:active {
  transform: translateY(0);
}
.btn-order-phone svg {
  flex-shrink: 0;
}

/* Teknik Özellikler Tablosu (2 Kolon) */
.specs-twocol-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 28px;
  font-size: 14.5px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.specs-twocol-table th {
  width: 36%;
  padding: 12px 16px;
  background: var(--bg-sec-2);
  color: var(--text-heading);
  font-weight: 700;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
}
.specs-twocol-table td {
  padding: 12px 16px;
  background: var(--surface-card);
  color: var(--text-body);
  border-bottom: 1px solid var(--border-subtle);
}
.specs-twocol-table tr:last-child th,
.specs-twocol-table tr:last-child td {
  border-bottom: none;
}

.product-rich-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
}
.product-rich-desc p {
  margin-bottom: 14px;
}

/* ═══════════════════════════════════════════
   KATEGORİ DETAYLI AÇIKLAMA (CKEditor Rich HTML)
═══════════════════════════════════════════ */
.category-rich-desc {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
  max-width: 900px;
  color: var(--text-body);
}

.category-rich-desc h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-top: 0;
  margin-bottom: 18px;
  line-height: 1.28;
}

.category-rich-desc h2 strong,
.category-rich-desc h3 strong {
  font-weight: inherit;
  color: inherit;
}

.category-rich-desc h3 {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 600;
  color: var(--text-heading);
  letter-spacing: -0.01em;
  margin-top: 32px;
  margin-bottom: 14px;
  line-height: 1.35;
}

.category-rich-desc h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  margin-top: 24px;
  margin-bottom: 10px;
}

.category-rich-desc p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 16px;
}

.category-rich-desc ul,
.category-rich-desc ol {
  margin: 16px 0 24px 24px;
  padding: 0;
}

.category-rich-desc ul {
  list-style: disc;
}

.category-rich-desc ol {
  list-style: decimal;
}

.category-rich-desc li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 8px;
  padding-left: 4px;
}

.category-rich-desc li::marker {
  color: var(--brand-coral);
}

.category-rich-desc strong {
  color: var(--text-heading);
  font-weight: 600;
}

.category-rich-desc em {
  font-style: italic;
  color: var(--text-body);
}

.category-rich-desc a {
  color: var(--brand-coral);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}

.category-rich-desc a:hover {
  color: var(--text-heading);
}

/* ═══════════════════════════════════════════
   5. PORTFOLIO & REFERENCES GRID
═══════════════════════════════════════════ */

.portfolio-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.portfolio-item-card {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-img);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.portfolio-item-card:hover {
  border-color: rgba(255, 90, 61, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}
.portfolio-item-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-base);
  z-index: 0;
}
.portfolio-item-card:hover img {
  transform: scale(1.03);
}
.portfolio-item-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.25) 0%, rgba(13, 17, 23, 0.55) 45%, rgba(13, 17, 23, 0.94) 100%);
  z-index: 1;
  transition: opacity var(--t-fast);
}
.portfolio-item-card:hover::before {
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.15) 0%, rgba(13, 17, 23, 0.45) 45%, rgba(13, 17, 23, 0.92) 100%);
}

.portfolio-item-meta {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
}
.portfolio-item-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-coral);
  margin-bottom: 6px;
}
.portfolio-item-name {
  font-size: 19px;
  font-weight: 700;
  color: #FFFFFF !important;
  line-height: 1.35;
}

/* ═══════════════════════════════════════════
   6. CASE STUDY (REFERENCE DETAIL)
═══════════════════════════════════════════ */

.case-study-hero-img {
  position: relative;
  aspect-ratio: 16/9;
  max-height: 540px;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--bg-sec-2);
  margin-bottom: 40px;
  border: 1px solid var(--border-subtle);
}
.case-study-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
  color: var(--text-muted);
}
.case-study-meta-row strong {
  color: var(--text-heading);
}

.case-study-split {
  display: grid;
  grid-template-columns: 62% 38%;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.case-study-heading {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.case-study-rich-desc {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-body);
}

.case-study-rich-desc p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 16px;
}

.case-study-rich-desc p:last-child {
  margin-bottom: 0;
}

.case-study-rich-desc h2,
.case-study-rich-desc h3 {
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.01em;
  margin-top: 26px;
  margin-bottom: 12px;
  line-height: 1.35;
}

.case-study-rich-desc h2 {
  font-size: clamp(19px, 1.8vw, 22px);
}

.case-study-rich-desc h3 {
  font-size: clamp(17px, 1.5vw, 19px);
}

.case-study-rich-desc h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  margin-top: 20px;
  margin-bottom: 10px;
}

.case-study-rich-desc strong,
.case-study-rich-desc b {
  font-weight: 700;
  color: var(--text-heading);
}

.case-study-rich-desc em,
.case-study-rich-desc i {
  font-style: italic;
  color: var(--text-body);
}

.case-study-rich-desc ul,
.case-study-rich-desc ol {
  margin: 16px 0 20px 24px;
  padding: 0;
}

.case-study-rich-desc ul {
  list-style: disc;
}

.case-study-rich-desc ol {
  list-style: decimal;
}

.case-study-rich-desc li {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 8px;
  padding-left: 4px;
}

.case-study-rich-desc li::marker {
  color: var(--brand-coral);
}

.case-study-rich-desc a {
  color: var(--brand-coral);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}

.case-study-rich-desc a:hover {
  color: var(--text-heading);
}

.case-study-rich-desc blockquote {
  border-left: 3px solid var(--brand-coral);
  margin: 20px 0;
  padding: 10px 18px;
  background: var(--bg-surface);
  border-radius: 0 var(--radius-sm, 6px) var(--radius-sm, 6px) 0;
  font-style: italic;
  color: var(--text-body);
}

.case-gallery-rhythm {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0 48px;
}
.case-gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--bg-sec-2);
  border: 1px solid var(--border-subtle);
}
.case-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ═══════════════════════════════════════════
   7. ABOUT PAGE (KURUMSAL / HAKKIMIZDA)
═══════════════════════════════════════════ */

.about-banner-img {
  position: relative;
  aspect-ratio: 16/8;
  max-height: 460px;
  border-radius: var(--radius-img);
  overflow: hidden;
  margin-bottom: 48px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-sec-2);
}
.about-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-editorial-story {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 56px;
}
.about-story-lead {
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-heading);
}
.about-story-text p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 16px;
}
.about-story-text ul,
.about-story-text ol {
  margin: 0 0 16px 20px;
  color: var(--text-body);
  font-size: 15.5px;
  line-height: 1.6;
}
.about-story-text li {
  margin-bottom: 8px;
}
.about-story-text h3,
.about-story-text h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 24px 0 12px;
}
.about-story-text a {
  color: var(--brand-coral);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.about-story-text strong {
  color: var(--text-heading);
}

.vision-mission-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 40px 0 56px;
  padding: 36px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.vm-item h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 10px;
  position: relative;
  padding-left: 18px;
}
.vm-item h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--brand-coral);
  border-radius: 2px;
}
.vm-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
}

/* ── Üretim Yaklaşımı Şerit Kartları ── */
.why-strip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-col-item {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  position: relative;
  transition: transform var(--t-fast), border-color var(--t-fast);
}
.why-col-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}
.why-num {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.num-coral { color: var(--brand-coral); }
.num-purple { color: var(--brand-purple); }
.num-blue { color: var(--brand-blue); }
.num-orange { color: var(--brand-orange); }
.num-white { color: #FFFFFF; }

.why-brush-line {
  height: 3px;
  width: 36px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.brush-coral { background: var(--brand-coral); }
.brush-purple { background: var(--brand-purple); }
.brush-blue { background: var(--brand-blue); }
.brush-orange { background: var(--brand-orange); }
.brush-white { background: #FFFFFF; }

.why-item-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.why-item-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Tabela Çeşitleri Görsel Kataloğu ── */
.tabela-catalogue-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.tabela-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  padding-bottom: 12px;
  transition: all var(--t-fast);
}
.tabela-cat-card:hover {
  border-color: var(--brand-coral);
  transform: translateY(-3px);
}
.tabela-cat-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-sec-2);
}
.tabela-cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-fast);
}
.tabela-cat-card:hover .tabela-cat-thumb img {
  transform: scale(1.05);
}
.tabela-cat-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 10px;
  text-align: center;
}

/* ── Atölye Collage Izgarası ── */
.about-collage-grid {
  display: grid;
  grid-template-columns: 36% 36% 28%;
  gap: 32px;
  align-items: center;
}
.about-heading {
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-heading);
  margin-bottom: 16px;
}
.about-body p {
  font-size: 15.5px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 14px;
}
.about-center-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}
.about-center-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.about-right-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-right-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.about-right-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.about-badge-box {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--brand-coral);
  border-radius: var(--radius-card);
  padding: 16px 20px;
}
.about-badge-box strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}
.about-badge-box span {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Sayfa Sonu CTA ── */
.spec-final-cta {
  background-color: #0B1016;
  background-image:
    linear-gradient(135deg, rgba(11, 16, 22, 0.60) 0%, rgba(17, 24, 35, 0.54) 50%, rgba(11, 16, 22, 0.62) 100%),
    url('../images/backgrounds/mertyuz-color-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.spec-final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 60%;
  background: radial-gradient(ellipse at 30% 50%, rgba(11, 16, 22, 0.62) 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.cta-flex-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-flex-layout .cta-heading {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════
   8. CONTACT PAGE (İLETİŞİM)
═══════════════════════════════════════════ */

.contact-split-grid {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 56px;
}

.contact-info-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-card);
}

.contact-channel-item strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-coral);
  margin-bottom: 4px;
}
.contact-channel-item a,
.contact-channel-item p {
  font-size: 16px;
  color: var(--text-heading);
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}
.contact-channel-item a:hover {
  color: var(--brand-coral);
}

.contact-form-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.contact-form-card h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 6px;
}
.contact-form-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group-field {
  margin-bottom: 18px;
}
.form-label-field {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.form-input-field,
.form-select-field,
.form-textarea-field {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--text-heading);
  background: #101620;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-btn);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-input-field:focus,
.form-select-field:focus,
.form-textarea-field:focus {
  outline: none;
  background: #121A26;
  border-color: var(--brand-coral);
  box-shadow: 0 0 0 3px rgba(255, 90, 61, 0.18);
}

.form-alert-msg {
  padding: 14px 18px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  margin-bottom: 20px;
}
.form-alert-msg.success {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  border-left: 4px solid var(--wa-green);
}
.form-alert-msg.error {
  background: rgba(255, 90, 61, 0.12);
  color: #FF5A3D;
  border-left: 4px solid var(--brand-coral);
}

/* ── Büyük İletişim Haritası & Lokasyon Bölümü ── */
.contact-map-section {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.contact-map-header {
  margin-bottom: 28px;
}
.contact-map-title {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin: 10px 0 8px;
}
.contact-map-lead {
  font-size: 15.5px;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.6;
  margin: 0;
}

.contact-map-wrapper {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 32px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  align-items: stretch;
}

.contact-map-viewport {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-img);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f1622;
}

.contact-map-viewport iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-map-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 6px;
}

.contact-map-panel-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-map-panel-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-coral);
  background: rgba(255, 90, 61, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 90, 61, 0.2);
}
.contact-map-brand {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.01em;
  margin: 0;
}

.contact-map-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-map-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contact-map-detail-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-coral);
  margin-top: 2px;
}
.contact-map-detail-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 2px;
}
.contact-map-detail-text p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.contact-map-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.contact-btn-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-coral) 0%, #ff7b5a 100%);
  color: #fff !important;
  text-decoration: none;
  transition: all var(--t-fast);
  box-shadow: 0 4px 16px rgba(255, 90, 61, 0.32);
}
.contact-btn-directions:hover {
  background: linear-gradient(135deg, #e03520 0%, #ff5a3d 100%);
  box-shadow: 0 6px 20px rgba(255, 90, 61, 0.45);
  transform: translateY(-2px);
}

.contact-btn-maps {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-heading) !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: all var(--t-fast);
}
.contact-btn-maps:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--brand-coral) !important;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   9. 404 ERROR PAGE
═══════════════════════════════════════════ */

.error-404-container {
  text-align: center;
  padding: 80px 0 96px;
  max-width: 640px;
  margin: 0 auto;
}

.error-404-big {
  font-size: clamp(80px, 12vw, 120px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent-primary, #FF5A3D);
  margin-bottom: 12px;
}

.error-404-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.error-404-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.error-404-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   10. EMPTY STATE COMPONENT
═══════════════════════════════════════════ */

.spec-empty-state {
  text-align: center;
  padding: 56px 24px;
  background: var(--surface-card);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-card);
  max-width: 560px;
  margin: 32px auto;
}
.spec-empty-state h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.spec-empty-state p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════
   11. SERVICE PILLAR LANDING (TABELA, BASKI, CNC, LAZER)
═══════════════════════════════════════════ */

.pillar-hero-split {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}
.pillar-hero-text h1 {
  font-size: clamp(34px, 3.8vw, 50px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.pillar-hero-text p {
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--text-body);
  margin-bottom: 24px;
}
.pillar-hero-visual {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--bg-sec-2);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.pillar-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillar-section-heading {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════════
   12. RESPONSIVE MEDIA QUERIES
═══════════════════════════════════════════ */

@media (max-width: 1024px) {
  .catalog-grid-3,
  .portfolio-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-detail-grid,
  .pillar-hero-split,
  .about-editorial-story,
  .case-study-split,
  .contact-split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .vision-mission-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .why-strip-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .tabela-catalogue-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-collage-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-map-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }
  .contact-map-viewport {
    min-height: 340px;
  }
  .contact-map-actions {
    flex-direction: row;
  }
  .contact-btn-directions,
  .contact-btn-maps {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .catalog-grid-3,
  .portfolio-grid-3,
  .case-gallery-rhythm {
    grid-template-columns: 1fr;
  }
  .form-row-2 {
    grid-template-columns: 1fr !important;
  }
  .page-hero-strip {
    padding: 24px 0;
  }
  .contact-form-card,
  .contact-info-card {
    padding: 24px 18px;
  }
  .contact-map-section {
    margin-top: 40px;
    padding-top: 36px;
  }
  .contact-map-wrapper {
    padding: 16px;
  }
  .contact-map-viewport {
    min-height: 280px;
  }
  .contact-map-actions {
    flex-direction: column;
  }
  .contact-btn-directions,
  .contact-btn-maps {
    width: 100%;
  }
  .product-cta-panel {
    padding: 18px;
  }
  .subpage-filter-bar {
    gap: 6px;
  }
  .filter-btn-tab {
    padding: 6px 12px;
    font-size: 13px;
  }
  .why-strip-row {
    grid-template-columns: 1fr;
  }
  .tabela-catalogue-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-flex-layout {
    flex-direction: column;
    text-align: center;
  }
  .cta-flex-layout .cta-btn-group {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .tabela-catalogue-row {
    grid-template-columns: 1fr;
  }
  .tabela-cat-name {
    word-break: break-word;
  }
  .catalog-item-actions {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .btn-catalog-detail,
  .btn-catalog-wa {
    width: 100%;
    flex: none;
    justify-content: center;
  }
  .product-order-panel {
    padding: 16px 14px;
  }
  .contact-form-card,
  .contact-info-card {
    padding: 18px 14px;
  }
  .case-study-hero-img {
    aspect-ratio: 4/3;
    max-height: 300px;
    margin-bottom: 24px;
  }
  .case-study-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Global Table & Rich Text Responsive Protections */
.specs-twocol-table,
.product-rich-desc table,
.case-study-rich-desc table,
.category-rich-desc table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.product-rich-desc,
.case-study-rich-desc,
.category-rich-desc {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.product-rich-desc img,
.case-study-rich-desc img,
.category-rich-desc img {
  max-width: 100% !important;
  height: auto !important;
}
