/* ============================================================
   Ustalar Metal — Genel Stil Dosyası
   ============================================================ */

:root {
  --color-bg: #0b0b0c;
  --color-bg-alt: #131316;
  --color-surface: #19191c;
  --color-border: #2a2a2e;
  --color-text: #f3f3f3;
  --color-text-muted: #9c9ca2;
  --color-silver: #cfcfd4;
  --color-silver-soft: #8c8c92;

  --font-heading: 'Jost', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-width: 1240px;
  --header-height: 88px;
  --transition: 0.35s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

iframe {
  border: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-text);
}

:focus-visible {
  outline: 1px solid var(--color-silver);
  outline-offset: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--color-silver);
  color: #0b0b0c;
  padding: 14px 22px;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

section {
  padding: 130px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 72px;
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  color: var(--color-silver);
  margin-bottom: 18px;
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--color-silver-soft);
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  line-height: 1.25;
}

.section-intro {
  margin-top: 18px;
  color: var(--color-text-muted);
  font-size: 1.02rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 38px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-silver);
  color: #0b0b0c;
  border-color: var(--color-silver);
}

.btn--primary:hover {
  background: #ffffff;
  border-color: #ffffff;
}

.btn--ghost {
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn--ghost:hover {
  border-color: var(--color-silver);
  color: var(--color-silver);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), height var(--transition);
}

.site-header.is-scrolled {
  height: 76px;
  background: rgba(11, 11, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand__text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  font-weight: 300;
  color: var(--color-text);
}

.brand__text strong {
  font-weight: 600;
}

.nav__list {
  display: flex;
  gap: 44px;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--color-silver);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--color-text);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 30px;
  height: 30px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--color-silver);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   Hero / Slider
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--color-bg);
}

.hero-slider {
  position: relative;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background:
    linear-gradient(100deg, #0b0b0c 0%, rgba(11, 11, 12, 0.92) 38%, rgba(11, 11, 12, 0.55) 75%, rgba(11, 11, 12, 0.35) 100%),
    radial-gradient(ellipse at 75% 50%, #1d1d20 0%, #0b0b0c 70%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-slide__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide__content {
  position: relative;
  max-width: 680px;
  padding-top: var(--header-height);
}

.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  color: var(--color-silver);
  margin-bottom: 22px;
}

.hero-slide h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.8rem);
  font-weight: 500;
  line-height: 1.18;
  margin-bottom: 26px;
  letter-spacing: 0.01em;
}

.hero-slide__text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-slide__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-nav {
  position: absolute;
  bottom: 44px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.hero-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-muted);
  transition: border-color var(--transition), color var(--transition);
}

.hero-arrow svg {
  width: 18px;
  height: 18px;
}

.hero-arrow:hover {
  border-color: var(--color-silver);
  color: var(--color-silver);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--color-silver-soft);
  transition: all var(--transition);
}

.hero-dot.is-active {
  width: 30px;
  border-radius: 5px;
  background: var(--color-silver);
  border-color: var(--color-silver);
}

.scroll-cue {
  position: absolute;
  bottom: 48px;
  right: 48px;
  z-index: 2;
  width: 1px;
  height: 64px;
  background: var(--color-border);
}

.scroll-cue span {
  position: absolute;
  top: 0;
  left: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-silver);
  animation: scrollCue 2.2s infinite;
}

@keyframes scrollCue {
  0% { top: 0; opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ============================================================
   Hakkımızda
   ============================================================ */
.about {
  background: var(--color-bg-alt);
}

.about .section-head {
  text-align: left;
  margin: 0 0 64px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 90px;
  align-items: start;
}

.about-text p {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  margin-bottom: 22px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.stat {
  background: var(--color-bg-alt);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background var(--transition);
}

.stat:hover {
  background: var(--color-surface);
}

.stat__icon {
  width: 30px;
  height: 30px;
  opacity: 0.85;
}

.stat__value {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ============================================================
   Görseller / Galeri
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.gallery-card {
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  transition: background var(--transition), transform var(--transition);
}

.gallery-card:hover {
  background: var(--color-surface);
  transform: translateY(-4px);
}

.gallery-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.gallery-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.15) 0%, rgba(11, 11, 12, 0.55) 100%);
  mix-blend-mode: multiply;
}

.gallery-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) brightness(0.85) contrast(1.05);
  transition: transform 1.2s ease, filter var(--transition);
}

.gallery-card:hover .gallery-card__media img {
  transform: scale(1.06);
  filter: grayscale(0.4) brightness(0.9) contrast(1.05);
}

.gallery-card__body {
  padding: 40px 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.gallery-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  transition: border-color var(--transition), background var(--transition);
  background: var(--color-bg);
  margin-top: -68px;
  position: relative;
  z-index: 1;
}

.gallery-card:hover .gallery-card__icon {
  border-color: var(--color-silver-soft);
  background: var(--color-surface);
}

.gallery-card__icon img {
  width: 26px;
  height: 26px;
}

.gallery-card h3 {
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.gallery-card p {
  color: var(--color-text-muted);
  font-size: 0.96rem;
}

/* ============================================================
   İletişim
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.contact-info {
  background: var(--color-bg-alt);
  padding: 56px 48px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact-item {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.contact-item__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 4px;
  opacity: 0.85;
}

.contact-item__label {
  display: block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--color-silver);
  margin-bottom: 8px;
}

.contact-item p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.contact-item p + p {
  margin-top: 4px;
}

.contact-item a:hover {
  color: var(--color-silver);
}

.contact-map {
  background: var(--color-bg-alt);
  min-height: 420px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  filter: grayscale(1) invert(0.92) contrast(0.85);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
  padding: 64px 32px;
}

.footer__brand p {
  margin-top: 16px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  max-width: 280px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__nav a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition);
  width: fit-content;
}

.footer__nav a:hover {
  color: var(--color-silver);
}

.footer__address {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  text-align: right;
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
}

.footer__bottom .container {
  padding: 24px 32px;
}

.footer__bottom p {
  font-size: 0.82rem;
  color: var(--color-silver-soft);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ============================================================
   Scroll Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  section {
    padding: 96px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 360px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__address {
    grid-column: span 2;
    text-align: left;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 76px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    top: var(--header-height);
    background: rgba(10, 10, 11, 0.98);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  }

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

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 38px;
  }

  .nav__link {
    font-size: 1.4rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 22px;
  }

  section {
    padding: 80px 0;
  }

  .hero-slide__content {
    padding-top: calc(var(--header-height) + 12px);
  }

  .hero-slide__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-slide__actions .btn {
    width: 100%;
  }

  .hero-nav {
    bottom: 28px;
    gap: 22px;
  }

  .scroll-cue {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    padding: 40px 28px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    padding: 48px 22px;
    text-align: left;
  }

  .footer__address {
    grid-column: auto;
  }
}
