/* New dark-themed styling for VIP Barber Shop website */
html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  color: #eee;
  background: #121212;
}

/* Hero section with background image and overlay */
.hero {
  position: relative;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('barber-bg.png');
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
  text-align: center;
  color: #f5f5f5;
}

.hero h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
}

.hero .tagline {
  margin: 10px 0 20px;
  font-size: 1.2rem;
  color: #ddd;
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background: #d4af37;
  color: #111;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background: #b88a2f;
}

/* Layout container */
.container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  gap: 20px;
}

.services {
  flex: 2;
}

.sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Service card */
.card {
  background: #1f1f1f;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-info .icon {
  font-size: 2rem;
}

.card-info .details {
  display: flex;
  flex-direction: column;
}

.card-info .details .name {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 1.2rem;
  color: #fff;
}

.card-info .details .meta {
  font-size: 0.9rem;
  color: #aaa;
}

.card button {
  background: #d4af37;
  border: none;
  color: #111;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.card button:hover {
  background: #b88a2f;
}

/* Cards for contact and hours */
.contact-card,
.hours-card {
  background: #1f1f1f;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  padding: 20px;
}

.contact-card h2,
.hours-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.4rem;
  color: #d4af37;
}

.contact-card p {
  margin: 0 0 8px 0;
  color: #ccc;
  font-size: 0.95rem;
}

.contact-card a {
  color: #d4af37;
  text-decoration: none;
}

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

.hours-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-card li {
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #ccc;
}

/* Footer */
.footer {
  background: #1a1a1a;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #777;
  border-top: 1px solid #222;
}

/* Modal styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #1f1f1f;
  border-radius: 8px;
  max-width: 420px;
  width: 90%;
  padding: 20px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #aaa;
}

.modal-close:hover {
  color: #fff;
}

.modal-title {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.4rem;
  font-weight: 600;
  color: #d4af37;
}

.modal-body {
  font-size: 0.95rem;
  color: #ddd;
}

/* Stepper styles in modal */
.step {
  margin-bottom: 16px;
}

.step label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #ccc;
}

.step input[type="text"],
.step input[type="tel"],
.step input[type="date"],
.step input[type="time"],
.step textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #444;
  border-radius: 4px;
  font-size: 0.9rem;
  background: #2a2a2a;
  color: #eee;
  box-sizing: border-box;
}

.time-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.time-options button {
  flex: 1 1 30%;
  padding: 8px;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 0.9rem;
  color: #eee;
}

.time-options button.selected {
  background: #d4af37;
  border-color: #b88a2f;
  color: #111;
}

.time-options button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.actions button {
  padding: 8px 16px;
  margin-left: 8px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

.actions .btn-primary {
  background: #d4af37;
  color: #111;
}

.actions .btn-secondary {
  background: #2a2a2a;
  color: #eee;
  border: 1px solid #444;
}

.actions .btn-primary:hover {
  background: #b88a2f;
}

.actions .btn-secondary:hover {
  background: #3a3a3a;
}