/* ========== GLOBAL ========== */
body {
  font-family: 'Kanit', 'Prompt', 'Segoe UI', sans-serif;
  background-color: #f4f6f9;
  color: #2c2c2c;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: 0.3s ease;
}

a:hover {
  color: #ff5722;
}

.btn {
  transition: all 0.3s ease-in-out;
}

/* ========== NAVBAR ========== */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease-in-out;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.4rem;
  letter-spacing: 1px;
}

.navbar-nav .nav-link {
  margin-left: 1rem;
  font-weight: 500;
  color: #fff;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #ffc107 !important;
}

/* ========== HERO SECTION ========== */
.hero-section {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.65)),
              url('../assets/images/adventure-hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-section h1 {
  font-size: 3.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
  animation: fadeInDown 1.2s ease-out;
}

.hero-section p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 1rem auto 2rem;
  animation: fadeInUp 1.5s ease-out;
}

.hero-section .btn {
  font-size: 1.1rem;
  padding: 0.75rem 2rem;
  animation: fadeInUp 2s ease-out;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Fade on scroll (JS-controlled) */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== CARDS (SERVICE) ========== */
.card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(255, 87, 34, 0.3);
}

.card-img-top {
  height: 240px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .card-img-top {
    height: 180px;
  }
}

.card-title {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.95rem;
}

/* ========== CTA SECTION ========== */
.bg-gradient-cta {
  background: linear-gradient(to right, #ff5722, #f44336);
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.bg-gradient-cta h2 {
  font-size: 2rem;
  font-weight: 700;
}

.bg-gradient-cta .btn {
  background-color: white;
  color: #f44336;
  font-weight: 600;
  padding: 0.7rem 2rem;
  margin-top: 1rem;
  transition: 0.3s ease;
}

.bg-gradient-cta .btn:hover {
  background-color: #fdd835;
  color: #000;
}

/* ========== FOOTER ========== */
footer {
  background-color: #121212;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.95rem;
}

footer a {
  color: #f5f5f5;
  text-decoration: underline;
}

footer a:hover {
  color: #ffc107;
}

/* ========== PRELOADER ========== */
#preloader {
  position: fixed;
  background: #fff url('../assets/images/logo.png') no-repeat center center;
  background-size: 80px;
  width: 100%;
  height: 100%;
  z-index: 9999;
}
.gallery-wrapper {
  position: relative;
  overflow: hidden;
}

.watermark-text {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  background-color: rgba(0,0,0,0.4);
  padding: 2px 6px;
  border-radius: 5px;
  font-weight: 600;
}
.zoomable {
  cursor: zoom-in;
  transition: transform 0.3s ease;
  max-width: 200px;
}

.zoomable.zoomed {
  transform: scale(2.5);
  z-index: 1050;
  position: relative;
  cursor: zoom-out;
}