/* HAR TRAVELS — bali.css */

:root {
  --color-bali-primary: #2d5a27; /* Forest Green */
  --color-bali-accent: #d4af37; /* Bali Gold */
  --color-bali-sand: #f4ece1;
  --color-bali-dark: #1a2a1a;
}

.bali-hero {
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--color-bali-dark);
  overflow: hidden;
}

.bali-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(1.2) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(26, 42, 26, 0.8));
}

.bali-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.pdf-viewer-container {
  width: 100%;
  height: 90vh;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: -80px;
  position: relative;
  z-index: 10;
  box-shadow: 0 40px 80px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
}

.pdf-viewer {
  width: 100%;
  height: 100%;
  border: none;
}

.gallery-section {
  padding: 10rem 0;
  background: var(--color-bali-sand);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(45, 90, 39, 0.2);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 42, 26, 0.9), transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.gallery-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-bali-accent);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.gallery-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  margin: 0;
}

.btn-bali {
    background: var(--color-bali-primary);
    color: #fff;
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(45, 90, 39, 0.2);
}

.btn-bali:hover {
    background: var(--color-bali-accent);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
    color: var(--color-bali-dark);
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-section { padding: 6rem 0; }
  .pdf-viewer-container { height: 70vh; margin-top: -40px; }
}
