/* assets/css/home.css - Home Page Specific Styles */

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-section {
    /* Common Mobile Ratio (9:16 or 2:3 depending on your mobile banner) */
    aspect-ratio: 9 / 16;
  }
}

.hero-slider {
  /* position: absolute;
  inset: 0; */
  display: flex;
  transition: transform 1000ms ease-in-out;
  /* padding-top: 10px; */
}

.hero-slide {
  height: 100%;
  /* width: 100%; */
  flex-shrink: 0;
  /* position: relative; */
}

.hero-slide img {
  width: 100%;
  /* height: 100%;
  object-fit: fill; */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Remove inline spacing */
}

/* Pagination Dots */
.pagination-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 20;
}

.pagination-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.5);
  transition: background-color 300ms;
  cursor: pointer;
  border: none;
}

.pagination-dot.active,
.pagination-dot:hover {
  background-color: white;
}

.line-text-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.line-text-container hr {
  flex: 1;
  border: none;
  border-top: 2px solid;
  opacity: 0.8;
}

.line-text-container h2 {
  white-space: nowrap;
  font-weight: 400;
  letter-spacing: 0.05em;
  font-size: 1.25rem;
  text-align: center;
}

/* Brochure Section */
.brochure-section {
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.7rem 1rem !important;
  margin-bottom: 0;
  gap: 1rem;
}

@media (min-width: 640px) {
  .brochure-section {
    flex-direction: row;
    align-items: center;
    padding: 1rem 2.5rem;
    gap: 2rem;
  }
}

.brochure-section h2 {
  margin: 0;
  white-space: nowrap;
}

.brochure-form {
  display: flex;
  width: 100%;
  max-width: 28rem;
  flex-direction: column;
}

.brochure-form > div {
  width: 100%;
}

.brochure-form > div > div {
  display: flex;
  width: 100%;
  position: relative;
}

.country-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0.5rem 0 0 0.5rem;
  padding: 0.75rem 0.5rem;
  font-weight: 600;
  border: 2px solid;
  font-size: 15px;
  outline: none;
  cursor: pointer;
  color: white;
  background-color: transparent;
  min-width: 80px;
}

/* Force white text and white arrow ONLY in Amenities brochure form */
.home-brochure-section .country-select {
  color: white !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
  background-color: transparent !important;
}

.home-brochure-section .country-select option {
  color: #1a1a1a; /* Dark text when dropdown opens */
  background: white;
}

@media (min-width: 640px) {
  .country-select {
    padding: 0.875rem 0.75rem;
  }
}

.brochure-form input[type="tel"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  flex: 1;
  padding: 0.75rem 0.75rem;
  font-size: 1rem;
  border-top: 2px solid;
  border-right: 2px solid;
  border-bottom: 2px solid;
  border-left: none;
  border-radius: 0 0.5rem 0.5rem 0;
  outline: none;
  color: white;
  background: transparent;
}

@media (min-width: 640px) {
  .brochure-form input[type="tel"] {
    padding: 0.875rem 1rem;
  }
}

@media (min-width: 768px) {
  .brochure-form input[type="tel"] {
    padding-right: 11.5rem;
  }
}

.brochure-form input[type="tel"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Submit Buttons */
.desktop-submit-btn {
  display: none;
}

@media (min-width: 768px) {
  .desktop-submit-btn {
    display: flex;
    width: auto;
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 3px;
    transform: translateY(-50%);
    font-weight: 600;
    font-size: 15px;
    border-radius: 0.5rem;
    padding: 0.75rem 1.25rem;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    transform: translateY(-50%) scale(1.02);
  }
}

.mobile-submit-btn {
  display: flex;
  margin-top: 0.75rem;
  cursor: pointer;
  justify-content: center;
  width: 100%;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 15px;
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
  align-items: center;
  transition: all 0.3s ease;
}

.mobile-submit-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .mobile-submit-btn {
    display: none;
  }
}

/* Overview and Highlights Section */
.overview-section {
  background-color: #f6f8fa;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
}

.overview-list,
.highlights-list {
  width: 85%;
  display: flex;
  flex-direction: column;
  /* justify-content: center;
    align-items: center; */
  margin: auto;
  gap: 1rem;
}

@media (min-width: 640px) {
  .overview-list,
  .highlights-list {
    flex-direction: row;
    gap: 2rem;
  }
}

.overview-column {
  /* border: 1px solid #d1d5db; */
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.highlights-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .overview-column:first-child {
    padding-right: 2rem;
    border-right: 1px solid #d1d5db;
  }

  .highlights-column:first-child {
    padding-right: 2rem;
    border-right: 1px solid #d1d5db;
  }
}

.overview-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.overview-item-icon {
  flex-shrink: 0;
  /* padding-top: 0.25rem; */
}

.overview-item-text {
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 639px) {
  .overview-item-text {
    font-size: 12px;
  }
}

.highlight-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.highlight-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 16px;
}

@media (max-width: 639px) {
  .highlight-label {
    font-size: 12px;
  }
}

.highlight-value {
  font-weight: 600;
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}

.highlight-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
}

/* Quick Links Section */
.quick-links-section {
  background-color: #f6f8fa;
  padding: 2rem 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  scroll-margin-top: 6rem;
  margin-top: 1.5rem;
}

.quick-links-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 42rem;
  margin: 0 auto;
  margin-top: 1.25rem;
}

.quick-link-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 1rem 1.5rem;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  background-color: white;
  transition: all 0.3s ease;
  text-align: left;
}

@media (max-width: 639px) {
  .quick-link-btn {
    font-size: 14px;
    padding: 0.875rem 1.25rem;
  }
}

.quick-link-btn:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
  transform: translateX(2px);
}

.quick-link-arrow {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
}

.know-more-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  gap: 1.25rem;
}

.know-more-chevron {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.know-more-btn {
  padding: 0.875rem 1.5rem;
  border-radius: 1rem;
  color: white;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

@media (max-width: 639px) {
  .know-more-btn {
    font-size: 12px;
    padding: 0.75rem 1.25rem;
  }
}

.know-more-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 639px) {
  .pt-0 {
    padding-top: 0;
  }
}

@media (min-width: 1280px) {
  .xl\:pt-25 {
    padding-top: 6.25rem;
  }
}

@media (min-width: 1024px) {
  .lg\:mt-2 {
    margin-top: 0.5rem;
  }
}
