/* ============================================
   HOME PAGE — Modern Art Jiu-Jitsu
   ============================================ */

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
  animation: heroZoom 20s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.4) 0%,
      rgba(0,0,0,0.65) 40%,
      rgba(0,0,0,0.9) 100%),
    linear-gradient(90deg,
      rgba(0,0,0,0.6) 0%,
      transparent 50%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  padding-top: var(--nav-height);
  max-width: 900px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
}

.hero__tag-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--green);
}

@media (max-width: 480px) {
  .hero__tag-line { width: 20px; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 8rem);
  line-height: 0.95;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--gray-300);
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

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

.hero__stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--green);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__stat-divider {
  width: 1px;
  height: 32px;
  background: var(--gray-700);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero__scroll span {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--green), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); transform-origin: top; }
}

/* ============================================
   About Preview
   ============================================ */

.about-preview {
  padding: 120px 0;
  position: relative;
}

@media (max-width: 768px) {
  .about-preview { padding: 80px 0; }
}

.about-preview__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .about-preview__layout {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.about-preview__visual {
  position: relative;
}

.about-preview__img-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
}

@media (min-width: 768px) {
  .about-preview__img-wrapper {
    aspect-ratio: auto;
    max-height: 600px;
  }
}

.about-preview__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.about-preview__img-wrapper:hover .about-preview__img {
  transform: scale(1.03);
}

.about-preview__img-accent {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid var(--green);
  border-radius: 18px;
  opacity: 0.15;
  pointer-events: none;
}

.about-preview__content {
  max-width: 520px;
}

.about-preview__text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-300);
  margin-bottom: 20px;
}

.about-preview__text:last-of-type {
  margin-bottom: 32px;
}

/* ============================================
   Programs Strip
   ============================================ */

.programs-strip {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .programs-strip { padding: 80px 0; }
}

.programs-strip__bg {
  position: absolute;
  inset: 0;
  background: var(--gray-950);
}

.programs-strip__noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.programs-strip__header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.programs-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
}

@media (min-width: 768px) {
  .programs-strip__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.program-card {
  position: relative;
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all var(--duration-base) var(--ease-out);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}

.program-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(104, 146, 105, 0.2);
  transform: translateY(-4px);
}

.program-card:hover::before {
  opacity: 1;
}

.program-card--featured {
  border-color: rgba(104, 146, 105, 0.25);
  background: rgba(104, 146, 105, 0.05);
}

.program-card__number {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--gray-600);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.program-card__icon {
  color: var(--green);
  margin-bottom: 20px;
}

.program-card__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.program-card__desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray-400);
  margin-bottom: 20px;
  flex-grow: 1;
}

.program-card__time {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 16px;
}

.program-card__arrow {
  color: var(--gray-600);
  transition: all var(--duration-base) var(--ease-out);
  align-self: flex-end;
}

.program-card:hover .program-card__arrow {
  color: var(--green);
  transform: translate(4px, -4px);
}

.programs-strip__cta {
  text-align: center;
  margin-top: 48px;
  position: relative;
}

/* ============================================
   Image Break
   ============================================ */

.image-break {
  padding: 0 24px;
  margin: 0 auto;
  max-width: calc(var(--container-width) + 48px);
}

@media (min-width: 768px) {
  .image-break { padding: 0 40px; }
}

.image-break__wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 21/9;
}

@media (max-width: 768px) {
  .image-break__wrapper { aspect-ratio: 16/9; }
}

.image-break__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.image-break__wrapper:hover .image-break__img {
  transform: scale(1.02);
}

.image-break__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.image-break__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.image-break__quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: var(--white);
  letter-spacing: 0.05em;
  text-align: center;
}

/* ============================================
   Schedule Preview
   ============================================ */

.schedule-preview {
  padding: 120px 0;
}

@media (max-width: 768px) {
  .schedule-preview { padding: 80px 0; }
}

.schedule-preview__header {
  text-align: center;
  margin-bottom: 56px;
}

.schedule-preview__subtitle {
  font-size: 1.125rem;
  color: var(--gray-400);
  font-weight: 300;
}

.schedule-preview__timeline {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 40px 1fr;
  gap: 0 16px;
  align-items: start;
  padding: 24px 0;
  transition: opacity var(--duration-base) var(--ease-out);
}

@media (max-width: 480px) {
  .timeline-item {
    grid-template-columns: 80px 32px 1fr;
    gap: 0 12px;
  }
}

.timeline-item__time {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--green);
  text-align: right;
  padding-top: 2px;
  letter-spacing: 0.02em;
}

.timeline-item__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  height: 100%;
}

.timeline-item__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--green);
  background: var(--black);
  flex-shrink: 0;
  position: relative;
  margin-top: 6px;
}

.timeline-item:hover .timeline-item__dot {
  background: var(--green);
  box-shadow: 0 0 12px var(--green-glow);
}

.timeline-item__line {
  width: 1px;
  flex-grow: 1;
  min-height: 40px;
  background: linear-gradient(180deg, var(--gray-700), transparent);
}

.timeline-item__content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.timeline-item__content p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.schedule-preview__cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  .cta-section { padding: 100px 0; }
}

.cta-section__bg {
  position: absolute;
  inset: 0;
}

.cta-section__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.7) 50%,
    rgba(0,0,0,0.9) 100%
  );
}

.cta-section__content {
  position: relative;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--white);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.cta-section__text {
  font-size: 1.125rem;
  color: var(--gray-300);
  margin-bottom: 40px;
  font-weight: 300;
}
