* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

::selection {
  background: #d6a84f;
  color: #000;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.barber-card {
  cursor: pointer;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.barber-card:hover {
  transform: translateY(-12px) scale(1.01);
  border-color: rgba(214, 168, 79, 0.85);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 26px 80px rgba(214, 168, 79, 0.16);
}

.image-wrap {
  height: 360px;
  overflow: hidden;
}

.image-wrap img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
}

.barber-card:hover .image-wrap img {
  transform: scale(1.08);
  filter: saturate(1.18) contrast(1.05);
}

.gallery-img {
  height: 100%;
  width: 100%;
  border-radius: 1.5rem;
  object-fit: cover;
  filter: grayscale(0.15);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-img:hover {
  transform: scale(1.025);
  filter: grayscale(0) saturate(1.2);
}

.form-field {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.42);
  padding: 0.9rem 1rem;
  color: white;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field:focus {
  border-color: #d6a84f;
  box-shadow: 0 0 0 4px rgba(214, 168, 79, 0.12);
}

.form-field::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.modal-panel {
  animation: modalIn 0.32s ease both;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-work-img {
  height: 120px;
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.modal-work-img:hover {
  transform: scale(1.05);
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .image-wrap {
    height: 300px;
  }
}
