/*
Theme Name: Game Republic
Theme URI: https://gamerepublic.com.au/
Author: Game Republic
Description: A dark, energetic karaoke venue theme for Game Republic.
Version: 1.0.0
Text Domain: gamerepublic
*/

:root {
  --black: #070707;
  --ink: #222222;
  --white: #ffffff;
  --muted: #b7b7b7;
  --yellow: #fdc502;
  --purple: #483d8a;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Heebo, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: var(--yellow); text-decoration: none; }
a:hover, a:focus { color: var(--white); }
img { display: block; max-width: 100%; height: auto; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px;
  overflow: hidden; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

.site-header {
  position: absolute; z-index: 10; inset: 0 0 auto; height: 124px;
  background: rgba(7, 7, 7, .58); border-bottom: 1px solid rgba(255,255,255,.12);
}
.header-inner { height: 100%; display: grid; grid-template-columns: 145px 1fr auto; align-items: center; gap: 22px; }
.site-logo { width: 124px; }
.main-nav ul { display: flex; justify-content: center; gap: 0; list-style: none; padding: 0; margin: 0; }
.main-nav a { display: block; padding: 13px 20px; color: var(--white); font-size: 15px; font-weight: 600; text-transform: uppercase; }
.main-nav a:hover, .main-nav .current-menu-item a { color: var(--yellow); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.button { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; padding: 9px 22px; border: 1px solid var(--yellow); background: var(--yellow); color: var(--black); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.button:hover, .button:focus { background: var(--white); border-color: var(--white); color: var(--black); }
.button-outline { background: transparent; color: var(--yellow); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--white); font-size: 28px; }

.hero, .image-banner { position: relative; display: grid; place-items: center; min-height: 900px; background-position: center; background-size: cover; }
.hero { background-image: url('https://gamerepublic.com.au/wp-content/uploads/2022/06/GR-logo-heroimage-01-copy.jpg'); }
.image-banner { min-height: 558px; }
.banner-spaces { background-image: url('https://gamerepublic.com.au/wp-content/uploads/2022/06/DSC08560.jpg'); }
.banner-cta { background-image: url('https://gamerepublic.com.au/wp-content/uploads/2022/06/DSC00529.jpg'); }
.hero::before, .image-banner::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.58); }
.hero-content, .banner-content { position: relative; z-index: 1; text-align: center; }
.display-title { margin: 0; color: var(--white); font-family: Anton, Impact, sans-serif; font-size: clamp(58px, 7vw, 110px); font-weight: 400; line-height: 1.04; text-transform: uppercase; }
.banner-title { font-size: clamp(48px, 6vw, 86px); }

.dark-section { background: var(--black); padding: 90px 0; }
.intro { text-align: center; }
.section-title { margin: 0 0 40px; color: var(--yellow); font-family: Anton, Impact, sans-serif; font-size: clamp(35px, 4vw, 55px); font-weight: 400; line-height: 1.2; text-transform: uppercase; }
.intro-copy { max-width: 980px; margin: 0 auto 40px; font-size: 20px; line-height: 1.5; }
.intro-copy p { margin: 0 0 22px; }

.facilities { background: #333; }
.facilities-grid, .rooms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.facility, .room { min-width: 0; }
.facility-image, .room-image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 35px; }
.facility:first-child { padding-top: 40px; }
.facility h3, .room h3 { margin: 0 0 24px; color: var(--yellow); font-family: Anton, Impact, sans-serif; font-size: 37px; font-weight: 400; text-transform: uppercase; }
.feature-list { list-style: none; margin: 0 0 35px; padding: 0; color: var(--white); font-size: 20px; line-height: 1.8; }
.feature-list li::before { content: '\2022'; display: inline-block; width: 25px; color: var(--yellow); }
.rooms-section { background: #333; }
.rooms-heading { text-align: center; margin-bottom: 0; }
.room { padding: 45px; background: rgba(0,0,0,.12); }
.room:nth-child(2) { margin-top: 40px; }
.room h3 { font-size: 33px; }

.closing-copy { max-width: 920px; margin: 0 auto; text-align: center; }
.closing-copy h2 { margin-bottom: 40px; }
.closing-copy p { margin: 0; font-size: 20px; line-height: 1.5; }
.site-footer { background: var(--black); text-align: center; }
.footer-main { padding: 90px 0 70px; }
.footer-main h2 { margin-bottom: 18px; }
.footer-main h3 { margin: 0 0 40px; font-family: Anton, Impact, sans-serif; font-size: 30px; font-weight: 400; text-transform: uppercase; }
.footer-links { display: flex; justify-content: center; gap: 28px; margin-bottom: 36px; font-size: 18px; }
.footer-links a { color: var(--white); }
.footer-links a:hover { color: var(--yellow); }
.social-links { display: flex; justify-content: center; gap: 26px; }
.social-links a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--yellow); border-radius: 50%; color: var(--yellow); font-weight: 700; }
.copyright { padding: 27px 0; background: var(--purple); color: var(--white); font-size: 13px; }
.copyright a { margin-left: 20px; color: var(--white); }
.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 5; width: 42px; height: 42px; border: 0; background: var(--yellow); color: var(--black); font-size: 20px; cursor: pointer; }

@media (max-width: 1024px) {
  .header-inner { grid-template-columns: 110px 1fr auto; }
  .main-nav a { padding-inline: 10px; }
  .container { width: min(100% - 40px, var(--container)); }
  .hero { min-height: 760px; }
}
@media (max-width: 768px) {
  .site-header { height: 88px; }
  .header-inner { grid-template-columns: 80px 1fr auto; gap: 10px; }
  .site-logo { width: 76px; }
  .main-nav { display: none; position: absolute; top: 88px; left: 0; right: 0; padding: 10px 20px 20px; background: rgba(7,7,7,.98); }
  .main-nav.is-open { display: block; }
  .main-nav ul { display: block; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .menu-toggle { display: block; justify-self: end; }
  .header-actions { gap: 7px; }
  .header-actions .button { min-height: 35px; padding: 7px 10px; font-size: 11px; }
  .container { width: min(100% - 32px, var(--container)); }
  .hero { min-height: 720px; }
  .display-title { font-size: clamp(48px, 14vw, 76px); }
  .image-banner { min-height: 440px; }
  .dark-section { padding: 64px 0; }
  .intro-copy, .closing-copy p, .feature-list { font-size: 17px; }
  .facilities-grid, .rooms-grid { grid-template-columns: 1fr; gap: 30px; }
  .facility:first-child, .room:nth-child(2) { padding-top: 0; margin-top: 0; }
  .room { padding: 25px; }
  .facility-image, .room-image { margin-bottom: 25px; }
  .footer-main { padding: 64px 0 50px; }
  .footer-links { flex-wrap: wrap; gap: 14px 22px; }
  .copyright a { display: block; margin: 8px 0 0; }
}
