:root {
  --color-bg: #0b1016;
  --color-bg-alt: #131a22;
  --color-primary: #f59e0b;
  --color-primary-soft: rgba(245, 158, 11, 0.16);
  --color-secondary: #1f2933;
  --color-text: #e5e7eb;
  --color-text-soft: #9ca3af;
  --color-border: #2d3748;
  --color-danger: #ef4444;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 14px 35px rgba(0, 0, 0, 0.6);
  --transition-fast: 0.18s ease-out;
  --container-width: 1120px;
  --header-height: 72px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #020617 100%);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.25rem;
}

.logo-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: radial-gradient(circle at 30% 20%, #1f2937 0, #020617 50%);
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.98rem;
}

/* NAV */

.main-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list a {
  font-size: 0.95rem;
  color: var(--color-text-soft);
  padding: 0.35rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f97316, #facc15);
  transition: width var(--transition-fast);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: #f9fafb;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  width: 100%;
}

/* Mobile nav */

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at 30% 10%, #111827 0, #020617 55%);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: background var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* HERO */

.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  color: #f9fafb;
  overflow: hidden;
  background-image:
    linear-gradient(to bottom, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.96)),
    url("images/cikma-kaput.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.11), transparent 55%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.13), transparent 55%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  padding: 4.5rem 1.5rem 4rem;
  max-width: 640px;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  margin: 0 0 1.75rem;
  font-size: 1.02rem;
  color: var(--color-text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-size: 0.96rem;
  color: #d1d5db;
  max-width: 520px;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.7rem 1.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, #f97316, #facc15);
  color: #1f2933;
  box-shadow: 0 12px 30px rgba(248, 181, 25, 0.4);
}

.btn.primary:hover {
  box-shadow: 0 18px 40px rgba(248, 181, 25, 0.5);
  transform: translateY(-1px);
}

.btn.secondary {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.6);
}

.btn.secondary:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(248, 250, 252, 0.9);
}

.btn.outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
}

.btn.outline:hover {
  border-color: rgba(248, 250, 252, 0.95);
  background: rgba(15, 23, 42, 0.9);
}

.btn.small {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
}

/* whatsapp & telefon buton renkleri (isimler sabit kalacak) */
.btn.whatsapp {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #f9fafb;
  border-color: rgba(34, 197, 94, 0.9);
  box-shadow: 0 12px 26px rgba(34, 197, 94, 0.35);
}

.btn.whatsapp:hover {
  box-shadow: 0 16px 34px rgba(34, 197, 94, 0.45);
}

.btn.telefon {
  background: linear-gradient(135deg, #facc15, #eab308);
  color: #1f2937;
  border-color: rgba(250, 204, 21, 0.95);
  box-shadow: 0 12px 26px rgba(250, 204, 21, 0.3);
}

.btn.telefon:hover {
  box-shadow: 0 16px 34px rgba(250, 204, 21, 0.4);
}

/* SECTIONS */

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #020617 100%);
}

.section-header {
  margin-bottom: 2.2rem;
}

.section-header h2 {
  font-size: 1.7rem;
  margin: 0 0 0.4rem;
}

.section-header p {
  margin: 0;
  color: var(--color-text-soft);
}

/* PRODUCT GRID */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.08), rgba(15, 23, 42, 1));
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  max-height: 190px;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.7s ease-out;
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.06);
}

.product-body {
  padding: 1.2rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-body h3 {
  margin: 0;
  font-size: 1.02rem;
}

.product-body p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.9rem;
}

.product-actions {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ABOUT */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.about-text p {
  margin: 0 0 0.9rem;
  color: var(--color-text-soft);
  line-height: 1.6;
}

.about-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--shadow-card);
}

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

/* CONTACT */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-info p {
  margin: 0 0 0.7rem;
  color: var(--color-text-soft);
}

.contact-info a {
  text-decoration: underline;
  text-decoration-style: dashed;
  text-decoration-color: rgba(148, 163, 184, 0.7);
}

/* FORM */

.contact-form {
  margin-top: 1.7rem;
  padding: 1.3rem 1.25rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.09), #020617);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.95rem;
}

.form-row label {
  margin-bottom: 0.25rem;
  font-size: 0.88rem;
  color: #cbd5f5;
}

.form-row input,
.form-row textarea {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.9);
  color: var(--color-text);
  padding: 0.55rem 0.7rem;
  font: inherit;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.form-row input:focus-visible,
.form-row textarea:focus-visible {
  border-color: rgba(248, 181, 25, 0.85);
  box-shadow: 0 0 0 1px rgba(248, 181, 25, 0.25);
  background: rgba(15, 23, 42, 1);
}

/* Honeypot alanını gizle ama erişilebilir kıl */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-result {
  margin-top: 0.6rem;
  font-size: 0.86rem;
  min-height: 1.1rem;
}

.form-result.error {
  color: var(--color-danger);
}

.form-result.success {
  color: #4ade80;
}

/* MAP */

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--shadow-card);
  min-height: 260px;
}

.map-wrapper iframe {
  border: 0;
  width: 100%;
  min-height: 260px;
}

/* FOOTER */

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 2.2rem 0 1.2rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), #020617);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 1.5rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.footer-contact p {
  margin: 0 0 0.5rem;
  color: var(--color-text-soft);
}

.footer-bottom {
  text-align: center;
  margin-top: 1.2rem;
  color: var(--color-text-soft);
  font-size: 0.8rem;
}

/* JS required helper */

.no-js .js-required {
  display: none !important;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .about-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-wrapper {
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }

  .nav-list {
    position: absolute;
    top: 110%;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 14px;
    padding: 0.9rem 1.2rem;
    min-width: 180px;
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
  }

  .nav-list.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-content {
    padding-top: 3.2rem;
    padding-bottom: 3.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .product-grid {
    gap: 1.4rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}
