/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: white;
  background-color: #C45C1A;
}

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

/* Header */
.header {
  background-color: #C45C1A;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
}

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

.grid {
  display: grid;
  gap: 1.5rem;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: #ffebcd;
}

.header-actions {
  display: flex;
  gap: 1rem;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.button-primary {
  background-color: #C45C1A;
  color: white;
}

.button-primary:hover {
  background-color: #A34A15;
}

.button-secondary {
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.button-secondary:hover {
  background-color: #e5e7eb;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
}

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

.hero-copy .eyebrow {
  background-color: rgba(255,255,255,0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.hero-copy h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-copy p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

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

.hero-highlights span {
  background-color: rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Hero Card */
.hero-card {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  color: #333;
}

.hero-card-inner .card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #C45C1A;
}

.hero-card-inner .card-copy {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-card ul {
  list-style: none;
  margin-bottom: 2rem;
}

.hero-card li {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-link {
  color: #C45C1A;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-link:hover {
  text-decoration: underline;
}

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

.section-alt {
  background-color: #f9fafb;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  background-color: #dbeafe;
  color: #C45C1A;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.section-header p {
  font-size: 1.125rem;
  color: white;
  max-width: 600px;
  margin: 0 auto;
}

.agenda-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.agenda-week-label {
  font-weight: 700;
  color: white;
  flex: 1;
  min-width: 220px;
}

.agenda-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 0.95rem;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.legend-free { background-color: #34d399; }
.legend-selected { background-color: #60a5fa; }
.legend-booked { background-color: #9ca3af; }

.agenda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.agenda-card {
  background-color: white;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  color: #111827;
}

.agenda-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.agenda-card p {
  margin-bottom: 1rem;
  color: #6b7280;
}

.slot-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.closed-day {
  grid-column: span 2;
  padding: 1rem 0.75rem;
  border-radius: 0.75rem;
  background-color: #fee2e2;
  color: #b91c1c;
  font-weight: 700;
  text-align: center;
}

.slot-button {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  background-color: #f9fafb;
  color: #111827;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s, border-color 0.2s;
}

.slot-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: #C45C1A;
  background-color: #fff7ed;
}

.slot-button.selected {
  border-color: #60a5fa;
  background-color: #eff6ff;
}

.slot-button.booked {
  background-color: #f3f4f6;
  color: #6b7280;
  border-color: #d1d5db;
  cursor: not-allowed;
}

.booking-panel {
  margin-top: 2rem;
  padding: 2rem;
  background-color: rgba(255,255,255,0.08);
  border-radius: 1rem;
}

.booking-copy h3,
.booking-copy p {
  color: white;
}

.booking-form {
  margin-top: 1.5rem;
}

.booking-selected {
  background-color: rgba(255,255,255,0.08);
  border-radius: 0.75rem;
  padding: 1rem;
}

.booking-message {
  margin-top: 1rem;
  color: #fee2e2;
  font-weight: 600;
}

.booking-success.active {
  display: block;
}

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

.card {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111827;
}

.card p {
  color: #6b7280;
  line-height: 1.6;
}

/* Offer Grid */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.offer-card {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.offer-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111827;
}

.offer-card p {
  color: #6b7280;
}

/* Why Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.why-card {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.why-number {
  font-size: 3rem;
  font-weight: 800;
  color: #C45C1A;
  margin-bottom: 1rem;
  display: block;
}

.why-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111827;
}

.why-card p {
  color: #6b7280;
}

/* Contact */
.section-contact {
  background-color: #111827;
  color: white;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 1rem;
}

.contact-info a {
  color: #60a5fa;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Form */
.contact-form {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

.form-row {
  display: flex;
  gap: 1rem;
}

.col {
  flex: 1;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: #C45C1A;
  box-shadow: 0 0 0 3px rgba(196, 92, 26, 0.1);
}

.btn {
  background-color: #C45C1A;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
}

.btn:hover {
  background-color: #A34A15;
}

.form-success {
  display: none;
  background-color: #d1fae5;
  color: #065f46;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background-color: #111827;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: left;
}

.footer-grid div p:first-child {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-grid a {
  color: #60a5fa;
  text-decoration: none;
}

.footer-grid a:hover {
  text-decoration: underline;
}

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.legal-content h3 {
  margin-top: 2rem;
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
}

.legal-content p, .legal-content ul {
  margin-bottom: 1rem;
  color: #d1d5db;
}

.legal-content ul {
  padding-left: 1.5rem;
}

.agenda-page .hero-copy h1 {
  font-size: 2.5rem;
}

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

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

  .nav {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .nav a {
    flex: 1 1 120px;
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: rgba(255,255,255,0.08);
    border-radius: 0.75rem;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
  }

  .header-actions .button {
    flex: 1 1 calc(50% - 0.5rem);
    max-width: 240px;
  }

  .agenda-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .agenda-week-label {
    min-width: auto;
    text-align: center;
  }

  .slot-list {
    grid-template-columns: 1fr;
  }

  .booking-panel {
    padding: 1.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    flex-direction: column;
  }
}