/* =============================
PWRHOUSE Alphaland-Inspired Styles
============================= */

:root {
  --black: #0c0c0c;
  --black-deep: #111;
  --white: #f9f9f9;
  --muted: #b5b5b5;
  --red: #D33F4C;
  --red-dark: #A32F38;
  --red-light: #E96472;
  --red-soft: #F4B6BC;
}

/* Reset / base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
background: var(--black);
color: var(--white);
line-height: 1.6;
}
a { color: inherit; text-decoration: none; transition: 0.3s ease; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 36px 20px; }

/* Header */
.header {
position: fixed;
top: 0; left: 0; right: 0;
z-index: 50;
background: rgba(12,12,12,0.8);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(255,255,255,0.05);
transition: background 0.4s ease;
}
.nav {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo-text {
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1.5px;
font-size: 1.1rem;
color: var(--white);
line-height: 1.1;
}
.logo-text span {
font-weight: 300;
font-size: 0.9rem;
letter-spacing: 2px;
display: block;
}
#menu {
display: flex;
gap: 30px;
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 2px;
}
#menu a {
color: var(--muted);
position: relative;
}
#menu a:hover,
#menu a:focus {
color: var(--red);
}
.menu-toggle {
display: none;
background: none;
border: 0;
color: var(--white);
font-size: 1.5rem;
}

/* Hero */
.hero {
height: 100vh;
background: url("images/hero-dark.jpg") center/cover no-repeat;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
position: relative;
}
.hero-overlay {
content: "";
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0,0,0,0.6);
}
.hero-inner {
position: relative;
z-index: 2;
padding: 0 20px;
}
.hero h1 {
font-size: clamp(2.2rem, 6vw, 4rem);
letter-spacing: 3px;
text-transform: uppercase;
}
.hero h1 span {
font-weight: 300;
color: var(--red);
}
.tagline {
color: var(--muted);
margin-top: 14px;
font-size: 1.1rem;
}
.btn {
display: inline-block;
margin-top: 28px;
padding: 14px 30px;
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 2px;
border-radius: 4px;
font-weight: 600;
cursor: pointer;
border: none;
transition: all 0.3s ease;
}
.btn.gold {
background: var(--gold);
color: var(--black);
}
.btn.gold:hover {
background: #A32F38;
color: var(--white);
}
.btn.outline {
background: transparent;
border: 1px solid var(--gold);
color: var(--red);
}
.btn.outline:hover {
background: var(--gold);
color: var(--black);
}

/* Sections */
.section {
padding: 100px 0;
}
.dark-alt {
background: #141414;
}
.darker {
background: #0a0a0a;
}
.section h2 {
text-transform: uppercase;
font-size: 1.6rem;
letter-spacing: 2px;
color: var(--white);
margin-bottom: 20px;
text-align: center;
}
.section p, .section li {
color: var(--muted);
max-width: 700px;
margin: 0 auto 10px;
text-align: center;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 24px;
margin-top: 30px;
}
.card {
background: #1b1b1b;
border: 1px solid rgba(255,255,255,0.05);
border-radius: 8px;
overflow: hidden;
padding-bottom: 18px;
transition: transform 0.3s ease;
}
.card:hover {
transform: translateY(-6px);
}
.card h3 {
text-transform: uppercase;
font-size: 1rem;
margin: 16px;
color: var(--red);
}
.card p {
color: var(--muted);
font-size: 0.95rem;
margin: 0 16px;
}
.card-media {
height: 220px;
overflow: hidden;
}
.card-media img {
width: 100%;
height: 100%;
object-fit: cover;
filter: grayscale(80%) brightness(0.8);
}

/* Map & Footer */
.map iframe {
width: 100%;
height: 350px;
border: 0;
border-radius: 8px;
}
.footer {
text-align: center;
padding: 40px 20px;
color: var(--muted);
font-size: 0.9rem;
border-top: 1px solid rgba(255,255,255,0.1);
}

/* Brand Banner */
.brand-banner {
width: 100%;
background: #000;
overflow: hidden;
padding: 10px 0;
}

.banner-track {
display: flex;
}

.logos {
display: flex;
align-items: center;
gap: 40px;
flex-shrink: 0;
padding-right: 40px;
}

.logos img {
height: 60px;
filter: grayscale(100%) brightness(0.7);
opacity: 0.9;
object-fit: contain;
}

/* Smooth infinite loop */


/* Mobile tuning */



/* Utilities */
.gold { color: var(--red); }
.gold-link:hover { color: var(--red); }

/* Mobile */
@media (max-width: 800px) {
#menu {
display: none;
position: absolute;
top: 70px;
right: 20px;
background: #111;
flex-direction: column;
padding: 12px;
border-radius: 6px;
border: 1px solid rgba(255,255,255,0.1);
}
#menu.show { display: flex; }
.menu-toggle { display: block; }
.hero { background-position: center top; }
}

/* Membership Section Fix */
.membership-container {
text-align: center;
}

.membership-buttons {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 20px;
margin-top: 24px;
}

/* Solid button style like hero "Join the Club" */
.btn.solid {
background: #D33F4C; /* gold accent similar to Alphaland */
color: #000;
border: 1px solid #D33F4C;
padding: 12px 28px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.btn.solid:hover {
background: #A32F38;
border-color: #A32F38;
}

/* Keep the ghost style for secondary actions */
.btn.ghost {
background: transparent;
border: 1px solid #D33F4C;
color: #D33F4C;
padding: 12px 28px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.btn.ghost:hover {
background: #D33F4C;
color: #000;
}

.pricing {
background-color: #0d0d0d;
color: #fff;
text-align: center;
padding: 80px 20px;
}

.pricing-title {
font-size: 2rem;
color: #D33F4C; /* gold tone */
margin-bottom: 60px;
letter-spacing: 1px;
}

.pricing-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 25px;
}

.price-card {
background: linear-gradient(145deg, #1a1a1a, #111);
border: 1px solid rgba(255, 215, 0, 0.1);
border-radius: 12px;
width: 230px;
padding: 30px 20px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
transition: transform 0.3s ease, border-color 0.3s ease;
}

.price-card:hover {
transform: translateY(-5px);
border-color: #D33F4C;
}

.price-card h3 {
font-size: 1.2rem;
color: #fff;
margin-bottom: 10px;
letter-spacing: 0.5px;
}

.price-card .price {
font-size: 2rem;
font-weight: 600;
color: #D33F4C;
margin: 10px 0 20px;
}

.price-card ul {
list-style: none;
padding: 0;
margin: 0;
font-size: 0.9rem;
color: #ccc;
line-height: 1.5;
}

@media (max-width: 768px) {
.price-card {
width: 80%;
}
}

/* Hero Section */
.page-hero {
background: linear-gradient(to bottom, #1c1c1c, #0e0e0e);
padding: 120px 20px 80px;
text-align: center;
}

.page-hero h1 {
font-size: 2.6rem;
letter-spacing: 1px;
font-weight: 700;
color: #ffffff;
margin-bottom: 10px;
}

.page-hero p {
color: #cfcfcf;
font-size: 1.1rem;
}

/* Content Area */
.page-content {
background: #0e0e0e;
padding: 60px 20px;
}

.page-content .inner {
max-width: 900px;
margin: 0 auto;
}

.page-content h2 {
font-size: 2rem;
color: #ffffff;
text-align: center;
margin-bottom: 40px;
}

.page-content h3 {
margin-top: 40px;
margin-bottom: 10px;
color: #E96472; /* PWRHOUSE yellow accent */
font-size: 1.3rem;
font-weight: 600;
}

.page-content p {
color: #e4e4e4;
line-height: 1.7;
font-size: 1rem;
margin-bottom: 12px;
}


/* Orbitron headings */
h1, h2, h3, .logo-text {
    font-family: "Orbitron", sans-serif;
    letter-spacing: 1px;
}



/* Equipment panel restore */
.card {
  background: #1b1b1b;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 18px;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 18px rgba(211, 63, 76, 0.15);
}
.card-media {
  height: 220px;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%) brightness(0.8);
}

/* Fix Join button visibility */
.btn.gold {
  background: var(--red);
  color: var(--white);
}
.btn.gold:hover {
  background: var(--red-dark);
  color: var(--white);
}

/* ===========================
   NEW EQUIPMENT CAROUSEL
   =========================== */

.equipment-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  display: flex;
  padding: 10px 0 30px;
}

.carousel-track {
  display: flex;
  gap: 24px;
}

.carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: 550px;     /* Matches your Cybex promotional image shape */
  height: 700px;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255,255,255,0.05);
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
}

.carousel-item img:hover {
  filter: brightness(1);
  transition: .3s ease;
}

/* Custom scrollbar */
.equipment-carousel::-webkit-scrollbar {
  height: 10px;
}

.equipment-carousel::-webkit-scrollbar-thumb {
  background: var(--red-dark);
  border-radius: 20px;
}





/* =====================================
   EQUIPMENT "ANNOUNCING SOON" MODE
   ===================================== */

.equipment-carousel.announcing .carousel-item img {
  filter: brightness(0.3) blur(8px);
  pointer-events: none;
}

.equipment-carousel.announcing .carousel-item {
  position: relative;
}

/* Overlay text */
.equipment-carousel.announcing .carousel-item::after {
  content: "ANNOUNCING SOON";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--red);
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.9;
  pointer-events: none;
}

/* Subtle red fog overlay */
.equipment-carousel.announcing .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 1;
}

.equipment-carousel.announcing .carousel-item::after {
  z-index: 2;
}






/* Restore readability for menu + buttons + small text */
body,
#menu a,
.btn,
.price-card,
.price-card h3,
.price-card .price,
.membership-buttons a,
.footer,
p,
li {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Orbitron only for branding + section titles */
h1, h2, h3, .logo-text {
    font-family: "Orbitron", sans-serif !important;
    letter-spacing: 1px;
}







/* ===========================
   iPhone & Mobile Fixes
=========================== */

/* GPU acceleration for banner */
.banner-track {
  will-change: transform;
  transform: translateZ(0);
}

/* Mask edges on swipe carousel */
.equipment-carousel {
  mask-image: linear-gradient(to right, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
}

/* Reduce huge spacing on iPhone */
@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
}

/* Better button tap size */
.btn {
  padding: 16px 34px;
}

/* Stop sideways shifting */
html, body {
  overflow-x: hidden;
}

/* Sharper carousel images */
.carousel-item img {
  image-rendering: auto;
}



/* ===========================
   FIX: Correct Equipment Carousel Sizes
   =========================== */

/* Desktop */
@media (min-width: 769px) {
  .carousel-item {
    width: 420px !important;
    height: 520px !important;
  }
}

/* iPhone / Mobile */
@media (max-width: 768px) {
  .carousel-item {
    width: 200px !important;
    height: 260px !important;
  }
}

/* ===========================
   FIX: Ensure carousel clones look normal
   =========================== */
.carousel-item.clone {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ===========================
   FIX: Enable infinite wrap-around
   =========================== */
.equipment-carousel {
  scroll-behavior: auto !important;
  position: relative;
  overflow-x: scroll;
  display: flex;
  -webkit-overflow-scrolling: touch;
}

/* Prevent edge tearing on iPhone */
.equipment-carousel {
  mask-image: linear-gradient(to right, transparent 0, black 40px, black calc(100% - 40px), transparent 100%) !important;
}


/* iPhone fix for announcement overlay */
@media (max-width: 768px) {
  .equipment-carousel.announcing .carousel-item::after {
    font-size: 1.1rem !important;
    letter-spacing: 1px;
    line-height: 1.2;
    width: 90%;
  }
}


/* ===== FIX iPhone Banner Glitch ===== */
.logos img {
  width: auto;
  height: 50px;
  flex-shrink: 0;
}

.logos, .logos.clone {
  display: flex;
  flex-shrink: 0;
  white-space: nowrap;
}

.banner-track {
  display: flex;
  width: 200%; /* ensure full double row */
  animation: scrollLogos 25s linear infinite;
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%); /* move full width */
  }
}

.logos,
.logos.clone {
  width: 100%;
}
.banner-track {
  width: 200%;
}









/* === FIX BANNER ONLY — DO NOT TOUCH ANYTHING ABOVE === */

.brand-banner {
  width: 100%;
  overflow: hidden;
  background: #000;
  padding: 8px 0;
}

.banner-track {
  display: flex;
  flex-wrap: nowrap !important;
  animation: scrollLogos 14s linear infinite;
  will-change: transform;
}

.logos {
  display: flex;
  flex-wrap: nowrap;
  gap: 32px;
  align-items: center;
  padding-right: 32px;
}

.logos img {
  height: 50px;        /* Option B */
  flex-shrink: 0;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.9;
}

/* Move exactly one row width */
@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === Safari GPU Smoothness Fix === */
.banner-track {
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

/* === PWRHOUSE banner override: layout only, no CSS animation === */

.brand-banner {
  width: 100%;
  overflow: hidden;
  background: #000;
  padding: 8px 0;
}

.banner-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  will-change: transform;
  animation: none !important;    /* kill ALL previous CSS animations */
}

.brand-banner .logos {
  display: flex !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  gap: 32px;
  align-items: center;
  padding-right: 32px;
}

.brand-banner .logos img {
  height: 50px;
  flex-shrink: 0;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.9;
}








/* ===== MARQUEE LAYOUT ===== */

.brand-banner {
  width: 100%;
  overflow: hidden;
  background: #000;
  padding: 8px 0;
}

.banner-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  will-change: transform;
}

.logos {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 32px;
  align-items: center;
}

.logos img {
  height: 50px;   /* medium size */
  flex-shrink: 0;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.9;
}


/* === BULLETPROOF SINGLE STRIP MARQUEE === */

.brand-banner {
  width: 100%;
  overflow: hidden;
  background: #000;
  padding: 8px 0;
}

.banner-track {
  white-space: nowrap;
  overflow: hidden;
}

.logos {
  display: inline-flex;
  gap: 32px;
  align-items: center;
  animation: marquee 14s linear infinite;
}

.logos img {
  height: 50px;  /* keep your Option B */
  flex-shrink: 0;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.9;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}






/* === SIMPLE STATIC STRIP MARQUEE === */

.brand-banner {
  width: 100%;
  overflow: hidden;
  background: #000;
  padding: 8px 0;
}

.banner-track {
  width: 100%;
  overflow: hidden;
}

.banner-strip {
  display: inline-flex;
  gap: 32px; /* spacing between logos */
  align-items: center;
  animation: moveStrip 30s linear infinite;
  white-space: nowrap;
}

.banner-strip img {
  height: 50px;
  flex-shrink: 0;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.9;
}

/* move the entire strip leftwards forever */
@keyframes moveStrip {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.banner-strip {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.banner-strip {
  padding-left: 200px;
  padding-right: 200px;
}

.banner-strip {
  position: relative;
}

.banner-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
}

.banner-strip {
  display: inline-flex;
  gap: 32px;
  align-items: center;
  animation: moveStrip 40s linear infinite;
  white-space: nowrap;
}

.brand-banner {
  width: 100%;
  overflow: hidden;
  background: #000;
  padding: 8px 0;
}

.banner-track {
  overflow: hidden;
  width: 100%;
}

.banner-strip {
  height: 50px;
  animation: moveStrip 50s linear infinite; /* adjust speed here */
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

@keyframes moveStrip {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.banner-strip {
  height: 50px; /* displayed small = razor sharp */
  animation: moveStrip 50s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

.banner-strip {
  height: 50px;
  animation: moveStrip 40s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  filter: brightness(0.4) contrast(0.8);
  opacity: 0.55;
}

/* === FINAL PERFECT iPHONE-SAFE BANNER === */

.brand-banner {
  height: 50px;
  width: 100%;
  overflow: hidden;
  background: #000;

  /* Use your new retina banner as repeating background */
  background-image: url("images/logo-banner-RETINA.png");
  background-repeat: repeat-x;
  background-size: auto 50px; /* scale down from 200px → 50px */
  animation: scrollBanner 50s linear infinite;
}

/* Animate background-position instead of moving the image */
@keyframes scrollBanner {
  0%   { background-position: 0 0; }
  100% { background-position: 100% 0; }
}

.brand-banner {
  position: relative;
}
.brand-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62); /* ← this is the sweet spot */
  pointer-events: none;
}
