
:root {
  --navy: #152b49;
  --blue: #235b92;
  --gold: #d7a343;
  --muted: #738094;
  --line: #e7ebf1;
  --bg: #f7f9fc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  font-family: Inter, ui-sans-serif, system-ui,
    -apple-system, 'Segoe UI', sans-serif;
  background: white;
}

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

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}

.top {
  background: #122944;
  color: #cbd6e4;
  font-size: 12px;
}

.topline {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 90px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -1px;
  line-height: 1;
}

.brandmark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #173456;
  color: #f4c66e;
  border-radius: 12px;
  font-size: 27px;
}

.gold,
.footbrand span {
  color: var(--gold);
}

.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: 7px;
}

.head nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 650;
}

.head nav a:hover {
  color: var(--blue);
}

button {
  font: inherit;
  cursor: pointer;
}

.refresh {
  border: 1px solid var(--line);
  background: white;
  padding: 10px 15px;
  border-radius: 8px;
  color: var(--navy);
  font-weight: 700;
}

.ticker {
  background: #f4f7fb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: #486079;
}

.ticker .wrap {
  padding: 13px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.ticker b {
  color: var(--navy);
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 45px;
  align-items: center;
  padding: 75px 0 55px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #b48430;
  font-weight: 850;
}

.hero h1 {
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.13;
  letter-spacing: -2.5px;
  margin: 19px 0;
}

.hero h1 em {
  font-style: normal;
  color: #d09b38;
}

.hero p,
.sectionhead p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 490px;
}

.primary {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  background: var(--navy);
  color: white;
  padding: 15px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  margin-top: 16px;
}

.heroart {
  height: 345px;
  border-radius: 22px;
  background: linear-gradient(
    130deg,
    #e9f1fa,
    #f8fafc
  );
  position: relative;
  overflow: hidden;
  border: 1px solid #e4edf6;
}

.artgrid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#d6e3f344 1px, transparent 1px),
    linear-gradient(90deg, #d6e3f344 1px, transparent 1px);
  background-size: 35px 35px;
  transform: rotate(-8deg) scale(1.4);
}

.artline {
  position: absolute;
  top: 0;
  left: 8%;
  font-size: 390px;
  line-height: 1;
  color: #9cbad6;
  opacity: .4;
}

.artcard {
  position: absolute;
  inset: 75px 80px;
  background: #fff;
  box-shadow: 0 24px 60px #23476626;
  border: 1px solid #e7edf5;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.artcard span,
.artcard small {
  font-size: 11px;
  letter-spacing: 2px;
  color: #8293a8;
  font-weight: 700;
}

.artcard strong {
  font-size: 70px;
  color: var(--navy);
  letter-spacing: 6px;
}

/* GENEL BÖLÜMLER */

.section {
  padding: 42px 0;
}

.sectionhead,
.panelhead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section h2,
.newsletter h2 {
  font-size: 29px;
  letter-spacing: -.8px;
  margin: 8px 0;
}

.status {
  color: var(--muted);
  font-size: 12px;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38aa7a;
  margin-right: 7px;
}

/* FİYAT KARTLARI */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.pricecard {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 8px 25px #1d385908;
}

.pricecard .label {
  color: #6b7c90;
  font-size: 13px;
  font-weight: 700;
}

.pricecard .price {
  font-size: 27px;
  font-weight: 850;
  margin: 18px 0 7px;
  letter-spacing: -.8px;
}

.pricecard .sub {
  color: #8b96a5;
  font-size: 11px;
}

.note {
  font-size: 12px;
  color: #8b96a5;
  line-height: 1.7;
}

/* TABLOLAR */

.twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 26px;
  min-width: 0;
}

.panelhead {
  align-items: center;
}

.panel h2 {
  font-size: 23px;
}

.pill {
  font-size: 11px;
  color: #926a20;
  background: #fff6e5;
  padding: 7px 10px;
  border-radius: 20px;
}

.tablewrap {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 13px;
}

th {
  font-size: 11px;
  color: #8a97a7;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
}

td {
  padding: 18px 8px;
  border-bottom: 1px solid #eef1f5;
  font-weight: 650;
}

td:nth-child(2) {
  white-space: nowrap;
}

td:last-child {
  color: #8b96a5;
  font-size: 12px;
}

/* HABERLER */

.newssection {
  padding-top: 55px;
}

.tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.tabs button {
  border: 1px solid var(--line);
  background: white;
  color: #5b6d82;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.tabs button.active {
  background: var(--navy);
  color: white;
}

.newsgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.news {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7ebf1;
  border-radius: 18px;
  box-shadow: 0 5px 22px rgba(21, 43, 73, .045);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.news:hover {
  transform: translateY(-5px);
  border-color: #d9e1ec;
  box-shadow: 0 18px 40px rgba(21, 43, 73, .12);
}

.newsimage {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #183557,
    #326394
  );
}

.newsimage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .4s ease;
}

.news:hover .newsimage img {
  transform: scale(1.055);
}

.newsimage:not(:has(img))::after {
  content: "ÜÇÇEYREK";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #f0c878;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: 3px;
}

.newsbody {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 13px;
  padding: 21px;
}

.newsmeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.newstag {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 6px;
  background: #fff6e7;
  color: #a77725;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .7px;
}

.newssource {
  color: #7b899b;
  font-size: 11px;
  font-weight: 650;
}

.news h3 {
  margin: 0;
  color: #152b49;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 750;
  letter-spacing: -.3px;
}

.newsfooter {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #edf0f5;
}

.newsdate {
  color: #8794a5;
  font-size: 11px;
}

.newsread {
  color: #235b92;
  font-size: 12px;
  font-weight: 800;
}

.news:hover .newsread {
  color: #b48430;
}

/* BÜLTEN */

.newsletter {
  margin: 35px 0 65px;
  padding: 34px 40px;
  background: #f1f5fa;
  border-radius: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.newsletter p {
  color: #738094;
}

.newsletter .primary {
  margin: 0;
  white-space: nowrap;
}

/* FOOTER */

footer {
  background: #122944;
  color: #c9d4e2;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  padding: 40px 0;
  font-size: 12px;
}

.foot > div:last-child {
  text-align: right;
  max-width: 420px;
}

.footbrand {
  font-weight: 850;
  font-size: 22px;
  letter-spacing: -1px;
}

/* YÜKLENİYOR / HATA */

.skeleton {
  color: #8290a2;
  padding: 28px;
  background: #f6f8fb;
  border-radius: 12px;
  grid-column: 1 / -1;
}

.error {
  color: #a24935;
}

/* TABLET */

@media (max-width: 900px) {
  .head nav {
    gap: 12px;
    font-size: 12px;
  }

  .hero {
    gap: 18px;
  }

  .artcard {
    inset: 70px 30px;
  }

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

  .newsgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

/* TELEFON */

@media (max-width: 650px) {
  .wrap {
    width: calc(100% - 28px);
  }

  .head {
    min-height: 80px;
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .head nav {
    order: 3;
    width: 100%;
    overflow: auto;
    padding: 8px 0;
    white-space: nowrap;
  }

  .refresh {
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 45px 0 25px;
  }

  .heroart {
    height: 220px;
  }

  .artcard {
    inset: 35px 65px;
  }

  .artcard strong {
    font-size: 44px;
  }

  .hero h1 {
    letter-spacing: -1.4px;
  }

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

  .cards {
    gap: 9px;
  }

  .pricecard {
    padding: 16px;
  }

  .pricecard .price {
    font-size: 21px;
  }

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

  .panel {
    padding: 17px;
  }

  .newsgrid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .news {
    border-radius: 15px;
  }

  .newsbody {
    padding: 18px;
  }

  .news h3 {
    font-size: 17px;
  }

  .newsletter,
  .foot {
    flex-direction: column;
  }

  .newsletter {
    padding: 26px;
  }

  .foot > div:last-child {
    text-align: left;
  }

  .ticker .wrap {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news,
  .newsimage img {
    transition: none;
  }
}
