/* ===== MACGUFFIN THEATER & PUB ===== */

:root {
  --black: #0A0A0A;
  --dark: #121212;
  --dark-gray: #1A1A1A;
  --gray: #2A2A2A;
  --light-gray: #888;
  --white: #F5F0E8;
  --orange: #FF6B00;
  --orange-dark: #E05A00;
  --orange-glow: rgba(255, 107, 0, 0.3);
  --magenta: #C4306C;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Noto Sans KR', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

a {
  color: var(--white);
  text-decoration: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--orange);
  color: var(--black);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  box-shadow: 0 0 30px var(--orange-glow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 13px;
}

.btn-lg {
  padding: 18px 48px;
  font-size: 17px;
}

/* ===== SECTION COMMON ===== */
.section-label {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 2px;
  margin-bottom: 16px;
  line-height: 1.1;
}

.section-subtitle {
  font-size: 16px;
  color: var(--light-gray);
  margin-bottom: 48px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 107, 0, 0.1);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 3px;
}

.logo-icon {
  color: var(--orange);
  font-size: 16px;
}

.logo-text {
  color: var(--white);
}

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

.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.7);
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 10, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

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

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 4px;
  color: var(--white);
  transition: color 0.3s;
}

.mobile-nav-link:hover {
  color: var(--orange);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.4) 0%,
    rgba(10, 10, 10, 0.2) 40%,
    rgba(10, 10, 10, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-logo {
  width: 280px;
  margin: 0 auto 32px;
  animation: fadeInUp 1s ease 0.2s both;
  border-radius: 20px;
}

.hero-tagline {
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 40px;
  letter-spacing: 2px;
  animation: fadeInUp 1s ease 0.6s both;
  color: rgba(245, 240, 232, 0.9);
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 1s both;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(245, 240, 232, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--orange);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 20px; opacity: 0.3; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== ABOUT ===== */
.about {
  padding: 120px 0;
  background: var(--dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-slogan-img {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 24px;
}

.about-desc {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 32px;
}

.about-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.keyword {
  padding: 8px 20px;
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 100px;
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.5px;
}

/* ===== NOW SHOWING ===== */
.showing {
  padding: 120px 0;
  background: var(--black);
}

.show-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.show-card {
  background: var(--dark-gray);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.show-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(255, 107, 0, 0.1);
}

.show-card-img {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.show-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.show-card:hover .show-card-img img {
  transform: scale(1.05);
}

.show-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 16px;
  background: var(--orange);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  border-radius: 4px;
}

.show-badge.ongoing {
  background: var(--magenta);
  color: var(--white);
}

.show-card-body {
  padding: 28px;
}

.show-genre {
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.show-title {
  font-size: 28px;
  font-weight: 900;
  margin: 8px 0 16px;
}

.show-desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.6);
  margin-bottom: 20px;
}

.show-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--light-gray);
}

/* ===== SCHEDULE ===== */
.schedule {
  padding: 120px 0;
  background: var(--dark);
}

.schedule-table-wrap {
  margin-top: 48px;
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.schedule-table th {
  padding: 16px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
}

.schedule-table td {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.schedule-table .day {
  font-weight: 700;
  color: var(--white);
  min-width: 120px;
}

.schedule-table .closed {
  color: var(--light-gray);
  font-style: italic;
  text-align: center;
}

.schedule-table tbody tr:hover {
  background: rgba(255, 107, 0, 0.03);
}

.schedule-notice {
  margin-top: 24px;
  font-size: 13px;
  color: var(--light-gray);
}

/* ===== COURSE MENU ===== */
.menu {
  padding: 120px 0;
  background: var(--black);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.menu-card {
  background: var(--dark-gray);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(255, 107, 0, 0.08);
}

.menu-card-img {
  height: 220px;
  overflow: hidden;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.menu-card:hover .menu-card-img img {
  transform: scale(1.05);
}

.menu-card-body {
  padding: 28px;
}

.menu-label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--orange);
}

.menu-name {
  font-size: 24px;
  font-weight: 900;
  margin: 8px 0 20px;
}

.menu-items {
  list-style: none;
  margin-bottom: 24px;
}

.menu-items li {
  padding: 8px 0;
  font-size: 14px;
  color: rgba(245, 240, 232, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-left: 16px;
  position: relative;
}

.menu-items li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 12px;
}

.menu-price {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--orange);
  letter-spacing: 1px;
}

.menu-notice {
  margin-top: 40px;
  padding: 24px;
  background: var(--dark-gray);
  border-radius: 12px;
  border-left: 3px solid var(--orange);
}

.menu-notice p {
  font-size: 13px;
  color: var(--light-gray);
  line-height: 1.8;
}

/* ===== SPACE ===== */
.space {
  padding: 120px 0;
  background: var(--dark);
}

.space-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  height: 500px;
}

.space-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.space-item.large {
  grid-row: 1 / 3;
}

.space-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.space-item:hover img {
  transform: scale(1.05);
}

.space-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(10, 10, 10, 0.8));
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 3px;
}

/* ===== TICKET ===== */
.ticket {
  padding: 120px 0;
  background: var(--black);
}

.ticket-box {
  background: linear-gradient(135deg, var(--dark-gray), var(--gray));
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  border: 1px solid rgba(255, 107, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.ticket-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 60%);
  opacity: 0.15;
  pointer-events: none;
}

.ticket-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 2px;
  margin-bottom: 40px;
}

.ticket-info {
  max-width: 600px;
  margin: 0 auto 40px;
}

.ticket-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-label {
  font-size: 15px;
  color: rgba(245, 240, 232, 0.8);
}

.ticket-price {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--orange);
  letter-spacing: 1px;
}

.ticket-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.ticket-notice {
  font-size: 13px;
  color: var(--light-gray);
}

/* ===== LOCATION ===== */
.location {
  padding: 120px 0;
  background: var(--dark);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.location-detail {
  margin-bottom: 28px;
}

.location-detail h4 {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 8px;
}

.location-detail p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.7);
}

.closed-text {
  color: var(--orange) !important;
  font-weight: 500;
}

.location-buttons {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 350px;
  background: var(--dark-gray);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-icon {
  font-size: 48px;
  color: var(--orange);
  margin-bottom: 16px;
}

.map-placeholder p {
  font-size: 16px;
  text-align: center;
  line-height: 1.6;
  color: var(--light-gray);
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 32px;
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-brand .logo-icon {
  font-size: 12px;
}

.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 3px;
}

.footer-tagline {
  font-size: 12px;
  color: var(--light-gray);
  letter-spacing: 2px;
  width: 100%;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--light-gray);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-disclaimer {
  padding: 16px 20px;
  background: var(--dark-gray);
  border-radius: 8px;
  font-size: 12px;
  color: var(--light-gray);
  text-align: center;
  margin-bottom: 24px;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(245, 240, 232, 0.3);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .show-grid {
    grid-template-columns: 1fr;
  }

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

  .space-gallery {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .space-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }

  .space-item.large {
    grid-row: auto;
  }

  .space-item {
    height: 250px;
  }

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

  .ticket-box {
    padding: 40px 24px;
  }

  .ticket-item {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero-logo {
    width: 200px;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-tagline {
    text-align: center;
  }

  .location-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: 160px;
  }

  .section-title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .show-card-img {
    height: 200px;
  }

  .btn-lg {
    padding: 14px 32px;
    font-size: 15px;
  }
}
