/* =========================
   Reset & Base
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Prompt', sans-serif;
  line-height: 1.5;
  font-size: 16px;
}

/* =========================
   Hero Section
========================= */
.hero-image,
.hero-section {
  position: relative;
  width: 100%;
  height: 65vh;
  overflow: hidden;
}

#hero-img,
.hero-bg,
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#hero-img {
  filter: brightness(70%);
}

/* Overlay (Dark / Blur / Fade) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.4),
    rgba(0,0,0,.7)
  );
  z-index: 1;
}

.hero-overlay-blur {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  backdrop-filter: blur(6px);
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.7) 60%,
    #fff 100%
  );
}

/* Wave */
.hero-wave {
  position: absolute;
  bottom: -1px;
  width: 100%;
}
.hero-wave svg {
  width: 100%;
  height: 90px;
  display: block;
}

/* Hero Text */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-text {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 20;
  padding: 20px 30px;
  background: rgba(0,0,0,.4);
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,.6);
  max-width: 90%;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0,0,0,.8);
}

.hero-text h2,
.hero-text h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-shadow: 1px 1px 6px rgba(0,0,0,.8);
}

/* =========================
   Navbar
========================= */
.navbar {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  z-index: 10;
  transition: all .4s ease-in-out;
}

.navbar:not(.navbar-scrolled) {
  transform: translateY(10px);
  opacity: .9;
}

.navbar-scrolled {
  width: 80%;
  margin: auto;
  padding: .75rem 1rem;
  background: rgba(23,23,23,.9);
  border-radius: .5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,.2);
}

.navbar-scrolled .nav-link,
.navbar-scrolled .navbar-brand {
  color: black !important;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  width: 50px;
}

/* =========================
   Forms & Inputs
========================= */
.alert,
.form-label,
.form-control,
.form-select,
.btn,
input,
select {
  font-size: .95rem;
}

.input-group-text {
  cursor: pointer;
  font-size: 1.2rem;
  transition: all .3s ease;
}
.input-group:hover .input-group-text {
  background: #667eea;
  color: #fff;
}
.input-group input {
  cursor: pointer;
}

input[type="radio"] {
  display: none;
}

/* =========================
   Content Card (Floating)
========================= */
.content-card {
  margin-top: -100px;
  z-index: 10;
}

.content-card form {
  background: #fff;
  border-radius: 1.75rem;
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(0,0,0,.12);
  animation: fadeUp .6s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================
   Hairstyle & Product Card
========================= */
.hairstyle-box,
.product-card {
  cursor: pointer;
  transition: all .25s ease;
}

.hairstyle-box:hover,
.product-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 30px rgba(0,0,0,.12);
}

input[type="radio"]:checked + .hairstyle-box {
  outline: 3px solid #0d6efd;
  outline-offset: 3px;
  transform: scale(1.05);
}

label.cursor-pointer {
  display: block;
  text-align: center;
}
label.cursor-pointer strong,
label.cursor-pointer span {
  display: block;
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================
   Barber Card
========================= */
.barber-card {
  cursor: pointer;
  display: block;
}
.barber-card .card {
  border-radius: 16px;
  transition: all .25s ease;
}
.barber-card:hover .card {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,.15);
}
.barber-card input:checked + .card {
  outline: 3px solid #0d6efd;
  box-shadow: 0 0 0 4px rgba(13,110,253,.2);
}
.barber-card.disabled {
  pointer-events: none;
  opacity: .55;
}

.barber-avatar {
  font-size: 3rem;
  color: #6c757d;
}

/* =========================
   Status Badge
========================= */
.status-badge {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
}
.status-badge.available {
  background: #d1e7dd;
  color: #0f5132;
}
.status-badge.busy {
  background: #fff3cd;
  color: #664d03;
}

/* =========================
   Section & CTA
========================= */
.section-title span {
  display: inline-block;
  padding: .5rem 1.25rem;
  background: #f8f9fa;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px #dee2e6;
}

.booking-cta .btn {
  border-radius: 999px;
  transition: all .25s ease;
}
.booking-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(13,110,253,.35);
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
  .hero-text h1 { font-size: 2.2rem; }
  .hero-text h2,
  .hero-text h3 { font-size: 1.1rem; }
}
