/* Trainer Mike - Healthguard Solutions */
/* Brand Color: #FF6F61 (coral) */

:root {
  --primary: #FF6F61;
  --primary-dark: #e55a4d;
  --dark: #2c3e50;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray: #6c757d;
  --gray-light: #e9ecef;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.nav {
  background: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}

.nav-logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--dark);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text .lead {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Placeholder for hero image */
.image-placeholder {
  background: var(--gray-light);
  height: 400px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-style: italic;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 111, 97, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Feature Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  color: var(--dark);
}

/* Accent line style header */
.section-header-accent h2 {
  margin-bottom: 0.75rem;
}

.section-header-accent h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #D32F2F;
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section-header-accent p {
  color: var(--gray);
  font-size: 1.1rem;
}

/* The Difference (Home Gym Advantage) */
.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.difference-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.difference-card:hover {
  transform: translateY(-5px);
}

.difference-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #D32F2F;
}

.difference-card h3 {
  color: var(--dark);
  margin-bottom: 0.5rem;
}

/* 6 Domains Grid */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.domain-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.domain-number {
  background: #D32F2F;
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.domain-content h4 {
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.domain-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* About Preview */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
}

.about-preview-image {
  text-align: center;
}

.about-preview-image img {
  max-width: 100%;
  border-radius: 15px;
}

/* Contact Section */
.contact {
  background: var(--dark);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}

.contact h2 {
  color: var(--white);
}

.contact p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.contact-email {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.contact-email:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.contact-note {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-top: 1rem;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255,255,255,0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-message {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
}

.form-success {
  background: rgba(40, 167, 69, 0.2);
  border: 2px solid rgba(40, 167, 69, 0.5);
}

.form-success h3 {
  color: #7dcea0;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 0;
}

.form-error {
  background: rgba(220, 53, 69, 0.2);
  border: 2px solid rgba(220, 53, 69, 0.5);
}

.form-error h3 {
  color: #f1948a;
  margin-bottom: 0.5rem;
}

.form-error p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 0;
}

/* Footer */
.footer {
  background: #1a252f;
  color: rgba(255,255,255,0.6);
  padding: 2rem 0;
  text-align: center;
}

.footer p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}

/* Hamburger Menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 200;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--dark);
  margin: 5px 0;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

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

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

  .about-preview {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }

  .section {
    padding: 3rem 0;
  }

  /* Mobile nav */
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 20px 1.5rem;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--gray-light);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .nav {
    position: sticky;
    top: 0;
  }

  .nav .container {
    position: relative;
  }

  /* Hero */
  .hero {
    padding: 3rem 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text .lead {
    font-size: 1.1rem;
  }

  /* Grids to single column */
  .difference-grid {
    grid-template-columns: 1fr;
  }

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

  .about-preview {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Buttons - bigger touch targets */
  .btn {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    min-height: 48px;
  }

  /* Inline style overrides */
  .hero-text img {
    height: 70px !important;
  }

  .about-hero img {
    width: 150px !important;
    height: 150px !important;
  }

  /* About page gym photo grid */
  .gym-photo-grid {
    grid-template-columns: 1fr !important;
  }

  /* Credentials */
  .credentials-list {
    flex-direction: column;
    align-items: center;
  }

  .credential-badge {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  /* Contact section */
  .contact {
    padding: 3rem 0;
  }

  .contact p {
    font-size: 1rem;
  }

  /* Footer */
  .footer {
    padding: 1.5rem 0;
  }

  .footer p {
    font-size: 0.85rem;
  }
}

/* About Page Specific */
.about-hero {
  padding: 4rem 0;
  background: var(--light);
  text-align: center;
}

.about-content {
  padding: 4rem 0;
}

.about-story {
  max-width: 800px;
  margin: 0 auto;
}

.about-story p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.about-story .highlight {
  background: rgba(255, 111, 97, 0.1);
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  margin: 2rem 0;
}

.about-story .highlight p {
  color: var(--dark);
  font-style: italic;
  margin-bottom: 0;
}

/* Credentials */
.credentials {
  background: var(--light);
  padding: 4rem 0;
}

.credentials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.credential-badge {
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* Testimonials placeholder */
.testimonials {
  padding: 5rem 0;
}

.testimonial-placeholder {
  background: var(--gray-light);
  padding: 3rem;
  border-radius: 15px;
  text-align: center;
  color: var(--gray);
  font-style: italic;
}
