/* ============================================
   PERSONAL TRAINER — Bold Energy
   Colors: Black #0A0A0A, Yellow #FFD100, White
   Fonts: Bebas Neue, Inter
   ============================================ */

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

:root {
  --black: #0A0A0A;
  --yellow: #FFD100;
  --white: #FFFFFF;
  --gray: #1A1A1A;
  --text-muted: #999;
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--black); color: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 5%; }

/* ── Navbar ── */
.navbar { position: fixed; top: 0; width: 100%; padding: 20px 0; background: rgba(10,10,10,0.95); z-index: 100; border-bottom: 2px solid var(--yellow); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 2.5rem; letter-spacing: 3px; color: var(--yellow); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--yellow); }
.nav-cta { background: var(--yellow); color: var(--black); padding: 10px 25px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; transition: 0.3s; }
.nav-cta:hover { background: var(--white); }

/* ── Hero ── */
.hero {
  min-height: 100vh; display: flex; align-items: flex-end; position: relative;
  overflow: hidden; padding-bottom: 80px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, var(--yellow) 40%, transparent 40%);
  z-index: 0; clip-path: polygon(0 0, 55% 0, 45% 100%, 0% 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1200&q=80');
  background-size: cover; background-position: center top; z-index: -1;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.55); z-index: 0; }
.hero-content { position: relative; z-index: 1; max-width: 650px; padding-top: 100px; }
.hero-content h1 { font-family: var(--font-heading); font-size: clamp(5rem, 10vw, 9rem); line-height: 0.9; letter-spacing: 3px; margin-bottom: 25px; }
.hero-content h1 span { color: var(--yellow); display: block; }
.hero-content p { font-size: 1.1rem; color: #ddd; max-width: 450px; margin-bottom: 40px; }
.btn-yellow { display: inline-block; background: var(--yellow); color: var(--black); padding: 18px 45px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; transition: 0.3s; clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%); }
.btn-yellow:hover { background: var(--white); }

/* ── Stats Bar ── */
.stats-bar { background: var(--yellow); padding: 30px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat h3 { font-family: var(--font-heading); font-size: 3.5rem; color: var(--black); }
.stat p { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--black); opacity: 0.7; }

/* ── Services ── */
.section { padding: 100px 0; }
.section-title { font-family: var(--font-heading); font-size: 5rem; line-height: 1; letter-spacing: 2px; margin-bottom: 60px; }
.section-title span { color: var(--yellow); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.service { background: var(--gray); padding: 40px; transition: 0.3s; position: relative; overflow: hidden; }
.service::before { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--yellow); transition: 0.4s; }
.service:hover::before { width: 100%; }
.service-number { font-family: var(--font-heading); font-size: 5rem; color: rgba(255,209,0,0.1); position: absolute; top: -10px; right: 20px; }
.service h3 { font-family: var(--font-heading); font-size: 2rem; letter-spacing: 1px; margin-bottom: 15px; color: var(--yellow); }
.service p { color: var(--text-muted); font-size: 0.9rem; }

/* ── Transformation Gallery ── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-item { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.6); display: flex; align-items: flex-end; padding: 20px; opacity: 0; transition: 0.3s; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay p { font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; color: var(--yellow); }

/* ── Contact ── */
.contact-section { background: var(--gray); padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact-text h2 { font-family: var(--font-heading); font-size: 4rem; margin-bottom: 20px; }
.contact-text h2 span { color: var(--yellow); }
input, select, textarea {
  width: 100%; padding: 15px; background: rgba(255,255,255,0.05); border: 1px solid #333; color: var(--white);
  font-family: var(--font-body); margin-bottom: 15px; outline: none; transition: 0.3s;
}
select option {
  background: var(--black);
  color: var(--white);
}
input:focus, textarea:focus { border-color: var(--yellow); }

/* Footer */
footer { background: var(--black); padding: 30px 0; text-align: center; border-top: 2px solid var(--yellow); }
footer p { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }

/* Responsive */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: transparent; border: none; cursor: pointer; z-index: 1000; }
.nav-toggle span { width: 35px; height: 4px; background: var(--yellow); transition: 0.3s; }
.nav-cta-mobile { display: none; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: var(--black); flex-direction: column; justify-content: center; align-items: center;
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    transition: clip-path 0.5s ease; gap: 40px; z-index: 99; display: flex !important;
  }
  .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .nav-links a { font-size: 3rem; font-family: var(--font-heading); letter-spacing: 3px; display: block; }
  .nav-cta-mobile { display: block; margin-top: 20px; background: var(--yellow); color: var(--black); padding: 15px 30px; font-weight: 700; text-transform: uppercase; font-family: var(--font-body); font-size: 1rem; clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%); }
  .nav-cta-mobile:hover { background: var(--white); color: var(--black); }
  
  .nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  .services-grid, .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px 5%; }
  .contact-grid { grid-template-columns: 1fr; }
  #nav-cta-desktop { display: none; }
  .hero::before { display: none; }
}
