/* ============================================================
   موج — Components Stylesheet
   Boats · Booking · Auth · Profile · Hero
   ============================================================ */

/* ===== HERO ===== */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to bottom, rgba(10,22,40,.55) 0%, rgba(10,22,40,.88) 100%),
    url('../assets/img/hero-bg.jpg');
  background-size: cover; background-position: center;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  padding: 110px 40px 70px; width: 100%;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 100px;
  background: rgba(0,196,180,.15); border: 1px solid rgba(0,196,180,.3);
  color: var(--teal); font-size: 13px; font-weight: 700; margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font2); font-size: 66px; line-height: 1.1;
  font-weight: 900; color: #fff; margin-bottom: 20px; max-width: 720px;
}
.hero h1 .hl { color: var(--teal); }
.hero .lead { font-size: 20px; color: rgba(255,255,255,.72); margin-bottom: 42px; max-width: 560px; }
.hero-btns  { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats { display: flex; gap: 52px; flex-wrap: wrap; }
.stat-item  {}
.stat-num   { font-family: var(--font2); font-size: 38px; font-weight: 900; color: var(--teal); }
.stat-lbl   { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 2px; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.4); font-size: 12px; font-weight: 700;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; z-index: 1; animation: bob 2s infinite;
}
@keyframes bob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(7px)} }

/* ===== FEATURES STRIP ===== */
.features-strip { background: #fff; border-bottom: 1px solid var(--gray-100); }
.features-strip-grid {
  max-width: 1280px; margin: 0 auto; padding: 30px 40px;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 28px;
}
.strip-item { display: flex; align-items: center; gap: 14px; }
.strip-icon {
  width: 50px; height: 50px; border-radius: 13px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--ocean), var(--teal));
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.strip-item h4 { font-size: 15px; font-weight: 800; color: var(--navy); }
.strip-item p  { font-size: 13px; color: var(--text-light); margin-top: 2px; }

/* ===== BOAT CARD ===== */
.boat-card { cursor: pointer; }
.boat-card-img { position: relative; height: 224px; overflow: hidden; }
.boat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.boat-card:hover .boat-card-img img { transform: scale(1.06); }
.boat-price-tag {
  position: absolute; top: 14px; right: 14px;
  background: var(--navy); color: #fff;
  padding: 5px 12px; border-radius: 100px;
  font-size: 13px; font-weight: 800;
}
.boat-loc-tag {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(10,22,40,.75); backdrop-filter: blur(4px);
  color: #fff; padding: 5px 10px; border-radius: 100px;
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; gap: 5px;
}
.boat-unavail-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--danger); color: #fff;
  padding: 5px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 800;
}
.boat-card-body    { padding: 18px 20px; }
.boat-card-title   { font-family: var(--font2); font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.boat-card-desc    { font-size: 13px; color: var(--text-light); margin-bottom: 12px; line-height: 1.5; display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.boat-card-meta    { display: flex; gap: 16px; font-size: 13px; color: var(--gray-600); margin-bottom: 10px; }
.boat-card-rating  { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.boat-card-rating .rc { color: var(--gray-400); font-weight: 400; }
.boat-card-tags    { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.boat-card-footer  { border-top: 1px solid var(--gray-100); padding-top: 14px; }

/* ===== BOAT DETAIL ===== */
.detail-hero { position: relative; height: 520px; overflow: hidden; background: var(--navy); }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; opacity: .84; }
.detail-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.92) 0%, rgba(10,22,40,.18) 60%);
}
.detail-hero-inner {
  position: absolute; bottom: 0; inset-inline: 0;
  padding: 40px; max-width: 1280px; margin: 0 auto;
}
.detail-hero-inner h1 { font-family: var(--font2); font-size: 50px; font-weight: 900; color: #fff; margin-bottom: 14px; }
.detail-meta-row { display: flex; flex-wrap: wrap; gap: 22px; }
.detail-meta-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.78); font-size: 15px; font-weight: 600; }
.detail-body {
  max-width: 1280px; margin: 0 auto; padding: 40px;
  display: grid; grid-template-columns: 1fr 390px; gap: 40px; align-items: start;
}
.detail-section-title {
  font-family: var(--font2); font-size: 22px; font-weight: 800; color: var(--navy);
  margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--gray-100);
}
.detail-block { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--card-shadow); margin-bottom: 22px; }
.features-chips { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.feat-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  background: var(--off-white); border: 1px solid var(--gray-100);
  font-size: 13px; font-weight: 600; color: var(--text);
}
.feat-chip-ico { font-size: 17px; }
.info-boxes { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.info-box { text-align: center; padding: 18px; background: var(--off-white); border-radius: var(--radius-sm); }
.info-box .ico { font-size: 28px; margin-bottom: 6px; }
.info-box .val { font-size: 22px; font-weight: 900; color: var(--navy); font-family: var(--font2); }
.info-box .lbl { font-size: 12px; color: var(--text-light); margin-top: 2px; }

/* ===== REVIEW CARD ===== */
.review-item { padding: 18px 0; border-bottom: 1px solid var(--gray-100); }
.review-item:last-child { border-bottom: none; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rev-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: #fff; flex-shrink: 0;
  background: linear-gradient(135deg, var(--ocean), var(--teal));
}
.rev-meta h5 { font-size: 14px; font-weight: 800; color: var(--navy); }
.rev-meta span { font-size: 12px; color: var(--text-light); }
.rev-stars { margin-inline-start: auto; color: var(--gold); font-size: 14px; }
.rev-text { font-size: 14px; color: var(--text-light); line-height: 1.65; }

/* ===== BOOKING SIDEBAR ===== */
.booking-sidebar { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.booking-panel { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--card-hover); overflow: hidden; }
.booking-panel-head {
  background: linear-gradient(135deg, var(--navy), var(--navy-light)); padding: 24px 26px;
}
.booking-panel-head h3 { font-family: var(--font2); font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 6px; }
.price-display { display: flex; align-items: baseline; gap: 6px; }
.price-num  { font-family: var(--font2); font-size: 38px; font-weight: 900; color: var(--teal); }
.price-unit { font-size: 13px; color: rgba(255,255,255,.55); }
.booking-panel-body { padding: 22px 24px; }
.step-dots { display: flex; align-items: center; gap: 6px; margin-bottom: 22px; }
.step-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-200); transition: all .3s; flex-shrink: 0; }
.step-dot.act  { background: var(--ocean); transform: scale(1.25); }
.step-dot.done { background: var(--teal); }
.step-line { flex: 1; height: 2px; background: var(--gray-200); transition: background .3s; }
.step-line.done { background: var(--teal); }
.bstep { display: none; }
.bstep.active { display: block; }
.bstep-title { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }

/* Mini Calendar */
.mini-cal {}
.mini-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mini-cal-head h4 { font-size: 14px; font-weight: 800; color: var(--navy); }
.cal-nav-btn { width: 28px; height: 28px; border-radius: 50%; background: var(--off-white); border: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: center; font-size: 12px; cursor: pointer; }
.mini-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.mcd-name  { text-align: center; font-size: 10px; font-weight: 800; color: var(--gray-400); padding: 3px 0; }
.mcd {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 11px; font-weight: 700; cursor: pointer; transition: all .15s;
}
.mcd:hover:not(.mcd-dis):not(.mcd-other) { background: var(--ocean); color: #fff; }
.mcd.mcd-today   { color: var(--ocean); font-weight: 900; }
.mcd.mcd-sel     { background: var(--ocean); color: #fff; }
.mcd.mcd-dis     { opacity: .3; cursor: not-allowed; }
.mcd.mcd-other   { opacity: .2; }
.mcd.mcd-booked  { background: rgba(224,64,64,.1); color: var(--danger); text-decoration: line-through; cursor: not-allowed; }

/* Time Slots */
.time-slots-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.time-slot {
  padding: 9px 6px; text-align: center; border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200); font-size: 12px; font-weight: 700;
  color: var(--text-light); cursor: pointer; transition: all .2s;
}
.time-slot:hover:not(.ts-busy) { border-color: var(--ocean); color: var(--ocean); }
.time-slot.ts-sel  { background: var(--ocean); color: #fff; border-color: var(--ocean); }
.time-slot.ts-busy { opacity: .38; cursor: not-allowed; }
.hours-counter { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.cnt-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; transition: all .2s;
}
.cnt-btn.minus { border: 2px solid var(--gray-200); color: var(--gray-600); }
.cnt-btn.plus  { border: 2px solid var(--ocean); color: var(--ocean); }
.cnt-val { font-family: var(--font2); font-size: 24px; font-weight: 900; color: var(--navy); min-width: 32px; text-align: center; }
.cnt-lbl { font-size: 13px; color: var(--text-light); }

/* Summary */
.sum-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px solid var(--gray-100); font-size: 14px;
}
.sum-row:last-child { border: none; }
.sum-row .lbl { color: var(--text-light); }
.sum-row .val { font-weight: 800; color: var(--text); }
.sum-total {
  background: linear-gradient(135deg, var(--ocean), var(--teal));
  border-radius: var(--radius-sm); padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between; margin-top: 14px;
}
.sum-total .lbl { color: rgba(255,255,255,.78); font-size: 15px; font-weight: 600; }
.sum-total .val { font-family: var(--font2); font-size: 28px; font-weight: 900; color: #fff; }
.booking-nav { display: flex; gap: 8px; margin-top: 14px; }

/* ===== HOW IT WORKS ===== */
.how-step { text-align: center; padding: 28px 16px; }
.how-step-ico {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; margin: 0 auto 18px;
}
.how-step h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.how-step p  { font-size: 15px; color: var(--text-light); line-height: 1.65; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,196,180,.15), transparent);
  top: -100px; left: -100px; pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; text-align: center; }
.cta-inner h2 { font-family: var(--font2); font-size: 46px; font-weight: 900; color: #fff; margin-bottom: 14px; }
.cta-inner p  { font-size: 18px; color: rgba(255,255,255,.68); margin-bottom: 36px; }
.cta-btns     { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== AUTH ===== */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-light) 50%, var(--navy));
  padding: 40px 20px;
}
.auth-card {
  background: #fff; border-radius: var(--radius-lg); padding: 42px;
  width: 100%; max-width: 460px; box-shadow: 0 30px 80px rgba(0,0,0,.28);
}
.auth-logo { text-align: center; margin-bottom: 30px; }
.auth-logo-name { font-family: var(--font2); font-size: 34px; font-weight: 900; color: var(--navy); }
.auth-logo-name .accent { color: var(--ocean); }
.auth-logo p { font-size: 14px; color: var(--text-light); margin-top: 6px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--gray-400); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.auth-foot { text-align: center; margin-top: 18px; font-size: 14px; color: var(--text-light); }
.auth-foot a { color: var(--ocean); font-weight: 700; cursor: pointer; }
.auth-hint { background: var(--off-white); border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 16px; font-size: 12px; color: var(--text-light); }
.auth-hint strong { color: var(--text); }

/* ===== PROFILE ===== */
.profile-banner { background: linear-gradient(135deg, var(--navy), var(--navy-light)); padding: 56px 0 42px; }
.profile-ava-lg {
  width: 92px; height: 92px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; font-weight: 900; color: #fff;
  border: 4px solid rgba(255,255,255,.2); margin-bottom: 16px;
}
.profile-name { font-family: var(--font2); font-size: 30px; font-weight: 900; color: #fff; }
.profile-role { font-size: 14px; color: rgba(255,255,255,.48); margin-top: 4px; }
.profile-body {
  max-width: 1280px; margin: 0 auto; padding: 32px 40px;
  display: grid; grid-template-columns: 310px 1fr; gap: 28px;
}

/* ===== RESPONSIVE ===== */
@media (max-width:1024px) {
  .detail-body { grid-template-columns: 1fr; }
  .booking-sidebar { position: static; }
  .features-strip-grid { grid-template-columns: repeat(2,1fr); }
  .profile-body { grid-template-columns: 1fr; }
}
@media (max-width:768px) {
  .hero h1 { font-size: 36px; }
  .detail-hero { height: 300px; }
  .detail-hero-inner h1 { font-size: 26px; }
  .features-chips { grid-template-columns: repeat(2,1fr); }
  .info-boxes { grid-template-columns: repeat(3,1fr); }
  .profile-body { padding: 20px; }
}
