/* =========================================================
   HOME.CSS (FULL) — Somu Multi Cuisine Restro (Responsive)
   - Desktop: Login/Profile right side (old look)
   - Mobile: Login/Profile beside toggler (top row)
   - Booking dropdown hover only on desktop (JS uses .hover-dd)
   ========================================================= */

/* ------------------- NAVBAR SECTION STARTS ------------------- */

/* LOGO */
.company_logo {
  max-height: 96px;
  transition: 0.5s;
}

.sticky-top.navbar-dark .navbar-brand img {
  max-height: 96px;
}

/* ACTION WRAPPERS */
.mobile-actions,
.desktop-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* LOGIN BUTTON */
.btn-login {
  position: relative;
  padding: 10px 28px; /* desktop default */
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #d4af37, #b8962e);
  border: none;
  overflow: hidden;
  transition: all 0.35s ease;
}

.btn-login::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  transition: 0.6s;
}

.btn-login:hover {
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.55);
  color: #000;
}

.btn-login:hover::before {
  left: 125%;
}

.btn-login:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

/* PROFILE ICON BUTTON */
.profile-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: 0.25s ease;
  padding: 0;
}

.profile-btn:hover {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(212, 175, 55, 0.35);
}

/* remove default caret */
.profile-btn.dropdown-toggle::after {
  display: none;
}

/* PROFILE DROPDOWN CARD */
.profile-menu {
  min-width: 260px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(20, 20, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.dropdown-menu.profile-menu {
  margin-top: 12px !important;
}

.profile-top {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 6px;
}

.profile-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.profile-name {
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.profile-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

.profile-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 10px 0;
}

.profile-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 10px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: 0.2s ease;
}

.profile-item i {
  width: 18px;
  text-align: center;
}

.profile-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* MOBILE NAVBAR (<=991px) */
@media (max-width: 991px) {
  /* logo smaller */
  .company_logo {
    max-height: 80px;
  }

  /* mobile actions near toggler */
  .mobile-actions {
    gap: 8px;
  }

  /* make login compact */
  .btn-login {
    padding: 8px 14px;
    font-size: 13px;
    letter-spacing: 0.4px;
  }

  /* profile compact */
  .profile-btn {
    width: 40px;
    height: 40px;
  }
}

/* EXTRA SMALL */
@media (max-width: 380px) {
  .btn-login {
    padding: 7px 10px;
    font-size: 12px;
  }
}

/* ------------------- NAVBAR SECTION ENDS ------------------- */

/* ------------------- HOME SECTION STARTS ------------------- */

/* GOLD BUTTON */
.btn-gold {
  position: relative;
  padding: 12px 36px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #d4af37, #b8962e);
  border: none;
  overflow: hidden;
  transition: all 0.35s ease;
}

.btn-gold::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  transition: 0.6s;
}

.btn-gold:hover {
  color: #000;
}

.btn-gold:hover::before {
  left: 125%;
}

.btn-gold:active {
  transform: translateY(0);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.4);
}

/* ABOUT responsive */
@media (min-width: 576px) and (max-width: 991px){
  .btn-gold {
    text-align: center;
    font-size: 15px;
    padding: 12px 25px;
  }
}

@media (max-width: 575px) {
  .about_section {
    padding: 25px !important;
  }

  .btn-gold {
    /* width: 100%; */
    text-align: center;
    font-size: 12px;
    padding: 11px 18px;
  }
}

/********************************** SERVICE Section ********************************/

.service_card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: 22px;
  padding: 30px 24px 22px;
  box-shadow: 0 14px 40px rgba(11, 18, 32, 0.08);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.service_card::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -160px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(202, 162, 74, 0.2), transparent 60%);
  pointer-events: none;
}

.service_card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  border: 1px solid rgba(202, 162, 74, 0.12);
  pointer-events: none;
}

.service_card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 65px rgba(11, 18, 32, 0.14);
  border-color: rgba(202, 162, 74, 0.35);
}

.service_top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.service_icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    180deg,
    rgba(202, 162, 74, 0.18),
    rgba(202, 162, 74, 0.08)
  );
  border: 1px solid rgba(202, 162, 74, 0.25);
  transition: all 0.35s ease;
}

.service_icon i {
  font-size: 26px;
  color: #caa24a;
  transition:
    transform 0.35s ease,
    color 0.35s ease;
}

.service_card:hover .service_icon {
  background: #caa24a;
}

.service_card:hover .service_icon i {
  color: #0b1220;
  transform: scale(1.08) rotate(-3deg);
}

.service_title {
  font-size: 18px;
  font-weight: 800;
  color: #0b1220;
  margin: 10px 0 8px;
}

.service_desc {
  color: #6b7280;
  font-size: 14.6px;
  line-height: 1.75;
  margin: 0;
}

.service_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(11, 18, 32, 0.12);
  color: #0b1220;
  font-size: 13px;
}

.service_meta i {
  color: #caa24a;
}

@media (max-width: 575px) {
  .service_section {
    padding: 25px !important;
  }
  .service_card {
    padding: 24px 18px 18px;
    border-radius: 18px;
  }
  .service_card::after {
    inset: 8px;
    border-radius: 14px;
  }
}

/******************** Table_Reservation Section *****************************/
.table_book_img {
  position: relative;
  height: 100%;
  min-height: 500px;
  background:
    linear-gradient(rgba(15, 23, 43, 0.1), rgba(15, 23, 43, 0.1)),
    url(../assets/images/reserve_table.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.event_book_img {
  position: relative;
  height: 100%;
  min-height: 500px;
  background:
    linear-gradient(rgba(15, 23, 43, 0.1), rgba(15, 23, 43, 0.1)),
    url(../assets/images/Event_Booking.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.text-gold {
  color: #d4af37;
  font-weight: 600;
}
@media (min-width: 576px) and (max-width: 991px) {
  .table_reserve_row,
  .event_book_row {
    padding: 3rem !important;
  }
}

@media (max-width: 575px) {
  .table_reserve_row,
  .event_book_row {
    padding: 25px !important;
  }
}

/*************************** Offer Bannner Section *****************************/
.offer_Banner {
  display: flex;
  justify-content: center;
}
.offer_Banner img {
  width: 100%;
  /* height: 330px; */
  border-radius: 18px;
}

@media (max-width: 991px) {
  .offer_Banner {
    padding: 0px 47px !important;
  }
}
@media (max-width: 575px) {
  .offer_Banner {
    padding: 0px 25px !important;
  }
}

/***************** Testimonial Section ********************/
.testimonial-clip {
  overflow: hidden;
  padding: 0;
}

.testimonial-carousel .owl-stage {
  display: flex !important;
}
.testimonial-carousel .owl-item {
  display: flex !important;
  height: auto !important;
}
.testimonial-carousel .owl-item .testimonial-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* CARD BASE */
.testimonial-item {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  transition: 0.35s ease;
  position: relative;
  overflow: hidden;
  padding: 22px;
  min-height: 230px;
}

.t-premium-1 .t-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.t-premium-1 .t-avatar {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(218, 165, 32, 0.35);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
  flex-shrink: 0;
}

.t-premium-1 .t-name {
  font-size: 18px;
  font-weight: 800;
  color: #0b1220;
  letter-spacing: 0.2px;
}

.t-premium-1 .t-role {
  display: inline-block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.6);
}

.t-premium-1 .t-stars {
  margin-top: 7px;
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1;
  color: rgba(218, 165, 32, 0.95);
}

/* .t-star-dim {
  opacity: 0.4;
} */

.t-premium-1 .t-divider {
  height: 1px;
  width: 100%;
  margin: 14px 0 12px;
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.1),
    rgba(15, 23, 42, 0.04)
  );
}

.t-premium-1 .t-text {
  font-size: 15px;
  line-height: 1.8;
  font-style: italic;
  color: rgba(15, 23, 42, 0.72);
  margin-top: auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-item:hover {
  transform: translateY(-8px);
}

.testimonial-carousel .owl-dots {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  width: 10px;
  height: 10px;
  margin: 0 6px;
  border-radius: 50px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  transition: 0.35s ease;
  background: rgba(255, 255, 255, 0.7);
}

.testimonial-carousel .owl-dot.active {
  width: 28px;
  background: var(--primary);
  border-color: var(--primary);
}

/* MOBILE */
@media (max-width: 575px) {
  .testimonial_section{
    padding: 25px !important;
  }
  .testimonial-item {
    min-height: auto;
  }
  .t-premium-1 .t-name {
    font-size: 16px;
  }
  .t-premium-1 .t-text {
    font-size: 14px;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }
}

/* ------------------- HOME SECTION ENDS ------------------- */

/* ------------------- FOOTER SECTION STARTS ------------------- */
.company_logo_footer {
  max-width: 90px;
}

.footer_company {
  color: white;
}

.footer_company:hover {
  color: #d4af37;
  transition: 0.5s ease-in-out;
}

/* WhatsApp Icon */
.whatsapp_icon {
  position: fixed;
  right: 45px;
  bottom: 108px;
  z-index: 99;
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  width: 53px;
  height: 53px;
  align-items: center;
  justify-content: center;
}

.whatsapp_icon i {
  font-size: 26px;
  color: #fff;
}

/* ------------------- FOOTER SECTION ENDS ------------------- */
