/* ═══════════════════════════════════════════════
   GearLink — Home Page Styles
   ═══════════════════════════════════════════════ */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 5vw 60px;
  gap: 4rem;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(2,177,181,.09) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(12,77,139,.06) 0%, transparent 60%),
    var(--cream);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(2,177,181,.12), transparent 70%);
  pointer-events: none;
}

.hero-text { animation: fadeUp .8s ease both; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--teal-light); color: var(--teal);
  padding: .35rem 1rem; border-radius: var(--radius-pill);
  font-size: .82rem; font-weight: 600; margin-bottom: 1.4rem;
  border: 1px solid rgba(2,177,181,.3);
}
.hero-badge::before {
  content: '●'; font-size: .6rem;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800; line-height: 1.1;
  color: var(--dark); margin-bottom: 1.2rem;
}
.hero h1 span { color: var(--teal); }

.hero-sub {
  font-size: 1.1rem; color: var(--muted);
  line-height: 1.65; margin-bottom: 2rem; max-width: 480px;
}

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

.hero-stats {
  display: flex; gap: 2rem; margin-top: 2.5rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.stat-item { display: flex; flex-direction: column; gap: .2rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800; color: var(--blue);
}
.stat-lbl { font-size: .82rem; color: var(--muted); }

/* ── HERO VISUAL ── */
.hero-visual {
  position: relative;
  animation: fadeUp .8s .2s ease both;
}

.hero-card-stack { display: grid; gap: 1rem; filter: drop-shadow(0 24px 60px rgba(12,77,139,.18)); }

.gear-card {
  background: #fff;
  border: 1px solid var(--border); border-radius: 18px;
  padding: 1.2rem 1.4rem;
  display: flex; align-items: center; gap: 1rem;
  transition: transform .3s, box-shadow .3s; cursor: pointer;
}
.gear-card:hover {
  transform: translateX(-6px);
  box-shadow: 0 8px 32px rgba(2,177,181,.15);
}
.gear-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; flex-shrink: 0;
}
.gear-card-info { flex: 1; }
.gear-card-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: .95rem; color: var(--dark);
}
.gear-card-meta { font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.gear-card-price {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.1rem; color: var(--teal);
}
.gear-card-price span { font-size: .7rem; font-weight: 400; color: var(--muted); }

.floating-badge {
  position: absolute; background: #fff;
  border: 1px solid var(--border); border-radius: 12px;
  padding: .6rem 1rem; font-size: .8rem; font-weight: 600;
  display: flex; align-items: center; gap: .4rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  animation: float 4s ease-in-out infinite;
}
.fb-1 { top: -16px; right: 20px; color: var(--success); }
.fb-2 { bottom: -12px; left: 10px; color: var(--blue); animation-delay: -2s; }

/* ── SEARCH SECTION ── */
.search-section {
  background: var(--blue);
  padding: 3rem 5vw;
}
.search-container { max-width: 900px; margin: 0 auto; text-align: center; }
.search-container h2 { color: #fff; font-size: 1.6rem; margin-bottom: 1.2rem; }

.search-bar {
  display: flex; background: #fff; border-radius: 60px;
  overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.search-bar input {
  flex: 1; padding: 1rem 1.5rem;
  border: none; outline: none; font-size: 1rem;
}
.search-bar select {
  border: none; border-left: 1px solid var(--border);
  padding: 0 1.2rem; font-size: .9rem;
  color: var(--mid); outline: none; background: #fff;
}
.search-bar button {
  background: var(--teal); color: #fff; border: none;
  padding: 1rem 2rem; font-family: var(--font-display);
  font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: background .2s;
  border-radius: 0 60px 60px 0;
}
.search-bar button:hover { background: var(--teal-dark); }

.search-tags {
  margin-top: 1rem; display: flex; gap: .6rem;
  justify-content: center; flex-wrap: wrap;
}
.tag {
  background: rgba(255,255,255,.15); color: #fff;
  padding: .3rem .9rem; border-radius: var(--radius-pill);
  font-size: .8rem; cursor: pointer;
  transition: background .2s;
  border: 1px solid rgba(255,255,255,.25);
}
.tag:hover { background: rgba(255,255,255,.25); }

/* ── CATEGORIES ── */
.categories-section { background: var(--cream); }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem; max-width: 1000px; margin: 0 auto;
}

.cat-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.6rem 1rem;
  text-align: center; cursor: pointer; transition: all .25s;
  display: block;
}
.cat-card:hover {
  border-color: var(--teal); background: var(--teal-light);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(2,177,181,.15);
}
.cat-icon { font-size: 2.2rem; margin-bottom: .7rem; }
.cat-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: .88rem; color: var(--dark);
}
.cat-count { font-size: .75rem; color: var(--muted); margin-top: .2rem; }

/* ── LISTINGS GRID ── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.listing-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  transition: all .3s; cursor: pointer;
}
.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}

.listing-img {
  height: 180px; display: flex; align-items: center;
  justify-content: center; font-size: 3.5rem;
  position: relative; overflow: hidden;
}
.listing-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--blue); color: #fff;
  padding: .25rem .7rem; border-radius: var(--radius-pill);
  font-size: .72rem; font-weight: 700;
}
.listing-fav {
  position: absolute; top: 10px; right: 12px;
  font-size: 1.3rem; cursor: pointer; transition: transform .2s;
}
.listing-fav:hover { transform: scale(1.3); }

.listing-body { padding: 1.2rem; }
.listing-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.02rem; color: var(--dark); margin-bottom: .3rem;
}
.listing-owner {
  font-size: .8rem; color: var(--muted);
  display: flex; align-items: center; gap: .4rem; margin-bottom: .8rem;
}
.listing-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: .8rem; border-top: 1px solid var(--border);
}
.listing-price {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.15rem; color: var(--blue);
}
.listing-price span { font-size: .75rem; font-weight: 400; color: var(--muted); }
.listing-rating { font-size: .82rem; color: var(--muted); }

/* ── HOW IT WORKS ── */
.how-section { background: var(--dark); }
.how-section .section-header h2 { color: #fff; }
.how-section .section-header p  { color: rgba(255,255,255,.55); }

.how-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; max-width: 1000px; margin: 0 auto;
}

.how-step {
  text-align: center; padding: 2rem 1.5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg); transition: background .3s, transform .3s;
}
.how-step:hover {
  background: rgba(2,177,181,.08);
  border-color: rgba(2,177,181,.3);
  transform: translateY(-4px);
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step-icon { font-size: 2rem; margin-bottom: .8rem; }
.how-step h3 { color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: .6rem; }
.how-step p  { color: rgba(255,255,255,.5); font-size: .9rem; line-height: 1.6; }

/* ── TRUST CARDS ── */
.trust-section { background: var(--cream); }

.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.trust-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 18px; padding: 2rem 1.5rem;
  transition: box-shadow .3s, transform .3s;
}
.trust-card:hover {
  box-shadow: 0 12px 40px rgba(2,177,181,.12);
  transform: translateY(-4px);
}
.trust-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1rem;
}
.trust-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1rem; color: var(--dark); margin-bottom: .5rem;
}
.trust-card p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testi-card {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.8rem;
  transition: box-shadow .3s;
}
.testi-card:hover { box-shadow: 0 8px 32px rgba(12,77,139,.08); }
.stars { color: #fbbf24; font-size: 1.1rem; margin-bottom: 1rem; }
.testi-text {
  font-size: .95rem; color: var(--text); line-height: 1.65;
  font-style: italic; margin-bottom: 1.2rem;
}
.testi-author { display: flex; align-items: center; gap: .8rem; }
.testi-info strong { font-family: var(--font-display); font-size: .9rem; color: var(--dark); }
.testi-info span   { font-size: .78rem; color: var(--muted); display: block; }

/* ── LIST YOUR GEAR ── */
.list-section {
  background: linear-gradient(135deg, var(--blue) 0%, #0a3f74 100%);
  position: relative; overflow: hidden;
}
.list-section::before {
  content: ''; position: absolute; top: -200px; right: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  background: rgba(2,177,181,.12); pointer-events: none;
}

.list-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center; max-width: 1100px; margin: 0 auto;
  position: relative;
}
.list-text h2 { color: #fff; font-size: clamp(1.8rem,3vw,2.6rem); margin-bottom: 1rem; }
.list-text p   { color: rgba(255,255,255,.65); line-height: 1.65; margin-bottom: 1.5rem; }

.list-perks { display: flex; flex-direction: column; gap: .8rem; }
.list-perks li {
  color: rgba(255,255,255,.85); font-size: .95rem;
  display: flex; align-items: center; gap: .7rem;
}
.list-perks li::before { content: '✓'; color: var(--teal); font-weight: 800; }

.list-form {
  background: #fff; border-radius: var(--radius-xl); padding: 2.5rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
.list-form h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.3rem; color: var(--dark); margin-bottom: 1.5rem;
}

/* ── BOOKING MODAL EXTRAS ── */
.modal-img {
  height: 200px; background: var(--teal-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; margin-bottom: 1.5rem;
}
.modal-desc { color: var(--muted); line-height: 1.65; margin-bottom: 1.5rem; }
.modal-meta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-bottom: 1.5rem;
}
.meta-item label { font-size: .78rem; color: var(--muted); display: block; margin-bottom: .3rem; }
.meta-item strong { font-family: var(--font-display); font-weight: 700; color: var(--dark); }

.date-row { display: flex; gap: 1rem; margin-bottom: 1rem; }
.date-row input {
  flex: 1; padding: .8rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: .9rem; outline: none; transition: border-color .2s;
}
.date-row input:focus { border-color: var(--teal); }

.price-summary {
  background: var(--cream); border-radius: 14px;
  padding: 1.2rem; margin-bottom: 1.2rem;
}
.price-row {
  display: flex; justify-content: space-between;
  font-size: .9rem; color: var(--muted); padding: .3rem 0;
}
.price-row.total {
  border-top: 1px solid var(--border); margin-top: .4rem;
  padding-top: .7rem; color: var(--dark);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 100px 5vw 4rem; }
  .hero-visual { display: none; }
  .list-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .search-bar { flex-wrap: wrap; border-radius: 18px; }
  .search-bar button { border-radius: 0 0 18px 18px; width: 100%; }
  .search-bar select { border-left: none; border-top: 1px solid var(--border); width: 100%; padding: .7rem 1rem; }
}
