@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Raleway:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --primary-blue: #1389FF;
  --secondary-blue: #1BB0CE;
  --dark-charcoal: #2a2a2a;
  --charcoal: #1c1c1c;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --text-dark: #333333;
  --text-muted: #666666;
  
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Raleway', sans-serif;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: normal;
  line-height: 1.1;
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
h3 { font-size: clamp(2rem, 4vw, 3rem); }
h4 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-blue);
}

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

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-xl) 0;
}

.section-light { background-color: var(--light-bg); }
.section-dark { 
  background-color: var(--charcoal); 
  color: var(--white);
}
.section-dark p {
  color: #cccccc;
}
.section-blue {
  background-color: var(--primary-blue);
  color: var(--white);
}

.text-center { text-align: center; }
.text-primary { color: var(--primary-blue); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background-color: rgba(0,0,0,0.1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
}
.btn-primary:hover { color: var(--white); }

.btn-secondary {
  background-color: var(--charcoal);
  color: var(--white);
}
.btn-secondary:hover { color: var(--white); }

.btn-outline {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}
.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--charcoal);
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background-color: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  transition: var(--transition);
  padding: 1.1rem 0;
}

.header.scrolled {
  padding: 0.4rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 72px;
  transition: var(--transition);
}

.header.scrolled .logo img {
  height: 58px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--charcoal);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-blue);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--charcoal);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
  opacity: 0;
  animation: hero-fade-in 1.8s ease-out 0.1s forwards;
}

/* Fixed-background parallax on desktop pointers only (iOS Safari handles this poorly) */
@media (min-width: 900px) and (hover: hover) {
  .hero-bg { background-attachment: fixed; }
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(28,28,28,0.9) 0%, rgba(28,28,28,0.4) 100%);
  z-index: -1;
}

@keyframes hero-fade-in {
  to { opacity: 1; }
}

/* Stepped entrance for hero / page-header text */
.hero-stagger > * {
  opacity: 0;
  transform: translateY(26px);
  animation: stagger-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-stagger > *:nth-child(1) { animation-delay: 0.5s; }
.hero-stagger > *:nth-child(2) { animation-delay: 0.72s; }
.hero-stagger > *:nth-child(3) { animation-delay: 0.94s; }
.hero-stagger > *:nth-child(4) { animation-delay: 1.16s; }

@keyframes stagger-up {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero-stagger > * {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.hero-content {
  color: var(--white);
  max-width: 800px;
  width: 100%;
  padding: 0 var(--spacing-sm);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--secondary-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: block;
}

.hero h1 {
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  color: #eeeeee;
}

/* Two Column Layout */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

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

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

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

.card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  margin-bottom: var(--spacing-xs);
  color: var(--charcoal);
}

.card-content p {
  color: var(--text-muted);
  flex-grow: 1;
}

/* Mascot */
.mascot-container {
  position: relative;
  display: inline-block;
}

.mascot-img {
  max-width: 300px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(19, 137, 255, 0.6);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

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

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 2001;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  color: var(--primary-blue);
}

.lightbox-close { top: 20px; right: 30px; }
.lightbox-prev { top: 50%; left: 30px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 30px; transform: translateY(-50%); }

/* Footer */
.footer {
  background-color: var(--dark-charcoal);
  color: var(--white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.footer h4 {
  color: var(--secondary-blue);
  margin-bottom: 1.5rem;
}

.footer p, .footer a {
  color: #aaaaaa;
  font-size: 0.95rem;
}

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

.footer-contact li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.responsible-gambling {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #ffcccc;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: white;
}

.social-links a:hover {
  background-color: var(--primary-blue);
  transform: translateY(-3px);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--charcoal);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(19, 137, 255, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 992px) {
  .grid-4, .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .mobile-toggle {
    display: flex;
  }

  .header { padding: 0.6rem 0; }
  .logo img { height: 56px; }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    gap: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
  }
  
  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .nav-links a {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: block;
  }
  
  .hero h1 { font-size: 3rem; }
  
  .lightbox-prev, .lightbox-next {
    font-size: 2rem;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* Specific Page Additions */
.page-header {
  padding: 150px 0 80px;
  background-color: var(--charcoal);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Angled club-colour panels sweeping in from each side */
.page-header::before,
.page-header::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 26vw;
  transform: skewX(-14deg);
  z-index: 0;
}

.page-header::before {
  left: -9vw;
  background: var(--primary-blue);
  border-right: 14px solid var(--secondary-blue);
  box-shadow: 26px 0 0 rgba(255, 255, 255, 0.07);
}

.page-header::after {
  right: -9vw;
  background: var(--secondary-blue);
  border-left: 14px solid var(--primary-blue);
  box-shadow: -26px 0 0 rgba(255, 255, 255, 0.07);
}

/* Title sits on an opaque club-blue plate with a teal split behind it */
.page-header h1 {
  display: inline-block;
  position: relative;
  padding: 0.14em 0.55em 0.04em;
}

.page-header h1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary-blue);
  transform: skewX(-8deg);
  z-index: -1;
  box-shadow: 0.14em 0.14em 0 var(--secondary-blue);
}

@media (max-width: 768px) {
  .page-header::before { left: -16vw; width: 22vw; }
  .page-header::after { right: -16vw; width: 22vw; }
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.iframe-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.iframe-container iframe,
.iframe-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-container {
  padding-bottom: 75%;
}

.brand-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.brand-logos img {
  height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.brand-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.menu-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-blue);
  color: var(--charcoal);
  font-weight: bold;
  font-size: 1.2rem;
  margin: 2rem 0;
}

.menu-pdf-link:hover {
  background: var(--primary-blue);
  color: white;
}

/* ===== Home content bands ===== */
.parallax-band {
  position: relative;
  padding: 130px 0;
  background-color: #10161f;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

@media (min-width: 900px) and (hover: hover) {
  .parallax-band { background-attachment: fixed; }
}

.parallax-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 22, 34, 0.78), rgba(12, 22, 34, 0.62));
}

.parallax-band > .container { position: relative; z-index: 1; }
.parallax-band h2 { color: #fff; }
.parallax-band p { max-width: 640px; margin: 0 auto 1.6rem; font-size: 1.15rem; opacity: 0.92; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 4.2rem;
  line-height: 1;
  color: var(--primary-blue);
}

.stat-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 0.5rem;
}

/* Sports bar section with side accent */
.sports-section { position: relative; overflow: hidden; }

.side-accent {
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 360px;
  opacity: 0.08;
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: 0;
}

.sports-section .container { position: relative; z-index: 1; }

.img-frame {
  position: relative;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

.img-frame::after {
  content: "";
  position: absolute;
  top: -18px; right: -18px;
  width: 100%; height: 100%;
  border: 3px solid var(--primary-blue);
  border-radius: 10px;
  z-index: -1;
}

.img-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.screen-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.4rem 0 2rem; }

.chip {
  padding: 0.45rem 1.1rem;
  border: 2px solid var(--primary-blue);
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  color: var(--charcoal);
}

.chip-solid {
  background: #0b6bd4; /* darker than --primary-blue for WCAG AA contrast with white text */
  border-color: #0b6bd4;
  color: #fff;
}

.club-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin: 2.2rem 0 1.5rem;
}

.affiliations { font-size: 0.9rem; opacity: 0.7; }

/* Gallery teaser */
.gallery-teaser {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.gallery-teaser a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-teaser img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-teaser a:hover img { transform: scale(1.08); }

.reveal.delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .parallax-band { background-attachment: scroll !important; }
  .reveal {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .gallery-teaser img,
  .card-img img {
    transition: none !important;
  }
  .gallery-teaser a:hover img,
  .card:hover .card-img img {
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .parallax-band { padding: 80px 0; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .stat-number { font-size: 3rem; }
  .gallery-teaser { grid-template-columns: repeat(2, 1fr); }
  .side-accent { width: 220px; right: -50px; }
}

/* Header logotype */
.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 1.5px;
  color: var(--charcoal);
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .logo-text { font-size: 1.2rem; letter-spacing: 1px; }
}

/* Page transition fade */
.page-fade {
  position: fixed;
  inset: 0;
  background: #10161f;
  z-index: 20000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  animation: page-enter 0.55s ease-out both;
}

/* Native cross-document fade on browsers that support it (Chrome, Edge, Safari) */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.25s;
}

@keyframes page-enter {
  0% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .page-fade { animation: none; transition: none; }
  @view-transition {
    navigation: none;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

@media print {
  .page-fade { display: none; }
}
