/*
Theme Name: Tracodam
Theme URI: https://tracodam.com
Author: Tracodam
Author URI: https://tracodam.com
Description: A custom one-page WordPress theme for Tracodam focused on Turkiye-Syria and general goods trade.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: tracodam
*/
:root {
  --bg-deep: #081821;
  --bg-mid: #112a37;
  --sand: #d7b682;
  --sand-soft: #ead7b5;
  --ink: #f2f5f7;
  --muted: #9db4c2;
  --line: rgba(255, 255, 255, 0.16);
  --accent: #4bc0c8;
  --accent-strong: #75e2e9;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Work Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 10%, rgba(75, 192, 200, 0.18), transparent 40%),
    radial-gradient(circle at 20% 85%, rgba(215, 182, 130, 0.14), transparent 48%),
    linear-gradient(160deg, #06121a 0%, #0c2230 52%, #102c3a 100%);
  line-height: 1.45;
  overflow-x: hidden;
}

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

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 2.6rem);
  transition: background-color 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
  border-bottom: 1px solid transparent;
}

.topbar.scrolled {
  background: rgba(8, 24, 33, 0.88);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand img,
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px;
}

.brand span {
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.menu {
  display: flex;
  align-items: center;
  font-size: 0.94rem;
}

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

.menu-list li {
  margin: 0;
  padding: 0;
}

.menu a {
  display: inline-flex;
  align-items: center;
  opacity: 0.92;
  transition: opacity 160ms ease;
}

.menu a:hover {
  opacity: 1;
}

.menu-cta,
.menu-list > li:last-child > a {
  border: 1px solid rgba(117, 226, 233, 0.65);
  border-radius: 999px;
  padding: 0.48rem 0.92rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 24, 33, 0.7) 0%, rgba(8, 24, 33, 0.8) 45%, rgba(8, 24, 33, 0.95) 100%);
  z-index: -1;
}

.hero-route {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.85;
}

.hero-route svg {
  width: 100%;
  height: 100%;
}

.hero-route path {
  fill: none;
  stroke: rgba(117, 226, 233, 0.72);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-dasharray: 8 12;
  animation: routeFlow 18s linear infinite;
}

.hero-route circle {
  fill: var(--sand-soft);
  animation: pointPulse 2.8s ease-in-out infinite;
}

.hero-route circle:nth-of-type(2) {
  animation-delay: 0.6s;
}

.hero-route circle:nth-of-type(3) {
  animation-delay: 1.1s;
}

.hero-inner {
  width: min(var(--max), 100% - 2.2rem);
  margin-inline: auto;
  padding-top: clamp(5rem, 10vh, 8rem);
  padding-bottom: clamp(2rem, 8vh, 4rem);
}

.hero-logo img {
  width: clamp(88px, 13vw, 145px);
  height: auto;
}

.hero-kicker {
  margin: 1rem 0 0;
  color: var(--sand-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 600;
}

h1,
h2,
h3,
.step-title {
  font-family: "Sora", sans-serif;
}

h1 {
  max-width: 16ch;
  margin: 0.55rem 0 0;
  font-size: clamp(2rem, 6.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 55ch;
  color: #d9e6ec;
  margin: 1.1rem 0 0;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 170ms ease, background-color 170ms ease, border-color 170ms ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #072024;
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.hero-lanes {
  list-style: none;
  padding: 0;
  margin: 1.55rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hero-lanes li {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.33rem 0.68rem;
  font-size: 0.79rem;
  color: #d2e2ea;
  background: rgba(255, 255, 255, 0.03);
}

.section {
  width: min(var(--max), 100% - 2.2rem);
  margin-inline: auto;
  padding-block: clamp(3rem, 9vw, 7rem);
}

.section-head h2 {
  margin: 0.5rem 0 0;
  max-width: 25ch;
  font-size: clamp(1.55rem, 4vw, 3rem);
  line-height: 1.07;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  color: var(--sand-soft);
  font-weight: 600;
}

.service-lines {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.line-item {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  transition: transform 180ms ease, border-color 180ms ease;
}

.line-item:hover {
  transform: translateX(8px);
  border-color: rgba(117, 226, 233, 0.52);
}

.line-item h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
}

.line-item p {
  margin: 0;
  color: var(--muted);
}

.section-corridor {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: clamp(1.1rem, 5vw, 4rem);
  align-items: start;
}

.section-corridor h2 {
  margin: 0.45rem 0 0;
  max-width: 18ch;
  font-size: clamp(1.55rem, 4vw, 2.8rem);
  line-height: 1.08;
}

.muted {
  color: var(--muted);
  max-width: 52ch;
  margin-top: 1rem;
}

.lane-panel {
  border-top: 1px solid var(--line);
}

.lane-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 180ms ease, padding-inline 180ms ease;
}

.lane-row:hover {
  padding-inline: 0.5rem;
  background: rgba(117, 226, 233, 0.06);
}

.lane-row span {
  color: var(--muted);
  font-size: 0.93rem;
}

.lane-row strong {
  font-family: "Sora", sans-serif;
  font-size: 0.96rem;
  text-align: right;
}

.process-track {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-track li {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.step-title {
  margin: 0;
  font-size: 1.05rem;
}

.process-track p {
  margin: 0;
  color: var(--muted);
}

.section-logos .section-head h2 {
  max-width: 20ch;
}

.logo-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.logo-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, border-color 180ms ease;
}

.logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(117, 226, 233, 0.58);
}

.logo-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 10px;
}

.logo-card p {
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.logo-card.bg-light {
  background: #f2f4f5;
}

.logo-card.bg-mid {
  background: #173848;
}

.logo-card.bg-dark {
  background: #060c11;
}

.section-cta {
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-cta h2 {
  margin: 0.6rem auto 0;
  max-width: 22ch;
  font-size: clamp(1.7rem, 4.4vw, 3.2rem);
  line-height: 1.06;
}

.section-cta p {
  max-width: 54ch;
  margin: 1rem auto 1.6rem;
  color: var(--muted);
}

.footer {
  width: min(var(--max), 100% - 2.2rem);
  margin-inline: auto;
  padding: 1.7rem 0 2.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: #bdd0dc;
}

.footer-brand img {
  width: 30px;
  height: 30px;
}

.footer p {
  margin: 0;
  font-size: 0.92rem;
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-anim="rise"] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.hero.loaded [data-anim="rise"] {
  opacity: 1;
  transform: translateY(0);
}

.hero.loaded [data-anim="rise"]:nth-child(1) {
  transition-delay: 50ms;
}

.hero.loaded [data-anim="rise"]:nth-child(2) {
  transition-delay: 140ms;
}

.hero.loaded [data-anim="rise"]:nth-child(3) {
  transition-delay: 220ms;
}

.hero.loaded [data-anim="rise"]:nth-child(4) {
  transition-delay: 300ms;
}

.hero.loaded [data-anim="rise"]:nth-child(5) {
  transition-delay: 380ms;
}

.hero.loaded [data-anim="rise"]:nth-child(6) {
  transition-delay: 460ms;
}

@keyframes routeFlow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -420;
  }
}

@keyframes pointPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.32);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .menu-list {
    gap: 0.55rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .menu a {
    font-size: 0.88rem;
  }

  .line-item {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .section-corridor {
    grid-template-columns: 1fr;
  }

  .process-track li {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

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

@media (max-width: 620px) {
  .topbar {
    padding: 0.85rem 1rem;
  }

  .brand span {
    font-size: 0.94rem;
  }

  .brand img,
  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .hero-inner,
  .section,
  .footer {
    width: min(var(--max), 100% - 1.4rem);
  }

  .btn {
    width: 100%;
  }

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

  .lane-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .lane-row strong {
    text-align: left;
  }

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