/* ===== BASE & RESET ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* ===== ARCH IMAGE ===== */
.arch-image {
  border-radius: 50% 50% 0 0;
  overflow: hidden;
}

/* ===== VERTICAL TEXT ===== */
.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #9ca3af;
}

/* ===== ROTATING BADGE ===== */
.rotating-badge {
  animation: spin 12s linear infinite;
}

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

/* ===== NAVBAR ===== */
.navbar {
  transition: background-color 0.4s ease, box-shadow 0.4s ease, color 0.3s ease;
}

.navbar.scrolled {
  background-color: #fff !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.navbar.scrolled .nav-link,
.navbar.scrolled .nav-icon {
  color: #1a1a1a !important;
}

.navbar.scrolled .logo-box {
  background-color: #1a1a1a;
  color: #fff;
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
}

/* ===== VILLA CARD HOVER ===== */
.villa-card {
  overflow: hidden;
  cursor: pointer;
}

.villa-card img {
  transition: transform 0.6s ease;
}

.villa-card:hover img {
  transform: scale(1.08);
}

.villa-card .card-overlay {
  transition: opacity 0.4s ease;
  opacity: 0;
}

.villa-card:hover .card-overlay {
  opacity: 1;
}

/* ===== SWIPER CUSTOM ===== */
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #d1d5db;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #0d9488;
  width: 28px;
  border-radius: 5px;
}

.swiper-wrapper {
  padding-bottom: 2.5rem;
}

/* ===== SECTION LABEL ===== */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ===== BOOKING BAR ===== */
.booking-bar {
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
  z-index: 50;
}

.booking-bar input,
.booking-bar select {
  font-size: 0.85rem;
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  cursor: pointer;
}

.booking-bar label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9ca3af;
  font-weight: 600;
}

/* ===== SERVICE ICON ===== */
.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: transform 0.3s ease;
}

.service-icon:hover {
  transform: translateY(-6px);
}

/* ===== INSTAGRAM GRID ===== */
.insta-item {
  overflow: hidden;
}

.insta-item img {
  transition: transform 0.5s ease;
}

.insta-item:hover img {
  transform: scale(1.1);
}

.insta-item .insta-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

/* ===== GUIDE CARD ===== */
.guide-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

/* ===== WHY CHOOSE CARD ===== */
.why-card {
  transition: transform 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
}

/* ===== PILL BUTTON ===== */
.btn-pill {
  border-radius: 9999px;
  padding: 0.6rem 1.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* ===== LOCATION ZIGZAG ===== */
.location-block img {
  transition: transform 0.5s ease;
}

.location-block:hover img {
  transform: scale(1.04);
}

/* ===== NEWSLETTER ===== */
.newsletter-btn {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.newsletter-btn:hover {
  background-color: #fff;
  color: #0d9488;
}

/* ===== FOOTER THUMBNAIL ===== */
.footer-thumb {
  overflow: hidden;
  border-radius: 0.5rem;
}

.footer-thumb img {
  transition: transform 0.4s ease;
}

.footer-thumb:hover img {
  transform: scale(1.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .booking-bar {
    display: none !important;
  }

  .vertical-text {
    display: none;
  }

  .hero-section {
    background-attachment: scroll;
  }
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none !important;
  }

  .hamburger-btn {
    display: flex !important;
  }
}

@media (min-width: 1025px) {
  .hamburger-btn {
    display: none !important;
  }
}
