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

body, html {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  height: 100%;
  overflow-x: hidden;
  background-color: #fff;
}

#main {
  width: 100%;
  overflow: hidden;
}

/* Hero Section */
.hero {
  position: relative;
  height: 65vh;
  width: 100%;
  overflow: hidden;
  z-index: 0;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  background-position: center;
  background-size: cover;
  margin-bottom: 20%;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #e5e1d9;
  z-index: 1;
  font-size: 1.7rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: bold;
  margin-top: 10%;
}

/* Navigation */
nav {
  padding: 2vw 4vw;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 100;
  background: rgba(255, 255, 255, 0);
}

.logo {
  width: 120px;
  height: auto;
}

#nav-part2 {
  display: flex;
  align-items: center;
  gap: 1vw;
}

#nav-part2 h4 {
  padding: 10px 20px;
  border: 1px solid #0000003c;
  border-radius: 50px;
  font-weight: 500;
  color: #010101d4;
  transition: all ease 0.4s;
  position: relative;
  font-size: 18px;
  overflow: hidden;
  cursor: pointer;
}

#nav-part2 h4::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #d4a94f;
  left: 0;
  bottom: -100%;
  border-radius: 50%;
  transition: all ease 0.4s;
  z-index: 1;
}

#nav-part2 h4:hover::after {
  bottom: 0;
  border-radius: 0;
}

#nav-part2 h4 a {
  color: #090606;
  text-decoration: none;
  position: relative;
  z-index: 9;
}

#nav-part2 h4:hover a {
  color: #fff;
}

.btn-top {
  background-color: #d4a94f;
  padding: 10px 20px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  border-radius: 3px;
}

/* Layout & Experience Cards */
.layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
  padding: 20px;
  margin-left: 50px;
}

.experience-card {
  width: 100%;
  max-width: 320px;
  height: 500px;
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

.experience-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  background: linear-gradient(to bottom right, #fff, #fdf8f1);
  display: flex;
  flex-direction: column;
}

.card-back {
  transform: rotateY(180deg);
  justify-content: center;
  align-items: center;
  padding: 1rem;
  text-align: center;
}

.experience-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.experience-info {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
}

.experience-info h2 {
  font-size: 22px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 12px;
}

.info-grid {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  margin: 16px 0;
  color: #555;
  padding: 0 20px;
}

.price {
  font-size: 20px;
  font-weight: bold;
  color: #c89d45;
}

.description, .card-back p {
  font-size: 15px;
  color: #666;
  margin: 16px 0;
  line-height: 1.5;
  padding: 0 10px;
}

.months {
  font-size: 13px;
  color: #777;
  font-style: italic;
  text-align: center;
}

.view-button {
  text-align: center;
  padding-bottom: 20px;
}

.view-button button {
  padding: 12px 24px;
  background: linear-gradient(to right, #c89d45, #b8860b);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.view-button button:hover {
  background: linear-gradient(to right, #a87e33, #946a00);
  transform: scale(1.05);
}

/* Pagination */
.pagination {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
}

.pagination button {
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  color: white;
  background: #d58512;
  transition: 0.3s ease;
}

.pagination button.active {
  background: #ec971f;
}

.pagination button:hover {
  opacity: 0.9;
}

.pagination .next {
  background: none;
  color: #444;
  font-weight: normal;
  display: flex;
  align-items: center;
}

.pagination .next:hover {
  color: #000;
}

/* Filter Section */
.filter-section {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  margin: 2rem auto;
  max-width: 1200px;
}

.filter-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.filter-group {
  flex: 1 1 250px;
  min-width: 250px;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 4rem;
  margin-top: 0.5rem;
  align-items: center;
  text-align: center;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 0.5rem;
  cursor: pointer;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #4a6650;
  cursor: pointer;
}

input[type="range"] {
  width: 100%;
  margin-top: 0.5rem;
  accent-color: #4a6650;
}

#price-value, #duration-value {
  font-weight: bold;
  display: block;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.filter-btn {
  background-color: #000;
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  margin-top: auto;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.filter-btn:hover {
  background-color: #333;
}

/* Responsiveness */
@media (max-width: 992px) {
  .layout {
    grid-template-columns: 1fr;
    margin-left: 0;
    padding: 20px;
  }

  .experience-card {
    height: auto;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content {
    font-size: 1.3rem;
  }

  .filter-group {
    min-width: 100%;
  }

  .checkbox-group {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content {
    font-size: 1.1rem;
  }

  .btn-top {
    padding: 8px 15px;
    font-size: 14px;
  }
}
