:root {
  --deep-teal: #0F6D85;
  --ocean-teal: #1D8AA6;
  --midnight-navy: #0B3A4A;
  --soft-sky: #D9EEF3;
  --white: #FFFFFF;
  /* New vibrant colors for personal training site */
  --energy-orange: #FF6B35;
  --vibrant-coral: #FF8E53;
  --power-red: #E63946;
  --success-green: #06A77D;
  --electric-blue: #3D9FE6;
  --bright-yellow: #FFC43D;
}

* { box-sizing: border-box; }
html { 
  margin: 0; 
  padding: 0; 
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(61, 159, 230, 0.1) 0%, rgba(255, 107, 53, 0.08) 30%, rgba(61, 159, 230, 0.06) 60%, rgba(255, 255, 255, 0.95) 100%);
  background-attachment: fixed;
}
body { 
  margin: 0; 
  padding: 0; 
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; 
  color: var(--midnight-navy); 
  min-height: 100vh;
  background: transparent;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1100px, 92vw); margin: 0 auto; }

.site-header {
  background: linear-gradient(135deg, var(--deep-teal) 0%, var(--ocean-teal) 50%, #2AA0C2 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 109, 133, 0.3);
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(61, 159, 230, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.nav {
  display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; position: relative; z-index: 100;
}
.brand { 
  display: flex; 
  align-items: center; 
  gap: .6rem; 
  color: var(--white); 
  text-decoration: none; 
  font-weight: 700; 
  font-size: 1.1rem; 
  position: relative;
}
.brand::before {
  content: '';
  position: absolute;
  left: 0;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--electric-blue) 0%, var(--energy-orange) 100%);
  z-index: 0;
}
.brand img { 
  width: 42px; 
  height: 42px; 
  border-radius: 999px; 
  border: 2px solid rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 1;
  background: transparent;
}
.nav-links { list-style: none; display: flex; gap: 1.2rem; margin: 0; padding: 0; }
.nav-links a { 
  color: var(--white); 
  text-decoration: none; 
  font-weight: 600; 
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s;
  position: relative;
}
.nav-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.nav-toggle { 
  display: none; 
  background: transparent; 
  border: none; 
  color: var(--white); 
  font-size: 1.4rem; 
  cursor: pointer;
  z-index: 101;
  position: relative;
}

.hero { 
  display: grid; 
  grid-template-columns: 1.2fr .8fr; 
  gap: 3rem; 
  padding: 4rem 0 5rem; 
  position: relative; 
  z-index: 1;
}
.hero-text h1 { 
  font-size: clamp(2.2rem, 5vw, 3.5rem); 
  line-height: 1.2; 
  margin: 0 0 1.5rem 0; 
  text-align: center; 
  display: flex; 
  flex-direction: column; 
  gap: 0.8rem;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.hero-text h1 span { 
  display: block;
  background: linear-gradient(135deg, var(--electric-blue) 0%, var(--energy-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-text h1 span:first-child::after {
  content: '';
}
.hero-text p { font-size: 1.1rem; max-width: 55ch; margin-bottom: 1rem; }
.hero-art { 
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
.hero-art::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--electric-blue) 0%, var(--energy-orange) 100%);
  border-radius: 50%;
  z-index: -1;
}
.hero-art img { 
  width: 100%; 
  height: auto;
  background: transparent;
  position: relative;
  z-index: 1;
  display: block;
  transform: translateY(25%);
}

.section { 
  padding: 4rem 0; 
  background: transparent; 
  position: relative;
}
.section h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-top: 0;
  background: linear-gradient(135deg, var(--electric-blue) 0%, var(--energy-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  text-align: center;
}
.section.alt { 
  background: linear-gradient(135deg, rgba(217, 238, 243, 0.6) 0%, rgba(232, 245, 249, 0.4) 50%, rgba(240, 249, 251, 0.3) 100%);
  position: relative;
}
.section.alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--energy-orange) 0%, var(--vibrant-coral) 50%, var(--electric-blue) 100%);
}

.grid.two { display: grid; grid-template-columns: 3.2fr 1.8fr; gap: 2rem; align-items: center; }
.grid.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.section { 
  padding: 4rem 0; 
  background: transparent; 
  position: relative;
}
.section#about {
  overflow: visible;
}
.coach-section-wrapper {
  display: flex;
  align-items: start;
  gap: 4rem;
  position: relative;
  margin-left: -200px;
}
.coach-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(15, 109, 133, 0.2);
  width: 350px;
  max-width: 350px;
  flex-shrink: 0;
}
.coach-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}
.coach-text {
  flex: 1;
}
.coach-text h2 {
  white-space: nowrap;
  margin-bottom: 1.5rem;
}
.coach-text p {
  color: var(--energy-orange);
  margin-bottom: 1rem;
}
.coach-text p:last-of-type {
  margin-bottom: 0;
}
.card { 
  background: var(--white); 
  border-radius: 16px; 
  padding: 2rem; 
  box-shadow: 0 10px 40px rgba(15, 109, 133, 0.15);
  transition: all 0.3s;
  border-top: 4px solid var(--ocean-teal);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--energy-orange), var(--electric-blue));
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(15, 109, 133, 0.25);
}
.card h3 {
  color: var(--deep-teal);
  font-weight: 700;
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 1rem;
}
.card.highlight { 
  border: 3px solid var(--energy-orange);
  background: linear-gradient(135deg, #FFF8F5 0%, #FFFFFF 100%);
  box-shadow: 0 15px 45px rgba(255, 107, 53, 0.2);
  width: 450px;
  min-height: 450px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.card.highlight::before {
  background: linear-gradient(90deg, var(--energy-orange), var(--vibrant-coral));
  height: 4px;
}
.card.highlight h3 {
  color: var(--energy-orange);
}

.checks li { 
  margin: .6rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-green);
  font-weight: 700;
  font-size: 1.2rem;
}
.pull { 
  font-size: 1.15rem; 
  border-left: 5px solid var(--energy-orange); 
  padding: 1.5rem 1.5rem 1.5rem 2rem; 
  background: linear-gradient(135deg, #FFF8F5 0%, #FFFFFF 100%); 
  border-radius: 12px; 
  max-width: 70ch; 
  margin: 1.5rem auto;
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.1);
}

.form label { display: block; font-weight: 600; margin: .8rem 0 .5rem; color: var(--midnight-navy); }
.form input, .form select, .form textarea { 
  width: 100%; 
  padding: 1rem 1.2rem; 
  border: 2px solid var(--soft-sky); 
  border-radius: 12px; 
  outline: none; 
  font: inherit;
  transition: all 0.3s;
}
.form input:focus, .form select:focus, .form textarea:focus { 
  border-color: var(--energy-orange); 
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
  transform: translateY(-2px);
}
.form .chips { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 0.5rem; }
.form .chips > label { 
  display: inline-flex; 
  align-items: center; 
  gap: 0.6rem; 
  font-weight: 500; 
  margin: 0; 
  white-space: nowrap; 
  cursor: pointer; 
  line-height: 1.2; 
  vertical-align: middle;
  padding: 0.6rem 1rem;
  border-radius: 25px;
  border: 2px solid var(--soft-sky);
  transition: all 0.3s;
}
.form .chips > label:hover {
  border-color: var(--ocean-teal);
  background: rgba(29, 138, 166, 0.05);
}
.form .chips input[type="radio"]:checked + span,
.form .chips input[type="radio"]:checked ~ span {
  color: var(--deep-teal);
  font-weight: 600;
}
.form .chips input[type="radio"] { 
  margin: 0; 
  padding: 0; 
  cursor: pointer; 
  width: 20px; 
  height: 20px; 
  flex-shrink: 0; 
  vertical-align: middle; 
  align-self: center;
  accent-color: var(--energy-orange);
}
.form .chips input[type="radio"]:checked {
  accent-color: var(--energy-orange);
}
.form .consent { font-weight: 500; }
.form .actions { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

.btn { 
  display: inline-block; 
  padding: 1rem 2rem; 
  border-radius: 30px; 
  text-decoration: none; 
  border: 2px solid transparent; 
  cursor: pointer; 
  font-weight: 700; 
  font-size: 1rem;
  transition: all 0.3s;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn:hover::before {
  width: 300px;
  height: 300px;
}
.btn.primary { 
  background: linear-gradient(135deg, var(--energy-orange) 0%, var(--vibrant-coral) 100%);
  color: var(--white); 
  border-color: var(--energy-orange);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
  position: relative;
  z-index: 1;
}
.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5);
  filter: brightness(1.1);
}
.btn.ghost { 
  background: rgba(255, 255, 255, 0.15); 
  color: var(--white); 
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}
.btn:active { transform: translateY(0); }

.site-footer { 
  background: linear-gradient(135deg, var(--midnight-navy) 0%, #0D2E3A 100%);
  color: var(--white); 
  padding: 3rem 0;
  box-shadow: 0 -4px 20px rgba(11, 58, 74, 0.3);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--energy-orange), var(--electric-blue), var(--success-green));
}
.footer-grid { display: flex; align-items: center; justify-content: space-between; }
.footer-social { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.social-link { 
  color: var(--white); 
  opacity: .9; 
  transition: all 0.3s; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.social-link:hover { 
  opacity: 1; 
  transform: translateY(-3px) scale(1.1);
  background: var(--energy-orange);
}
.social-link svg { width: 24px; height: 24px; }
.back-to-top { 
  margin-left: 1rem;
  color: var(--white);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}
.back-to-top:hover {
  background: var(--energy-orange);
  transform: translateY(-2px);
}
.small { font-size: .9rem; opacity: .9; }
#schedule {
  padding: 2rem 0;
}
.calendly-container { 
  margin-top: 1rem; 
  border-radius: 16px; 
  overflow: hidden; 
  box-shadow: 0 15px 45px rgba(15, 109, 133, 0.2);
  border: 3px solid var(--ocean-teal);
}
.calendly-inline-widget { width: 100%; max-height: 350px; }

.container.narrow { width: min(800px, 92vw); }

/* Badge/Pill styles for credentials */
.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 60px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.3rem 0.3rem 0.3rem 0;
  background: linear-gradient(135deg, var(--ocean-teal), var(--electric-blue));
  color: var(--white);
  box-shadow: 0 4px 12px rgba(29, 138, 166, 0.3);
}

.card.highlight ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.card.highlight ul li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(148, 95, 76, 0.1);
  position: relative;
  padding-left: 2rem;
}
.card.highlight ul li::before {
  content: '';
  position: absolute;
  left: 0;
}

/* Modal Styles */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000; overflow-y: auto; }
.modal.active { display: flex; align-items: center; justify-content: center; }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(11, 58, 74, 0.9); backdrop-filter: blur(4px); }
.modal-content { 
  position: relative; 
  background: var(--white); 
  border-radius: 20px; 
  padding: 2.5rem; 
  max-width: 500px; 
  width: 90%; 
  margin: 2rem auto; 
  box-shadow: 0 25px 70px rgba(0,0,0,.4);
  animation: modalSlideIn 0.3s ease-out;
  border-top: 5px solid var(--energy-orange);
}
.modal-close { 
  position: absolute; 
  top: 1rem; 
  right: 1rem; 
  background: var(--soft-sky); 
  border: none; 
  font-size: 1.8rem; 
  color: var(--midnight-navy); 
  cursor: pointer; 
  width: 40px; 
  height: 40px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  border-radius: 50%; 
  transition: all 0.3s; 
  line-height: 1; 
  padding: 0;
  font-weight: 700;
}
.modal-close:hover { 
  background: var(--energy-orange); 
  color: var(--white);
  transform: rotate(90deg) scale(1.1);
}
.modal-header { 
  text-align: center; 
  margin-bottom: 1.5rem; 
  position: relative;
}
.modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--electric-blue) 0%, var(--energy-orange) 100%);
  z-index: 0;
  margin-top: 0;
}
.modal-logo { 
  width: 70px; 
  height: 70px; 
  margin: 0 auto 1rem; 
  border-radius: 50%; 
  border: 4px solid transparent;
  padding: 0;
  box-shadow: 0 4px 15px rgba(61, 159, 230, 0.3);
  display: block;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  background: transparent;
}
.modal-header h2 { 
  margin: 0.5rem 0; 
  color: var(--deep-teal); 
  font-size: 1.8rem;
  font-weight: 800;
}
.modal-header p { color: var(--midnight-navy); opacity: 0.8; margin: 0; }
.modal-form { display: flex; flex-direction: column; gap: 1.2rem; }
.modal-form label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--midnight-navy); }
.modal-form input, .modal-form select { 
  width: 100%; 
  padding: 1rem 1.2rem; 
  border: 2px solid var(--soft-sky); 
  border-radius: 12px; 
  outline: none; 
  font: inherit; 
  transition: all 0.3s;
}
.modal-form input:focus, .modal-form select:focus { 
  border-color: var(--energy-orange); 
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}
.modal-actions { display: flex; gap: 1rem; margin-top: 0.5rem; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; min-width: 140px; text-align: center; text-decoration: none; }
.btn-secondary { 
  background: linear-gradient(135deg, var(--ocean-teal), var(--electric-blue)); 
  color: var(--white); 
  border: 2px solid transparent;
  box-shadow: 0 8px 25px rgba(29, 138, 166, 0.4);
}
.btn-secondary:hover { 
  background: linear-gradient(135deg, var(--electric-blue), var(--ocean-teal));
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(29, 138, 166, 0.5);
}
.calendly-link { display: inline-flex; align-items: center; justify-content: center; }
.modal-footer-text { text-align: center; font-size: 0.9rem; color: var(--midnight-navy); opacity: 0.7; margin-top: 1rem; }
.link-text { color: var(--energy-orange); text-decoration: underline; cursor: pointer; font-weight: 600; }
.link-text:hover { color: var(--vibrant-coral); }
.contact-info { text-align: center; margin: 1rem 0; }
.contact-link { color: var(--deep-teal); text-decoration: none; font-weight: 600; font-size: 1.1rem; display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.2s; }
.contact-link:hover { color: var(--energy-orange); text-decoration: underline; }
@keyframes modalSlideIn { 
  from { opacity: 0; transform: translateY(-30px) scale(0.95); } 
  to { opacity: 1; transform: translateY(0) scale(1); } 
}

@media (max-width: 600px) {
  .modal-content { padding: 1.5rem; margin: 1rem auto; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; }
  .modal-header h2 { font-size: 1.5rem; }
  .btn { padding: 0.9rem 1.5rem; font-size: 0.95rem; }
}

@media (max-width: 900px) {
  .grid.two { grid-template-columns: 1fr; }
  .grid.three { grid-template-columns: 1fr; }
  .coach-section-wrapper { 
    flex-direction: column; 
    margin-left: 0; 
    gap: 2rem; 
  }
  .coach-image { width: 100%; max-width: 300px; height: auto; margin: 0 auto; }
  .coach-image img { height: auto; }
  .coach-text h2 { white-space: normal; }
  .card.highlight { width: 100%; max-width: 450px; min-height: auto; margin: 0 auto; }
  .hero { grid-template-columns: 1fr; text-align: center; padding: 3rem 0 4rem; }
  .nav-links { 
    display: none; 
    flex-direction: column; 
    gap: .8rem; 
    background: rgba(255,255,255,.15); 
    padding: 1rem; 
    border-radius: 10px; 
    position: fixed; 
    right: 1rem; 
    top: 70px; 
    min-width: 200px; 
    backdrop-filter: blur(10px); 
    z-index: 10000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
  }
  .nav-links.active { 
    display: flex; 
  }
  .nav-links li {
    list-style: none;
    margin: 0;
    padding: 0;
    pointer-events: auto;
  }
  .nav-links a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.875rem 1rem;
    pointer-events: auto;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.2s;
    cursor: pointer;
  }
  .nav-links a:hover,
  .nav-links a:active {
    background: rgba(255, 255, 255, 0.25);
    transform: none;
  }
  .nav-toggle { display: inline-block; }
  .footer-grid { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-social { justify-content: center; }
  .back-to-top { margin-left: 0; margin-top: .5rem; }
  .calendly-container { margin-top: 1.5rem; }
  .form .chips { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
  .form .chips label { width: 100%; }
  .section { padding: 3rem 0; }
}
