/* =========================================================
   ARDA COLAKER — AURORA THEME
   Dark / Minimal / Cinematic / Glass
   ========================================================= */

:root {
  --bg: #010305;
  --bg-soft: #04070c;

  --surface: rgba(7, 12, 20, 0.68);
  --surface-hover: rgba(10, 16, 27, 0.82);

  --text: #f6f8fb;
  --muted: #96a3b2;
  --muted-2: #5f6b79;

  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);

  --aurora-green: #39ff9c;
  --aurora-cyan: #46dff0;
  --aurora-blue: #5f84ff;
  --aurora-purple: #9e72ff;

  --max-width: 1180px;
  --header-height: 78px;
  --radius: 20px;
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
  margin: 0;
  padding: 0;

  scroll-behavior: smooth;
  scroll-padding-top: 110px;

  background: var(--bg);
}

body {
  margin: 0;
  padding: 0;

  min-height: 100vh;

  position: relative;

  overflow-x: hidden;

  color: var(--text);

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;

  line-height: 1.6;

  background:
    radial-gradient(
      900px 600px at 50% -180px,
      rgba(57, 255, 156, 0.04),
      transparent 67%
    ),
    linear-gradient(
      180deg,
      #020409 0%,
      #010305 48%,
      #000102 100%
    );

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  isolation: isolate;
}


/* =========================================================
   AURORA BACKGROUND
   ========================================================= */

body::before,
body::after {
  content: "";

  position: fixed;

  z-index: -1;

  pointer-events: none;

  border-radius: 999px;

  filter: blur(110px);

  will-change: transform;
}


/* green / cyan aurora */

body::before {
  width: 72vw;
  height: 30vw;

  min-width: 700px;
  min-height: 300px;

  left: -18vw;
  top: 3vh;

  opacity: 0.20;

  background:
    linear-gradient(
      110deg,
      transparent 4%,
      rgba(57, 255, 156, 0.88) 30%,
      rgba(92, 255, 181, 0.72) 48%,
      rgba(70, 223, 240, 0.32) 62%,
      transparent 88%
    );

  transform: rotate(-12deg);

  animation: aurora-green 18s ease-in-out infinite alternate;
}


/* blue / purple aurora */

body::after {
  width: 68vw;
  height: 34vw;

  min-width: 700px;
  min-height: 340px;

  right: -22vw;
  top: 14vh;

  opacity: 0.10;

  background:
    linear-gradient(
      125deg,
      transparent 8%,
      rgba(70, 223, 240, 0.18) 28%,
      rgba(95, 132, 255, 0.34) 53%,
      rgba(158, 114, 255, 0.24) 72%,
      transparent 92%
    );

  transform: rotate(12deg);

  animation: aurora-purple 22s ease-in-out infinite alternate;
}

@keyframes aurora-green {
  0% {
    transform:
      translate3d(-4%, -2%, 0)
      rotate(-12deg)
      scale(1);
  }

  50% {
    transform:
      translate3d(12%, 6%, 0)
      rotate(-7deg)
      scale(1.08);
  }

  100% {
    transform:
      translate3d(4%, 12%, 0)
      rotate(-15deg)
      scale(1.14);
  }
}


@keyframes aurora-purple {
  0% {
    transform:
      translate3d(4%, 0%, 0)
      rotate(12deg)
      scale(1);
  }

  50% {
    transform:
      translate3d(-12%, 8%, 0)
      rotate(7deg)
      scale(1.12);
  }

  100% {
    transform:
      translate3d(-4%, -4%, 0)
      rotate(15deg)
      scale(1.06);
  }
}


/* =========================================================
   GENERAL
   ========================================================= */

::selection {
  background: var(--aurora-cyan);
  color: #031015;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(
    var(--max-width),
    calc(100% - 52px)
  );

  margin-inline: auto;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.skip-link {
  position: fixed;

  z-index: 9999;

  top: 12px;
  left: 12px;

  padding: 10px 15px;

  background: var(--text);
  color: var(--bg);

  border-radius: 9px;

  font-size: 14px;
  font-weight: 650;

  text-decoration: none;

  transform: translateY(-180%);

  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible {
  outline: 2px solid var(--aurora-cyan);
  outline-offset: 5px;

  border-radius: 5px;
}


/* =========================================================
   HEADER
   ========================================================= */

header {
  position: sticky;

  top: 0;

  z-index: 1000;

  background:
    linear-gradient(
      180deg,
      rgba(4, 8, 14, 0.84),
      rgba(4, 8, 14, 0.68)
    );

  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

nav {
  min-height: var(--header-height);

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 32px;
}

.logo {
  flex: none;

  color: var(--text);

  font-size: 16px;
  font-weight: 700;

  letter-spacing: -0.025em;

  text-decoration: none;
}

.logo::after {
  content: "";

  display: inline-block;

  width: 5px;
  height: 5px;

  margin-left: 7px;
  margin-bottom: 2px;

  border-radius: 50%;

  background: var(--aurora-green);

  box-shadow:
    0 0 8px rgba(114, 246, 189, 0.75),
    0 0 18px rgba(114, 246, 189, 0.25);
}

.nav-right {
  display: flex;
  align-items: center;

  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;

  gap: 28px;
}

.nav-links a {
  position: relative;

  padding: 7px 0;

  color: var(--muted);

  font-size: 14px;
  font-weight: 480;

  text-decoration: none;

  transition: color 160ms ease;
}

.nav-links a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      var(--aurora-green),
      var(--aurora-cyan)
    );

  transform: scaleX(0);
  transform-origin: right;

  transition: transform 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

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


/* =========================================================
   LANGUAGE
   ========================================================= */

.languages {
  display: flex;
  align-items: center;

  gap: 7px;

  font-size: 12px;
  font-weight: 650;

  letter-spacing: 0.07em;
}

.languages a {
  color: var(--muted-2);

  text-decoration: none;

  transition:
    color 160ms ease,
    text-shadow 160ms ease;
}

.languages a:hover {
  color: var(--text);
}

.languages .active {
  color: var(--aurora-cyan);

  text-shadow:
    0 0 14px rgba(81, 217, 244, 0.25);
}

.language-separator {
  color: rgba(255, 255, 255, 0.19);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height:
    calc(
      100svh -
      var(--header-height)
    );

  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 110px 0 120px;
}

.eyebrow {
  display: flex;
  align-items: center;

  gap: 11px;

  margin-bottom: 32px;

  color: var(--muted);

  font-size: 13px;
  font-weight: 500;

  letter-spacing: 0.04em;
}

.eyebrow::before {
  content: "";

  width: 7px;
  height: 7px;

  flex: none;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      var(--aurora-green),
      var(--aurora-cyan)
    );

  box-shadow:
    0 0 10px rgba(114, 246, 189, 0.7),
    0 0 25px rgba(81, 217, 244, 0.25);
}

h1 {
  max-width: 1000px;

  margin: 0;

  color: var(--text);

  font-size:
    clamp(
      72px,
      11.5vw,
      142px
    );

  font-weight: 700;

  line-height: 0.82;

  letter-spacing: -0.077em;

  text-wrap: balance;

  text-shadow:
    0 8px 45px rgba(0, 0, 0, 0.35);
}

.hero-text {
  max-width: 680px;

  margin: 50px 0 0;

  color: var(--muted);

  font-size:
    clamp(
      18px,
      1.8vw,
      22px
    );

  line-height: 1.62;

  letter-spacing: -0.018em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 11px;

  margin-top: 37px;
}

.scroll-hint {
  position: absolute;

  right: 0;
  bottom: 34px;

  color: var(--muted-2);

  font-size: 10px;
  font-weight: 650;

  letter-spacing: 0.13em;

  text-transform: uppercase;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
  min-height: 48px;

  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  overflow: hidden;

  padding: 0 21px;

  color: #021014;

  background:
    linear-gradient(
      120deg,
      var(--aurora-green),
      var(--aurora-cyan)
    );

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;

  box-shadow:
    0 8px 30px rgba(81, 217, 244, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);

  font-size: 14px;
  font-weight: 650;

  text-decoration: none;

  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

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

  filter: brightness(1.06);

  box-shadow:
    0 12px 36px rgba(81, 217, 244, 0.20),
    0 0 22px rgba(114, 246, 189, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}


.button.secondary {
  color: var(--text);

  background:
    rgba(255, 255, 255, 0.035);

  border-color: var(--border-strong);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.button.secondary:hover {
  background:
    rgba(255, 255, 255, 0.075);

  border-color:
    rgba(81, 217, 244, 0.30);

  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.20),
    0 0 20px rgba(81, 217, 244, 0.06);
}


/* =========================================================
   SECTIONS
   ========================================================= */

section {
  position: relative;

  padding: 132px 0;

  border-top: 1px solid var(--border);
}

.section-header {
  display: grid;

  grid-template-columns:
    minmax(150px, 0.75fr)
    2fr;

  gap: 70px;

  margin-bottom: 75px;
}

.section-number {
  padding-top: 8px;

  color: var(--muted-2);

  font-size: 11px;
  font-weight: 650;

  letter-spacing: 0.11em;

  text-transform: uppercase;
}

h2 {
  max-width: 820px;

  margin: 0;

  color: var(--text);

  font-size:
    clamp(
      40px,
      5.4vw,
      66px
    );

  font-weight: 650;

  line-height: 1.01;

  letter-spacing: -0.058em;

  text-wrap: balance;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-text {
  display: grid;

  grid-template-columns:
    minmax(150px, 0.75fr)
    2fr;

  gap: 70px;
}

.about-text p {
  grid-column: 2;

  max-width: 730px;

  margin: 0;

  color: var(--muted);

  font-size:
    clamp(
      18px,
      1.7vw,
      20px
    );

  line-height: 1.8;

  letter-spacing: -0.015em;
}


/* =========================================================
   PROJECTS
   ========================================================= */

.project-grid {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap: 18px;
}

.project {
  min-height: 330px;

  position: relative;

  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 32px;

  background:
  linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.006)
  ),
  rgba(5, 10, 18, 0.72);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.19),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  transition:
    transform 200ms ease,
    border-color 200ms ease,
    background 200ms ease,
    box-shadow 200ms ease;
}

.project::before {
  content: "";

  position: absolute;

  width: 320px;
  height: 320px;

  right: -170px;
  top: -170px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(81, 217, 244, 0.15),
      rgba(102, 140, 255, 0.05) 45%,
      transparent 72%
    );

  pointer-events: none;
}

.project:nth-child(even)::before {
  background:
    radial-gradient(
      circle,
      rgba(164, 119, 255, 0.14),
      rgba(81, 217, 244, 0.04) 45%,
      transparent 72%
    );
}

.project:hover {
  transform: translateY(-6px);

  border-color:
    rgba(81, 217, 244, 0.22);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.065),
      rgba(255, 255, 255, 0.012)
    ),
    rgba(10, 19, 31, 0.69);

  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.28),
    0 0 35px rgba(81, 217, 244, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.075);
}

.project-label {
  position: relative;

  z-index: 1;

  color: var(--aurora-cyan);

  font-size: 11px;
  font-weight: 650;

  letter-spacing: 0.10em;

  text-transform: uppercase;
}

.project > div {
  position: relative;

  z-index: 1;
}

.project h3 {
  margin: 0 0 12px;

  color: var(--text);

  font-size:
    clamp(
      27px,
      3vw,
      33px
    );

  font-weight: 620;

  line-height: 1.1;

  letter-spacing: -0.045em;
}

.project p {
  max-width: 410px;

  margin: 0;

  color: var(--muted);

  font-size: 15px;

  line-height: 1.7;
}


/* =========================================================
   CV
   ========================================================= */

.posts {
  overflow: hidden;

background:
  rgba(5, 10, 18, 0.62);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  box-shadow:
    0 25px 65px rgba(0, 0, 0, 0.16);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.post {
  min-height: 108px;

  display: grid;

  grid-template-columns:
    160px
    1fr
    32px;

  align-items: center;

  gap: 32px;

  padding: 28px 30px;

  border-bottom: 1px solid var(--border);

  transition:
    background 170ms ease,
    padding-left 170ms ease;
}

.post:last-child {
  border-bottom: 0;
}

.post:hover {
  padding-left: 36px;

  background:
    linear-gradient(
      90deg,
      rgba(81, 217, 244, 0.035),
      rgba(114, 246, 189, 0.012),
      transparent
    );
}

.post-date {
  color: var(--aurora-green);

  font-size: 12px;
  font-weight: 650;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}

.post-title {
  color: var(--text);

  font-size:
    clamp(
      19px,
      2.2vw,
      25px
    );

  font-weight: 480;

  line-height: 1.4;

  letter-spacing: -0.028em;
}

.post-arrow {
  color: var(--muted-2);

  font-size: 16px;

  text-align: right;
}


/* =========================================================
   CONTACT
   ========================================================= */

#contact {
  position: relative;

  overflow: hidden;
}

#contact::after {
  content: "";

  position: absolute;

  width: 720px;
  height: 520px;

  right: -390px;
  bottom: -300px;

  background:
    radial-gradient(
      circle,
      rgba(114, 246, 189, 0.085),
      rgba(81, 217, 244, 0.045) 40%,
      transparent 70%
    );

  filter: blur(20px);

  pointer-events: none;
}

.contact-title {
  position: relative;

  z-index: 1;

  max-width: 1000px;

  margin: 0 0 50px;

  color: var(--text);

  font-size:
    clamp(
      58px,
      9vw,
      112px
    );

  font-weight: 680;

  line-height: 0.88;

  letter-spacing: -0.074em;

  text-wrap: balance;
}

.contact-links {
  position: relative;

  z-index: 1;

  display: flex;
  flex-wrap: wrap;

  gap: 11px;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  padding: 38px 0 44px;

  border-top: 1px solid var(--border);

  background:
    rgba(2, 5, 9, 0.30);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  color: var(--muted-2);

  font-size: 12px;
}

.footer-right {
  display: flex;
  align-items: center;

  gap: 22px;
}

.footer-content a {
  color: var(--muted);

  text-decoration: none;

  transition:
    color 150ms ease,
    text-shadow 150ms ease;
}

.footer-content a:hover {
  color: var(--aurora-cyan);

  text-shadow:
    0 0 14px rgba(81, 217, 244, 0.2);
}


/* =========================================================
   ENTRANCE ANIMATION
   ========================================================= */

@keyframes fade-up {
  from {
    opacity: 0;

    transform:
      translateY(14px);
  }

  to {
    opacity: 1;

    transform:
      translateY(0);
  }
}

.hero > * {
  animation:
    fade-up
    680ms
    cubic-bezier(
      0.22,
      1,
      0.36,
      1
    )
    both;
}

.hero .eyebrow {
  animation-delay: 40ms;
}

.hero h1 {
  animation-delay: 100ms;
}

.hero .hero-text {
  animation-delay: 170ms;
}

.hero .hero-actions {
  animation-delay: 240ms;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
  .container {
    width:
      min(
        var(--max-width),
        calc(100% - 36px)
      );
  }

  .nav-right {
    gap: 22px;
  }

  .nav-links {
    gap: 20px;
  }

  .section-header,
  .about-text {
    gap: 42px;
  }

  .project {
    min-height: 300px;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: calc(100% - 28px);
  }

  body::before {
    opacity: 0.13;

    top: 4vh;
    left: -90vw;
  }

  body::after {
    opacity: 0.11;

    right: -90vw;
  }

  nav {
    min-height: 72px;

    gap: 18px;
  }

  .logo {
    font-size: 15px;
  }

  .nav-right {
    gap: 16px;
  }

  .languages {
    font-size: 11px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height:
      calc(
        100svh -
        72px
      );

    padding: 80px 0 100px;
  }

  .eyebrow {
    margin-bottom: 25px;

    font-size: 12px;
  }

  h1 {
    font-size:
      clamp(
        64px,
        21vw,
        94px
      );

    line-height: 0.84;

    letter-spacing: -0.072em;
  }

  .hero-text {
    max-width: 96%;

    margin-top: 34px;

    font-size: 18px;
  }

  .hero-actions {
    margin-top: 30px;
  }

  .button {
    min-height: 46px;

    padding-inline: 18px;

    font-size: 13px;
  }

  .scroll-hint {
    display: none;
  }

  section {
    padding: 88px 0;
  }

  .section-header,
  .about-text {
    grid-template-columns: 1fr;

    gap: 22px;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .section-number {
    padding-top: 0;
  }

  h2 {
    font-size:
      clamp(
        38px,
        11vw,
        54px
      );
  }

  .about-text p {
    grid-column: 1;

    font-size: 18px;
  }

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

  .project {
    min-height: 265px;

    padding: 26px;

    border-radius: 17px;
  }

  .posts {
    border-radius: 17px;
  }

  .post {
    grid-template-columns:
      1fr
      24px;

    gap: 12px;

    min-height: auto;

    padding: 24px;
  }

  .post:hover {
    padding-left: 24px;
  }

  .post-date {
    grid-column: 1 / -1;
  }

  .post-title {
    font-size: 19px;
  }

  .contact-title {
    margin-bottom: 38px;

    font-size:
      clamp(
        54px,
        17vw,
        78px
      );
  }

  .footer-content {
    flex-direction: column;

    align-items: flex-start;

    gap: 15px;
  }

  .footer-right {
    width: 100%;

    justify-content: space-between;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {
  .container {
    width: calc(100% - 22px);
  }

  h1 {
    font-size: 61px;
  }

  .hero-actions {
    flex-direction: column;

    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .contact-links {
    flex-direction: column;
  }

  .contact-links .button {
    width: 100%;
  }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

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

  *,
  *::before,
  *::after {
    animation: none !important;

    transition: none !important;
  }
}
