/* === Veiaura — Light Luxury Section Styles ===
   Uses SF Pro for most text, Playfair Display for hero section only.
   Minimal teal accents per brand palette.
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap');

:root{
  --teal-deep: #003b46;
  --teal-mid:  #07575b;
  --teal-soft: #66a5ad;
  --aqua-light: #c4dfe6;
  --bg: #ffffff;
  --muted: #6b7276;
  --card-radius: 14px;
  --gap: 24px;
  --lux-shadow: 0 10px 30px rgba(3,23,25,0.06);
}

/* Headings */
h1,h2,h3,h4,.title {
  color: var(--teal-deep);
  letter-spacing: -0.02em;
  margin: 0 0 12px; 
}
.section__title .title {
  font-size: 28px;
  font-weight: 600;
  color: var(--teal-deep);
}
.section__title {
  gap: 0.25rem;
}
.section__title .title {
  margin-bottom: 0;
}
.underline {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-mid), var(--teal-soft));
  border: none;
  margin-top: 0;
  border-radius: 6px;
}

/* === Hero Section === */
.hero__section {
  width: 100%;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 0;
}
.hero__section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,59,70,0.3) 0%, rgba(0,59,70,0.6) 100%);
  z-index: 1;
}
.hero__section .hero__content__container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  padding-top: 8.5rem;
  padding-bottom: 4rem;
}
.hero__section .text__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-align: center;
  max-width: 700px;
}
.hero__section .text__container .title {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero__section .text__container .description {
  color: rgba(255,255,255,0.95);
  font-family: "Playfair Display", serif;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 300;
  line-height: 1.6;
  max-width: 600px;
}
.hero__section .search__bar {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero__section .search__bar .search__form {
  display: flex;
  gap: 0;
  width: 100%;
}
.hero__section .search__bar .search__form input {
  flex: 1;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 16px 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s;
}
.hero__section .search__bar .search__form input::placeholder {
  color: rgba(255,255,255,0.8);
}
.hero__section .search__bar .search__form input:focus {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  outline: none;
}
.hero__section .search__bar .search__form .submit {
  display: none;
}
.hero__section .search__bar .hotels__list__wrapper {
  display: none;
  background: transparent;
  backdrop-filter: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  margin-top: 0.5rem;
}
.hero__section .search__bar .hotels__list__wrapper .hotel__list_item {
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}
.hero__section .search__bar .hotels__list__wrapper .hotel__list_item:hover {
  background: var(--aqua-light);
}
.hero__section .search__bar .hotels__list__wrapper .name {
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 15px;
}
.hero__section .search__bar .hotels__list__wrapper .country {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

/* Override dropdown sizing for hero search */
.hero__section .search__bar .hotels__list__wrapper {
  width: min(95vw, 900px);
  overflow: visible;
}

.hero__section .search__bar .hotels__list__container {
  width: 100%;
  max-width: min(95vw, 900px);
  max-height: 700px;
  overflow-y: auto;
  overflow-x: hidden;
  top: calc(100% + 8px);
  left: 0;
}

/* Section spacing */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
/* Keep horizontal gutters from .container; only adjust vertical rhythm here */
.section {
  padding-top: 64px;
  padding-bottom: 64px;
}
.top__section { padding-top: 36px; }

/* Best Offers Cards Grid - single row horizontal scroll */
.cards__grid {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--gap);
  margin-top: 28px;
  padding-bottom: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.cards__grid .card__item {
  flex: 0 0 calc((100% - (var(--gap) * 3)) / 4);
  max-width: 320px;
  min-width: 260px;
  scroll-snap-align: start;
}

@media (max-width: 768px) {
  .cards__grid {
    gap: 20px;
    padding-inline: 8px;
  }

  .cards__grid .card__item {
    flex: 0 0 320px;
    max-width: 320px;
  }
}
.card__item {
  background: linear-gradient(180deg, #fff, #fbfeff);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--lux-shadow);
  transition: transform .36s cubic-bezier(.2,.9,.3,1), box-shadow .36s;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.card__item:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(3,23,25,0.08); }

.thumbnail__wrapper { flex: 0 0 44%; overflow: hidden; }
.card__thumbnail { width:100%; height:100%; object-fit:cover; display:block; }

/* Detail area */
.details__container {
  padding: 18px 18px 20px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  flex: 1;
}
.card__item .text__container .title {
  font-size: 18px;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 8px;
}
.card__item .description {
  color: var(--muted);
  font-size: 13.5px;
  line-height:1.45;
  margin-bottom: 12px;
}

/* Footer price & rating */
.card__footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.price__badge {
  background: rgba(102,165,173,0.08);
  border: 1px solid rgba(102,165,173,0.12);
  padding: 8px 12px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  color:var(--teal-mid);
  line-height: 1.2;
  font-size: 14px;
}
.price__badge .amount {
  font-weight: 700;
  font-size: 15px;
}
.rating__container { font-size:13px; color:var(--muted); display:flex; gap:8px; align-items:center; }

/* Featured Hotels grid (cards with overlap text) */
.featured__hotels__nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.featured__nav__btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #d9e3e6;
  background: #ffffff;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 6px 18px rgba(0,59,70,0.12);
}

.featured__nav__btn:hover {
  background: #f2f7f9;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .featured__hotels__nav {
    display: none;
  }
}

.hotel__cards__rail {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
}
.hotel__card__item {
  position:relative;
  display:flex;
  flex-direction:column;
  flex: 0 0 320px;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--lux-shadow);
  transition: transform .32s;
  scroll-snap-align: start;
}
.hotel__card__item:hover { transform: translateY(-6px); }

.image__wrapper { position:relative; height: 240px; }
.background__img { width:100%; height:100%; object-fit:cover; display:block; }

/* overlay and details */
.bottom__gradient {
  position:absolute;
  inset:auto 0 0 0;
  height:72%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(196,223,230,0.97) 70%, rgba(196,223,230,1) 100%);
  pointer-events:none;
}
.hotel__card__item .details__container {
  position:absolute;
  bottom:12px;
  left:18px;
  right:18px;
  z-index:5;
  display:flex;
  justify-content:flex-end;
  align-items:flex-end;
  gap:0;
}
.hotel__card__item .title { font-size:20px; color:var(--teal-deep); }
.hotel__card__item .description { color:var(--teal-deep); opacity:0.85; font-size:13px; }

.hotel__card__info {
  padding: 14px 16px 16px;
  background: #fff;
}

.hotel__card__info .title {
  font-size: 18px;
  font-weight: 700;
  color: var(--teal-deep);
  line-height: 1.3;
}

.hotel__card__info .description {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

/* View Rooms button */
.view__rooms__btn {
  display:inline-flex;
  gap:10px;
  align-items:center;
  background: linear-gradient(90deg, rgba(7,87,91,0.95), rgba(102,165,173,0.95));
  color:#fff;
  border:none;
  padding:10px 14px;
  border-radius: 999px;
  font-weight:600;
  box-shadow: 0 8px 24px rgba(7,87,91,0.12);
  cursor:pointer;
  transition: transform .28s;
}
.view__rooms__btn:hover { transform: translateY(-4px); }

/* Why Choose Us grid */
.why__choose__us__cards__grid {
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: var(--gap);
  align-items:stretch;
  margin-top: 20px;
}
.text__card {
  background: linear-gradient(180deg, #f7fdfe, #ffffff);
  border-radius: 16px;
  padding: 28px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  box-shadow: var(--lux-shadow);
}
.text__card .title { font-size:28px; color:var(--teal-deep); }
.text__card .btn { margin-top:16px; }

/* image cards inside Why Choose Us */
.why__choose__us__cards__grid .card__item {
  min-height: 220px;
  display:flex;
  flex-direction:column;
}
.why__choose__us__cards__grid .background__img { height:180px; border-radius:12px 12px 0 0; }

/* Testimonials */
.testimonials {
  background: linear-gradient(180deg, #ffffff 0%, #f9fdfe 100%);
  padding: 80px 0;
}
.testimonials.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 80px 20px;
}
.testimonials .section__title {
  max-width: 1180px;
  margin: 0 auto;
}
.testimonials .section__title .title { font-size:32px; margin-bottom: 8px; }
.testimonials__grid__container {
  display:grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items:stretch;
  margin-top: 32px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

/* Left image card */
.testimonials .image__grid__item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--teal-deep);
  box-shadow: 0 12px 40px rgba(0,59,70,0.15);
  min-height: 460px;
  display: flex;
  flex-direction: column;
}
.testimonials .banner__img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}
.testimonials .image__grid__item .details__container {
  flex: 1;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 16px;
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-mid) 100%);
}
.testimonials .image__grid__item .precentage {
  font-size: 72px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.testimonials .image__grid__item .precentage .mark {
  font-size: 48px;
  font-weight: 600;
  opacity: 0.9;
}
.testimonials .image__grid__item .text {
  color: rgba(255,255,255,0.95);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}
.testimonials .image__grid__item .sm__text {
  font-size: 14px;
  font-weight: 300;
  opacity: 0.85;
}

/* Swiper cards slider */
.cards__slider {
  position:relative;
  padding-bottom: 60px;
  overflow: hidden;
}
.cards__slider .cards__wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}
.cards__slider .card__item {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--lux-shadow);
  border: 1px solid rgba(102,165,173,0.08);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 220px;
}
.cards__slider .card__item:hover {
  box-shadow: 0 16px 48px rgba(0,59,70,0.12);
  transform: translateY(-4px);
}
.cards__slider .card__item .text {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}
.profile__container {
  display:flex;
  gap:14px;
  align-items:center;
  padding-top: 16px;
  border-top: 1px solid rgba(102,165,173,0.12);
}
.profile__img {
  width:52px;
  height:52px;
  object-fit:cover;
  border-radius:50%;
  border: 2px solid var(--aqua-light);
}
.profile__container .text__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  gap: 12px;
}
.profile__container .text__wrapper .name {
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}
.profile__container .text__wrapper .country {
  color: var(--muted);
  font-size: 13px;
}
.profile__container .rating__container {
  flex-shrink: 0;
}
.profile__container .ratings__img {
  height: 18px;
  width: auto;
  display: block;
}

/* slider nav */
.slider__nav {
  position:absolute;
  right:0;
  bottom:0;
  display:flex;
  gap:12px;
  z-index:10;
}
.nav__arrow {
  width:44px;
  height:44px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background: var(--teal-deep);
  box-shadow: 0 4px 16px rgba(0,59,70,0.2);
  cursor:pointer;
  transition: all 0.3s;
  border: 2px solid var(--teal-deep);
}
.nav__arrow:hover {
  background: var(--teal-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,59,70,0.3);
}
.nav__arrow i {
  color: #fff;
  font-size:18px;
}

/* responsive tweaks */
@media (max-width: 980px) {
  .why__choose__us__cards__grid { grid-template-columns: 1fr; }
  .testimonials__grid__container { grid-template-columns: 1fr; }
  .hotel__cards__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero__section {
    min-height: auto;
    padding: 6rem 0 3rem;
  }

  .hero__section .hero__content__container {
    align-items: flex-start;
    text-align: left;
    gap: 2rem;
    padding-top: 5.25rem;
    padding-bottom: 2.75rem;
  }

  .hero__section .text__container {
    align-items: flex-start;
    text-align: left;
    gap: 0.75rem;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .top__section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .section:not(.top__section) {
    margin-top: 24px;
  }

  /* push content away from hero on mobile */
  .featured__hotels {
    margin-top: 28px;
  }

  .best__offers {
    margin-top: 26px;
  }

  .section__title .title {
    font-size: 24px;
  }

  .why__choose__us__cards__grid {
    gap: 18px;
  }

  .text__card {
    padding: 24px;
  }

  .hotel__card__item {
    min-height: 280px;
  }

  .hotel__card__item .details__container {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .testimonials {
    padding: 64px 0;
  }

  .testimonials.container {
    padding: 64px 20px;
  }

  .testimonials .section__title .title {
    font-size: 26px;
  }

  .testimonials .image__grid__item {
    min-height: 360px;
  }

  .testimonials .banner__img {
    height: 210px;
  }

  .cards__slider {
    padding-bottom: 72px;
  }

  .slider__nav {
    position: static;
    justify-content: center;
    margin-top: 16px;
    margin-bottom: 28px;
  }

  /* add breathing room between stacked sections */
  .top__section + .section {
    margin-top: 28px;
  }
}
@media (max-width: 640px) {
  .cards__grid .card__item {
    min-height: 310px;
  }

  .card__item .text__container .title {
    font-size: 16px;
  }

  .card__item .description {
    font-size: 12.5px;
    line-height: 1.4;
  }

  .price__badge {
    padding: 6px 10px;
    font-size: 12px;
  }

  .price__badge .amount {
    font-size: 14px;
  }

  .cards__grid {
    gap: 18px;
    padding: 0 16px 12px;
  }

  .cards__grid .card__item {
    min-width: 320px;
    max-width: 320px;
  }

  .hotel__cards__rail {
    gap: 16px;
  }

  /* Custom scrollbar for mobile */
  .cards__grid::-webkit-scrollbar,
  .hotel__cards__rail::-webkit-scrollbar {
    height: 6px;
  }

  .cards__grid::-webkit-scrollbar-track,
  .hotel__cards__rail::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
  }

  .cards__grid::-webkit-scrollbar-thumb,
  .hotel__cards__rail::-webkit-scrollbar-thumb {
    background: rgba(0, 59, 70, 0.3);
    border-radius: 10px;
  }

  .cards__grid::-webkit-scrollbar-thumb:hover,
  .hotel__cards__rail::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 59, 70, 0.5);
  }
}
@media (max-width: 540px) {
  .container {
    padding: 0 16px;
  }

  .hero__section .hero__content__container {
    gap: 1.5rem;
    padding-top: 4.25rem;
  }

  .hero__section .text__container .title {
    font-size: clamp(26px, 8vw, 32px);
  }

  .hero__section .text__container .description {
    font-size: 14px;
    line-height: 1.5;
  }

  .hero__section .search__bar .search__form input {
    padding: 14px 16px;
    font-size: 15px;
  }

  .cards__grid .card__item,
  .hotel__cards__grid .hotel__card__item {
    flex-basis: 320px;
    max-width: 320px;
    min-width: 320px;
  }

  .why__choose__us__cards__grid .card__item .details__container .title {
    font-size: 18px;
  }

  .testimonials .image__grid__item .precentage {
    font-size: 56px;
  }

  .testimonials .image__grid__item .precentage .mark {
    font-size: 38px;
  }

  .testimonials .image__grid__item .text {
    font-size: 16px;
  }

  /* add breathing room below testimonial slider nav on small screens */
  .testimonials .slider__nav {
    margin-bottom: 40px;
  }
}
@media (max-width: 480px) {
  .hero__section .hero__content__container {
    align-items: center;
    text-align: center;
  }

  .hero__section .text__container {
    align-items: center;
    text-align: center;
  }
}
