:root {
  --bg-dark: #090d1f;
  --bg-mid: #1a2244;
  --sand: #d18961;
  --sand-deep: #b45120;
  --light: #f1e8d1;
  --text: #f8f1df;
  --accent: #dc6500;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background-image:
    url("./kaliteliarka.png"),
    linear-gradient(to bottom, #2a1a18 0%, #140f1b 100%);
  background-position: center center, center center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, scroll;
  overflow-x: hidden;
}

h1, h2, h3 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
}

p {
  margin: 0 0 14px;
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.hero {
  min-height: 100vh;
  position: relative;
  background: transparent;
  display: grid;
  align-items: start;
  overflow: hidden;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 8, 20, 0.6) 0%, rgba(5, 8, 20, 0.14) 24%, rgba(5, 8, 20, 0.1) 100%);
  pointer-events: none;
}

.nav {
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 92%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(10, 13, 26, 0.22);
  backdrop-filter: blur(8px);
  z-index: 20;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body.scrolled .nav {
  background: rgba(10, 13, 26, 0.55);
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.logo {
  color: white;
  font-family: "Space Grotesk", sans-serif;
  text-decoration: none;
  letter-spacing: 2px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  margin-left: -14px;
}

.logo img {
  width: 120px;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffe7cf;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.nav-links a {
  position: relative;
  color: #ffd4b8;
  text-decoration: none;
  font-size: 0.98rem;
  transition: color 0.25s ease;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-links a:hover {
  color: #fff1e2;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 50;
  pointer-events: none;
}

.scroll-progress-bar {
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #ffb783 0%, #dc6500 62%, #ff8f4a 100%);
  box-shadow: 0 0 12px rgba(220, 101, 0, 0.55);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.lang-btn {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ffd4b8;
  font: inherit;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  color: #fff1e2;
}

.lang-btn.active {
  background: rgba(255, 241, 226, 0.2);
  color: #fff1e2;
}

a,
button,
[role="button"],
input[type="submit"],
input[type="button"] {
  cursor: url("./imlec-cursor-small.png") 9 9, pointer;
}

.constellation {
  position: absolute;
  right: 4%;
  top: 80px;
  width: min(250px, 30vw);
  z-index: 1;
  opacity: 0.88;
  pointer-events: none;
  transform-origin: center center;
  transform: translateX(10%);
  will-change: transform, opacity;
  --draw-progress: 0;
}


.about-constellation {
  top: 120px;
}
#hakkimizda .container {
  position: relative;
  z-index: 2;
}


.constellation svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 16px rgba(255, 170, 122, 0.3));
}

.constellation polyline {
  fill: none;
  stroke: rgba(255, 223, 196, 0.72);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 500;
  stroke-dashoffset: calc(500 - (500 * var(--draw-progress)));
}

.constellation circle {
  fill: #ffe5cf;
  opacity: 0;
  transform-origin: center;
  transition: opacity 0.12s linear, transform 0.12s linear;
}

.constellation span {
  display: none;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 28px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  z-index: 5;
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 10px;
  border-radius: 8px;
  transform: translateX(-50%);
  background: #fff5ea;
  animation: scrollDot 1.7s ease infinite;
}

.section {
  padding: clamp(60px, 10vw, 110px) 0;
  background-size: cover;
  background-position: center;
  position: relative;
}

.section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 1px;
}

.dark {
  background: linear-gradient(to bottom, rgba(18, 13, 16, 0.7), rgba(12, 16, 30, 0.8));
}

.warm {
  background: linear-gradient(to bottom, rgba(201, 118, 73, 0.62), rgba(97, 44, 20, 0.82));
}

.projects {
  background: linear-gradient(to bottom, rgba(27, 23, 33, 0.76), rgba(35, 20, 26, 0.8));
}

.warm-accent::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(201, 118, 73, 0.5), rgba(97, 44, 20, 0.58));
  pointer-events: none;
  z-index: 0;
}

.warm-accent > .container {
  position: relative;
  z-index: 1;
}

.light {
  background: linear-gradient(to bottom, rgba(236, 232, 225, 0.9), rgba(240, 234, 224, 0.94));
  color: #172032;
}

#partners,
#partners.section.light {
  background: linear-gradient(to bottom, rgba(244, 233, 214, 0.82), rgba(232, 216, 190, 0.78)) !important;
  color: #2a2f3a;
}

.orange {
  color: #bd5100;
}

.centered {
  text-align: center;
}

.two-col, .split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(20px, 4vw, 52px);
  align-items: center;
}

.card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 28px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

.card h3 {
  color: #ff9f5b;
  margin-bottom: 10px;
}

.about-side h3 {
  color: #ff9f5b;
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 1px;
}

.about-side p {
  margin: 0;
  max-width: 42ch;
}

.rover-image {
  min-height: 310px;
  border-radius: 40px;
  border: 2px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  background:
    linear-gradient(to top right, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.08)),
    url("./rover.jpeg") center center / cover no-repeat;
}

.badges {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  gap: clamp(15px, 4vw, 55px);
  flex-wrap: wrap;
}

.competition-grid {
  gap: clamp(14px, 2vw, 26px);
}

.competition-card {
  width: min(100%, 250px);
  min-height: 210px;
  border-radius: 16px;
  border: 1px solid rgba(255, 227, 194, 0.55);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  gap: 12px;
  padding: 18px 16px;
  text-decoration: none;
  color: #fcf0d5;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.competition-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 172, 123, 0.18);
  border-color: rgba(255, 184, 129, 0.85);
}

.competition-card img {
  width: 100%;
  max-width: 190px;
  max-height: 96px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
  filter: drop-shadow(0 7px 16px rgba(0, 0, 0, 0.38)) contrast(1.08);
}

.competition-card span {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  text-align: center;
}

#projeler,
#projeler.projects,
#projeler.section.projects {
  background: transparent !important;
  background-color: transparent !important;
}

#projeler .project-grid {
  margin-top: 38px;
  display: flex;
  gap: 0;
  transition: transform 0.55s ease;
  will-change: transform;
}

#projeler .project-carousel {
  margin-top: 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

#projeler .project-viewport {
  overflow: hidden;
  border-radius: 20px;
}

#projeler .project-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #ffd9bd;
  font-size: 1.3rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

#projeler .project-nav:hover {
  color: #fff0df;
  transform: translateY(-1px);
}

#projeler .project {
  min-width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  display: grid;
  grid-template-rows: auto auto;
}

#projeler .project-link {
  text-decoration: none;
  color: inherit;
}

#projeler .project-link:visited,
#projeler .project-link:active {
  color: inherit;
}

#projeler .project-image {
  width: 100%;
  height: clamp(320px, 50vw, 500px);
  object-fit: contain;
  object-position: center center;
  display: block;
}

#projeler .project h3 {
  margin: 0;
  min-height: 0;
  padding: 8px 16px 12px;
  font-size: 1.1rem;
  line-height: 1.25;
  text-align: center;
  display: grid;
  place-items: center;
}

.team-grid {
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
}

.team-showcase {
  margin: 24px auto 0;
  width: min(980px, 100%);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.team-showcase-photo {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.team-card {
  grid-column: span 4;
  background: #e2d2ac;
  color: #d55212;
  font-weight: 700;
  border-radius: 14px;
  min-height: 210px;
  padding: 28px 16px 18px;
  display: grid;
  grid-template-rows: 190px auto;
  justify-items: center;
  align-content: start;
  gap: 12px;
  text-align: center;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.team-card:nth-child(4) {
  grid-column: 3 / span 4;
}

.team-card:nth-child(5) {
  grid-column: 7 / span 4;
}

.team-card svg {
  width: 66px;
  height: 66px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team-card .team-icon {
  width: 66px;
  height: 66px;
  object-fit: contain;
  object-position: center;
  display: block;
  justify-self: center;
  align-self: center;
  transition: filter 0.25s ease;
}

.team-card .team-icon.software-icon {
  width: 118px;
  height: 118px;
}

.team-card .team-icon.electronic-icon {
  width: 190px;
  height: 190px;
}

.team-card .team-icon.mechanical-icon {
  width: 152px;
  height: 152px;
}

.team-card .team-icon.science-icon,
.team-card .team-icon.pr-icon {
  width: 152px;
  height: 152px;
}

.team-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.1;
  font-family: "Space Grotesk", sans-serif;
  color: inherit;
}

.team-grid .team-card:nth-child(1) h3,
.team-grid .team-card:nth-child(3) h3,
.team-grid .team-card:nth-child(5) h3 {
  color: #d55212;
}

.team-card.accent {
  background: #e2d2ac;
  color: #d55212;
}

.team-card:hover {
  background: #f2681d;
  color: #f6e7c8;
}


.team-card:hover .team-icon {
  filter: brightness(0) invert(94%) sepia(11%) saturate(472%) hue-rotate(329deg) brightness(101%) contrast(95%);
}

.team-grid .team-card:hover h3 {
  color: #f6e7c8;
}


.team-link {
  text-decoration: none;
  color: inherit;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(0);
  will-change: transform;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-link:visited,
.team-link:active {
  color: inherit;
}

.team-link:hover {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.team-link:focus-visible {
  outline: 3px solid rgba(255, 242, 212, 0.9);
  outline-offset: 3px;
}

.team-back-link {
  color: #ffd4b8;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 212, 184, 0.6);
}

.team-back-link:hover {
  color: #fff1e2;
  border-color: #fff1e2;
}

.team-detail-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.team-detail-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 22px 18px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  scroll-margin-top: 24px;
}

.team-detail-card h3 {
  margin: 0;
}

.team-detail-card p {
  margin: 0;
  color: #f6e7c8;
}

.software-detail-card {
  margin-top: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  align-items: stretch;
  gap: 22px;
  text-align: left;
  padding: clamp(18px, 3vw, 30px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.software-detail-content {
  display: grid;
  align-content: center;
  gap: 12px;
}

.software-detail-content h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
}

.software-detail-card p {
  max-width: 58ch;
  text-align: left;
  line-height: 1.7;
}

.team-member-photo {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  object-fit: cover;
  aspect-ratio: 16 / 9;
  min-height: 100%;
}

@media (max-width: 900px) {
  .software-detail-card {
    grid-template-columns: 1fr;
  }
}

.team-page-orange h2,
.team-page-orange h3,
.team-page-orange p,
.team-page-orange .team-back-link {
  color: #d55212;
}

#partners .partners-grid,
#partners .sponsors {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.partners-grid span {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.15rem, 3vw, 2rem);
  color: #1f2b40;
}

#partners .partners-grid .partner-link,
#partners .sponsors .sponsor-item {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 100px;
  flex: 0 0 200px;
  border-radius: 12px;
}

#partners .partner-logo,
#partners .sponsor-logo {
  width: auto;
  height: 60px;
  object-fit: contain;
  max-width: 100%;
  display: block;
}

#partners .sponsor-logo-kapsul,
#partners .sponsor-logo-ozcan {
  transform: scale(1.45);
  transform-origin: center;
}

.footer {
  background: #080b1a;
  color: #a3adc7;
  padding: 25px 0 40px;
  text-align: center;
}

.site-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(24, 16, 28, 0.96) 0%, rgba(16, 12, 22, 0.98) 100%);
  color: #f0e2c9;
  padding: 16px 0 18px;
}

.site-bottom-inner {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.site-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
}

.site-bottom-links a {
  color: #f0e2c9;
  text-decoration: none;
  font-size: 0.98rem;
  opacity: 0.95;
}

.site-bottom-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.site-bottom-copy {
  margin: 0;
  font-size: 0.95rem;
  color: #f0e2c9;
}

.footer-contact {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(220px, 340px) minmax(240px, 1fr);
  gap: 24px;
  align-items: center;
}

.footer-map {
  min-height: 260px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.footer-map iframe {
  width: 100%;
  min-height: 260px;
  height: 100%;
  border: 0;
  display: block;
}

.footer-info {
  text-align: center;
  align-self: center;
}

.footer-info .social-links {
  justify-content: center;
}

.footer-address {
  text-align: center;
  color: inherit;
  line-height: 1.6;
  align-self: center;
}

.footer-address p {
  margin: 0;
  color: inherit;
  font: inherit;
}

#kayit {
  margin: 0 0 14px;
  color: inherit;
  font-weight: 400;
  font-size: clamp(0.78rem, 1.55vw, 1rem);
  line-height: inherit;
  max-width: none;
  margin-inline: 0;
  text-align: center;
  white-space: nowrap;
  overflow-wrap: normal;
}

#kayit a {
  display: inline-block;
  color: #ffe7cf;
  text-decoration: none;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 170, 122, 0.55);
  background: rgba(220, 101, 0, 0.18);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#kayit a:hover {
  color: #fff6ea;
  background: rgba(220, 101, 0, 0.32);
  border-color: rgba(255, 205, 168, 0.9);
  transform: translateY(-1px);
}

.social-links {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 12px;
  color: #f0e2c9;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #f0e2c9;
  display: grid;
  place-items: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.social-links a:visited,
.social-links a:active {
  color: #f0e2c9;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
}

.social-links svg {
  width: 20px;
  height: 20px;
  color: inherit;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

.scroll-animate {
  opacity: 0;
  transform: translate3d(0, 26px, 0) scale(0.985);
  filter: blur(2px);
  transition:
    opacity 0.65s ease,
    transform 0.75s ease,
    filter 0.75s ease;
  transition-delay: var(--scroll-delay, 0ms);
  will-change: opacity, transform, filter;
}

.scroll-animate.scroll-in {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes scrollDot {
  0% { opacity: 0.3; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 12px); }
  100% { opacity: 0.2; transform: translate(-50%, 20px); }
}


@media (max-width: 900px) {
  .two-col, .split {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .team-card,
  .team-card:nth-child(4),
  .team-card:nth-child(5) {
    grid-column: auto;
    min-height: 180px;
  }

  #partners .partners-grid {
    gap: 28px;
  }

  #partners .partners-grid .partner-link,
  #partners .sponsors .sponsor-item {
    width: calc(50% - 8px);
    flex-basis: calc(50% - 8px);
    flex-grow: 0;
    height: 96px;
  }

  .hero {
    min-height: 88vh;
  }

  .constellation {
    width: min(210px, 48vw);
    top: 40px;
  }

  body {
    background-attachment: scroll, scroll;
    background-position: center top, center top;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-animate,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

@media (max-width: 600px) {
  body {
    position: relative;
    z-index: 0;
    background: transparent;
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("./mobilearka.png") center top / cover no-repeat;
    pointer-events: none;
    z-index: -1;
  }

  .dark {
    background: linear-gradient(to bottom, rgba(18, 13, 16, 0.7), rgba(12, 16, 30, 0.8)) !important;
  }

  .warm {
    background: linear-gradient(to bottom, rgba(201, 118, 73, 0.62), rgba(97, 44, 20, 0.82)) !important;
  }

  .projects {
    background: linear-gradient(to bottom, rgba(27, 23, 33, 0.76), rgba(35, 20, 26, 0.8)) !important;
  }

  .light {
    background: linear-gradient(to bottom, rgba(236, 232, 225, 0.9), rgba(240, 234, 224, 0.94)) !important;
    color: #172032;
  }

  #partners,
  #partners.section.light {
    background: linear-gradient(to bottom, rgba(244, 233, 214, 0.82), rgba(232, 216, 190, 0.78)) !important;
    color: #2a2f3a;
  }

  .warm-accent::before {
    background: linear-gradient(to bottom, rgba(201, 118, 73, 0.5), rgba(97, 44, 20, 0.58)) !important;
  }

  .nav {
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 8px;
    padding: 12px;
  }

  .nav-right {
    margin-left: auto;
    gap: 10px;
  }

  .hero {
    min-height: 100svh;
    background: transparent;
  }

  .scroll-cue {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(8, 11, 24, 0.94);
    backdrop-filter: blur(7px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    transition: none;
  }

  .nav-links a {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav.menu-open .nav-links {
    max-height: 360px;
    opacity: 1;
    pointer-events: auto;
  }

  .project-nav {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }

  #partners .partners-grid {
    gap: 18px;
  }

  #partners .partners-grid .partner-link,
  #partners .sponsors .sponsor-item {
    width: min(100%, 240px);
    flex-basis: min(100%, 240px);
    height: 92px;
  }

  .constellation {
    display: none;
  }

  .footer {
    padding: 24px 0 32px;
  }

  .footer .container {
    display: grid;
    justify-items: center;
    gap: 10px;
  }

  .footer .container.footer-contact {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 14px;
  }

  .footer-info {
    text-align: center;
  }

  .footer-info .social-links {
    justify-content: center;
  }

  .site-bottom-links {
    gap: 8px 12px;
  }

  .site-bottom-links a {
    font-size: 0.9rem;
  }

  .site-bottom-copy {
    font-size: 0.85rem;
  }

}










/* Alt sayfalarda siyah katmani kaldir */
.subpage .dark {
  background: transparent !important;
}

/* Alt sayfa kartlarinin ici ayni olsun */
.subpage .team-detail-card,
.subpage .software-detail-card {
  background: rgba(0, 0, 0, 0.42) !important;
  border: 1px solid rgba(255, 255, 255, 0.24);
}






