/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

/* Variables */
:root {
  --bg-color: #111111;
  --bg-darker: #0c0c0c;
  --bg-card: #161616;
  --bg-lighter: #1e1e1e;
  --accent-red: #d5002b; /* Matching the punchy red from screenshots */
  --accent-red-hover: #ff0033;
  --text-white: #ffffff;
  --text-gray: #a3a3a3;
  --text-dark: #333333;
  --font-heading: 'Bebas Neue', Impact, sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-height: 90px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 400; /* Bebas is already bold, setting weight prevents faux bold */
}

h1 { font-size: 5.5rem; }
h2 { font-size: 3.5rem; }
h3 { font-size: 2.2rem; }

a {
  text-decoration: none;
  color: var(--text-white);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-red);
}

p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  color: var(--text-gray);
  font-weight: 400;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 100px 0;
}

.text-center { text-align: center; }
.text-red { color: var(--accent-red) !important; }
.text-white { color: var(--text-white) !important; }
.relative-container { position: relative; }

/* Labels */
.label {
  color: var(--accent-red);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 2.5px;
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 35px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-weight: 400;
}

/* Primary Button (Top-left & Bottom-right chamfer) */
.btn-primary {
  background-color: var(--accent-red);
  color: var(--text-white);
  clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* Outline Button (Square) */
.btn-outline {
  background-color: transparent;
  color: var(--text-white);
  border: 1px solid var(--text-white);
}

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

/* Nav Button (Top-right & Bottom-left chamfer) */
.btn-nav {
  padding: 12px 25px;
  font-size: 1.2rem;
  background-color: var(--accent-red);
  color: var(--text-white);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn-nav:hover {
  background-color: var(--accent-red-hover);
  color: var(--text-white);
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: #080808;
  border-bottom: 1px solid rgba(213, 0, 43, 0.5); /* subtle red bottom border */
  z-index: 1000;
  display: flex;
  align-items: center;
}

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

.logo {
  width: fit-content;
  max-width: 220px;
  max-height: 50px;
  display: flex;
  align-items: center;
  margin-right: 24px;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  width: fit-content;
}

.header .logo-img {
  max-height: 50px;
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer .logo {
  max-height: 54px;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer .logo-img {
  height: 54px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 35px;
  list-style: none;
}

.nav-links:last-child {
  margin-left: auto;
}

.nav-items {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-items a {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: 1.5px;
  color: var(--text-white);
  text-transform: uppercase;
  position: relative;
  padding: 10px 0;
}

.nav-items a:hover {
  color: var(--accent-red);
}

.nav-items a.active {
  color: var(--accent-red);
}

.nav-items a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-red);
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--nav-height));
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  background-image: url('images/hero-bg-ropes.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Dark overlay over entire hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 60%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1;
}

/* Slanted dark panel on the right side */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 340px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 0, 0, 0.92),
    rgba(30, 0, 0, 0.88)
  );
  clip-path: polygon(12% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 60px;
  max-width: 620px;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  line-height: 0.85;
  margin-bottom: 30px;
}

.hero-subtitle {
  font-size: 1.15rem;
  margin-bottom: 45px;
  font-weight: 400;
  color: #ccc;
  max-width: 460px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Slanted stats panel sits on top of the ::after overlay */
.hero-stats-panel {
  position: relative;
  z-index: 3;
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 40px;
  margin-right: 20px;
}

.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--accent-red);
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-white);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 60px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-gray);
}

.scroll-indicator {
  position: absolute;
  bottom: 50px;
  left: 40px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 15px;
  text-transform: uppercase;
}

.scroll-indicator::before {
  content: '';
  width: 40px;
  height: 1px;
  background-color: var(--text-gray);
}

/* About Preview Home (Philosophy) */
.about-preview {
  background-color: var(--bg-darker);
}

/* Philosophy Section Image text side-by-side */
.philosophy-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background-color: var(--bg-color);
}

.philosophy-text-content {
  padding: 100px 50px 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.philosophy-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 500px;
}

/* In screenshot #3, "EXPLORE PROGRAMS" button is red with top-left bottom-right cut */

/* Review / Results Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.review-card {
  background-color: var(--bg-card);
  padding: 40px;
  border: 1px solid #222;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.review-card:hover {
  border-top-color: var(--accent-red);
  background-color: var(--bg-lighter);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 30px;
  color: rgba(213, 0, 43, 0.4);
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  pointer-events: none;
}

.review-quote {
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 40px;
  margin-top: 10px;
  color: #eeeeee;
  position: relative;
  z-index: 2;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #333;
  padding-top: 20px;
}

.author-initials {
  width: 50px;
  height: 50px;
  background-color: #222;
  border: 1px solid #444;
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.author-info h4 {
  margin-bottom: 2px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-transform: none;
}

.stars {
  color: var(--accent-red);
  font-size: 1rem;
  letter-spacing: 2px;
}

/* CTA Banner */
.cta-banner {
  background-color: var(--bg-card);
  padding: 80px 0;
  text-align: left;
  position: relative;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--accent-red);
}
.cta-banner::before {
  content: '';
  position: absolute;
  left: 0;
  top: -2px;
  width: 100px;
  height: 4px;
  background-color: var(--accent-red);
}

.cta-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-banner h2 {
  font-size: 2.8rem;
  margin: 0;
  max-width: 600px;
  color: var(--text-white);
}

/* Footer */
.footer {
  background-color: var(--bg-darker);
  padding: 80px 0 30px;
  border-top: 1px solid #222;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-branding .logo {
  margin-bottom: 25px;
}

.footer-branding p {
  font-size: 0.95rem;
  color: #888;
}

.footer-heading {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-size: 1.6rem;
  margin-bottom: 25px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #888;
  font-size: 1rem;
  font-weight: 500;
}

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

.footer-contact p {
  font-size: 1rem;
  color: #888;
  margin-bottom: 15px;
}

.footer-contact p strong {
  display: block;
  color: var(--text-white);
  margin-bottom: 5px;
  font-weight: 600;
}

.footer-map iframe {
  width: 100%;
  height: 180px;
  border: 0;
  border-radius: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #222;
  font-size: 0.9rem;
  color: #666;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-nap {
  margin-bottom: 10px;
  color: #777;
}

/* Media Queries */
@media (max-width: 1024px) {
  h1 { font-size: 6rem; }
  h2 { font-size: 3rem; }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 { font-size: 4rem; }
  .hero-title { font-size: 4.5rem; }
  .header .logo { width: fit-content; max-width: 180px; margin-right: 15px; }
  .header .logo-img { height: 30px; object-fit: contain; width: auto; }
  .hero {
    flex-direction: column;
    justify-content: center;
    background-attachment: scroll;
    padding-bottom: 40px;
  }
  .hero::after { display: none; }
  .hero-content {
    padding: 60px 20px 20px;
    max-width: 100%;
  }
  .hero-stats-panel {
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
    padding: 30px 20px;
    margin-right: 0;
    background: rgba(0, 0, 0, 0.7);
    gap: 0;
  }
  .stat-number { font-size: 2.5rem; }
  .nav-items { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .philosophy-split { grid-template-columns: 1fr; }
  .philosophy-text-content { padding: 50px 20px; }
  .cta-banner-content { flex-direction: column; text-align: center; gap: 30px; }
}

/* Hamburger Menu (Mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}
.menu-toggle span {
  width: 30px;
  height: 3px;
  background-color: var(--text-white);
  transition: all 0.3s;
}

/* Services Page Card Styles (Screenshot match) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0; /* from screenshot they look tightly packed or have thin borders */
}

/* Let's make them regular grid with distinct dark outlines */
.service-card {
  background-color: var(--bg-bgcolor);
  border: 1px solid #2a2a2a;
  padding: 50px 40px;
  transition: all 0.3s ease;
  position: relative;
}
.service-card:hover {
  background-color: var(--bg-card);
  border-color: var(--accent-red);
}
.service-number {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: rgba(255,255,255,0.03);
  position: absolute;
  top: 20px;
  left: 40px;
  line-height: 1;
}
.service-icon {
  margin-top: 10px;
}
.service-icon svg, .service-icon img {
  width: 40px;
  height: 40px;
  filter: invert(15%) sepia(85%) saturate(7400%) hue-rotate(345deg) brightness(96%) contrast(106%); /* Make icon red if it's black */
}
.service-card h2 {
  font-size: 2rem;
  margin-top: 30px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.service-card p {
  color: #999;
  font-size: 1rem;
  position: relative;
  z-index: 2;
}

/* Membership Pricing Cards (Screenshot match) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid #222;
  padding: 50px 40px;
  text-align: left;
  position: relative;
}
.pricing-card.popular {
  border: 1px solid var(--accent-red);
  background-color: #140d0d;
}
.pricing-card.popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-red);
}
.pricing-badge {
  background-color: var(--accent-red);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  padding: 8px 15px;
  position: absolute;
  top: 0;
  right: 20px;
  transform: translateY(-50%);
  letter-spacing: 1px;
}
.pricing-title {
  font-size: 1.3rem;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  color: #999;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
}
.pricing-price {
  font-size: 5rem;
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 25px;
  color: var(--text-white);
}
.pricing-price.red {
  color: var(--accent-red);
}
.pricing-price span {
  font-size: 1.2rem;
  font-family: var(--font-body);
  color: #999;
  font-weight: 500;
}
.pricing-desc {
  margin-bottom: 40px;
  font-size: 1rem;
  color: #aaa;
}
.pricing-features {
  list-style: none;
  margin-bottom: 50px;
}
.pricing-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.95rem;
  color: #ccc;
}
.pricing-features li::before {
  content: '';
  width: 12px;
  height: 2px;
  background-color: var(--accent-red);
  display: inline-block;
}

/* Contact Page (Screenshot match) */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info-block {
  margin-bottom: 40px;
}
.contact-info-block h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 8px;
  letter-spacing: 1.5px;
}
.contact-info-block p, 
.contact-info-block a {
  font-size: 1.25rem;
  color: var(--text-white);
  font-weight: 500;
}
.contact-info-block a:hover {
  color: var(--accent-red);
}
.cta-card {
  background-color: var(--bg-card);
  padding: 60px 50px;
  border-top: 3px solid transparent;
  text-align: left;
  position: relative;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-red);
}
.cta-card h2 {
  margin-bottom: 20px;
  font-size: 3rem;
}
.cta-card p {
  margin-bottom: 40px;
  color: #aaa;
  font-size: 1.1rem;
}
.big-phone {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--accent-red);
  display: block;
  margin-bottom: 40px;
  line-height: 1;
}

/* Gallery Hover match */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}
.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(213, 0, 43, 0.4);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}


/* ===================================
   Scroll Fade-In Animation
   =================================== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Staggered delays for child elements */
.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* Contact Page Map */
.contact-map {
  margin-top: 32px;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.contact-map iframe {
  display: block;
  width: 100%;
}

@media (max-width: 768px) {
  .contact-map iframe {
    height: 260px;
  }
}

/* Founder Section Shared Styles */
.founder-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.founder-img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  filter: contrast(1.1) brightness(0.9) grayscale(10%);
}
@media (max-width: 992px) {
  .founder-section {
    grid-template-columns: 1fr;
  }
}
