/* =============================================
   HariOM Bites — Home Page CSS
   ============================================= */

/* ---- Shared Button Styles ---- */
.hb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}
.hb-btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.hb-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,130,12,0.4);
}
.hb-btn--outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.hb-btn--outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.hb-btn--white {
  background: #ffffff;
  color: var(--primary-dark);
  border: 2px solid #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  transition: all 0.3s ease;
}
.hb-btn--white i {
  color: var(--primary-dark);
  font-size: 1.05rem;
}
.hb-btn--white:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.hb-btn--white:hover i {
  color: var(--primary-light);
}

/* ===========================
   HERO
   =========================== */
.hb-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Background slides */
.hb-hero__bg {
  position: absolute;
  inset: 0;
}
.hb-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hb-hero__slide.active { opacity: 1; }

.hb-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.72) 40%, rgba(0,0,0,0.2));
  z-index: 1;
}

/* Content */
.hb-hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 60px;
  animation: heroFadeUp 0.9s ease forwards;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hb-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,130,12,0.18);
  color: var(--primary-light);
  border: 1px solid rgba(232,130,12,0.4);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 22px;
  letter-spacing: 0.3px;
}

.hb-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hb-hero__title span {
  color: var(--primary-light);
  display: block;
}

.hb-hero__sub {
  color: rgba(255,255,255,0.82);
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hb-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Stats bar */
.hb-hero__stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-top: 3px solid var(--primary);
}
.hb-stat {
  padding: 18px 20px;
  text-align: center;
  border-right: 1px solid #eee;
}
.hb-stat:last-child { border-right: none; }
.hb-stat__num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}
.hb-stat__plus {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}
.hb-stat p {
  font-size: 0.78rem;
  color: #666;
  margin-top: 2px;
  font-weight: 500;
}

/* Dots */
.hb-hero__dots {
  position: absolute;
  bottom: 80px;
  right: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hb-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.hb-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* ===========================
   CTA STRIP
   =========================== */
.hb-cta-strip {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 16px 0;
}
.hb-cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.hb-cta-strip__inner p {
  color: #fff;
  font-size: 0.95rem;
}
.hb-cta-strip__inner p i {
  color: #ffe082;
  margin-right: 4px;
}

/* ===========================
   CATEGORIES CARD SLIDER
   =========================== */
.hb-cats {
  position: relative;
}

.hb-cats__swiper {
  padding-bottom: 52px !important;
  padding-top: 10px;
  margin-top: 30px;
  position: relative;
}

.hb-cat-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  position: relative;
}

.hb-cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(232, 130, 12, 0.22);
}

.hb-cat-card__img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f8f8f8;
}

.hb-cat-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hb-cat-card:hover .hb-cat-card__img img {
  transform: scale(1.08);
}

.hb-cat-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(232, 130, 12, 0.35);
  z-index: 2;
}

.hb-cat-card__content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #ffffff;
}

.hb-cat-card__title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.hb-cat-card:hover .hb-cat-card__title {
  color: var(--primary);
}

.hb-cat-card__desc {
  font-size: 0.84rem;
  color: #666666;
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.hb-cat-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.3s ease;
}

.hb-cat-card:hover .hb-cat-card__btn {
  gap: 12px;
}

.hb-cats__next,
.hb-cats__prev {
  color: var(--primary) !important;
  width: 44px !important;
  height: 44px !important;
  background: #ffffff !important;
  border-radius: 50% !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid rgba(232, 130, 12, 0.2) !important;
  transition: all 0.3s ease !important;
}

.hb-cats__next:after,
.hb-cats__prev:after {
  font-size: 1rem !important;
  font-weight: 700 !important;
}

.hb-cats__next:hover,
.hb-cats__prev:hover {
  background: var(--primary) !important;
  color: #ffffff !important;
  transform: scale(1.08);
}

/* ===========================
   FEATURED DISHES
   =========================== */
.hb-dishes__swiper {
  padding-bottom: 48px !important;
  margin-top: 40px;
}
.hb-dishes__cta {
  text-align: center;
  margin-top: 32px;
}

/* ===========================
   WHY US
   =========================== */
.hb-why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.hb-why__img {
  position: relative;
}
.hb-why__img img {
  width: 100%;
  border-radius: var(--radius-lg);
  height: 500px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.hb-why__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 18px 22px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 24px rgba(232,130,12,0.4);
}
.hb-why__badge i {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 4px;
}
.hb-why__badge span {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
}
.hb-why__desc {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 16px 0 28px;
  font-size: 0.95rem;
}
.hb-why__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hb-why__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.hb-why__icon {
  width: 46px;
  height: 46px;
  background: #fff4e6;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(232,130,12,0.15);
}
.hb-why__item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #222;
}
.hb-why__item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===========================
   OFFER BANNER
   =========================== */
.hb-offer-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 50px 0;
}
.hb-offer-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.hb-offer-banner__text h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 8px;
}
.hb-offer-banner__text h3 span {
  color: var(--primary-light);
}
.hb-offer-banner__text p {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
}

/* ===========================
   REVIEWS
   =========================== */
.hb-reviews__swiper {
  padding-bottom: 48px !important;
  margin-top: 40px;
}
.hb-review-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border: 1px solid #f0f0f0;
  height: 100%;
}
.hb-review-card__stars {
  color: #ffc107;
  font-size: 0.9rem;
  margin-bottom: 14px;
  display: flex;
  gap: 3px;
}
.hb-review-card p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.hb-review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}
.hb-review-card__author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.hb-review-card__author strong {
  display: block;
  font-size: 0.9rem;
  color: #222;
}
.hb-review-card__author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===========================
   GALLERY
   =========================== */
.hb-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 12px;
  margin-top: 40px;
}
.hb-gal {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.hb-gal--big {
  grid-column: span 2;
  grid-row: span 2;
}
.hb-gal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hb-gal:hover img { transform: scale(1.07); }
.hb-gal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(232,130,12,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.hb-gal:hover .hb-gal__overlay { opacity: 1; }

/* ===========================
   FIND US
   =========================== */
.hb-findus__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.hb-findus__list {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hb-findus__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}
.hb-findus__list li i {
  color: var(--primary);
  width: 18px;
  text-align: center;
  margin-top: 3px;
  flex-shrink: 0;
}
.hb-findus__list a {
  color: var(--primary);
  text-decoration: none;
}
.hb-findus__list a:hover { text-decoration: underline; }
.hb-findus__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hb-findus__map iframe {
  width: 100%;
  height: 380px;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .hb-hero__content { padding: 0 32px; }
  .hb-why__inner { grid-template-columns: 1fr; gap: 40px; }
  .hb-why__img img { height: 320px; }
  .hb-why__badge { right: 10px; bottom: -14px; }
  .hb-findus__inner { grid-template-columns: 1fr; gap: 36px; }
  .hb-findus__map iframe { height: 280px; }
  .hb-gallery__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .hb-gal--big { grid-column: span 2; grid-row: span 1; height: 260px; }
  .hb-gal { height: 180px; }
}

@media (max-width: 768px) {
  .hb-hero { min-height: 100svh; width: 100%; overflow: hidden; }
  .hb-hero__content { padding: 0 20px; width: 100%; max-width: 100%; box-sizing: border-box; }
  .hb-hero__actions { flex-direction: column; width: 100%; gap: 10px; }
  .hb-hero__actions .hb-btn { width: 100%; justify-content: center; }
  .hb-hero__stats { grid-template-columns: repeat(2, 1fr); width: 100%; max-width: 100%; overflow: hidden; }
  .hb-stat { padding: 14px 12px; }
  .hb-stat__num { font-size: 1.5rem; }
  .hb-hero__dots { display: none; }
  .hb-cta-strip__inner { justify-content: center; text-align: center; }
  .hb-offer-banner__inner { flex-direction: column; text-align: center; }
  .hb-gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .hb-gal { height: 150px; }
  .hb-gal--big { height: 200px; }
  .hb-cats__next, .hb-cats__prev { display: none !important; }
}

@media (max-width: 480px) {
  .hb-hero__title { font-size: 2rem; }
  .hb-hero__sub { font-size: 0.88rem; }
  .hb-btn { width: 100%; justify-content: center; }
  .hb-hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hb-cat-card__img { height: 170px; }
  .hb-cat-card__content { padding: 16px; }
  .hb-cat-card__title { font-size: 1.25rem; }
  .hb-gallery__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hb-gal--big { grid-column: span 2; }
  .hb-review-card { padding: 20px; }
  .hb-findus__actions { flex-direction: column; }
  .hb-findus__actions .hb-btn { width: 100%; justify-content: center; }
}
