/* style.css — Static styles for mayhashulawalter.com */

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
  /* Colors */
  --primary: hsl(213, 57%, 26%);
  --primary-fg: hsl(0, 0%, 100%);
  --background: hsl(214, 33%, 97%);
  --foreground: hsl(213, 57%, 26%);
  --card: hsl(0, 0%, 100%);
  --muted: hsl(213, 20%, 50%);
  --border: hsl(214, 25%, 88%);
  --gold: hsl(43, 52%, 54%);
  --gold-light: hsl(43, 52%, 70%);

  /* Spacing */
  --container-max: 1200px;
  --container-pad: 1.5rem;
  --radius: 0.75rem;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Heebo', sans-serif;
  background: var(--background);
  color: var(--foreground);
  direction: rtl;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================
   Container
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ============================================
   Scroll-triggered Animations
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for cards */
.card.fade-up:nth-child(2) { transition-delay: 0.15s; }
.card.fade-up:nth-child(3) { transition-delay: 0.3s; }

.feature.fade-up:nth-child(2) { transition-delay: 0.15s; }
.feature.fade-up:nth-child(3) { transition-delay: 0.3s; }

.testimonial.fade-up:nth-child(2) { transition-delay: 0.15s; }

/* ============================================
   Navigation
   ============================================ */
#navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
  background: rgba(26, 54, 93, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-fg);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--primary-fg) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-fg);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: rgba(26, 54, 93, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-cta {
  display: block !important;
  text-align: center;
  background: var(--gold);
  color: var(--primary-fg) !important;
  margin: 0.5rem 1.5rem 0;
  padding: 0.75rem !important;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background 0.2s;
}

.mobile-cta:hover {
  background: var(--gold-light);
}

/* Desktop nav visible */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .mobile-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ============================================
   Gold Accent Lines
   ============================================ */
.gold-line {
  width: 4rem;
  height: 4px;
  background: var(--gold);
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.gold-line-center {
  width: 3rem;
  height: 4px;
  background: var(--gold);
  border-radius: 4px;
  margin: 0 auto;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 54, 93, 0.6);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 7rem var(--container-pad) 3rem;
}

.hero-grid {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 2.5rem;
}

.hero-photo {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(196, 167, 86, 0.4);
  box-shadow: 0 25px 50px -12px rgba(26, 54, 93, 0.3);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.hero-text {
  text-align: center;
  flex: 1;
}

.hero-text .gold-line {
  margin: 0 auto 2rem;
}

.hero-text h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-fg);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  display: block;
  margin-top: 0.75rem;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold);
}

.hero-role {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.hero-tags {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gold);
  color: var(--primary);
  font-weight: 700;
  border-radius: 0.75rem;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 10px 25px rgba(196, 167, 86, 0.2);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: scale(1.05);
}

.btn-lg {
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

.btn-xl {
  font-size: 1.25rem;
  padding: 1.25rem 2.5rem;
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--card);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.section-description {
  max-width: 48rem;
  margin: 0 auto 3.5rem;
  text-align: center;
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.8;
}

.section-bottom-text {
  text-align: center;
  font-size: 1.125rem;
  color: rgba(26, 54, 93, 0.8);
  max-width: 48rem;
  margin: 3rem auto 0;
  line-height: 1.8;
}

.text-gold {
  color: var(--gold);
}

/* ============================================
   Cards (Pain Points)
   ============================================ */
.cards-grid {
  display: grid;
  gap: 1.5rem;
}

.card {
  background: var(--background);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(196, 167, 86, 0.2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-icon {
  color: var(--gold-light);
  fill: rgba(196, 167, 86, 0.3);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   Features (Kinesiology)
   ============================================ */
.features-grid {
  display: grid;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

.feature {
  text-align: center;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(196, 167, 86, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--gold);
}

.feature h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--muted);
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   About Section
   ============================================ */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  max-width: 64rem;
  margin: 0 auto;
}

.about-image-wrap {
  position: relative;
  order: 2;
}

.about-image-bg {
  position: absolute;
  inset: -1rem;
  background: rgba(196, 167, 86, 0.1);
  border-radius: 1rem;
  transform: rotate(-3deg);
}

.about-image {
  position: relative;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  width: 100%;
  max-width: 24rem;
  margin: 0 auto;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.about-text {
  order: 1;
}

.about-text h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-image-wrap { order: 1; }
  .about-text { order: 2; }
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
  display: grid;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

.testimonial {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
}

.stars {
  display: flex;
  gap: 0.25rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.testimonial blockquote p {
  color: rgba(26, 54, 93, 0.8);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.testimonial cite {
  color: var(--gold);
  font-weight: 600;
  font-style: normal;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background: var(--primary);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-decor-1, .cta-decor-2 {
  position: absolute;
  border-radius: 50%;
  background: rgba(196, 167, 86, 0.05);
}

.cta-decor-1 {
  width: 18rem;
  height: 18rem;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
}

.cta-decor-2 {
  width: 24rem;
  height: 24rem;
  bottom: 0;
  right: 0;
  transform: translate(33%, 33%);
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.cta-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-fg);
  margin-bottom: 1.5rem;
}

.cta-content .gold-line-center {
  margin-bottom: 2rem;
}

.cta-content > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.cta-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.cta-contact a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.cta-contact a:hover {
  color: var(--gold);
}

/* ============================================
   Footer
   ============================================ */
footer {
  background: var(--primary);
  padding: 2rem 0;
}

.footer-content {
  text-align: center;
}

.footer-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-fg);
}

.footer-role {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.25rem;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1.5rem;
}

/* ============================================
   Floating WhatsApp Button
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 50;
  background: #25D366;
  color: white;
  padding: 1rem;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  transition: background 0.2s, transform 0.2s;
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  background: #20BD5A;
  transform: scale(1.1);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================
   Responsive: Mobile First Fixes
   ============================================ */
@media (max-width: 767px) {
  /* Prevent horizontal overflow */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  /* Generous mobile padding */
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Hero breathing room */
  .hero-content {
    padding: 6rem 1.25rem 2.5rem;
  }

  .hero-text h1 {
    font-size: 1.5rem;
    line-height: 1.5;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-role {
    font-size: 1rem;
  }

  .hero-tags {
    font-size: 0.875rem;
    margin-bottom: 2rem;
  }

  .hero-photo {
    width: 10rem;
    height: 10rem;
  }

  /* Section spacing */
  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
    padding: 0 0.5rem;
  }

  .section-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }

  .section-bottom-text {
    font-size: 1rem;
    padding: 0 0.5rem;
    margin-top: 2rem;
  }

  /* Cards - better mobile spacing */
  .card {
    padding: 1.5rem;
  }

  .card h3 {
    font-size: 1.125rem;
  }

  .card p {
    font-size: 0.9375rem;
  }

  /* Features */
  .feature p {
    font-size: 0.9375rem;
  }

  /* About section */
  .about-text h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .about-text .gold-line {
    margin: 0 auto 1.5rem;
  }

  .about-text p {
    font-size: 1rem;
    text-align: center;
  }

  .about-image {
    max-width: 18rem;
  }

  .about-image-bg {
    inset: -0.5rem;
  }

  /* Testimonials */
  .testimonial {
    padding: 1.5rem;
  }

  .testimonial blockquote p {
    font-size: 0.9375rem;
  }

  /* CTA section */
  .cta-section {
    padding: 3.5rem 0;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .cta-content > p {
    font-size: 1rem;
    padding: 0 0.5rem;
  }

  /* CTA button */
  .btn-xl {
    font-size: 1.125rem;
    padding: 1rem 2rem;
  }

  .btn-lg {
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
  }

  /* CTA contact - stack on mobile */
  .cta-contact {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Footer */
  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* WhatsApp float - slightly smaller on mobile */
  .whatsapp-float {
    bottom: 1rem;
    left: 1rem;
    padding: 0.875rem;
  }
}

/* ============================================
   Responsive: Tablets & Up
   ============================================ */
@media (min-width: 768px) {
  .section { padding: 7rem 0; }
  .cta-section { padding: 7rem 0; }

  .section-header h2,
  .about-text h2,
  .cta-content h2 {
    font-size: 2.25rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.875rem;
  }

  .hero-photo {
    width: 16rem;
    height: 16rem;
  }
}

/* ============================================
   Responsive: Desktop
   ============================================ */
@media (min-width: 1024px) {
  .hero-grid {
    flex-direction: row;
    gap: 4rem;
  }

  .hero-text {
    text-align: right;
  }

  .hero-text .gold-line {
    margin: 0 0 2rem;
  }

  .hero-content {
    padding: 0 var(--container-pad);
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 2.25rem;
  }

  .hero-photo {
    width: 18rem;
    height: 18rem;
  }
}
