:root {
  --black: #070605;
  --ink: #11100e;
  --coal: #1b1a17;
  --charcoal: #26231f;
  --wood: #5a321f;
  --coffee: #3b2418;
  --cream: #e8d8bb;
  --muted: #bda98a;
  --gold: #d7a94e;
  --copper: #b66a34;
  --blue: #183c46;
  --green: #263d32;
  --red: #c5262d;
  --white: #fff7e9;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  --border: rgba(232, 216, 187, 0.16);
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section,
footer {
  scroll-margin-top: 100px;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 10% 0%, rgba(215, 169, 78, 0.16), transparent 32rem),
    linear-gradient(135deg, var(--black), var(--coal) 48%, #120d0a);
  overflow-x: hidden;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--copper));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: var(--header-height);
  padding: 16px clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(7, 6, 5, 0.44);
  border-bottom: 1px solid rgba(232, 216, 187, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 260ms ease, border-color 260ms ease, box-shadow 260ms ease, backdrop-filter 260ms ease;
}

.glass {
  background: rgba(20, 18, 16, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.glass-light {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header.glass {
  background: rgba(7, 6, 5, 0.34);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.site-header.is-scrolled {
  background: rgba(10, 8, 7, 0.76);
  border-color: rgba(215, 169, 78, 0.24);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: auto;
  height: clamp(62px, 5.8vw, 82px);
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
}

.brand-logo-footer {
  height: clamp(84px, 8vw, 112px);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), #f3df9f 52%, var(--copper));
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(215, 169, 78, 0.26);
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.brand small {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  color: rgba(255, 247, 233, 0.82);
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 247, 233, 0.07);
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28vh;
  background: linear-gradient(transparent, var(--black));
  z-index: -1;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 6, 5, 0.86) 0%, rgba(7, 6, 5, 0.54) 42%, rgba(7, 6, 5, 0.15) 100%),
    linear-gradient(0deg, rgba(7, 6, 5, 0.42), rgba(7, 6, 5, 0.22));
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 110px);
  padding-top: var(--header-height);
  will-change: transform, opacity;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1 {
  max-width: 11ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 10vw, 9.5rem);
  font-weight: 700;
  color: #f7e4ad;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.4rem);
  color: #f1dfbd;
}

h3 {
  font-size: 1.14rem;
  color: var(--white);
}

p {
  color: rgba(255, 247, 233, 0.76);
  line-height: 1.75;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 30px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions,
.feature-list,
.game-stats,
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  overflow: hidden;
  transition: transform 320ms ease, box-shadow 320ms ease, background 320ms ease, border-color 320ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transition: left 700ms ease;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-4px);
}

.btn:hover::before {
  left: 140%;
}

.btn-primary {
  color: var(--black);
  background: linear-gradient(135deg, var(--gold), #f4d98b 55%, var(--copper));
  box-shadow: 0 14px 34px rgba(215, 169, 78, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 18px 44px rgba(215, 169, 78, 0.34);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(232, 216, 187, 0.34);
  background: rgba(255, 247, 233, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  border-color: rgba(215, 169, 78, 0.48);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.section {
  padding: clamp(76px, 10vw, 138px) clamp(18px, 4vw, 64px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}

.split-reverse {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
}

.media-panel,
.media-stack {
  position: relative;
}

.media-panel img,
.stack-main,
.offer-card,
.map-placeholder,
.gallery-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-panel,
.offer-card,
.gallery-item,
.stack-main,
.stack-float,
.map-placeholder,
.coffee-inner {
  will-change: transform;
}

.media-panel img,
.stack-main {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-panel::before,
.media-stack::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(215, 169, 78, 0.3);
  border-radius: 8px;
  z-index: -1;
}

.text-block p {
  max-width: 650px;
}

.feature-list span,
.game-stats span {
  padding: 10px 14px;
  color: rgba(255, 247, 233, 0.84);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 247, 233, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.feature-list span:hover,
.game-stats span:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 169, 78, 0.42);
  background: rgba(255, 247, 233, 0.09);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.offer-card {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 247, 233, 0.09), rgba(255, 247, 233, 0.04)),
    rgba(18, 13, 10, 0.78);
  transition: transform 380ms ease, border-color 380ms ease, box-shadow 380ms ease, background 380ms ease;
}

.offer-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(215, 169, 78, 0.56);
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(182, 106, 52, 0.12);
}

.offer-card img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
}

.offer-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.offer-card div {
  padding: 20px;
}

.offer-card p {
  margin-bottom: 0;
}

.about-section,
.games-section {
  background:
    linear-gradient(90deg, rgba(90, 50, 31, 0.16), transparent),
    rgba(255, 247, 233, 0.015);
}

.media-stack {
  min-height: 480px;
}

.stack-main {
  height: 420px;
  object-fit: cover;
}

.stack-float {
  position: absolute;
  left: -36px;
  bottom: -28px;
  width: min(280px, 44%);
  aspect-ratio: 1 / 1.16;
  object-fit: cover;
  border: 1px solid rgba(215, 169, 78, 0.42);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.game-stats {
  margin-top: 26px;
}

.game-stats strong {
  display: block;
  color: var(--gold);
}

.coffee-feature {
  position: relative;
  padding: clamp(78px, 12vw, 150px) 18px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(7, 6, 5, 0.9), rgba(59, 36, 24, 0.72)),
    url("../images/coffee.jpg") center / cover;
}

.coffee-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 6, 5, 0.82), rgba(7, 6, 5, 0.24)),
    repeating-linear-gradient(90deg, rgba(255, 247, 233, 0.025) 0 1px, transparent 1px 72px);
}

.coffee-inner {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid rgba(232, 216, 187, 0.18);
  border-radius: 8px;
  background: rgba(7, 6, 5, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.turkish-flag {
  width: 82px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(197, 38, 45, 0.24);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--coal);
  cursor: pointer;
  transition: transform 340ms ease, border-color 340ms ease, box-shadow 340ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(7, 6, 5, 0.36));
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: saturate(1.1) contrast(1.04);
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: rgba(215, 169, 78, 0.42);
  box-shadow: 0 28px 66px rgba(0, 0, 0, 0.46);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: stretch;
}

.contact-list {
  display: grid;
  gap: 8px;
  margin: 24px 0;
}

.contact-card {
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
}

.contact-list p {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(232, 216, 187, 0.12);
}

.contact-list strong {
  color: var(--cream);
}

.contact-list a,
.site-footer a {
  color: var(--gold);
}

.contact-map-section {
  position: relative;
  min-height: clamp(360px, 44vw, 520px);
  overflow: hidden;
  border-top: 1px solid rgba(232, 216, 187, 0.14);
  border-bottom: 1px solid rgba(232, 216, 187, 0.14);
  background: var(--coal);
}

.contact-map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.92) contrast(1.03);
}

.map-location-card {
  position: absolute;
  top: clamp(18px, 4vw, 34px);
  left: clamp(16px, 4vw, 54px);
  z-index: 2;
  width: min(360px, calc(100% - 32px));
  padding: clamp(18px, 3vw, 26px);
  border-radius: 8px;
}

.map-location-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.map-location-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.map-location-card p {
  margin: 10px 0 18px;
  color: rgba(255, 247, 233, 0.86);
  line-height: 1.5;
}

.map-placeholder {
  min-height: 430px;
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(135deg, rgba(24, 60, 70, 0.34), rgba(38, 61, 50, 0.24)),
    linear-gradient(45deg, rgba(255, 247, 233, 0.04) 25%, transparent 25% 50%, rgba(255, 247, 233, 0.04) 50% 75%, transparent 75%);
  background-size: auto, 38px 38px;
}

.map-placeholder.glass-light {
  background:
    linear-gradient(135deg, rgba(24, 60, 70, 0.38), rgba(38, 61, 50, 0.26)),
    linear-gradient(45deg, rgba(255, 247, 233, 0.05) 25%, transparent 25% 50%, rgba(255, 247, 233, 0.05) 50% 75%, transparent 75%),
    rgba(255, 255, 255, 0.08);
  background-size: auto, 38px 38px, auto;
  border-color: rgba(255, 255, 255, 0.18);
}

.map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.9) contrast(1.04);
}

.map-card {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 360px;
  padding: 20px;
  border-radius: 8px;
}

.map-placeholder span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.map-placeholder strong {
  display: block;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.map-link {
  display: inline-block;
  max-width: 100%;
  color: var(--gold);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-footer {
  padding: 44px clamp(18px, 4vw, 64px);
  border-top: 1px solid rgba(232, 216, 187, 0.12);
  background: #060504;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.footer-inner nav {
  display: grid;
  gap: 8px;
}

.footer-inner p {
  margin: 0;
  font-size: 0.92rem;
}

.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(215, 169, 78, 0.34);
  border-radius: 50%;
  color: var(--cream);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 64px 18px 28px;
  background: rgba(0, 0, 0, 0.86);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  width: min(1080px, 100%);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(232, 216, 187, 0.24);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 247, 233, 0.09);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(7, 6, 5, 0.88);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .menu-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 12px;
  }

  .split,
  .split-reverse,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split-reverse .text-block {
    order: 2;
  }

  .split-reverse .media-stack {
    order: 1;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    padding: 14px 16px;
  }

  .brand-logo {
    height: 56px;
  }

  .brand-logo-footer {
    height: 78px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.58rem;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 98px;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  section,
  footer {
    scroll-margin-top: 82px;
  }

  .section {
    padding: 68px 16px;
  }

  .cards-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 240px;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .media-stack {
    min-height: auto;
  }

  .stack-main {
    height: auto;
  }

  .stack-float {
    position: static;
    width: 100%;
    margin-top: 14px;
    aspect-ratio: 16 / 11;
  }

  .media-panel::before,
  .media-stack::before {
    display: none;
  }

  .coffee-inner {
    padding: 24px;
  }

  .map-placeholder {
    min-height: 460px;
  }

  .map-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px;
  }

  .map-placeholder strong {
    font-size: 1.55rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer .brand,
  .site-footer nav,
  .site-footer p,
  .site-footer .socials {
    justify-content: center;
    justify-items: center;
    text-align: center;
  }

  .site-footer nav {
    width: 100%;
  }

  .site-footer .socials {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .aos-reveal {
    clip-path: none !important;
  }
}
