/* Index Page - Modern Styling
   Matching the personal training page aesthetic */

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

/* Page variables */
.index-page {
  --index-accent: #ff3d3d;
  --index-dark: #0a0a0a;
  --index-darker: #050505;
  --index-gray: #888;
  --index-card-bg: #111;
  --index-border: #222;
  --index-gradient: linear-gradient(135deg, #ff3d3d 0%, #ff6b6b 100%);
}

/* Modern Hero Section */
.index-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--index-darker);
}

.index-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 61, 61, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 61, 61, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.index-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: grayscale(20%);
}

.index-hero-content {
  text-align: center;
  padding: 60px 24px;
  position: relative;
  z-index: 2;
  max-width: 900px;
  animation: fadeInUp 0.8s ease-out;
}

.index-hero-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--index-accent);
  margin-bottom: 20px;
  padding: 8px 20px;
  border: 1px solid var(--index-accent);
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.5);
}

.index-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 0.95;
  letter-spacing: -2px;
  margin: 0 0 24px;
  color: #fff;
  text-shadow: 0 4px 30px rgba(255, 61, 61, 0.3);
}

.index-hero h1 span {
  display: block;
  background: var(--index-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.index-hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  color: #fff;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

/* Modern Service Cards */
.index-services {
  padding: 80px 0;
  background: var(--index-dark);
}

.index-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .index-services-grid { grid-template-columns: 1fr; }
}

.index-service-card {
  background: var(--index-card-bg);
  border: 1px solid var(--index-border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.index-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(255, 61, 61, 0.15);
}

.index-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--index-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.index-service-card:hover::before {
  transform: scaleX(1);
}

.index-service-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.index-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s ease;
  filter: grayscale(20%);
}

.index-service-card:hover .index-service-image img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.index-service-content {
  padding: 32px;
}

.index-service-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: 1px;
}

.index-service-card p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--index-gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

.index-service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border: 2px solid var(--index-accent);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.index-service-cta:hover {
  background: var(--index-accent);
  color: #000;
}

.index-service-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.index-service-cta:hover svg {
  transform: translateX(4px);
}

/* Video Section Styling */
.index-video-section {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 400px;
  max-height: 80vh;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.index-video-section video {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

/* CTA Band Section */
.index-cta-band {
  padding: 80px 0;
  background: var(--index-darker);
}

.index-cta-band .band {
  background: linear-gradient(135deg, #5c0000 0%, #7f0000 100%);
  color: #fff;
  border-radius: 16px;
  padding: 50px 40px;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid rgba(255, 61, 61, 0.2);
}

.index-cta-band .band h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 20px;
  letter-spacing: 1px;
}

.index-cta-band .band .list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.index-cta-band .band .list-check li {
  position: relative;
  padding-left: 28px;
  margin: 12px 0;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: #fff;
}

.index-cta-band .band .list-check li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--index-accent);
  font-weight: bold;
  font-size: 1.2rem;
}

.index-cta-band .band .btn {
  background: #ffd0d0;
  color: #111;
  border-color: #ffd0d0;
  font-weight: 600;
  padding: 14px 32px;
  font-size: 1rem;
}

.index-cta-band .band .btn:hover {
  background: #fff;
  border-color: #fff;
}

@media (max-width: 768px) {
  .index-cta-band .band {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
    gap: 30px;
  }
  
  .index-cta-band .band .btn {
    width: 100%;
  }
}

/* Light mode overrides */
@media (prefers-color-scheme: light) {
  .index-page {
    --index-dark: #f8f8f8;
    --index-darker: #ffffff;
    --index-card-bg: #ffffff;
    --index-border: #e5e5e5;
    --index-gray: #666;
  }
  
  .index-hero {
    background: #f5f5f5;
  }
  
  .index-hero img {
    opacity: 0.3;
  }
  
  .index-hero h1,
  .index-service-card h3 {
    color: #111;
  }
  
  .index-hero-subtitle {
    color: #333;
  }
  
  .index-service-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }
  
  .index-service-card p {
    color: #666;
  }
  
  .index-service-cta {
    color: #111;
    border-color: var(--index-accent);
  }
  
  .index-service-cta:hover {
    background: var(--index-accent);
    color: #000;
  }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .index-hero-content {
    padding: 40px 20px;
  }
  
  .index-services {
    padding: 60px 0;
  }
  
  .index-service-content {
    padding: 24px;
  }
  
  .index-service-image {
    height: 240px;
  }
}

