/* CSS Reset & Variables */
:root {
  /* Transformative Teal Palette */
  --teal-primary: #008080;
  --teal-light: #4db3b3;
  --teal-dark: #004d4d;
  
  /* Neutral Palette for pure/clean feel */
  --bg-color: #fcfcfc;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Utility */
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.mt-2 {
  margin-top: 2rem;
}

.hidden {
  display: none !important;
}

/* Colors Utilities */
.accent {
  color: var(--teal-primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
  font-family: var(--font-body);
}

.btn-primary {
  background-color: var(--teal-primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 128, 128, 0.4);
}

.btn-primary:hover {
  background-color: var(--teal-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.btn-secondary:hover {
  background-color: var(--text-dark);
  color: var(--white);
}

.w-100 {
  width: 100%;
}
.sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

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

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

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
}

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

.btn-login {
  background-color: var(--gray-100);
  padding: 8px 16px;
  border-radius: var(--radius);
  color: var(--teal-primary) !important;
}
.btn-login:hover {
  background-color: var(--gray-200);
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(252,252,252,1) 0%, rgba(240,249,249,1) 100%);
}

.hero-content {
  max-width: 800px;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Section Title global */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: var(--white);
}

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

.about-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--teal-primary);
  line-height: 1;
}

.stat-item span {
  font-weight: 500;
  color: var(--text-light);
}

/* Services Section - Dark Theme applied for Contrast Premium look */
.services {
  padding: 100px 0;
  background-color: var(--text-dark);
  color: var(--white);
}

.services .section-title {
  color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #111827; /* Very dark gray for card */
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.05);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
  border-color: var(--teal-primary);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--teal-light);
}

.service-card p {
  color: rgba(255, 255, 255, 0.7);
}

/* Client Zone (Auth & Dashboard) */
.client-zone {
  padding: 100px 0;
  background-color: var(--white);
}

.auth-box {
  max-width: 450px;
  margin: 0 auto;
  background: var(--gray-100);
  padding: 3rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.input-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--teal-primary);
  box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

.input-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: white;
  color: var(--text-dark);
}

/* Alerts */
.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  text-align: center;
  font-weight: 500;
  border: 1px solid #10b981;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.dash-card {
  border: 1px solid var(--gray-200);
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
}
.dash-card h3 { margin-bottom: 0.5rem; }
.dash-card p { color: var(--text-light); margin-bottom: 1.5rem; }

/* Tréninková karta klienta */
.workout-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}
.workout-img img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--gray-100);
}
.workout-details { flex: 1; }
.workout-details h4 { color: var(--teal-primary); font-size: 1.5rem; margin-bottom: 0.2rem; }
.workout-details p.target { font-weight: 500; font-size: 0.9rem; color: var(--text-light); margin-bottom: 1rem; }

.workout-table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
}
.workout-table th { text-align: left; padding: 0.5rem 0; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-light); }
.workout-table td { padding: 0.5rem 0; }
.workout-table td input {
  width: 80px;
  padding: 8px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  text-align: center;
}
.workout-table td input[type="text"] {
  width: 100%;
  text-align: left;
}

/* Booking Section */
.booking {
  padding: 100px 0;
  background-color: var(--teal-dark);
  color: var(--white);
}

.booking .section-title {
  color: var(--white);
}

.booking .accent {
  color: var(--teal-light);
}

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

.booking-text p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.booking-form-wrapper {
  background: white;
  padding: 3rem;
  border-radius: var(--radius);
  color: var(--text-dark);
}

footer {
  text-align: center;
  padding: 2rem 0;
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
}

/* Responsiveness */
@media (max-width: 768px) {
  .hero-title { font-size: 3rem; }
  .about-content, .booking-content { grid-template-columns: 1fr; }
  .nav-links { display: none; } /* Simplified for prototype */
}
