/* Typography & base */
:root {
  --primary: #3B2F2F;
  --secondary: #2F5D50;
  --background: #F6F3EE;
  --accent: #C9A44C;
  --text: #1A1A1A;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--background);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #F6F3EE 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.preloader-logo-wrapper {
  animation: logoFloat 2s ease-in-out infinite;
}

.preloader-logo {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
}

.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(201, 164, 76, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Hide browser default scroll indicators */
::-webkit-scrollbar {
  display: none;
}

html {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Hide any potential scroll-to-top buttons or indicators */
.scroll-indicator,
.scroll-to-top,
[class*="scroll"],
[class*="indicator"] {
  display: none !important;
}

/* Hide Swiper navigation buttons and pagination completely (except gallery) */
.swiper-button-prev:not(.gallery-nav-prev),
.swiper-button-next:not(.gallery-nav-next),
.swiper-pagination:not(.gallery-pagination),
.swiper-pagination-bullet:not(.gallery-pagination .swiper-pagination-bullet),
.swiper-button-disabled:not(.gallery-nav-prev):not(.gallery-nav-next),
.swiper-button-lock:not(.gallery-nav-prev):not(.gallery-nav-next) {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Hide any elements in bottom left corner (circle with arrow) */
body > *:first-child[style*="bottom"],
body > *:first-child[style*="left"],
[style*="position: fixed"][style*="bottom"][style*="left"] {
  display: none !important;
}

/* Hide any browser UI elements or navigation buttons */
button[aria-label*="back" i],
button[aria-label*="prev" i],
button[aria-label*="previous" i],
a[href*="back" i],
[class*="back-button" i],
[class*="prev-button" i],
[class*="nav-button" i],
[class*="scroll-up" i],
[class*="scroll-top" i] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Specifically target bottom-left positioned elements */
*[style*="bottom: 0"][style*="left: 0"],
*[style*="bottom: 0"][style*="left:"],
*[style*="left: 0"][style*="bottom:"] {
  display: none !important;
}

/* Additional comprehensive hiding for any UI elements in bottom left */
[style*="bottom"][style*="left"]:not(.bottom-nav):not(.lightbox):not(.lightbox-content) {
  display: none !important;
}

h1, h2, h3 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  color: var(--primary);
}

.page-wrapper {
  position: relative;
  overflow-x: hidden;
  padding-bottom: 96px;
}

.section {
  padding: 96px 0;
}

.section-header {
  margin-bottom: 32px;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--secondary);
  font-weight: 600;
}

.section-header h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 36px);
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 90vh;
  color: var(--white);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 0;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slider .swiper-slide {
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65), rgba(0,0,0,0.4));
  z-index: -1;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-glass-container {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 40px;
  max-width: 520px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 2;
}

.hero-logo-top {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  z-index: 10;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.hero-logo {
  width: 140px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 16px;
  line-height: 1.2;
  color: #1a1a1a;
  font-weight: 700;
}

.hero-taglines {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 18px;
  color: #312222;   /* darker */
  font-weight: 500; /* was 500 */
}

.hero-taglines li {
  display: none;
}

.hero-taglines li.active {
  display: list-item;
  animation: slideUp 0.6s ease;
}

.hero-highlights {
  margin: 8px 0 28px;
  font-weight: 400; /* was 500 */
  color: #1d1b1b;   /* darker */
  font-size: 16px;
  line-height: 1.6;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--primary);
  border: none;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  background: #d8b65e;
}

/* Gallery */
.gallery-section {
  background: var(--background);
}

.gallery-carousel {
  position: relative;
  padding: 20px 60px 60px;
  overflow: visible;
}

.gallery-carousel .swiper-slide {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Gallery Navigation Buttons */
.gallery-nav-next,
.gallery-nav-prev {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  color: var(--primary);
  transition: all 0.3s ease;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-nav-next::after,
.gallery-nav-prev::after {
  font-size: 18px;
  font-weight: 700;
}

.gallery-nav-next:hover,
.gallery-nav-prev:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.gallery-nav-next {
  right: 0;
}

.gallery-nav-prev {
  left: 0;
}

/* Gallery Pagination */
.gallery-pagination {
  bottom: 0 !important;
  position: absolute;
}

.gallery-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(59, 47, 47, 0.4);
  opacity: 1;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.gallery-pagination .swiper-pagination-bullet-active {
  background: var(--accent);
  width: 24px;
  border-radius: 5px;
}

.gallery-cta-wrapper {
  text-align: center;
  margin-top: 48px;
  padding-top: 32px;
}

/* Features */
.features-section {
  background: var(--white);
}

.feature-card {
  background: var(--background);
  padding: 20px;
  text-align: center;
  border-radius: 14px;
  box-shadow: var(--shadow);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card i {
  font-size: 28px;
  color: var(--secondary);
  margin-bottom: 12px;
}

.feature-card p {
  margin: 0;
  font-weight: 600;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

/* Location */
.location-section {
  background: var(--background);
}

.location-list {
  display: grid;
  gap: 14px;
}

.location-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.location-item i {
  color: var(--secondary);
}

.location-item:hover {
  transform: translateX(4px);
}

/* Contact */
.contact-section {
  background: var(--white);
}

.contact-subtext {
  margin: 12px auto 0;
  max-width: 520px;
  color: #3d3d3d;
}

.contact-content {
  max-width: 900px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--background);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.contact-item i {
  font-size: 24px;
  color: var(--accent);
  margin-top: 4px;
  flex-shrink: 0;
}

.contact-link {
  display: block;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--accent);
}

.contact-link-small {
  display: inline-block;
  color: var(--secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-top: 8px;
  transition: color 0.3s ease;
}

.contact-link-small:hover {
  color: var(--accent);
}

.contact-address {
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn-contact {
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  min-width: 200px;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn-contact.whatsapp {
  background: #25D366;
  color: var(--white);
}

.btn-contact.call {
  background: var(--primary);
  color: var(--white);
}

.btn-contact.airbnb {
  background: #FF5A5F;
  color: var(--white);
}

.btn-contact.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--white);
}

.btn-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

/* Bottom nav */
.bottom-nav {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  background: rgba(59, 47, 47, 0.92);
  padding: 10px 14px;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
  z-index: 20;
}

.bottom-nav .nav-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  transition: background 0.3s ease, color 0.3s ease;
}

.bottom-nav .nav-link i {
  font-size: 16px;
}

.bottom-nav .nav-link.active,
.bottom-nav .nav-link:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
}

.lightbox img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--white);
  color: var(--primary);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow);
  font-size: 18px;
  font-weight: 700;
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-up"].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="slide"] {
  transform: translateX(-18px);
}

[data-animate="slide"].visible {
  transform: translateX(0);
}

@keyframes slideUp {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .bottom-nav {
    width: 92%;
    justify-content: space-between;
    gap: 0;
  }

  .bottom-nav .nav-link span {
    font-size: 11px;
  }

  .hero-glass-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 32px 24px;
    text-align: center;
  }

  .hero-logo-top {
    width: 160px;
    top: 20px;
  }

  .hero-logo {
    margin-inline: auto;
  }

  .hero-title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .hero-taglines {
    font-size: 16px;
  }

  .hero-highlights {
    font-size: 15px;
  }

  /* Remove blur on mobile for hero background */
  .hero-section::before {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.15);
  }

  .hero-glass-container {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .gallery-carousel {
    padding: 20px 40px 50px;
  }

  .gallery-nav-next,
  .gallery-nav-prev {
    width: 40px;
    height: 40px;
  }

  .gallery-nav-next::after,
  .gallery-nav-prev::after {
    font-size: 16px;
  }

  .gallery-nav-next {
    right: -10px;
  }

  .gallery-nav-prev {
    left: -10px;
  }

  .feature-card {
    padding: 18px;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
  }

  .contact-item {
    padding: 20px;
  }

  .contact-link {
    font-size: 16px;
  }

  .contact-address {
    font-size: 15px;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-contact {
    min-width: 100%;
    width: 100%;
  }

  .preloader-logo {
    width: 140px;
  }

  .preloader-spinner {
    width: 40px;
    height: 40px;
    border-width: 3px;
  }
}

