/* ============================================
   GEAR ON JAIPUR — City Landing Page Styles
   Layered on top of ../styles.css
   ============================================ */

/* ── Decorative Font for "Jaipur" ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,800;1,400;1,700&display=swap');

/* ── Jaipur Accent Colors ── */
:root {
  --jaipur-pink: #C7556E;
  --jaipur-pink-dark: #A8415A;
  --jaipur-pink-light: #FDF0F3;
  --jaipur-sandstone: #D4A76A;
  --jaipur-sandstone-light: #FDF5EB;
  --jaipur-amber: #E8A833;
  --jaipur-gold: #C9952B;
  --jaipur-gold-light: #FFF8E7;
}

/* ── Decorative Jaipur Font Class ── */
.jaipur-script {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  color: var(--jaipur-pink);
}

/* ============================================
   JP NAVBAR OVERRIDE
   ============================================ */
/* Ensure the navbar is always visible over the dark hero background */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

/* ============================================
   JP HERO SECTION
   ============================================ */
.jp-hero {
  position: relative;
  min-height: clamp(520px, 100svh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(100px, 16vw, 140px) 0 clamp(48px, 8vw, 100px);
}

.jp-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.jp-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.jp-hero .container {
  position: relative;
  z-index: 2;
}

.jp-hero-content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  color: #FFFFFF;
}

.jp-hero-content h1 {
  font-size: clamp(1.65rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 2px 12px rgba(0, 0, 0, 0.75);
}

.jp-hero-content h1 .jaipur-script {
  color: var(--jaipur-sandstone);
  font-size: 1.15em;
}

.jp-hero-content > p {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: clamp(28px, 4vw, 36px);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 1px 8px rgba(0, 0, 0, 0.7);
}

.jp-hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
}

.jp-hero-buttons .btn {
  width: min(100%, 280px);
  justify-content: center;
}

.jp-hero-buttons .btn-primary {
  background: var(--primary);
  box-shadow: 0 4px 20px rgba(27, 94, 32, 0.5);
}

.jp-hero-buttons .btn-outline {
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.jp-hero-buttons .btn-outline:hover {
  background: #FFFFFF;
  color: var(--secondary);
  border-color: #FFFFFF;
}

/* Floating Heritage Arches */
.jp-hero-decor {
  position: absolute;
  z-index: 1;
  opacity: 0.07;
  pointer-events: none;
  display: none;
}

.jp-hero-decor--arch {
  width: 300px;
  height: 300px;
  border: 3px solid #FFFFFF;
  border-radius: 50% 50% 0 0;
  top: 8%;
  right: 5%;
}

.jp-hero-decor--arch2 {
  width: 200px;
  height: 200px;
  border: 2px solid var(--jaipur-sandstone);
  border-radius: 50% 50% 0 0;
  bottom: 12%;
  left: 3%;
}

.jp-hero-decor--dot {
  width: 120px;
  height: 120px;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  top: 50%;
  left: 8%;
}

@media (min-width: 769px) {
  .jp-hero-buttons {
    flex-direction: row;
  }

  .jp-hero-buttons .btn {
    width: auto;
    max-width: none;
  }

  .jp-hero-decor {
    display: block;
  }
}

/* ============================================
   JP PRICING BANNER
   ============================================ */
.jp-pricing-banner {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.jp-price-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--jaipur-gold-light) 0%, #FFFFFF 100%);
  border: 1px solid rgba(201, 149, 43, 0.25);
  border-radius: var(--radius-btn);
  padding: 10px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--secondary);
  transition: var(--transition);
}

.jp-price-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.jp-price-chip .price-amount {
  color: var(--accent-orange);
  font-weight: 800;
  font-size: 1.1rem;
}

/* ============================================
   JP PLACES TO VISIT
   ============================================ */
.jp-places {
  background: var(--surface);
}

.jp-places-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.jp-place-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.jp-place-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.jp-place-card .place-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.jp-place-card .place-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.jp-place-card:hover .place-image img {
  transform: scale(1.08);
}

.jp-place-card .place-image .place-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(27, 42, 74, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 4px 14px;
  border-radius: var(--radius-btn);
  font-size: 0.78rem;
  font-weight: 600;
}

.jp-place-card .place-body {
  padding: 20px;
}

.jp-place-card .place-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.jp-place-card .place-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.jp-place-card .place-body .place-tip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
}

.jp-place-card .place-body .place-tip svg {
  flex-shrink: 0;
}

/* ============================================
   JP WHY RENT SECTION
   ============================================ */
.jp-why-rent {
  background: #FFFFFF;
}

.jp-why-rent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.jp-rent-card {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.jp-rent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--jaipur-pink), var(--jaipur-sandstone));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.jp-rent-card:hover::before {
  transform: scaleX(1);
}

.jp-rent-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(199, 85, 110, 0.2);
  transform: translateY(-4px);
}

.jp-rent-card .rent-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
  background: var(--jaipur-pink-light);
}

.jp-rent-card:nth-child(even) .rent-icon {
  background: var(--jaipur-sandstone-light);
}

.jp-rent-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.jp-rent-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   JP FINAL CTA
   ============================================ */
.jp-final-cta {
  background: linear-gradient(135deg, var(--secondary) 0%, #2D4470 50%, var(--jaipur-pink-dark) 100%);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.jp-final-cta::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(199, 85, 110, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.jp-final-cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
  position: relative;
}

.jp-final-cta h2 .jaipur-script {
  color: var(--jaipur-sandstone);
}

.jp-final-cta p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.jp-final-cta .btn-primary {
  background: var(--primary);
  box-shadow: 0 4px 20px rgba(27, 94, 32, 0.5);
  position: relative;
}

.jp-final-cta .store-buttons {
  justify-content: center;
  position: relative;
}

/* ── City card link wrapper ── */
.jp-city-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

/* ── Section accent for Jaipur highlight ── */
.jp-highlight {
  color: var(--jaipur-pink);
  font-weight: 700;
  position: relative;
}

.jp-highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--jaipur-pink);
  border-radius: 2px;
  opacity: 0.3;
}

/* ============================================
   RESPONSIVE — TABLET (1024px)
   ============================================ */
@media (max-width: 1024px) {
  .jp-places-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jp-why-rent-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jp-final-cta h2 {
    font-size: 2rem;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (768px)
   ============================================ */
@media (max-width: 768px) {
  .jp-pricing-banner {
    gap: 10px;
    margin-bottom: 28px;
  }

  .jp-price-chip {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .jp-price-chip .price-amount {
    font-size: 1rem;
  }

  .jp-places-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .jp-place-card .place-image {
    height: 200px;
  }

  .jp-why-rent-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .jp-rent-card {
    padding: 20px 16px;
  }

  .jp-rent-card .rent-icon {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    border-radius: 12px;
    margin-bottom: 12px;
  }

  .jp-rent-card h3 {
    font-size: 0.95rem;
  }

  .jp-rent-card p {
    font-size: 0.82rem;
  }

  .jp-final-cta {
    padding: 48px 0;
  }

  .jp-final-cta h2 {
    font-size: 1.6rem;
  }

  .jp-final-cta p {
    font-size: 0.92rem;
  }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (480px)
   ============================================ */
@media (max-width: 480px) {
  .jp-pricing-banner {
    flex-direction: column;
    align-items: center;
  }

  .jp-price-chip {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }

  .jp-places-grid {
    gap: 12px;
  }

  .jp-place-card .place-image {
    height: 160px;
  }

  .jp-place-card .place-body {
    padding: 14px;
  }

  .jp-place-card .place-body h3 {
    font-size: 1rem;
  }

  .jp-place-card .place-body p {
    font-size: 0.82rem;
  }

  .jp-why-rent-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .jp-rent-card {
    padding: 18px 14px;
  }

  .jp-final-cta h2 {
    font-size: 1.3rem;
  }

  .jp-final-cta p {
    font-size: 0.85rem;
  }
}
