/*
Theme Name: Yemliha Turkuaz
Theme URI: https://yemlihakorkmaz.com/
Author: Korkmaz
Description: Full-screen turkuaz theme focused on speed and clarity.
Version: 1.0.2
Text Domain: yemliha-turkuaz
*/

:root {
  --bg: #00EAD0;
  --bg-alt: #00E7CD;
  --surface: #00F4D9;
  --text: #000000;
  --text-muted: #000000;
  --deep: #1D6961;
  --accent: #03DBC3;
  --accent-2: #0DAC9A;
  --black: #000000;
  --font-body: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
  --font-display: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text);
  background:
    radial-gradient(70% 90% at 10% 10%, rgba(0, 244, 217, 0.85), transparent 60%),
    radial-gradient(80% 90% at 90% 0%, rgba(3, 219, 195, 0.55), transparent 55%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 60%, var(--surface) 100%);
  position: relative;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font: inherit;
}

body::before,
body::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.25;
  pointer-events: none;
}

body::before {
  width: 40vw;
  height: 40vw;
  background: var(--accent);
  top: -18vw;
  left: -10vw;
}

body::after {
  width: 35vw;
  height: 35vw;
  background: var(--accent-2);
  bottom: -15vw;
  right: -12vw;
}

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

a:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--black);
  border: 2px solid var(--black);
  border-radius: 999px;
  z-index: 20;
}

.skip-link:focus {
  left: 12px;
}

.hero {
  height: 100vh;
  height: 100svh;
  padding: clamp(24px, 6vw, 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-content {
  width: min(1100px, 100%);
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.5vw, 20px);
}

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--black);
  white-space: nowrap;
}

.hero-role {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
}

.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 2vw, 18px);
}

.skills-row {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 14px);
  max-width: 100%;
  margin: 0 auto;
  white-space: nowrap;
}

.skill-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 2px solid var(--black);
  background: rgba(255, 255, 255, 0.35);
  color: var(--black);
  font-weight: 600;
  font-size: clamp(0.75rem, 1.1vw, 0.95rem);
  white-space: nowrap;
  flex: 0 0 auto;
}

.skill-card img {
  width: 24px;
  height: 24px;
  display: block;
}

.hero-contact {
  font-weight: 600;
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 700ms ease forwards;
}

.reveal.delay-1 {
  animation-delay: 0.1s;
}

.reveal.delay-2 {
  animation-delay: 0.2s;
}

.reveal.delay-3 {
  animation-delay: 0.3s;
}

.reveal.delay-4 {
  animation-delay: 0.4s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-title {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .skills-row {
    gap: 8px;
  }

  .skill-card {
    padding: 6px 8px;
    border-width: 1px;
  }

  .skill-card img {
    width: 20px;
    height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    animation: none;
  }
}
