/*
Theme Name: HN Studio
Theme URI: https://hnstudio.com.tr/
Author: HN Studio
Author URI: https://hnstudio.com.tr/
Description: HN Studio kurumsal web sitesi icin ozel WordPress temasi.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: hnstudio
*/

:root {
  --bg: #071a30;
  --surface: rgba(10, 29, 53, 0.78);
  --surface-strong: #0d2441;
  --text: #f4f7fb;
  --muted: #9fb0c3;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #1492ff;
  --accent-soft: #6cc0ff;
  --shadow: 0 24px 60px rgba(1, 8, 17, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 132px;
}

main#top {
  scroll-margin-top: 132px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(20, 146, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #071525 0%, #0b1b2f 56%, #0c2037 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 28%),
    radial-gradient(circle at 20% 0%, rgba(108, 192, 255, 0.08), transparent 30%);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header,
.hero,
.logo-band,
.services,
.showcase,
.contact {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8, 23, 41, 0.7);
  backdrop-filter: blur(16px);
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand a,
.custom-logo-link {
  color: inherit;
  text-decoration: none;
}

.brand-logo,
.custom-logo,
.site-nav a,
.button {
  font-weight: 700;
}

.brand-logo {
  display: block;
  width: auto;
  height: 64px;
  object-fit: contain;
}

.custom-logo {
  display: block;
  width: auto;
  height: 64px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 20px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 22px;
  padding: 34px 0 18px;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.hero-lead {
  margin: 0 0 14px;
  color: var(--accent-soft);
  font-family: "Sora", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  letter-spacing: 0.06em;
  font-size: 2rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.2rem, 4.9vw, 4.2rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  max-width: 12ch;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.1;
}

.hero-text,
.service-card p,
.showcase-panel p:last-child,
.contact p + h2,
.stat-label {
  color: var(--muted);
}

.hero-text {
  max-width: 56ch;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 16px 0 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #1492ff, #0f74de);
  color: #eff7ff;
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero-card,
.service-card,
.showcase-panel,
.contact {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 18px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(20, 146, 255, 0.1), transparent 24%),
    linear-gradient(160deg, rgba(14, 39, 70, 0.94), rgba(9, 27, 49, 0.92));
  transform: none;
}

.logo-band {
  margin-top: 14px;
  padding: 18px 0 8px;
}

.logo-band-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.logo-band-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.logo-band-controls {
  position: relative;
}

.logo-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
  transform: translateY(-50%);
}

.logo-control:hover {
  transform: translateY(calc(-50% - 1px));
  border-color: rgba(20, 146, 255, 0.4);
  background: rgba(20, 146, 255, 0.08);
}

.logo-control span {
  font-size: 1.4rem;
  line-height: 1;
}

.logo-control-left {
  left: 16px;
}

.logo-control-right {
  right: 16px;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(8, 23, 41, 0.66);
}

.logo-marquee-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.logo-marquee-scroll::-webkit-scrollbar {
  display: none;
}

.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 88px;
  z-index: 1;
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #09192c 0%, rgba(9, 25, 44, 0) 100%);
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #09192c 0%, rgba(9, 25, 44, 0) 100%);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  padding: 38px 24px;
  animation: marquee-scroll 24s linear infinite;
}

.logo-marquee:hover .logo-track,
.logo-marquee-scroll:hover .logo-track {
  animation-play-state: paused;
}

.logo-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  height: 160px;
  padding: 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  color: #dce7f4;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.logo-pill-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(108, 192, 255, 0.18);
  border-radius: 999px;
  background: rgba(7, 18, 32, 0.62);
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 146, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.logo-pill img {
  width: 100%;
  max-width: 220px;
  max-height: 70px;
  object-fit: contain;
}

.logo-pill-worldveterans img {
  max-width: 260px;
  max-height: 92px;
}

.metrics-band {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 0;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.metrics-intro {
  padding: 20px 20px;
  border-right: 1px solid var(--line);
}

.metrics-intro h2 {
  max-width: 9ch;
  font-size: clamp(1.2rem, 2.3vw, 1.9rem);
}

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

.metric-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 128px;
  padding: 18px 20px;
}

.metric-card + .metric-card {
  border-left: 1px solid var(--line);
}

.metric-value {
  display: block;
  margin-bottom: 8px;
  color: #89c15d;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.metric-label {
  display: block;
  max-width: 16ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  margin-bottom: 22px;
  border: 1px solid rgba(108, 192, 255, 0.22);
  border-radius: 999px;
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.stat + .stat {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.stat-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-value {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  line-height: 0.94;
  margin-bottom: 6px;
  letter-spacing: -0.06em;
}

.stat-label {
  display: block;
  max-width: 18ch;
  font-size: 0.84rem;
  line-height: 1.35;
  text-transform: capitalize;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.services,
.showcase,
.socials {
  margin-top: 34px;
}

.socials-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.social-visual,
.social-content {
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.social-visual {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(20, 146, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(12, 32, 55, 0.98), rgba(8, 23, 41, 0.92));
}

.social-visual img {
  width: min(100%, 380px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.28));
}

.social-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.service-grid,
.showcase-grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.showcase-panel {
  padding: 24px;
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.social-subtext {
  max-width: 60ch;
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.7;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 146, 255, 0.5);
  background: rgba(20, 146, 255, 0.08);
}

.social-icon span {
  font-family: "Sora", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.social-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.service-card span,
.showcase-panel p {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 800;
}

.service-card p {
  line-height: 1.65;
}

.showcase-grid {
  grid-template-columns: 1.15fr 1fr 1fr;
}

.showcase-panel {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.showcase-panel.accent {
  background: linear-gradient(160deg, #1492ff, #0f74de);
}

.showcase-panel.accent p,
.showcase-panel.accent h3 {
  color: #fff8f0;
}

.contact {
  margin-top: 34px;
  padding: 38px;
  border-radius: 32px;
  background:
    radial-gradient(circle at right top, rgba(20, 146, 255, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(13, 36, 65, 0.98), rgba(9, 28, 50, 0.96));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
}

.contact-copy {
  max-width: 760px;
}

.contact h2 {
  max-width: 11ch;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.contact-text {
  max-width: 56ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(108, 192, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-button {
  min-width: 280px;
  min-height: 64px;
  padding: 0 28px;
  font-size: 1.05rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 920px) {
  .hero,
  .service-grid,
  .showcase-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero,
  .contact {
    display: grid;
  }

  .contact h2 {
    max-width: 100%;
  }

  .contact-actions {
    align-items: flex-start;
  }

  .logo-band-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .logo-band-controls {
    position: relative;
  }

  .logo-control {
    display: none;
  }

  .socials-layout {
    grid-template-columns: 1fr;
  }

  .social-visual {
    min-height: 280px;
  }

  .metrics-band,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metrics-intro {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-card {
    min-height: 160px;
  }

  .metric-card + .metric-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo {
    height: 52px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  h1 {
    max-width: 100%;
  }

  .hero {
    padding-top: 34px;
  }
}
