/* Mina Turizm — V3 visual direction
   Editorial automotive photography, architectural grids and restrained orange accents. */

:root {
  --color-background: #f1f1ee;
  --color-surface: #f8f8f5;
  --color-border: #d8d8d2;
  --font-display: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Aptos", "Segoe UI Variable Text", "Segoe UI", Helvetica, Arial, sans-serif;
  --container: 1300px;
  --container-wide: 1580px;
  --header-height: 94px;
  --shadow-soft: 0 24px 70px rgba(17, 18, 20, 0.08);
}

body {
  font-weight: 400;
  letter-spacing: -0.006em;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: -0.042em;
}

.eyebrow {
  font-weight: 650;
  letter-spacing: 0.12em;
}

body:not(.portal-body) {
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(17, 18, 20, 0.025) 50%, transparent calc(50% + 0.5px)),
    var(--color-background);
  background-size: min(100%, 1580px) 100%;
}

.site-topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c0d0f;
}

.topbar__inner {
  font-weight: 500;
  letter-spacing: 0.02em;
}

.topbar__group:last-child .topbar__link[href="veli-girisi.html"] {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding-inline: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--color-white);
}

.site-header {
  border-bottom-color: rgba(17, 18, 20, 0.11);
  background: var(--color-white);
  box-shadow: 0 1px 0 rgba(17, 18, 20, 0.025);
}

.site-header.is-scrolled {
  background: var(--color-white);
  box-shadow: 0 14px 45px rgba(17, 18, 20, 0.075);
}

.header__inner {
  grid-template-columns: 260px 1fr auto;
  gap: 1.75rem;
}

.header__inner > a:first-child {
  display: flex;
  min-width: 0;
  align-items: center;
}

.brand img {
  width: 238px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  object-position: left center;
}

.site-header.is-scrolled .header__inner {
  min-height: 78px;
}

.site-header.is-scrolled .brand img {
  width: 220px;
  height: auto;
  max-height: 66px;
}

.brand-wordmark {
  position: relative;
  padding-left: 1rem;
  font-size: 1.68rem;
  font-weight: 950;
  letter-spacing: -0.075em;
}

.brand-wordmark::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--color-primary);
  content: "";
}

.nav-link,
.mega-trigger {
  font-size: 0.8rem;
  font-weight: 590;
  letter-spacing: 0.006em;
}

.mega-group h3 {
  font-weight: 620;
  letter-spacing: 0.085em;
}

.mega-group a {
  font-size: 0.91rem;
  font-weight: 480;
}

.button {
  min-height: 50px;
  padding-inline: 1.2rem;
  border-radius: 0;
  font-weight: 640;
  letter-spacing: 0.01em;
}

body:not(.portal-body) .button::after {
  content: "↗";
  margin-left: 0.4rem;
  font-size: 0.78rem;
  transition: transform var(--transition-fast);
}

body:not(.portal-body) .button:hover::after {
  transform: translate(3px, -3px);
}

body:not(.portal-body) button.button--full::after,
body:not(.portal-body) button.button[data-hero-service-go]::after {
  content: "→";
}

/* Homepage hero */
.hero--v3 {
  min-height: max(780px, calc(100svh - var(--topbar-height) - var(--header-height)));
  isolation: isolate;
}

.hero--v3::after {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: calc(50% - min(50%, 790px));
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
  content: "";
}

.hero--v3 .hero__media::before {
  background:
    linear-gradient(90deg, rgba(8, 9, 10, 0.91) 0%, rgba(8, 9, 10, 0.8) 38%, rgba(8, 9, 10, 0.28) 66%, rgba(8, 9, 10, 0.08) 100%),
    linear-gradient(0deg, rgba(8, 9, 10, 0.76) 0%, transparent 48%);
}

.hero--v3 .hero__media img {
  object-position: center 48%;
  scale: 1.012;
}

.hero--v3 .hero__content {
  min-height: max(780px, calc(100svh - var(--topbar-height) - var(--header-height)));
  grid-template-columns: minmax(0, 1fr) minmax(350px, 430px);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
  padding-top: clamp(4.5rem, 9vh, 7.5rem);
  padding-bottom: 150px;
}

.hero--v3 .hero__copy {
  max-width: 910px;
}

.hero__edition {
  display: flex;
  max-width: 620px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 6vh, 5rem);
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.hero__edition span:last-child {
  color: #ff6a35;
}

.hero--v3 .hero__copy h1 {
  max-width: 920px;
  font-size: clamp(4.2rem, 7vw, 7.6rem);
  font-weight: 590;
  line-height: 0.9;
}

.hero--v3 .hero__copy h1 em {
  max-width: 820px;
  margin-top: 0.12em;
  color: #ff5a20;
}

.hero--v3 .hero__copy .lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.3rem;
  margin-top: 2.4rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  font-weight: 520;
}

.hero__proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero__proof span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  content: "";
}

.hero--v3 .hero__selector {
  position: relative;
  align-self: center;
  margin: 4rem 0 0;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 0;
  background: rgba(12, 13, 15, 0.78);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px);
}

.hero--v3 .hero__selector::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0 34%, rgba(255, 255, 255, 0.18) 34%);
  content: "";
}

.hero__selector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.hero__selector-index {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.hero--v3 .hero__selector h2 {
  max-width: 340px;
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.hero--v3 .hero__selector select {
  min-height: 58px;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

.hero__selector-foot {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.63rem;
}

.hero--v3 .hero__trust {
  background: rgba(10, 11, 12, 0.74);
  backdrop-filter: blur(18px);
}

.hero--v3 .hero__trust-item {
  display: grid;
  min-height: 92px;
  grid-template-columns: 42px 1fr;
  align-content: center;
  column-gap: 0.8rem;
  padding-block: 1.1rem;
}

.hero--v3 .hero__trust-item > span {
  grid-row: 1 / 3;
  margin: 0;
  font-size: 1.35rem;
}

.hero--v3 .hero__trust-item strong {
  color: var(--color-white);
  font-size: 0.77rem;
}

.hero--v3 .hero__trust-item small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
}

/* Editorial sections */
.section-heading {
  position: relative;
}

.section-heading::before {
  position: absolute;
  top: -1.5rem;
  left: 0;
  width: 48px;
  height: 1px;
  background: var(--color-primary);
  content: "";
}

.solution-flow {
  border: 1px solid var(--color-border);
  background: var(--color-white);
}

.solution-step {
  min-height: 300px;
  background:
    linear-gradient(145deg, transparent 68%, rgba(239, 63, 0, 0.035)),
    var(--color-white);
}

.solution-step__number {
  font-size: 2.25rem;
}

.service-mosaic {
  gap: 1px;
  background: var(--color-border);
}

.service-tile {
  min-height: 520px;
}

.service-tile:nth-child(4n + 2),
.service-tile:nth-child(4n + 3) {
  min-height: 460px;
}

.service-tile__media::after {
  background:
    linear-gradient(0deg, rgba(8, 9, 10, 0.94) 0%, rgba(8, 9, 10, 0.56) 42%, rgba(8, 9, 10, 0.04) 78%),
    linear-gradient(90deg, rgba(8, 9, 10, 0.22), transparent 55%);
}

.service-tile__media img {
  filter: saturate(0.88) contrast(1.03);
}

.service-tile__content {
  padding: clamp(1.6rem, 3vw, 2.8rem);
}

.service-tile__topline {
  position: absolute;
  right: clamp(1.6rem, 3vw, 2.8rem);
  bottom: calc(100% + clamp(10rem, 18vw, 16rem));
  left: clamp(1.6rem, 3vw, 2.8rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.service-tile__topline span:first-child {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--color-white);
}

.service-tile h3 {
  max-width: 650px;
}

.service-tile .text-link {
  color: var(--color-white);
}

/* Real-photo fleet presentation */
.fleet-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: visible;
  border: 1px solid var(--color-border);
  background: var(--color-border);
}

.fleet-mini {
  position: relative;
  min-width: 0;
  min-height: 430px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--color-white);
}

.fleet-mini__media {
  height: 245px;
  overflow: hidden;
  background: #dfe0dc;
}

.fleet-mini__media picture,
.fleet-mini__media img {
  width: 100%;
  height: 100%;
}

.fleet-mini__media img {
  object-fit: cover;
  filter: saturate(0.88);
  transition: transform 700ms var(--ease);
}

.fleet-mini:hover .fleet-mini__media img {
  transform: scale(1.035);
}

.fleet-mini__content {
  position: relative;
  min-height: 185px;
  padding: 1.4rem 1.5rem 1.6rem;
}

.fleet-mini__index {
  position: absolute;
  top: -20px;
  right: 1.4rem;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: 900;
}

.fleet-mini h3 {
  padding-right: 3rem;
  font-size: 1.65rem;
}

.fleet-mini p {
  max-width: 390px;
}

.fleet-card {
  overflow: hidden;
  border-color: transparent;
  box-shadow: 0 0 0 1px var(--color-border);
}

.fleet-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(17, 18, 20, 0.1);
}

.fleet-card__visual {
  height: 275px;
  background: #dadbd8;
}

.fleet-card__visual picture,
.fleet-card__visual img {
  width: 100%;
  height: 100%;
}

.fleet-card__visual img {
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 700ms var(--ease);
}

.fleet-card:hover .fleet-card__visual img {
  transform: scale(1.035);
}

.fleet-card__tag {
  top: 1.1rem;
  left: 1.1rem;
  background: rgba(12, 13, 15, 0.9);
  backdrop-filter: blur(8px);
}

.fleet-card__code {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.35rem 0.5rem;
  background: rgba(255, 255, 255, 0.86);
  color: var(--color-black);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.fleet-card__body {
  padding: 1.6rem;
}

/* Photo-led inner pages */
.inner-hero {
  min-height: 680px;
}

.inner-hero__media::after {
  background:
    linear-gradient(90deg, rgba(11, 12, 14, 0.9) 0%, rgba(11, 12, 14, 0.76) 42%, rgba(11, 12, 14, 0.22) 74%, rgba(11, 12, 14, 0.08) 100%),
    linear-gradient(0deg, rgba(11, 12, 14, 0.62), transparent 56%);
}

.inner-hero__media img {
  filter: saturate(0.86) contrast(1.03);
}

.inner-hero__content {
  min-height: 680px;
  max-width: 1040px;
}

.inner-hero h1 {
  max-width: 1010px;
  font-size: clamp(3.6rem, 6.7vw, 7.4rem);
  font-weight: 590;
}

.inner-hero__rail span {
  background: rgba(12, 13, 15, 0.28);
  backdrop-filter: blur(8px);
}

.split-feature {
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, 0.82fr);
  border-block: 1px solid var(--color-border);
}

.split-feature__media {
  min-height: 700px;
}

.split-feature__media img {
  filter: saturate(0.9) contrast(1.02);
}

.split-feature__content {
  align-content: center;
  background:
    linear-gradient(135deg, rgba(239, 63, 0, 0.035), transparent 44%),
    var(--color-white);
}

.site-footer {
  background:
    linear-gradient(90deg, transparent 49.95%, rgba(255, 255, 255, 0.035) 50%, transparent 50.05%),
    #0b0c0e;
}

.site-footer .brand-wordmark {
  color: var(--color-white);
}

.site-footer .footer-logo img {
  width: 214px;
  height: auto;
  max-height: none;
  padding: 0.45rem 0.55rem;
  background: var(--color-white);
}

.footer-col h3,
.footer-contact__item span {
  font-weight: 620;
}

.footer-col a,
.footer-col button {
  font-weight: 450;
}

@media (max-width: 1180px) {
  :root {
    --header-height: 82px;
  }

  .header__inner {
    grid-template-columns: 1fr auto;
  }

  .brand img {
    width: 220px;
    max-height: 74px;
  }

  .hero--v3 .hero__content {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    gap: 2.5rem;
  }

  .hero--v3 .hero__copy h1 {
    font-size: clamp(4rem, 7.3vw, 6.5rem);
  }
}

@media (max-width: 1024px) {
  .hero--v3 {
    min-height: auto;
  }

  .hero--v3 .hero__content {
    min-height: 980px;
    grid-template-columns: 1fr;
    align-content: center;
    padding-top: 5rem;
    padding-bottom: 250px;
  }

  .hero--v3 .hero__selector {
    width: min(100%, 520px);
    margin-top: 0;
  }

  .hero__edition {
    margin-bottom: 2.5rem;
  }

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

  .split-feature {
    grid-template-columns: 1fr;
  }

  .split-feature__media {
    min-height: 560px;
  }
}

@media (max-width: 768px) {
  :root {
    --topbar-height: 36px;
    --header-height: 82px;
  }

  .site-topbar {
    position: sticky;
    z-index: 910;
    top: 0;
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  .site-header {
    top: var(--topbar-height);
    border-bottom: 0;
    box-shadow: 0 12px 34px rgba(17, 18, 20, 0.07);
  }

  .site-header::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--color-primary) 0 42px, rgba(17, 18, 20, 0.12) 42px 100%);
    content: "";
  }

  .topbar__inner {
    justify-content: space-between;
    padding-inline: 1rem;
    font-size: 0.68rem;
    letter-spacing: 0.045em;
  }

  .topbar__group {
    gap: 0;
  }

  .topbar__group:first-child .topbar__item:nth-child(2),
  .topbar__group:last-child > :not(a[href="veli-girisi.html"]) {
    display: none;
  }

  .topbar__group:last-child {
    display: flex;
  }

  .topbar__group:last-child .topbar__link[href="veli-girisi.html"] {
    min-height: 25px;
    gap: 0.35rem;
    padding-inline: 0;
    border: 0;
    color: rgba(255, 255, 255, 0.88);
  }

  .topbar__group:last-child .topbar__link[href="veli-girisi.html"]::after {
    color: var(--color-primary);
    content: "↗";
    font-size: 0.75rem;
  }

  .header__inner {
    min-height: var(--header-height);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem;
    padding-inline: 1rem;
  }

  .brand img {
    width: clamp(190px, 55vw, 218px);
    height: auto;
    max-height: 73px;
  }

  .site-header.is-scrolled .header__inner {
    min-height: var(--header-height);
  }

  .site-header.is-scrolled .brand img {
    width: clamp(190px, 55vw, 218px);
    height: auto;
    max-height: 73px;
  }

  .header-actions {
    gap: 0;
  }

  .menu-toggle {
    width: 68px;
    height: 48px;
    gap: 0.55rem;
    border-color: rgba(17, 18, 20, 0.18);
    background: transparent;
  }

  .menu-toggle__label {
    color: var(--color-muted);
    font-size: 0.58rem;
    font-weight: 620;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .menu-toggle__lines,
  .menu-toggle__lines::before,
  .menu-toggle__lines::after {
    width: 17px;
    height: 1px;
  }

  .menu-toggle__lines::before {
    top: -5px;
  }

  .menu-toggle__lines::after {
    top: 5px;
  }

  .mobile-panel {
    width: 100%;
    padding: 1.4rem 1.25rem calc(7rem + env(safe-area-inset-bottom));
    background: #101113;
  }

  .mobile-panel__intro {
    display: grid;
    gap: 0.45rem;
    padding: 0.25rem 0 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .mobile-panel__intro span {
    color: var(--color-primary);
    font-size: 0.65rem;
    font-weight: 650;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .mobile-panel__intro p {
    max-width: 28ch;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .brand-wordmark {
    font-size: 1.28rem;
  }

  .mobile-nav > a,
  .mobile-accordion__trigger {
    min-height: 55px;
    font-size: 1.08rem;
    font-weight: 480;
    letter-spacing: -0.015em;
  }

  .mobile-accordion__content a {
    font-size: 0.92rem;
    font-weight: 420;
  }

  .mobile-panel__contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 1.4rem;
  }

  .mobile-panel__contact .button:first-child {
    grid-column: 1 / -1;
  }

  .mobile-panel__contact .button {
    min-height: 48px;
    padding-inline: 0.7rem;
    font-size: 0.72rem;
  }

  .hero--v3 .hero__media::before {
    background:
      linear-gradient(90deg, rgba(8, 9, 10, 0.88), rgba(8, 9, 10, 0.56)),
      linear-gradient(0deg, rgba(8, 9, 10, 0.88), transparent 60%);
  }

  .hero--v3 .hero__media img {
    object-position: 62% center;
  }

  .hero--v3 .hero__content {
    min-height: 1080px;
    padding-top: 3.5rem;
    padding-bottom: 330px;
  }

  .hero--v3 .hero__copy h1 {
    font-size: clamp(3.2rem, 14vw, 5.2rem);
  }

  .hero__edition {
    display: none;
  }

  .hero__proof {
    display: none;
  }

  .hero--v3 .hero__selector {
    padding: 1.35rem;
  }

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

  .hero--v3 .hero__trust-item {
    min-height: 112px;
    grid-template-columns: 34px 1fr;
  }

  .hero--v3 .hero__trust-item small {
    line-height: 1.4;
  }

  .service-tile,
  .service-tile:nth-child(4n + 2),
  .service-tile:nth-child(4n + 3) {
    min-height: 470px;
  }

  .service-tile__topline {
    bottom: auto;
    top: -15rem;
  }

  .fleet-strip {
    grid-template-columns: 1fr;
  }

  .fleet-mini {
    min-height: 410px;
  }

  .inner-hero,
  .inner-hero__content {
    min-height: 610px;
  }

  .inner-hero__media::after {
    background:
      linear-gradient(90deg, rgba(11, 12, 14, 0.86), rgba(11, 12, 14, 0.52)),
      linear-gradient(0deg, rgba(11, 12, 14, 0.74), transparent 60%);
  }

  .inner-hero h1 {
    font-size: clamp(3rem, 13vw, 5.1rem);
  }

  .split-feature__media {
    min-height: 430px;
  }
}

@media (max-width: 480px) {
  .hero--v3 .hero__content {
    min-height: 1120px;
    padding-bottom: 350px;
  }

  .hero--v3 .hero__copy h1 {
    font-size: clamp(3rem, 14.5vw, 4.4rem);
  }

  .hero--v3 .hero__copy .lead {
    font-size: 0.96rem;
  }

  .hero--v3 .hero__trust-item {
    padding-inline: 0.7rem;
  }

  .hero--v3 .hero__trust-item small {
    font-size: 0.56rem;
  }

  .service-tile {
    min-height: 430px;
  }

  .fleet-mini__media {
    height: 220px;
  }

  .fleet-card__visual {
    height: 235px;
  }
}

@media (min-width: 1700px) {
  .hero--v3 .hero__copy h1 {
    font-size: 8rem;
  }

  .service-tile {
    min-height: 580px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--v3 .hero__media img,
  .service-tile__media img,
  .fleet-mini__media img,
  .fleet-card__visual img {
    scale: 1;
    transform: none !important;
    transition: none;
  }
}
