:root {
  --bg-color: #ffffff;
  --text-main: #111111;
  --text-muted: #666666;
  --border-color: #d0d0d0;

  --font-serif: "Newsreader", Georgia, serif;
  --font-sans: "Inter", -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection {
  background: #eeeeee;
  color: #111111;
}

::-moz-selection {
  background: #eeeeee;
  color: #111111;
}

/* --- Animasyonlar --- */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.animate-item {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.3s;
}
.delay-3 {
  animation-delay: 0.5s;
}
.delay-4 {
  animation-delay: 0.7s;
}
.delay-5 {
  animation-delay: 0.9s;
}

/* --- Header --- */
header {
  position: relative;
  width: 100%;
  padding: 22px clamp(32px, 8vw, 140px) 0 clamp(32px, 8vw, 140px);
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  color: var(--text-main);
  text-decoration: none;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-main);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text-main);
  transition: width 0.25s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* --- Main Content --- */
main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 clamp(24px, 7vw, 140px);
  width: 100%;
}

body:not(.home-page) main {
  justify-content: flex-start;
  align-items: stretch;
  padding: 0 clamp(32px, 8vw, 140px);
}

.hero-section {
  height: calc(100vh - 48px);
  min-height: calc(100vh - 48px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px clamp(24px, 7vw, 140px) 60px clamp(24px, 7vw, 140px);
}

.hero-content {
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 40px;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 40px;
}

h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.cursor-blink::after {
  content: "_";
  display: inline-block;
  margin-left: 4px;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-muted);
  animation: blink 1s step-end infinite;
}

.explore-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-main);
  background-color: transparent;
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.explore-button svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.explore-button:hover {
  border-color: var(--text-main);
  background-color: rgba(0, 0, 0, 0.03);
  transform: translateY(-1px);
}

.explore-button:hover svg {
  transform: translateX(4px);
}

/* --- Footer --- */
.site-footer {
  width: 100%;
  height: auto;
  padding: 20px clamp(24px, 7vw, 140px);
  background-color: var(--bg-color);
  color: var(--text-muted);
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.8rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-links a,
.social-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.social-links a:hover,
.social-links span:hover {
  color: var(--text-main);
}

.social-links svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* --- Home page single viewport --- */
.home-page {
  height: 100vh;
  overflow: hidden;
}

.home-page .hero-section {
  height: auto;
  min-height: 0;
  flex-grow: 1;
}

/* --- Media Queries --- */

/* --- Page Layouts --- */
.about-hero,
.contact-hero {
  width: 100%;
  padding: 120px 0 100px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.about-hero h1,
.contact-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 0;
}

.hero-description {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0 0 0 auto;
}

.about-content {
  width: 100%;
  max-width: 1300px;
  margin: auto;
  padding: 0 0 140px 0;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 80px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border-color);
}

.about-section:last-child {
  border-bottom: none;
}

.about-section h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin-bottom: 0;
}

.about-section p {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-main);
  margin-bottom: 0;
}

.about-section p + p {
  margin-top: 12px;
}

/* --- Odyssey Article Layout --- */
.odyssey-page .about-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 140px 0 80px 0;
}

.odyssey-page .about-hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  max-width: 900px;
  margin-bottom: 24px;
}

.odyssey-page .hero-description {
  margin: 0 auto;
  max-width: 640px;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-muted);
}

.odyssey-page .about-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0 140px 0;
}

.odyssey-page .about-section {
  display: block;
  padding: 64px 0;
  border-bottom: 1px solid var(--border-color);
}

.odyssey-page .about-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 24px;
}

.odyssey-page .about-section p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.odyssey-page .about-section p + p {
  margin-top: 16px;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 64px 0;
  border-bottom: 1px solid var(--border-color);
}

.manifesto-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 12px;
}

.manifesto-card p {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --- Contact Page --- */
.contact-content {
  width: 100%;
  max-width: 720px;
  margin: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-card:hover {
  border-color: #cccccc;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.contact-card h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 4px;
}

.contact-card p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.contact-email {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  margin-top: auto;
}

/* --- 404 Page --- */
.error-hero {
  width: 100%;
  padding: 140px 0 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  border-bottom: 1px solid var(--border-color);
}

.error-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 0;
}

.error-hero .hero-description {
  max-width: 480px;
  margin: 0;
  color: var(--text-muted);
}

/* --- Page Media Queries --- */
@media (max-width: 768px) {
  .about-hero,
  .contact-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 60px 0 64px 0;
  }

  .about-hero h1,
  .contact-hero h1 {
    font-size: clamp(2.2rem, 7vw, 3rem);
    letter-spacing: -0.02em;
  }

  .hero-description {
    max-width: none;
  }

  .about-content,
  .contact-content {
    padding: 0 0 120px 0;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 0;
  }

  .about-section h2 {
    font-size: 1.35rem;
  }

  .manifesto-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 40px 0;
  }

  .manifesto-card h3 {
    font-size: 1.25rem;
  }

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

  .odyssey-page .about-hero {
    padding: 80px 0 48px 0;
  }

  .odyssey-page .about-hero h1 {
    font-size: clamp(2.4rem, 8vw, 3.6rem);
  }

  .odyssey-page .about-section {
    padding: 40px 0;
  }

  .odyssey-page .about-section h2 {
    font-size: 1.6rem;
  }

  .odyssey-page .about-section p {
    font-size: 1.05rem;
  }

  .error-hero {
    padding: 100px 0 60px 0;
  }
}
