/* Sasal Havacılık homepage. Colors and fonts follow the brand kit (/brand-kit/). */

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

:root {
  --teal: #2A7A8C;
  --teal-dark: #1D5F6E;
  --teal-light: #3D9AAE;
  --linen: #F2EFE8;
  --midnight: #1A2E33;
  --stone: #5A7A80;
  --white: #FFFFFF;

  --font-head: 'Barlow Condensed', system-ui, sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;

  --wrap: 1120px;
  --gutter: 32px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--linen);
  color: var(--midnight);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}
.label--light { color: rgba(242, 239, 232, 0.7); }

/* Header */

.top {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
}
.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--linen);
}
.brand__mark { filter: brightness(0) invert(1); }
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.top__link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--linen);
  padding: 8px 0;
  border-bottom: 1px solid rgba(242, 239, 232, 0.35);
  transition: border-color 0.2s;
}
.top__link:hover { border-color: var(--linen); }

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse at 78% 45%, rgba(42, 122, 140, 0.28), transparent 60%),
    var(--midnight);
  color: var(--linen);
  padding: 120px 0 140px;
}

.hero__art {
  position: absolute;
  inset: 0 0 56px 0;
  width: 100%;
  height: calc(100% - 56px);
}
.rings circle { stroke: rgba(61, 154, 174, 0.18); stroke-width: 1; }
.rings__arc { stroke: rgba(61, 154, 174, 0.45); stroke-width: 10; stroke-linecap: butt; }
.route {
  fill: none;
  stroke: rgba(242, 239, 232, 0.45);
  stroke-width: 1.5;
  stroke-dasharray: 2 10;
  stroke-linecap: round;
  animation: route 40s linear infinite;
}
.plane path { fill: var(--linen); }
.waypoint { fill: none; stroke: var(--teal-light); stroke-width: 2; }

@keyframes route { to { stroke-dashoffset: -480; } }

.hero__content { position: relative; width: 100%; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 24px;
}

h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(44px, 7.2vw, 92px);
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  max-width: 12ch;
}

.lead {
  margin-top: 28px;
  max-width: 480px;
  font-size: 18px;
  font-weight: 300;
  color: rgba(242, 239, 232, 0.82);
}

.btn {
  display: inline-block;
  margin-top: 40px;
  padding: 16px 32px;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s;
}
.btn:hover { background: var(--teal-light); }
.btn:focus-visible, .mail:focus-visible, .top__link:focus-visible, .brand:focus-visible, .foot a:focus-visible {
  outline: 2px solid var(--teal-light);
  outline-offset: 4px;
}

/* Heading tape along the bottom of the hero */
.tape {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 56px;
  display: flex;
  justify-content: center;
  gap: 0;
  border-top: 1px solid rgba(242, 239, 232, 0.12);
  background-image: repeating-linear-gradient(90deg, rgba(242, 239, 232, 0.25) 0 1px, transparent 1px 16px);
  background-size: 100% 8px;
  background-repeat: repeat-x;
  background-position: 0 0;
  overflow: hidden;
}
.tape span {
  flex: 0 0 80px;
  text-align: center;
  padding-top: 18px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(242, 239, 232, 0.4);
}
.tape .tape__n { color: var(--teal-light); font-weight: 700; }

/* What we do */

.what { padding: 112px 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(26, 46, 51, 0.12);
  border: 1px solid rgba(26, 46, 51, 0.12);
}
.card {
  background: var(--linen);
  padding: 40px 36px 44px;
}
.card__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 40px;
}
.card h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.card p { color: var(--stone); font-size: 16px; }

/* Contact */

.contact {
  background: var(--teal-dark);
  color: var(--linen);
  padding: 112px 0;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}
.contact h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
  text-transform: uppercase;
}
.contact__text {
  margin-top: 20px;
  max-width: 420px;
  font-size: 18px;
  font-weight: 300;
  color: rgba(242, 239, 232, 0.85);
}
.mail {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4px 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(242, 239, 232, 0.35);
  border-bottom: 1px solid rgba(242, 239, 232, 0.35);
  text-decoration: none;
}
.mail__hint {
  grid-column: 1 / -1;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.7);
}
.mail__addr {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}
.mail__arrow {
  font-size: 32px;
  line-height: 1;
  transition: transform 0.2s;
}
.mail:hover .mail__arrow { transform: translateX(6px); }

/* Footer */

.foot {
  background: var(--midnight);
  color: rgba(242, 239, 232, 0.6);
  font-size: 14px;
}
.foot__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.foot a { text-decoration: none; border-bottom: 1px solid rgba(242, 239, 232, 0.25); }
.foot a:hover { color: var(--linen); border-color: var(--linen); }

/* Small screens */

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .card__num { margin-bottom: 20px; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .top__inner { height: 68px; }
  .brand__name { font-size: 15px; }
  .hero { padding: 104px 0 120px; }
  .hero__art { opacity: 0.45; }
  .plane, .waypoint, .rings__arc { display: none; }
  .lead { font-size: 17px; }
  .what, .contact { padding: 80px 0; }
  .card { padding: 32px 24px 36px; }
  .tape span { flex-basis: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route { animation: none; }
}
