:root {
  --bg-deep: #0f1419;
  --bg-card: #1a222d;
  --bg-soft: #f4f1eb;
  --accent: #c9a227;
  --accent-soft: #e4c76b;
  --text-light: #f8f6f2;
  --text-muted: #a8b0bc;
  --text-dark: #2c3338;
  --line: rgba(201, 162, 39, 0.25);
  --shadow: 0 24px 60px rgba(15, 20, 25, 0.35);
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--bg-soft);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-light);
}

.logo-img {
  height: 75px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.logo-text strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
}

.logo-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.logo.logo--image .logo-text {
  display: none !important;
}

.logo.logo--text .logo-img {
  display: none !important;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
}

nav a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.is-active {
  color: var(--accent-soft);
  border-bottom-color: var(--accent);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent) 0%, #b8890f 100%);
  color: var(--bg-deep) !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 999px;
  font-weight: 600;
  border: none !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text-light);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    display: none;
  }
  nav.is-open { display: block; }
  nav ul { flex-direction: column; align-items: stretch; }
}

.page-hero {
  background: linear-gradient(180deg, #2a3544 0%, #232e3e 50%, #1f2a38 100%);
  color: var(--text-light);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.page-hero .section-label {
  color: var(--accent-soft);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 55ch;
}

.breadcrumb {
  font-size: 0.88rem;
  color: #5c6570;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: #4a5568;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumb a:hover {
  color: #6b5410;
}

.breadcrumb span {
  color: #0f1419;
  font-weight: 600;
}

.catalog-section {
  padding: 3rem 0 4rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.product-card-link {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15, 20, 25, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 20, 25, 0.08);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  height: 100%;
}

.product-card-link:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 18px 48px rgba(15, 20, 25, 0.14);
}

.product-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-card);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.product-card-link:hover .product-card-media img {
  transform: scale(1.04);
}

.product-card-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.product-card-cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8b6914;
  font-weight: 600;
}

.product-card-body h2 {
  font-size: 1.35rem;
  color: var(--bg-deep);
}

.product-card-body p {
  font-size: 0.9rem;
  color: #5a6369;
  flex: 1;
}

.product-card-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.35rem;
}

.catalog-empty,
.catalog-error {
  text-align: center;
  padding: 3rem 1rem;
  color: #5a6369;
}

.catalog-admin-note {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  background: rgba(201, 162, 39, 0.08);
  border: 1px dashed rgba(201, 162, 39, 0.35);
  border-radius: 10px;
  font-size: 0.88rem;
  color: #5a6369;
}

.catalog-admin-note strong {
  color: var(--bg-deep);
}

.catalog-admin-note code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.84em;
  background: rgba(15, 20, 25, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* Detay */
.detail-section {
  padding: 2rem 0 4rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 860px) {
  .detail-layout { grid-template-columns: 1fr; }
}

.detail-gallery {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 20, 25, 0.08);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.detail-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-info {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 20, 25, 0.08);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 16px 48px rgba(15, 20, 25, 0.06);
}

.detail-info .product-card-cat { margin-bottom: 0.35rem; }

.detail-info h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  color: var(--bg-deep);
  margin-bottom: 1rem;
}

.detail-lead {
  font-size: 1.05rem;
  color: #4a5258;
  margin-bottom: 1.25rem;
}

.detail-description {
  color: #5a6369;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.detail-description p {
  margin: 0 0 1rem;
}

.detail-description p:last-child {
  margin-bottom: 0;
}

.detail-description strong {
  font-weight: 600;
  color: #2c3338;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(15, 20, 25, 0.08);
}

.spec-table th {
  width: 48%;
  color: #6a7379;
  font-weight: 500;
  vertical-align: top;
  padding-right: 1rem;
}

.spec-table td {
  width: 52%;
  max-width: 11rem;
  color: #2c3338;
  vertical-align: top;
}

.spec-table tr.spec-row-single td {
  max-width: none;
  width: 100%;
  color: #5a6369;
  font-weight: 400;
  padding: 0.5rem 0;
}

.spec-table tr.spec-row-single + tr.spec-row-single td {
  padding-top: 0.35rem;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.detail-actions .btn-call {
  flex-shrink: 0;
  min-width: 9.5rem;
}

.detail-actions .btn-teklif {
  flex-shrink: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: max-content;
  min-width: max-content;
}

.detail-actions .btn-teklif span {
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s, filter 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #b8890f 100%);
  color: var(--bg-deep);
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }

.btn-ghost {
  background: transparent;
  color: var(--bg-deep);
  border: 1px solid rgba(201, 162, 39, 0.45);
}

.btn-ghost:hover { border-color: var(--accent); color: #6b5410; }

.related-section {
  padding: 0 0 4rem;
}

.related-section h2 {
  font-size: 1.65rem;
  color: var(--bg-deep);
  margin-bottom: 1.25rem;
  text-align: center;
}

.related-section .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .related-section .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .related-section .product-grid {
    grid-template-columns: 1fr;
  }
}

footer {
  background: var(--bg-deep);
  color: var(--text-muted);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a:hover { color: var(--accent-soft); }

.footer-copy {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.8rem;
  width: 100%;
}
