@import url("https://fonts.googleapis.com/css2?family=Rye&display=swap");
:root {
  --bg: #0d0c0c;
  --surface: #171310;
  --line: #332c26;
  --text: #ede7de;
  --text-dim: #a89d8d;
  --ink: #7c2020;
  --ink-bright: #a52d2d;
  --brass: #b9863c;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Work Sans', sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
}

/* ---------- Floating status badge ---------- */

.status-badge {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(13, 12, 12, 0.85);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  font-size: 0.8rem;
  font-weight: 500;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
}

.status-badge--open .status-dot { background: #4caf6a; box-shadow: 0 0 8px rgba(76,175,106,0.7); }
.status-badge--closed .status-dot { background: #c93b3b; box-shadow: 0 0 8px rgba(201,59,59,0.6); }

.status-badge--open .status-text { color: #bfe8cc; }
.status-badge--closed .status-text { color: #f0c4c4; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 32px 20px 56px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(124,32,32,0.20), transparent 55%),
    radial-gradient(ellipse at 80% 85%, rgba(185,134,60,0.10), transparent 50%),
    var(--bg);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,12,12,0.35) 0%, rgba(13,12,12,0.55) 55%, rgba(13,12,12,0.92) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero__kicker {
  margin: 0 0 6px;
  color: var(--brass);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.hero__title {
  display: flex;
  flex-direction: column;
  font-family: "Rye", Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.65);
}

.hero__title span:first-child { color: var(--text); }
.hero__title span:last-child { color: var(--ink-bright); }

.hero__tagline {
  margin: 18px 0 0;
  max-width: 34ch;
  color: var(--text-dim);
  font-size: 1.02rem;
}

/* ---------- Quick nav ---------- */

.quicknav {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
}

.quicknav__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.quicknav__item:hover,
.quicknav__item:focus-visible {
  background: var(--surface);
}

.quicknav__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.quicknav__hint {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ---------- About ---------- */

.about__grid {
  display: grid;
  gap: 20px;
}

.about__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.about__copy p {
  color: var(--text-dim);
  max-width: 56ch;
}

@media (min-width: 720px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 48px 20px;
  border-bottom: 1px solid var(--line);
}

.section--alt {
  background: var(--surface);
}

.section__title {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section__lead {
  color: var(--text-dim);
  max-width: 56ch;
  margin: 0 0 24px;
}

/* ---------- Teaser grid (yiyecek / tişört) ---------- */

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}

.teaser-card__media {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--surface), var(--bg));
  border: 1px solid var(--line);
}

.teaser-card__name {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ---------- Events ---------- */

.event-row {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 0;
  border-top: none;
}

.event-row__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
  font-family: var(--font-display);
}

.event-row__day { font-size: 1.4rem; font-weight: 700; }
.event-row__month { font-size: 0.75rem; color: var(--text-dim); }

.event-row__title { margin: 0; font-weight: 600; }
.event-row__meta { margin: 4px 0 0; color: var(--text-dim); font-size: 0.85rem; }

.event-row__media {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.event-row__type {
  display: inline-block;
  margin: 0 0 4px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  color: var(--brass);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.event-row--featured {
  border-left: 2px solid var(--ink-bright);
  padding-left: 12px;
}


/* ---------- Gallery ---------- */

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

.gallery-grid__item {
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, var(--bg), var(--surface));
  border: 1px solid var(--line);
  overflow: hidden;
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Contact ---------- */

.contact__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.contact__label {
  margin: 0;
  color: var(--brass);
  font-size: 0.85rem;
}

.contact__value {
  margin: 4px 0 0;
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */

.footer {
  padding: 24px 20px 40px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ---------- Larger screens ---------- */

@media (min-width: 720px) {
  .quicknav { flex-direction: row; }
  .quicknav__item {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    border-top: none;
    border-left: 1px solid var(--line);
  }
  .quicknav__item:first-child { border-left: none; }

  .contact__grid { grid-template-columns: repeat(4, 1fr); }

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

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

/* ---------- Lightbox (yiyecek görseli büyütme) ---------- */

.teaser-card__media--clickable {
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.lightbox--open {
  display: flex;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 12, 12, 0.9);
}

.lightbox__content {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 720px);
  max-height: 88vh;
}

.lightbox__img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid var(--line);
}

.lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover {
  background: var(--ink);
}

@media (max-width: 480px) {
  .lightbox__close {
    top: -40px;
    right: 0;
  }
}


/* === Tattoo Rock Bar Logo === */
.hero {
  position: relative;
}

.hero__logo {
  position: absolute;
  top: 24px;
  left: 38px;
  width: 140px;
  height: 140px;
  object-fit: contain;
  z-index: 10;
}

@media (max-width: 768px) {
  .hero__logo {
    top: 18px;
    left: 18px;
    width: 95px;
    height: 95px;
  }
}

/* Etkinlikler bölümünün alt çizgisini kaldır */
#etkinlikler {
  border-bottom: none !important;
}

/* Etkinlikler: bölüm sınırını tamamen kaldır */
main #etkinlikler.section {
  border-bottom: 0 !important;
  border-top: 0 !important;
}

/* Etkinlik listesindeki gereksiz üst çizgiyi kaldır */
#events-list .event-row {
  border-top: none;
}
