/* ============================================
   Component Styles - Compiled CSS
   ============================================ */

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  z-index: 1000;
  transition: all 250ms ease;
  height: 80px;
}

.navbar--scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .navbar__container {
    padding: 0 2rem;
  }
}

.navbar__logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FF385C;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar__menu {
  display: none;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .navbar__menu {
    display: flex;
  }
}

.navbar__menu a {
  font-weight: 500;
  color: #222222;
  transition: color 150ms ease;
}

.navbar__menu a:hover,
.navbar__menu a.active {
  color: #FF385C;
}

.navbar__toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #222222;
}

@media (min-width: 768px) {
  .navbar__toggle {
    display: none;
  }
}

.navbar__mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 1.5rem;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 250ms ease;
  z-index: 999;
}

.navbar__mobile-menu--open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.navbar__mobile-menu ul {
  list-style: none;
}

.navbar__mobile-menu li {
  padding: 1rem 0;
  border-bottom: 1px solid #EBEBEB;
}

.navbar__mobile-menu a {
  font-weight: 500;
  display: block;
}

/* Hero Section */
.hero {
  position: relative;
  height: 500px;
  margin-top: 80px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    height: 400px;
    margin-top: 70px;
  }
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__content {
  text-align: center;
  color: white;
  z-index: 1;
  padding: 1.5rem;
}

.hero__content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
}

@media (max-width: 768px) {
  .hero__content h1 {
    font-size: 2rem;
  }
}

.hero__content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .hero__content p {
    font-size: 1rem;
  }
}

.hero__search {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  padding: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .hero__search {
    flex-direction: row;
    padding: 0.25rem;
  }
}

.hero__search-field {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 1px solid #DDDDDD;
  border-radius: 12px;
  font-size: 1rem;
}

.hero__search-field:focus {
  outline: none;
  border-color: #FF385C;
}

.hero__search-btn {
  padding: 1rem 3rem;
  white-space: nowrap;
}

/* Hotel Card */
.hotel-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 250ms ease;
  cursor: pointer;
}

.hotel-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.hotel-card:hover .hotel-card__image {
  transform: scale(1.05);
}

.hotel-card__image-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: #F7F7F7;
}

.hotel-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.hotel-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #FF385C;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.hotel-card__content {
  padding: 1.5rem;
}

.hotel-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.hotel-card__name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #222222;
  margin-bottom: 0.5rem;
}

.hotel-card__location {
  font-size: 0.875rem;
  color: #717171;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.hotel-card__rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.hotel-card__rating-stars {
  color: #FFB400;
}

.hotel-card__facilities {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.hotel-card__facilities-item {
  font-size: 0.75rem;
  color: #717171;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.hotel-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #EBEBEB;
}

.hotel-card__price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222222;
}

.hotel-card__price-period {
  font-size: 0.875rem;
  color: #717171;
}

.hotel-card__actions {
  display: flex;
  gap: 1rem;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1.5rem 0;
  background: #F7F7F7;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumb__item {
  font-size: 0.875rem;
  color: #717171;
}

.breadcrumb__item:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: #B0B0B0;
}

.breadcrumb__item a:hover {
  color: #FF385C;
}

.breadcrumb__item--active {
  color: #222222;
  font-weight: 500;
}

/* Footer */
.footer {
  background: #222222;
  color: white;
  padding: 4rem 0 2rem;
}

.footer__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .footer__container {
    padding: 0 2rem;
  }
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__section h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.footer__section ul {
  list-style: none;
}

.footer__section li {
  margin-bottom: 0.5rem;
}

.footer__section a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 150ms ease;
}

.footer__section a:hover {
  color: white;
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* Testimonials Slider */
.testimonials__slider {
  position: relative;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform 350ms ease;
  gap: 2rem;
}

.testimonials__item {
  min-width: 100%;
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .testimonials__item {
    min-width: calc(50% - 1rem);
  }
}

@media (min-width: 1024px) {
  .testimonials__item {
    min-width: calc(33.333% - 1.333rem);
  }
}

.testimonials__quote {
  font-size: 1.125rem;
  font-style: italic;
  color: #717171;
  margin-bottom: 1.5rem;
}

.testimonials__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonials__author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonials__author-info h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.testimonials__author-info p {
  font-size: 0.875rem;
  color: #717171;
  margin: 0;
}

.testimonials__controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonials__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #DDDDDD;
  cursor: pointer;
  transition: all 150ms ease;
}

.testimonials__dot--active {
  background: #FF385C;
  width: 32px;
  border-radius: 9999px;
}

/* FAQ Accordion */
.faq__item {
  background: white;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.faq__question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: background-color 150ms ease;
}

.faq__question:hover {
  background: #F7F7F7;
}

.faq__question::after {
  content: '+';
  font-size: 1.5rem;
  color: #FF385C;
  transition: transform 250ms ease;
}

.faq__question--active::after {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms ease;
}

.faq__answer-content {
  padding: 0 1.5rem 1.5rem;
  color: #717171;
}

.faq__answer--open {
  max-height: 500px;
}

/* Room Type Card */
.room-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 250ms ease;
  border: 2px solid transparent;
}

.room-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-color: #FF385C;
}

.room-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.room-card__name {
  font-size: 1.25rem;
  font-weight: 600;
}

.room-card__price {
  text-align: right;
}

.room-card__price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FF385C;
}

.room-card__price-period {
  font-size: 0.875rem;
  color: #717171;
}

.room-card__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.room-card__amenities-item {
  font-size: 0.875rem;
  color: #717171;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.room-card__description {
  color: #717171;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.room-card__action {
  width: 100%;
}

/* Gallery */
.gallery__main {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .gallery__main {
    height: 300px;
  }
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
}

.gallery__thumbnails-item {
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 150ms ease;
}

.gallery__thumbnails-item:hover,
.gallery__thumbnails-item--active {
  opacity: 1;
}

.gallery__thumbnails-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Form */
.form__group {
  margin-bottom: 1.5rem;
}

.form__label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #222222;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1px solid #DDDDDD;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 150ms ease;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: #FF385C;
}

.form__input--error,
.form__select--error,
.form__textarea--error {
  border-color: #FF385C;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__error {
  color: #FF385C;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

.form__error--show {
  display: block;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form__row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Price Summary */
.price-summary {
  background: #F7F7F7;
  border-radius: 16px;
  padding: 2rem;
}

.price-summary__item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.price-summary__item--total {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid #DDDDDD;
  font-weight: 700;
  font-size: 1.25rem;
}

.price-summary__label {
  color: #717171;
}

.price-summary__value {
  font-weight: 600;
  color: #222222;
}

/* Loading */
.lazy-image {
  opacity: 0;
  transition: opacity 250ms ease;
}

.lazy-image--loaded {
  opacity: 1;
}

/* Carousel Controls */
.carousel__controls {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

.carousel__btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 250ms ease;
}

.carousel__btn:hover {
  background: #FF385C;
  color: white;
  transform: scale(1.1);
}

.carousel__btn--prev {
  margin-left: 1rem;
}

.carousel__btn--next {
  margin-right: 1rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

