/* ============================================
   DAMIAN HORN – Personal Trainer Landing Page
   style.css
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent:        #b9f700;
  --accent-light:  #d6ff3d;
  --accent-glow:   rgba(244, 255, 204, 1);

  --bg:            #0a0a0a;
  --bg-2:          #111111;
  --bg-3:          #181818;
  --bg-card:       #141414;

  --border:        rgba(255, 255, 255, 0.07);
  --border-accent: rgba(244, 255, 204, 0.7);

  --text:          #f0f0f0;
  --text-muted:    #888888;
  --text-faint:    #555555;

  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     32px;

  --shadow-card:   0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow:   0 0 40px rgba(244, 255, 204, 0.5);

  --nav-height:    72px;
  --font:          'Inter', system-ui, sans-serif;
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---------- UTILITY ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent {
  color: var(--accent);
}

.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-top: 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-desc {
  margin: 16px auto 0;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(214, 255, 61, 0.5);
}

.btn--primary:hover {
  background: var(--accent-light);
  box-shadow: 0 6px 28px rgba(214, 255, 61, 1);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--nav {
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  font-size: 0.875rem;
  box-shadow: 0 2px 12px rgba(214, 255, 61, 0.5);
}

.btn--nav:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1rem;
}

.btn--insta {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  box-shadow: 0 4px 20px rgba(214, 255, 61, 0.5);
}

.btn--insta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(214, 255, 61, 1);
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--right {
  transform: translateX(60px);
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--left {
  transform: translateX(-60px);
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible,
.reveal--right.visible,
.reveal--left.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---------- PLACEHOLDER BOXES ---------- */
.placeholder-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  background: var(--bg-3);
  border: 1.5px dashed var(--border-accent);
  border-radius: var(--radius-md);
  color: var(--text-faint);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 24px;
}

.placeholder-icon {
  width: 64px;
  height: 64px;
  opacity: 0.5;
}

.placeholder-box--image {
  border-radius: 0;
  min-height: 100%;
}

.placeholder-img-icon {
  width: 40px;
  height: 40px;
  opacity: 0.3;
}

/* ============================================
   NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

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

.nav__logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  transition: color var(--transition);
}

.nav__logo:hover {
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--text);
}

/* Hamburger toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

/* Subtle grid background texture */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,107,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 14px;
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  background: rgba(255, 107, 0, 0.06);
  width: fit-content;
}

.hero__headline {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Hero image */
.hero__image {
  display: flex;
  justify-content: center;
}

.hero__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero__image-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.hero__image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.hero__image-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  border-radius: var(--radius-xl);
  z-index: 0;
  filter: blur(20px);
}

/* Scroll indicator */
.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.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* ============================================
   STATS
   ============================================ */
.stats {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}

.stats__container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  position: relative;
  transition: var(--transition);
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.stat-card:hover {
  background: rgba(255, 107, 0, 0.03);
}

.stat-card__number {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

.stat-card__unit {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--text-muted);
}

.stat-card__label {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--bg);
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__image-wrapper {
  position: relative;
}

.about__image-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.about__image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.about__accent-border {
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: -12px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-xl);
  z-index: 0;
  opacity: 0.4;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about__text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.about__text strong {
  color: var(--text);
  font-weight: 700;
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   OFFER
   ============================================ */
.offer {
  background: var(--bg-2);
}

.offer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.offer-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.offer-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.offer-card--featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, #181818 0%, #1a1208 100%);
  box-shadow: var(--shadow-card), 0 0 0 1px var(--accent);
  transform: scale(1.02);
}

.offer-card--featured:hover {
  transform: scale(1.02) translateY(-6px);
}

.offer-card__badge {
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
}

.offer-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 107, 0, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.offer-card__icon svg {
  width: 24px;
  height: 24px;
}

.offer-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.offer-card__desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.offer-card__details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.offer-card__details li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.offer-card__details li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 1px;
}

.offer-card__price {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-top: auto;
}

.offer-card__price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.offer-card__cta {
  width: 100%;
  justify-content: center;
}

/* ============================================
   TRANSFORMATIONS / GALLERY
   ============================================ */
.transformations {
  background: var(--bg);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-3);
  cursor: pointer;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item__img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

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

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(8px);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-item__caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item__caption strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.gallery-item__caption span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
}

/* ============================================
   FINAL CTA
   ============================================ */
.cta-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255, 107, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-2);
  z-index: -1;
}

.cta-section__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-section__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.cta-section__text {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 440px;
}

.cta-section__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer__container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 64px 24px 48px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__brand p {
  font-weight: 700;
  font-size: 1rem;
  margin-top: 8px;
}

.footer__role {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400 !important;
}

.footer__location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-faint);
  font-weight: 400 !important;
  margin-top: 4px;
}

.footer__links h4,
.footer__social h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.social-links {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer__contact {
  font-size: 0.85rem;
  color: var(--text-faint);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-faint);
  text-align: center;
}

/* ============================================
   RESPONSIVE – TABLET
   ============================================ */
@media (max-width: 960px) {

  .hero__container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero__content {
    align-items: center;
  }

  .hero__sub {
    text-align: center;
  }

  .hero__image {
    order: -1;
  }

  .hero__image-wrapper {
    max-width: 320px;
  }

  .about__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__image-wrapper {
    max-width: 360px;
    margin: 0 auto;
  }

  .offer__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .offer-card--featured {
    transform: none;
  }

  .offer-card--featured:hover {
    transform: translateY(-6px);
  }

  .stats__container {
    grid-template-columns: 1fr;
  }

  .stat-card:not(:last-child)::after {
    top: auto;
    bottom: 0;
    right: 10%;
    left: 10%;
    width: auto;
    height: 1px;
    background: var(--border);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* ============================================
   RESPONSIVE – MOBILE
   ============================================ */
@media (max-width: 640px) {

  .section {
    padding: 72px 0;
  }

  /* Mobile nav */
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75vw;
    max-width: 300px;
    height: 100svh;
    background: rgba(14, 14, 14, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-height) + 24px) 28px 48px;
    gap: 4px;
    border-left: 1px solid var(--border);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav__links.open {
    right: 0;
  }

  .nav__link {
    padding: 12px 0;
    font-size: 1.05rem;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .btn--nav {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
  }

  .hero__headline {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery-item--tall {
    grid-row: span 1;
  }

  .gallery-item__caption {
    opacity: 1;
    transform: translateY(0);
  }

  .cta-section__actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-section__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer__container {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 24px 32px;
  }
}
