/* ============ NAVBAR ============ */
header {
  width: 100%;
  background-color: #000000;
  padding: 10px 0;
  position: fixed;
  top: 0;
  z-index: 1000;
}
.navbar {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 600;
}
.logo img { width: 36px; height: auto; border-radius: 6px; transition: transform 0.3s ease; }
.logo img:hover { transform: rotate(-5deg) scale(1.05); }
.logo-name { color: #7bb661; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.nav-links a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  background-color: #ffd369;
  transition: width 0.3s ease;
}
.nav-links a:hover::before, .nav-links a.active::before {
  width: 100%;
}
.nav-links a:hover, .nav-links a.active {
  color: #ffd369;
  transform: translateY(-2px);
}

/* ======== MOBILE VERSION ======== */
@media (max-width: 768px) {
  .nav-links {
    overflow-x: auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    scrollbar-width: none; /* hide scrollbar in Firefox */
    -ms-overflow-style: none; /* hide scrollbar in IE/Edge */
  }
  .nav-links::-webkit-scrollbar { display: none; } /* hide scrollbar in Chrome/Safari */
  
  .nav-links li {
    flex: 0 0 auto;
  }

  .nav-links a {
    font-size: 14px;
    padding: 8px 12px;
  }
}
/* =================== HERO SECTION CSS =================== */
.hero-section {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section .overlay {
  background: rgba(0,0,0,0.5);
  padding: 30px 50px;
  border-radius: 12px;
  text-align: center;
  max-width: 90%;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  font-family: "Poppins", sans-serif;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.hero-section .static-text {
  color: #fff;
  margin-right: 10px;
}

.hero-section .typed-text {
  color: #01ccff; /* লাল রঙ */
}

/* Responsive */
@media(max-width: 992px){
  .hero-section { height: 500px; }
  .hero-section h1 { font-size: 2.2rem; }
  .hero-section .overlay { padding: 25px 40px; }
}

@media(max-width: 768px){
  .hero-section { height: 400px; }
  .hero-section h1 { font-size: 1.8rem; }
  .hero-section .overlay { padding: 20px 30px; }
}


/* ============ COTTAGE SECTION ============ */
.resort-section {
  background: #fdfcf7; padding: 90px 0 50px; text-align: center;
  font-family: "Poppins", sans-serif;
}
.section-title {
  font-size: 2.5rem; font-weight: 700; color: #2e2e1f;
  margin-bottom: 50px; position: relative;
}
.section-title::after {
  content: ""; width: 100px; height: 4px;
  background: linear-gradient(90deg, #c59d5f, #009e60);
  display: block; margin: 10px auto 0; border-radius: 5px;
}
.resort-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease; text-align: center;
}
.resort-card:hover { transform: translateY(-8px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); }
.image-wrapper img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.6s ease; }
.resort-card:hover .image-wrapper img { transform: scale(1.1); }
.cottage-name { color: #2e2e1f; font-weight: 600; margin-top: 15px; }
.cottage-rate { font-size: 1rem; color: #555; margin-bottom: 15px; }
.cottage-rate span { color: #009e60; font-weight: 600; }
.reserve-btn {
  display: inline-block; padding: 10px 25px; border-radius: 30px;
  background: linear-gradient(90deg, #02e8f8, #72e084); color: #000;
  text-decoration: none; font-weight: 600; transition: all 0.3s ease;
}
.reserve-btn:hover {
  transform: scale(1.08);
  background: linear-gradient(90deg, #000, #222);
  color: #fff;
}

/* ==================== FIXED RESPONSIVE 3D GALLERY ==================== */
.gallery-section {
  background: #f9f9f9;
  padding: 80px 0;
  font-family: "Poppins", sans-serif;
  text-align: center;
}

.gallery-section .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  background: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item::before {
  content: "";
  display: block;
  padding-top: 70%; /* fixes image aspect ratio */
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover {
  transform: translateY(-6px) rotateX(3deg) rotateY(-3deg);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .gallery-grid {
    gap: 12px;
  }
  .gallery-item::before {
    padding-top: 80%;
  }
}
/* ==================== DRIVE VIDEO GALLERY ==================== */
.video-gallery {
  background: linear-gradient(180deg, #f6f9f8 0%, #eaf8f3 100%);
  padding: 90px 0;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.video-gallery .section-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 40px;
}

.videoSwiper {
  width: 100%;
  max-width: 900px;
  margin: auto;
}

.video-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: #000;
}

.video-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
  transition: transform 0.4s ease;
}

.video-box iframe:hover {
  transform: scale(1.02);
}

/* Responsive */
@media (max-width: 768px) {
  .video-gallery .section-title { font-size: 1.8rem; }
}


/* ============ CONTACT SECTION ============ */
.contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #000000 0%, #131718 100%);
}
.contact-section h1 {
  color: #fff; letter-spacing: 1px;
}
.btn-success {
  background-color: #00a86b;
  border: none;
}
.btn-success:hover {
  background-color: #008f5a;
}


  .contact-social i {
    font-size: 1.8rem; 
    transition: transform 0.3s, color 0.3s;
  }

  .contact-social a:hover i {
    color: #2bebdb; 
    transform: scale(1.3); 
  }

  @media (max-width: 768px) {
    .contact-social i {
      font-size: 1.5rem;
    }
  }

/* ============ FOOTER ============ */
footer a { color: #ffd369; text-decoration: none; }
footer a:hover { text-decoration: underline; }

  .social-icons i {
    font-size: 1.3rem; 
    transition: transform 0.3s, color 0.3s;
  }

  .social-icons a:hover i {
    color: #00aced; 
    transform: scale(1.2); 
  }

  @media (max-width: 768px) {
    .social-icons {
      right: 10px;
    }
  }

