@font-face {
  font-family: 'HelveticaNeueMedium';
  src: url('HelveticaNeueMedium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeueBold';
  src: url('HelveticaNeueBold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Lagency';
  src: url('Lagency-Regular.woff2') format('woff2'),
    url('Lagency-Regular.woff') format('woff'),
    url('Lagency-Regular.ttf') format('truetype'),
    url('Lagency-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
   font-family: 'HelveticaNeueMedium', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'HelveticaNeueMedium', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


/* Main Wrapper */
#main {
  width: 100%;
  overflow: hidden;
}

/* Main Wrapper */
#main {
  width: 100%;
  overflow: hidden;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  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;
}


/* Navigation */
nav {
  padding: 2vw 4vw;
  width: 100%;
  display: flex;
  position: fixed;
  z-index: 100;
  background: rgb(0, 0, 0);
  justify-content: space-evenly;
}

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

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

#nav-part2 h4 {
  padding: 10px 20px;
  border: 1px solid #ffffff3c;
  border-radius: 50px;
  font-weight: 500;
  color: #ffffffd4;
  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: #fff;
  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;
}



/* Hero Content */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  padding: 20px;
}

.hero-content h1 {
  font-size: clamp(1.75rem, 2.5vw + 1rem, 3rem);
  font-weight: bold;
  max-width: 900px;
  margin: auto;
  line-height: 1.3;
  font-family: 'Lagency', serif;

}

.btn-main {
  display: inline-block;
  margin-top: 20px;
  background-color: #d4a94f;
  padding: 15px 30px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
}


.layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  justify-content: center;
  padding: 40px;
  margin: 0 auto;
  max-width: 1400px;
}

.experience-card {
  width: 100%;
  max-width: 320px;
  height: 500px;
  perspective: 1000px;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  margin: 0 auto;
}

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

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: Arial, sans-serif;
}

.checkbox-item {
  display: flex;
  align-items: center;
}

.checkbox-item input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
}

.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: 1px;
  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);
}

#page6 {
  height: 20vh;
  width: 100%;
  background-color: white;
  position: relative;
}

#page6>#text3 {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 90%;
}

#page6>#text3>h3 {
  color: #7c7c7c;
  font-weight: 400;
}

#page6>#text3>h1 {
  font-size: 70px;
}

.tailor-hero {
  position: relative;
  height: 500px;
  background: url('./images/PreciousMoments-CTA-890x500.png') no-repeat center center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-size: cover;
  color: white;
}

.tailor-overlay {
  width: 100%;
  max-width: 1200px;
  padding: 40px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.tailor-content h1 {
  font-size: 36px;
  color: #d4a94f;
  margin-bottom: 10px;
}

.tailor-content p {
  font-size: 16px;
  max-width: 600px;
  color: #000;
}

.book-button {
  background-color: #d4a94f;
  color: white;
  padding: 12px 30px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 3px;
  margin-top: 20px;
  height: fit-content;
}

/* Footer */
footer {
  background-color: #000;
  color: white;
  padding: 60px 40px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-col {
  flex: 1 1 200px;
  margin: 20px 0;
}

.footer-col h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid #555;
  padding-bottom: 10px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: white;
}

.footer-col ul li {
  padding: 6px 0;
  font-size: 15px;
  color: white;
}

.footer-col p {
  font-size: 15px;
  line-height: 1.6;
  color: white;
}

.footer-logo {
  width: 150px;
  margin-bottom: 15px;
}

footer a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.button-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.card-container {
  perspective: 1000px;
  width: 300px;
  margin: auto;
}

.flip-card {
  width: 100%;
  height: 400px;
  position: relative;
}

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

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

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  background: #fffdf8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.flip-card-front img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.flip-card-back {
  transform: rotateY(180deg);
}

.btn {
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn.view {
  background: linear-gradient(to right, #d4af37, #b8860b);
  color: #fff;
}

.btn.book {
  background: linear-gradient(to right, #ffcc00, #d4af37);
  color: #fff;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.about {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  text-align: center;
}

.about h3 {
  font-size: 26px;
  margin-bottom: 16px;
}

.about p {
  color: #444;
  margin-bottom: 24px;
}

.pagination {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.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 FIX === */
.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 1.5rem;
  margin-top: 0.5rem;
}

.checkbox-group label {
  display: flex;
  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;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Large Tablets */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5em;
  }

  .tailor-overlay {
    padding: 30px 40px;
  }

  .tailor-content h1 {
    font-size: 32px;
  }

  .layout {
    padding: 30px 20px;
    gap: 30px;
  }

  #page6>#text3>h1 {
    font-size: 60px;
  }
}

/* Small Tablets */
@media (max-width: 768px) {
  nav {
    padding: 3vw 5vw;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .logo {
    width: 100px;
  }

  #nav-part2 {
    gap: 15px;
    justify-content: center;
  }

  #nav-part2 h4 {
    font-size: 16px;
    padding: 8px 16px;
  }

  .hero-content h1 {
    font-size: 2em;
    padding: 0 15px;
  }

  .layout {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 20px 15px;
    gap: 20px;
  }

  .experience-card {
    max-width: 280px;
    height: 450px;
  }

  .tailor-hero {
    height: 400px;
  }

  .tailor-overlay {
    flex-direction: column;
    text-align: center;
    padding: 20px 30px;
    gap: 15px;
  }

  .tailor-content h1 {
    font-size: 28px;
  }

  #page6>#text3>h1 {
    font-size: 50px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-col {
    margin: 15px 0;
  }

  .filters {
    flex-direction: column;
  }

  .filter-group {
    width: 100%;
  }

  .filter-section {
    padding: 1.5rem;
    margin: 1.5rem 15px;
  }

  .card-container {
    width: 100%;
    max-width: 280px;
  }

  .flip-card {
    height: 350px;
  }
}

/* Mobile Phones */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8em;
    line-height: 1.2     ;
  }

  nav {
    padding: 4vw 6vw;
  }

  .logo {
    width: 80px;
  }

  #nav-part2 h4 {
    font-size: 14px;
    padding: 6px 12px;
  }

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

  .layout {
    grid-template-columns: 1fr;
    padding: 15px 10px;
    gap: 15px;
  }

  .experience-card {
    max-width: 100%;
    height: 400px;
  }

  .experience-info {
    padding: 15px;
  }

  .experience-info h2 {
    font-size: 20px;
  }

  .info-grid {
    padding: 0 10px;
    font-size: 14px;
  }

  .price {
    font-size: 18px;
  }

  .tailor-overlay {
    padding: 15px 20px;
  }

  .tailor-content h1 {
    font-size: 24px;
  }

  .tailor-content p {
    font-size: 15px;
  }

  .book-button {
    padding: 10px 25px;
    font-size: 14px;
  }

  #page6 {
    height: 15vh;
  }

  #page6>#text3>h1 {
    font-size: 36px;
  }

  #page6>#text3>h3 {
    font-size: 14px;
  }

  footer {
    padding: 40px 20px;
  }

  .footer-logo {
    width: 120px;
  }

  .about h3 {
    font-size: 22px;
  }

  .about p {
    font-size: 15px;
  }

  .filter-section {
    padding: 1rem;
    margin: 1rem 10px;
  }

  .filter-section h2 {
    font-size: 1.9rem;
  }

  .checkbox-group {
    gap: 0.8rem 1rem;
  }

  .checkbox-group label {
    font-size: 0.9rem;
  }

  .filter-btn {
    padding: 0.7rem 1rem;
    width: 100%;
  }

  .button-group {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 12px 30px;
    font-size: 16px;
    width: 100%;
    max-width: 200px;
    text-align: center;
  }

  .flip-card {
    height: 320px;
  }

  .flip-card-front img {
    height: 150px;
  }

  footer {
    background-color: #000;
    color: white;
    padding: 0px 1px;
  }

  .foo {
    display: flex;
  }

  .footer-col {
    margin: 0px 0;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .hero-content h1 {
    font-size: 1.5em;
  }

  .layout {
    padding: 10px 5px;
  }

  .experience-card {
    height: 380px;
  }

  #page6>#text3>h1 {
    font-size: 28px;
  }

  .tailor-content h1 {
    font-size: 20px;
  }

  .filter-section {
    margin: 1rem 5px;
  }
}