:root {
  --night: #1a0b2e;
  --plum: #2c1450;
  --pink: #d02a80;
  --hot: #f64d9b;
  --violet: #6a2fc4;
  --mist: #e6dcf2;
  --white: #ffffff;
  --focus: #ffd84d;
  --brand: linear-gradient(115deg, var(--pink), var(--violet));
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --width: 1280px;
  --header: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
}

body {
  background: var(--night);
  color: var(--white);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

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

/* HEADER */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: var(--night);
}

.navbar {
  position: relative;
  max-width: calc(var(--width) + 2 * var(--gutter));
  height: var(--header);
  margin: auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  flex-shrink: 0;
}

.site-logo {
  width: 210px;
}

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

.nav-links a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  border-bottom-color: var(--hot);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* HERO */

.hero {
  position: relative;
  min-height: 78svh;
  padding: calc(var(--header) + 48px) var(--gutter) 150px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--night) 4%, rgba(26, 11, 46, 0.72) 42%, rgba(26, 11, 46, 0.08) 78%),
    linear-gradient(to right, rgba(26, 11, 46, 0.86), rgba(26, 11, 46, 0.5) 50%, transparent 82%);
}

.hero-content {
  width: 100%;
  max-width: var(--width);
  margin: 0 auto;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(3.25rem, 7.4vw, 6.75rem);
  line-height: 1.02;
  margin-bottom: 24px;
}

.hero-text {
  max-width: 58ch;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  margin-bottom: 32px;
}

.hero-buttons,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
}

.primary {
  background: var(--pink);
  color: var(--white);
}

.primary:hover {
  background: #b81f6e;
}

.secondary {
  border-color: var(--white);
  color: var(--white);
}

.secondary:hover,
.light:hover {
  background: var(--white);
  color: var(--night);
}

.light {
  border-color: var(--white);
  color: var(--white);
}

/* NEXT EVENT + SAYAÇ
   Üst kenar, logodaki kırık harflerin kesimini tekrar eder. */

.next-event {
  position: relative;
  z-index: 2;
  margin-top: -84px;
  padding: 104px var(--gutter) 64px;
  background: var(--brand);
  clip-path: polygon(
    0 44px, 9% 12px, 14% 40px, 27% 0, 33% 34px, 49% 8px, 54% 42px,
    68% 2px, 73% 30px, 88% 10px, 93% 38px, 100% 6px, 100% 100%, 0 100%
  );
}

.next-event-inner {
  max-width: var(--width);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.next-label {
  font-weight: 700;
  margin-bottom: 6px;
}

.next-event h2 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  margin-bottom: 14px;
}

.next-date {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.mini-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.mini-info li {
  padding: 4px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 2vw, 24px);
}

.count-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(14px, 2vw, 24px) 4px;
  background: var(--night);
  clip-path: polygon(0 0, 91% 0, 100% 10%, 100% 100%, 8% 100%, 0 90%);
}

.count-number {
  font-family: var(--display);
  font-size: clamp(4rem, 11vw, 9.5rem);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.count-label {
  font-size: clamp(1rem, 1.6vw, 1.375rem);
  font-weight: 600;
  color: var(--mist);
}

.count-status {
  margin-top: 16px;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}

/* SECTIONS */

.section {
  max-width: calc(var(--width) + 2 * var(--gutter));
  margin: auto;
  padding: clamp(72px, 9vw, 128px) var(--gutter);
}

.section-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin-bottom: clamp(28px, 4vw, 56px);
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.about-grid h3 {
  font-size: clamp(1.875rem, 3.6vw, 3rem);
  line-height: 1.14;
  color: var(--hot);
}

.about-text {
  color: var(--mist);
}

.about-text p + p {
  margin-top: 16px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 40px);
  margin-top: clamp(48px, 7vw, 88px);
}

.stats div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
}

.stats dd {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1.1;
}

.stats dt {
  color: var(--mist);
  font-weight: 600;
}

/* WORKS */

.works {
  padding-top: 0;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 48px) clamp(16px, 2.4vw, 32px);
}

.work {
  display: flex;
  flex-direction: column;
}

.work img {
  width: 100%;
  margin-bottom: 18px;
  object-fit: cover;
}

.work h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin-bottom: 8px;
}

.work p {
  color: var(--mist);
  max-width: 46ch;
}

.work-concert {
  grid-column: 1 / span 4;
  grid-row: 1 / span 2;
}

.work-concert img {
  flex: 1;
  min-height: 0;
  height: 0;
  object-position: 50% 72%;
  clip-path: polygon(0 0, 88% 0, 100% 4%, 100% 100%, 12% 100%, 0 96%);
}

.work-party {
  grid-column: 5 / -1;
}

.work-party img {
  aspect-ratio: 16 / 8;
  object-position: 50% 30%;
  clip-path: polygon(0 5%, 6% 0, 100% 0, 100% 90%, 95% 100%, 0 100%);
}

.work-trip {
  grid-column: 5 / span 4;
}

.work-trip img {
  aspect-ratio: 1;
  object-position: 50% 42%;
  clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 0 100%);
}

.work-social {
  grid-column: 9 / -1;
}

.work-social img {
  aspect-ratio: 1;
  object-position: 15% 50%;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%, 0 10%);
}

/* CONTACT */

.contact {
  background: var(--brand);
  padding: clamp(96px, 10vw, 136px) var(--gutter) clamp(64px, 8vw, 104px);
  clip-path: polygon(
    0 12px, 11% 40px, 22% 4px, 28% 34px, 44% 0, 52% 38px, 63% 10px,
    76% 42px, 84% 6px, 92% 32px, 100% 14px, 100% 100%, 0 100%
  );
}

.contact-inner {
  max-width: var(--width);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.contact-info h3 {
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  margin-bottom: 16px;
}

.contact-info p {
  max-width: 46ch;
  margin-bottom: 28px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 40px);
  background: var(--white);
  color: var(--night);
  border-radius: 6px;
}

.contact-form label {
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 18px;
  border: 2px solid var(--plum);
  border-radius: 4px;
  background: var(--white);
  color: var(--night);
  font: inherit;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 1px;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form button {
  padding: 15px;
  border: 0;
  border-radius: 999px;
  background: var(--night);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--violet);
}

.contact-form button:focus-visible {
  outline-color: var(--violet);
}

/* FOOTER */

.footer {
  padding: 48px var(--gutter);
  text-align: center;
  color: var(--mist);
  font-size: 0.9375rem;
}

.footer img {
  width: min(300px, 80%);
  margin: 0 auto 18px;
}

/* RESPONSIVE */

@media (max-width: 950px) {
  .next-event-inner,
  .about-grid,
  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .count-number {
    font-size: clamp(4rem, 19vw, 9.5rem);
  }

  .work-concert,
  .work-party {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .work-concert img {
    flex: none;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .work-trip {
    grid-column: 1 / span 6;
  }

  .work-social {
    grid-column: 7 / -1;
  }
}

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

  .site-logo {
    width: 170px;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--night);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
  }

  .hero {
    padding-bottom: 124px;
  }

  .hero-photo {
    object-position: 45% 30%;
  }

  .hero::after {
    background: linear-gradient(to top, var(--night) 8%, rgba(26, 11, 46, 0.8) 62%, rgba(26, 11, 46, 0.2) 100%);
  }

  .stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .work-trip,
  .work-social {
    grid-column: 1 / -1;
  }

  .work-party img,
  .work-trip img,
  .work-social img {
    aspect-ratio: 4 / 3;
  }

  .work-trip img {
    object-position: 50% 38%;
  }
}

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