/* Pousada Sombra do Juá - Estilos Personalizados */

:root {
  --jua-primary: #719430;
  --jua-dark: #3b5016;
  --jua-darker: #24340d;
  --jua-light: #f5f8ee;
  --jua-tint: #ecf3df;
  --jua-accent: #d97706;
  --earth-title: #2d2216;
}

/* Tipografia e Suavização */
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #334155;
  background-color: #fafbfc;
  overflow-x: hidden;
}

.font-serif-display {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Barra de rolagem personalizada */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #a3c267;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #719430;
}

/* Transições suaves */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Efeito Glassmorphism */
.glass-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-dark {
  background: rgba(20, 29, 9, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Sombras refinadas */
.shadow-card {
  box-shadow: 0 10px 30px -5px rgba(45, 60, 18, 0.08), 0 4px 6px -2px rgba(45, 60, 18, 0.03);
}

.shadow-card-hover:hover {
  box-shadow: 0 20px 40px -10px rgba(45, 60, 18, 0.16), 0 8px 12px -3px rgba(45, 60, 18, 0.05);
  transform: translateY(-4px);
}

/* Animação de pulso no WhatsApp */
@keyframes pulse-subtle {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

.btn-whatsapp-pulse {
  animation: pulse-subtle 2.5s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

/* Slider Hero */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out, transform 8s ease-out;
  transform: scale(1.04);
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Efeito gradiente hero */
.hero-overlay {
  background: linear-gradient(180deg, rgba(16, 26, 7, 0.72) 0%, rgba(20, 32, 8, 0.6) 50%, rgba(16, 26, 7, 0.88) 100%);
}

/* Lightbox Modal */
.lightbox-backdrop {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox-backdrop.show .lightbox-content {
  transform: scale(1);
}

/* Badge de selo */
.badge-jua {
  background: #ecf3df;
  color: #3b5016;
  border: 1px solid #d7e6bd;
}

/* Zoom suave nas imagens da galeria */
.gallery-img-container {
  overflow: hidden;
}

.gallery-img-container img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-img-container:hover img {
  transform: scale(1.08);
}
