/* ========== FONTLAR ========== */
@font-face {
  font-family: "GrillGroveDisplay";
  src: url("../fonts/Sora-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GrillGroveText";
  src: url("../fonts/DMSans-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ========== RESET & BAZA ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
}

.gg-body {
  background: radial-gradient(circle at top left, #32211a 0, #090a0d 40%, #050608 100%);
  color: #f7f3ef;
  font-family: "GrillGroveText", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== ROOT TOKENLAR ========== */
:root {
  --gg-bg: #050608;
  --gg-bg-soft: #111118;
  --gg-surface: #171720;
  --gg-surface-soft: rgba(255, 255, 255, 0.03);
  --gg-border-soft: rgba(255, 255, 255, 0.08);

  --gg-ember: #ff6b3d;
  --gg-ember-soft: rgba(255, 107, 61, 0.18);
  --gg-ember-strong: #ff8140;

  --gg-smoke: #f3e5d6;
  --gg-smoke-soft: rgba(243, 229, 214, 0.46);

  --gg-accent-green: #7fd36b;
  --gg-accent-amber: #ffc857;

  --gg-radius-sm: 8px;
  --gg-radius-md: 14px;
  --gg-radius-lg: 20px;
  --gg-radius-xl: 28px;
  --gg-radius-pill: 999px;

  --gg-shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.65);
  --gg-shadow-glow: 0 0 40px rgba(255, 107, 61, 0.55);

  --gg-header-height: 76px;
  --gg-max-width: 1180px;
}

/* ========== KONTEYNER & LAYOUT ========== */
.gg-container {
  width: 100%;
  max-width: var(--gg-max-width);
  margin: 0 auto;
  padding-inline: 1.4rem;
}

.gg-main {
  padding-top: calc(var(--gg-header-height) + 1.5rem);
  padding-bottom: 4rem;
}

/* ========== TİPOQRAFİYA ========== */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "GrillGroveDisplay", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
  color: #fff7ef;
}

p {
  margin: 0;
  color: rgba(247, 243, 239, 0.86);
}

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

a:hover {
  text-decoration: none;
}

/* ========== ŞƏKİLLƏR ========== */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

.gg-img-limited {
  max-width: 350px;
  width: 100%;
}

/* ========== HEADER ========== */
.gg-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--gg-header-height);
  z-index: 40;
  backdrop-filter: blur(22px);
  background: radial-gradient(circle at top left, rgba(255, 107, 61, 0.16), rgba(5, 6, 8, 0.92));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 220ms ease, transform 200ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.gg-header--scrolled {
  background: radial-gradient(circle at top left, rgba(255, 107, 61, 0.22), rgba(3, 3, 4, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.gg-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.gg-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.16rem 0.5rem;
  border-radius: var(--gg-radius-pill);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  transform-origin: left center;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.gg-logo__mark {
  font-size: 1.2rem;
  filter: drop-shadow(0 0 10px rgba(255, 107, 61, 0.8));
}

.gg-logo__text {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gg-logo:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 200, 87, 0.6);
  background: linear-gradient(135deg, rgba(255, 107, 61, 0.14), rgba(255, 255, 255, 0.02));
}

/* Nav desktop */
.gg-nav {
  display: none;
}

.gg-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}

.gg-nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.1rem;
  position: relative;
  color: rgba(245, 239, 232, 0.82);
  transition: color 150ms ease;
}

.gg-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gg-ember), var(--gg-accent-amber));
  box-shadow: 0 0 16px rgba(255, 107, 61, 0.7);
  transition: width 150ms ease;
}

.gg-nav__link:hover {
  color: #ffffff;
}

.gg-nav__link:hover::after,
.gg-nav__link--active::after {
  width: 100%;
}

/* Burger */
.gg-burger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(12, 12, 18, 0.9);
  border-radius: var(--gg-radius-pill);
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 120ms ease, box-shadow 160ms ease;
}

.gg-burger__bar {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #f8f3ee;
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}

.gg-burger__label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 244, 236, 0.92);
}

.gg-burger:hover {
  background: rgba(24, 16, 10, 0.98);
  border-color: rgba(255, 200, 87, 0.8);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.85);
  transform: translateY(-1px);
}

.gg-burger--open {
  background: rgba(10, 10, 14, 0.98);
  border-color: rgba(255, 107, 61, 0.8);
}

.gg-burger--open .gg-burger__bar--top {
  transform: translateY(4px) rotate(45deg);
}

.gg-burger--open .gg-burger__bar--middle {
  opacity: 0;
}

.gg-burger--open .gg-burger__bar--bottom {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile panel */
.gg-header__mobile-panel {
  position: fixed;
  inset-inline: 0;
  top: var(--gg-header-height);
  background: radial-gradient(circle at top, #1b1412, #050608);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(-16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  z-index: 35;
}

.gg-header__mobile-panel--open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gg-mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0.6rem 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.gg-mobile-nav__link {
  display: block;
  padding: 0.6rem 0.4rem;
  border-radius: var(--gg-radius-md);
  background: transparent;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 240, 232, 0.9);
  transition: background 150ms ease, color 150ms ease, transform 120ms ease;
}

.gg-mobile-nav__link:hover {
  background: rgba(255, 107, 61, 0.18);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ========== BUTTONS ========== */
.gg-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--gg-radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: #fff7ef;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 120ms ease, border-color 160ms ease;
}

.gg-btn--primary {
  background: radial-gradient(circle at top left, #ff9a53, #ff6b3d);
  border-color: rgba(255, 200, 87, 0.9);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.9), 0 0 26px rgba(255, 107, 61, 0.7);
}

.gg-btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.gg-btn--primary:hover {
  background: radial-gradient(circle at top left, #ffc857, #ff8140);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.95), 0 0 32px rgba(255, 129, 64, 0.9);
}

.gg-btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(8, 8, 12, 0.8);
}

.gg-btn--ghost:hover {
  border-color: rgba(255, 200, 87, 0.9);
  background: rgba(20, 14, 10, 0.96);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.85);
}

/* ========== FOOTER ========== */
.gg-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.8rem 2.4rem;
  background: linear-gradient(to bottom, rgba(9, 8, 12, 0.96), #050507);
}

.gg-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.4rem;
  justify-content: space-between;
}

.gg-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.gg-footer__logo-mark {
  font-size: 1.1rem;
  filter: drop-shadow(0 0 8px rgba(255, 107, 61, 0.8));
}

.gg-footer__logo-text {
  font-family: "GrillGroveDisplay", system-ui, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.gg-footer__note {
  font-size: 0.8rem;
  max-width: 420px;
  color: rgba(240, 234, 227, 0.72);
}

/* ========== ANİMASİYA UTİLİTLƏRİ ========== */
[data-gg-reveal] {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 420ms ease-out, transform 420ms ease-out;
}

[data-gg-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ========== RESPONSİV ========== */
/* Desktop ≥ 992px */
@media (min-width: 992px) {
  .gg-nav {
    display: block;
  }

  .gg-burger {
    display: none;
  }

  .gg-header__mobile-panel {
    display: none;
  }

  .gg-footer__note {
    text-align: right;
  }
}

/* Tablet 768–991px */
@media (min-width: 768px) and (max-width: 991px) {
  .gg-main {
    padding-top: calc(var(--gg-header-height) + 1.2rem);
  }
}

/* Small devices < 768px */
@media (max-width: 767px) {
  .gg-main {
    padding-top: calc(var(--gg-header-height) + 1rem);
  }

  .gg-header__inner {
    gap: 0.8rem;
  }

  .gg-logo__text {
    font-size: 0.9rem;
  }

  .gg-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .gg-footer__note {
    text-align: left;
  }
}
