/* ---------- Global ---------- */
body {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  color: #333;
  background-color: #fff;
}

/* ---------- Header ---------- */
header {
  position: fixed;
  top: 0;
  width: 95%;
  background-color: rgba(0, 77, 77, 0.9);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  z-index: 10;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 12px;
  padding: 8px 10px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

nav a:hover,
nav a.active {
  background-color: black;
}

/* ---------- Fullscreen Hero ---------- */
.hero-full {
  position: relative;
  height: 100vh;
  background: url('images/bali_bg.avif') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
  animation: fadeIn 2s ease;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn {
  background-color: black;
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #ff3b2f;
}

/* ---------- About ---------- */
.about {
  background-color: #f9f9f9;
  padding: 70px 20px;
  text-align: center;
}

.about h2 {
  color: #004d4d;
  font-size: 2rem;
}

.about p {
  max-width: 850px;
  margin: 20px auto;
  line-height: 1.8;
}

/* ---------- Experiences ---------- */
.experiences {
  padding: 60px 20px;
  background-color: #fff;
}

.experiences h2 {
  text-align: center;
  font-size: 2rem;
  color: #004d4d;
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card h3 {
  color: #007b7b;
  padding: 10px 15px 0;
}

.card p {
  padding: 0 15px 20px;
  color: #555;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ---------- Footer ---------- */
footer {
  background-color: #004d4d;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* ---------- Animation ---------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}
/* ---------- Adventure Page Styles ---------- */

/* Hero Banner */
.hero-adventure {
  position: relative;
  height: 75vh;
  background: url('images/adventure.avif') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-adventure .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-adventure .hero-content {
  text-align: center;
  color: white;
  z-index: 2;
}

.hero-adventure h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-adventure p {
  font-size: 1.2rem;
}

/* Adventure Section */
.adventure-section {
  padding: 70px 20px;
  text-align: center;
}

.adventure-section h2 {
  color: #004d4d;
  font-size: 2rem;
  margin-bottom: 10px;
}

.adventure-section .intro {
  max-width: 750px;
  margin: 0 auto 40px;
  color: #555;
  line-height: 1.7;
}

/* Adventure Grid */
.adventure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.adventure-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.adventure-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 77, 77, 0.85);
  color: white;
  padding: 20px;
  text-align: left;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.adventure-card:hover .card-overlay {
  transform: translateY(0);
}

.adventure-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.adventure-card p {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Hover Lift Effect */
.adventure-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .hero-adventure h1 {
    font-size: 2rem;
  }

  .adventure-card img {
    height: 200px;
  }
}

/* ---------- Culture Page Styles ---------- */

/* Hero Banner */
.hero-culture {
  position: relative;
  height: 75vh;
  background: url('images/culture.avif') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-culture .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-culture .hero-content {
  text-align: center;
  color: #fff8dc;
  z-index: 2;
}

.hero-culture h1 {
  font-size: 3rem;
  color: #ffe082;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-culture p {
  font-size: 1.2rem;
  color: #fffbe8;
}

/* Intro Section */
.culture-intro {
  background-color: #fffbe6;
  padding: 70px 20px;
  text-align: center;
}

.culture-intro h2 {
  color: #7a5200;
  font-size: 2rem;
  margin-bottom: 15px;
}

.culture-intro p {
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.8;
  color: #4b3c1d;
}

/* Culture Highlights Grid */
.culture-section {
  padding: 70px 20px;
  background-color: #fffdf8;
}

.culture-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #7a5200;
  margin-bottom: 40px;
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.culture-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.culture-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.culture-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(122, 82, 0, 0.85);
  color: white;
  padding: 20px;
  text-align: left;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.culture-card:hover .culture-overlay {
  transform: translateY(0);
}

.culture-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.culture-card p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.culture-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .hero-culture h1 {
    font-size: 2rem;
  }

  .culture-card img {
    height: 200px;
  }
}

/* ---------- Travel Guide Page Styles ---------- */

/* Hero Section (Gradient Banner) */
.guide-hero {
  background: linear-gradient(to right, #00a7a7, #009999, #007f80);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.guide-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.guide-text p {
  font-size: 1.2rem;
}

/* Info Section */
.guide-section {
  background-color: #f8fcfc;
  padding: 70px 20px;
}

.guide-section h2 {
  text-align: center;
  color: #004d4d;
  margin-bottom: 10px;
}

.guide-section .intro {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px;
  color: #555;
  line-height: 1.7;
}

/* Info Cards */
.info-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-card {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card.reverse {
  flex-direction: row-reverse;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.info-card img {
  width: 50%;
  height: 300px;
  object-fit: cover;
}

.info-content {
  flex: 1;
  padding: 30px;
  text-align: left;
}

.info-content h3 {
  color: #007f80;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.info-content p {
  line-height: 1.6;
  color: #444;
}

/* Quick Tips Section */
.quick-tips {
  background: linear-gradient(180deg, #e0f7f7, #ffffff);
  padding: 70px 20px;
  text-align: center;
}

.quick-tips h2 {
  color: #004d4d;
  font-size: 2rem;
  margin-bottom: 40px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.tip {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tip:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.tip h3 {
  color: #007f80;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.tip p {
  color: #555;
  line-height: 1.6;
}

/* Responsive */
@media screen and (max-width: 900px) {
  .info-card {
    flex-direction: column;
  }
  .info-card.reverse {
    flex-direction: column;
  }
  .info-card img {
    width: 100%;
    height: 250px;
  }
}
/* ---------- Gallery Page Styles ---------- */

/* Hero Banner */
.gallery-hero {
  position: relative;
  height: 70vh;
  background: url('images/gallery_bg.avif') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-hero .overlay {
  background-color: rgba(0, 0, 0, 0.45);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-hero .hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

.gallery-hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.gallery-hero p {
  font-size: 1.2rem;
}

/* Gallery Section */
.gallery-section {
  padding: 70px 20px;
  background-color: #fefefe;
  text-align: center;
}

.gallery-section h2 {
  color: #004d4d;
  font-size: 2rem;
  margin-bottom: 10px;
}

.gallery-section .intro {
  max-width: 750px;
  margin: 0 auto 40px;
  color: #555;
  line-height: 1.7;
}

/* Photo Grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 250px;
  gap: 20px;
}

.photo {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.photo:hover img {
  transform: scale(1.1);
  opacity: 0.9;
}

/* Overlay */
.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 77, 77, 0.7);
  color: white;
  text-align: center;
  padding: 10px 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.photo:hover .photo-overlay {
  opacity: 1;
}

.photo-overlay span {
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .gallery-hero h1 {
    font-size: 2rem;
  }

  .photo-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    grid-auto-rows: 200px;
  }
}

/* ---------- Contact Page Styles ---------- */

/* ---------- Contact Page Styles (Updated) ---------- */

/* Hero Background */
.contact-hero {
  position: relative;
  min-height: 90vh; /* Reduced from 100vh */
  background: url('images/adventure.avif') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px; /* Added balanced padding */
}

/* Dark Overlay for better contrast */
.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Frosted Glass Contact Container */
.contact-container {
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px 40px; /* Reduced from 40px 50px */
  max-width: 520px; /* Slightly narrower */
  width: 90%;
  color: white;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  z-index: 2;
  animation: fadeIn 1.2s ease;
}

/* Heading and Intro Text */
.contact-container h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: 1px;
}

.contact-container p {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #f3f3f3;
  line-height: 1.6;
}

/* Form Layout */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px; /* Reduced spacing for better compactness */
}

/* Input Groups */
.input-group {
  text-align: left;
}

.input-group label {
  display: block;
  font-weight: 600;
  color: #e0f7f7;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* Input and Textarea Fields */
.input-group input,
.input-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  color: #333;
  font-size: 1rem;
  outline: none;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
  background: #fff;
  transform: scale(1.02);
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

/* Send Button */
.btn-contact {
  background: linear-gradient(to right, #00b3b3, #009999);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  padding: 14px 25px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-contact:hover {
  background: linear-gradient(to right, #00d4d4, #00aaaa);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 255, 255, 0.3);
}

/* Smooth Fade Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .contact-container {
    padding: 25px 20px;
    max-width: 90%;
  }

  .contact-container h1 {
    font-size: 1.9rem;
  }

  .contact-container p {
    font-size: 0.95rem;
  }

  .btn-contact {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}
