/* =========================================
   Villas Oasis Guacalillo - Main Stylesheet
   ========================================= */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #006A70;
  --color-secondary: #F4E9D6;
  --color-accent: #FF7F50;
  --color-charcoal: #333333;
  --color-bg-light: #ffffff;
  --color-bg-dark: #122017;
  --font-display: 'Space Grotesk', sans-serif;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  color: var(--color-charcoal);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* --- Dark Mode --- */
.dark body,
body.dark {
  background-color: var(--color-bg-dark);
  color: #e0e0e0;
}
.dark .bg-secondary { background-color: var(--color-bg-dark) !important; }
.dark .bg-background-light { background-color: #1a2e23 !important; }
.dark .text-primary { color: #4db8be !important; }
.dark .text-charcoal { color: #e0e0e0 !important; }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(61, 122, 127, 0.8) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s;
}
.dark .site-header {
  background: #2a5558;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}
.header-logo img {
  height: 104px;
  width: auto;
}
.header-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}
.dark .header-logo span { color: #fff; }

/* Desktop Nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) {
  .desktop-nav { display: flex; }
}
.desktop-nav a {
  color: #ffffff !important;
  font-weight: 400;
  transition: color 0.2s;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.desktop-nav a:hover { color: var(--color-secondary); }
.dark .desktop-nav a { color: #e0e0e0; }
.dark .desktop-nav a:hover { color: var(--color-accent); }

/* CTA Button */
.btn-cta {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 1.75rem;
  height: 44px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: none;
  letter-spacing: 0.015em;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-cta:hover { background: #e06a3f; }
@media (min-width: 768px) {
  .btn-cta { display: flex; }
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
}
.dark .mobile-menu-btn { color: #fff; }
@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--color-bg-light);
  border-top: 1px solid #e5e7eb;
  padding: 1rem;
}
.dark .mobile-menu {
  background: var(--color-bg-dark);
  border-top-color: #374151;
}
.mobile-menu.open { display: block; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-menu a {
  padding: 0.5rem 0;
  color: var(--color-charcoal);
  font-weight: 500;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--color-primary); }
.dark .mobile-menu a { color: #e0e0e0; }
.mobile-menu .btn-cta-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  height: 40px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 8px;
  border: none;
  width: 100%;
}

/* --- Hero Section --- */
.hero-section {
  min-height: calc(100vh - 95px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2rem 1rem;
  gap: 1.5rem;
}
@media (min-width: 480px) {
  .hero-section {
    gap: 2rem;
    border-radius: var(--radius-xl);
    margin: 1rem;
  }
}
.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-title {
  color: #fff;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
@media (min-width: 480px) {
  .hero-title { font-size: 3.75rem; }
}
.hero-desc {
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  max-width: 48rem;
  margin: 0 auto;
}
@media (min-width: 480px) {
  .hero-desc { font-size: 1.125rem; }
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.btn-hero-primary {
  min-width: 84px;
  max-width: 480px;
  padding: 0 1.5rem;
  height: 48px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  letter-spacing: 0.015em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.btn-hero-primary:hover { background: #e06a3f; }
.btn-hero-secondary {
  min-width: 84px;
  max-width: 480px;
  padding: 0 1.5rem;
  height: 48px;
  background: rgba(244,233,214,0.8);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  letter-spacing: 0.015em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.btn-hero-secondary:hover { background: var(--color-secondary); }

/* --- Section Common --- */
.section { padding: 4rem 1rem; }
@media (min-width: 640px) { .section { padding: 6rem 1rem; } }
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.015em;
}
.dark .section-title { color: #fff; }
.section-desc {
  color: #6b7280;
  font-size: 1rem;
  margin-top: 0.5rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
.dark .section-desc { color: #9ca3af; }

/* --- Amenities --- */
.amenities-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .amenities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .amenities-grid { grid-template-columns: repeat(4, 1fr); } }
.amenity-card {
  background: var(--color-bg-light);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.dark .amenity-card { background: rgba(51,51,51,0.2); }
.amenity-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(0,106,112,0.1);
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  color: var(--color-primary);
  font-size: 1.75rem;
}
.dark .amenity-icon { background: rgba(77,184,190,0.15); color: #4db8be; }
.amenity-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
}
.dark .amenity-title { color: #fff; }
.amenity-desc {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
}
.dark .amenity-desc { color: #9ca3af; }

/* --- Villas Grid --- */
.villas-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .villas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .villas-grid { grid-template-columns: repeat(3, 1fr); } }
.villa-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.villa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.dark .villa-card { background: rgba(51,51,51,0.2); }
.villa-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.villa-card-body { padding: 1.25rem; }
.villa-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 0.25rem;
}
.dark .villa-card-title { color: #fff; }
.villa-card-price {
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.villa-card-desc {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dark .villa-card-desc { color: #9ca3af; }
.villa-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 8px;
  border: none;
  transition: background 0.2s;
}
.villa-card-btn:hover { background: #005a5f; }

/* --- Testimonials / Reviews --- */
.bg-secondary { background-color: var(--color-secondary); }
@media (min-width: 480px) {
  .section.bg-secondary {
    border-radius: var(--radius-xl);
    margin-left: 1rem;
    margin-right: 1rem;
  }
}
.reviews-section a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s;
}
.reviews-section a:hover { color: #005a5f; }

/* --- Attractions --- */
.attractions-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.attractions-scroll::-webkit-scrollbar { display: none; }
.attraction-card {
  min-width: 280px;
  max-width: 320px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.07);
  transition: transform 0.2s;
}
.attraction-card:hover { transform: translateY(-4px); }
.dark .attraction-card { background: rgba(51,51,51,0.2); }
.attraction-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.attraction-body { padding: 1.25rem; }
.attraction-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
}
.dark .attraction-title { color: #fff; }
.attraction-desc {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}
.dark .attraction-desc { color: #9ca3af; }
.attraction-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 8px;
  border: none;
  transition: background 0.2s;
}
.attraction-btn:hover { background: #005a5f; }

/* --- Photo Gallery --- */
.gallery-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: transform 0.2s;
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Full Gallery Page Grid */
.full-gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .full-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .full-gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.full-gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.full-gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.full-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Footer --- */
.site-footer {
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  color: #d1d5db;
  padding: 3rem 1rem 1.5rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: repeat(3, 1fr); }
}
.footer-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #9ca3af;
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9ca3af;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--color-accent); }
.footer-link img { width: 20px; height: 20px; }
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #d1d5db;
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--color-accent); color: #fff; }
.footer-social a.footer-wa { background: #25D366; color: #fff; animation: footer-wa-pulse 2s infinite; }
.footer-social a.footer-wa:hover { background: #1da851; color: #fff; }
@keyframes footer-wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.footer-bottom {
  max-width: 1280px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
}
.footer-bottom a { color: var(--color-accent); }
.footer-bottom a:hover { text-decoration: underline; }

/* --- Modals --- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.modal-overlay.active {
  display: flex;
  opacity: 1;
}
.modal-container {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.3s;
}
.modal-overlay.active .modal-container { transform: scale(1); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--color-primary);
  color: #fff;
  flex-shrink: 0;
}
.modal-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  color: #fff;
}
.modal-close:hover { background: rgba(255,255,255,0.3); }
.modal-body { flex: 1; overflow: auto; }
.modal-body iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: none;
}
.modal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  flex-direction: column;
  gap: 1rem;
}

/* Booking Date Modal */
.booking-date-modal .modal-container {
  max-width: 500px;
}
.booking-date-form {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.booking-date-form label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
}
.booking-date-form input[type="date"] {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  transition: border-color 0.2s;
}
.booking-date-form input[type="date"]:focus {
  outline: none;
  border-color: var(--color-primary);
}
.booking-submit-btn {
  width: 100%;
  padding: 0.875rem;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  transition: background 0.2s;
}
.booking-submit-btn:hover { background: #e06a3f; }

/* Contact Modal */
.contact-modal .modal-container {
  max-width: 500px;
}
.contact-form {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-charcoal);
  margin-bottom: 0.25rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.contact-submit-btn {
  width: 100%;
  padding: 0.875rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  transition: background 0.2s;
}
.contact-submit-btn:hover { background: #005a5f; }

/* Iframe Modal (for BedBooking and Attractions) */
.iframe-modal .modal-body {
  position: relative;
  height: 600px;
}
.iframe-modal .modal-body iframe {
  min-height: 600px;
}
@media (max-width: 640px) {
  .modal-container { max-height: 95vh !important; border-radius: 12px !important; }
  .modal-overlay { padding: 8px !important; }
  .iframe-modal .modal-body { height: 80vh; }
  .iframe-modal .modal-body iframe { min-height: 80vh; }
}

/* --- WhatsApp Widget --- */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
}
.whatsapp-tooltip {
  background: #fff;
  color: var(--color-charcoal);
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  font-size: 0.875rem;
  font-weight: 500;
  max-width: 200px;
  opacity: 1;
  transition: opacity 0.3s;
  position: relative;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #fff;
}
.whatsapp-tooltip.hidden { opacity: 0; pointer-events: none; }
.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  animation: wa-pulse 2s infinite;
  transition: transform 0.2s;
  border: none;
}
.whatsapp-btn:hover { transform: scale(1.1); }
.whatsapp-btn svg { width: 30px; height: 30px; fill: #fff; }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 360px) {
  .whatsapp-tooltip { display: none; }
}

/* --- Spinner Animation --- */
@keyframes spin {
  to { transform: rotate(360deg); }
}
.spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0,106,112,0.2);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* --- Villa Detail Page --- */
.villa-detail-hero {
  position: relative;
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.villa-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 500px;
}
.villa-detail-content {
  max-width: 1024px;
  margin: -2rem auto 0;
  padding: 0 1rem 3rem;
  position: relative;
  z-index: 1;
}
.villa-detail-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  padding: 2rem;
}
.dark .villa-detail-card { background: #1a2e23; }
.villa-detail-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.dark .villa-detail-title { color: #4db8be; }
.villa-detail-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}
.villa-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.villa-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.875rem;
}
.dark .villa-meta-item { color: #9ca3af; }
.villa-meta-item .material-symbols-outlined {
  color: var(--color-primary);
  font-size: 1.25rem;
}
.villa-detail-desc {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.dark .villa-detail-desc { color: #d1d5db; }
.villa-detail-amenities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .villa-detail-amenities { grid-template-columns: repeat(3, 1fr); }
}
.villa-amenity-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-charcoal);
}
.dark .villa-amenity-item { color: #d1d5db; }
.villa-amenity-item .material-symbols-outlined {
  color: var(--color-primary);
  font-size: 1.125rem;
}
.villa-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .villa-thumbnails { grid-template-columns: repeat(4, 1fr); }
}
.villa-thumbnail {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: transform 0.2s;
  border: 2px solid transparent;
}
.villa-thumbnail:hover { transform: scale(1.05); }
.villa-thumbnail.active { border-color: var(--color-accent); }
.villa-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.villa-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.btn-book-villa {
  flex: 1;
  min-width: 200px;
  padding: 0.875rem 1.5rem;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s;
}
.btn-book-villa:hover { background: #e06a3f; }
.btn-whatsapp-villa {
  flex: 1;
  min-width: 200px;
  padding: 0.875rem 1.5rem;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s;
}
.btn-whatsapp-villa:hover { background: #1fb855; }

/* --- FAQ Page --- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 1.25rem 0;
}
.dark .faq-item { border-bottom-color: #374151; }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-charcoal);
  cursor: pointer;
  gap: 1rem;
}
.dark .faq-question { color: #fff; }
.faq-question .material-symbols-outlined {
  transition: transform 0.3s;
  color: var(--color-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.faq-item.open .faq-question .material-symbols-outlined {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.7;
}
.dark .faq-answer { color: #9ca3af; }
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 1rem;
}

/* --- Lightbox --- */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  padding: 1rem;
  cursor: zoom-out;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.4); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* --- Elfsight Widget Placeholder --- */
.reviews-widget {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Utilities --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* --- Print --- */
@media print {
  .site-header, .site-footer, .whatsapp-widget, .modal-overlay, .lightbox-overlay { display: none !important; }
  body { color: #000; }
}

/* Body scroll lock when modal open */
body.modal-open { overflow: hidden !important; }
