/* === VIRTUAL TOUR CSS === */

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #f8f9f9;
  color: #0a621c;
  font-weight: 600;
  text-align: center;
}

/* === NAVBAR === */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background-color: #e6f4ea;
  padding: 10px 0px 15px 0px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  max-width: 60px;
  height: auto;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a621c;
  white-space: nowrap;
}

.custom-navbar {
  background: none;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-transform: uppercase;
  padding: 1rem 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.nav-list li a {
  color: #0a621c;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 1.05rem;
  border-radius: 0px;
  transition: 0.3s background-color ease-in-out, 0.3s color ease-in-out;
}

.nav-list li a:hover {
  background-color: #0a8a61;
  color: white;
}

/* Bounce Animation */
@keyframes bounce-animation {
  16.65% { transform: translateY(8px); }
  33.3%  { transform: translateY(-6px); }
  49.95% { transform: translateY(4px); }
  66.6%  { transform: translateY(-2px); }
  83.25% { transform: translateY(1px); }
  100%   { transform: translateY(0); }
}

.bounce {
  animation: bounce-animation 2s;
}

/* === VR EXPERIENCE SECTION === */
.virtual-tour-hero.slideshow-bg {
  position: relative;
  height: 75vh;
  margin: 10px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.virtual-tour-slideshow {
  position: absolute;
  display: flex;
  inset: 0;
  z-index: 0;
}

.virtual-tour-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  border-radius: 16px;
}

.virtual-tour-slideshow img.active {
  opacity: 1;
  z-index: 1;
}

.virtual-tour-overlay {
  position: relative;
  z-index: 2;
  background: rgba(230, 244, 234, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2.5rem 3rem;
  border-radius: 20px;
  color: #0a621c;
  text-align: center;
  max-width: 90%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  animation: popup 0.6s ease-in-out;
}

.virtual-tour-overlay h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0a621c;
}

.virtual-tour-overlay p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #044e38;
  margin-bottom: 1.5rem;
  font-weight: normal;
}

.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.cta-button.primary {
  background-color: #10B981;
  text-align: center;
  color: #fff;
}

.cta-button.primary:hover {
  background-color: #0a8a61;
}

.cta-button.secondary {
  background-color: transparent;
  border: 2px solid #0a8a61;
  color: #0a8a61;
}

.cta-button.secondary:hover {
  background-color: #0a8a61;
  color: #fff;
}

/* === ANIMATION === */
@keyframes popup {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 600px) {
  .virtual-tour-slideshow img {
    object-position: top center;
  }
}

/* === AMENITIES SECTION === */
.amenities {
  padding: 4rem 2rem;
  background-color: #e6f4ea;
  text-align: center;
}

.amenities-content h2 {
  font-size: 2.5rem;
  color: #0a621c;
  margin-bottom: 0.5rem;
}

.amenities-content p {
  font-size: 1.2rem;
  color: #044e38;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.amenity-item {
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.amenity-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.amenity-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.amenity-text {
  padding: 1.5rem;
  color: #0a621c;
}

.amenity-text h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.amenity-text p {
  font-size: 1rem;
  color: #555;
  font-weight: normal;
}

.virtual-tour-hero {
  position: relative;
  height: 100vh; /* Changed from 20vh to 100vh for full viewport height */
  width: 100%; /* Changed from 20% to 100% for full width */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.virtual-tour-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the entire area, maintaining aspect ratio */
  position: absolute;
  top: 0;
  left: 0;
}


.white-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: 1;
  border-radius: 16px; /* You can keep this or remove it, depending on your preference */
}

.launch-tour-overlay {
  position: relative; /* Change this from 'absolute' to 'relative' */
  z-index: 2;
  background: rgba(230, 244, 234, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2.5rem 3rem;
  border-radius: 20px;
  color: #0a621c;
  text-align: center;
  max-width: 90%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.launch-tour-overlay h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #0a621c;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.launch-tour-button {
  display: inline-block;
  background-color: #0a8a61;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(10, 138, 97, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(10, 138, 97, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(10, 138, 97, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(10, 138, 97, 0);
  }
}

.launch-tour-button:hover {
  background-color: #087151;
  transform: translateY(-2px);
  animation: none;
}

/* === REVIEWS SECTION === */
.reviews-section {
  padding: 4rem 2rem;
  background: #f5fdf8;
  text-align: center;
}

.reviews-header h2 {
  font-size: 2.5rem;
  color: #0a621c;
  margin-bottom: 0.5rem;
}

.reviews-header p {
  color: #044e38;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.review-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.reviewer-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0a621c;
  margin-bottom: 0.25rem;
}

.reviewer-info p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.review-text {
  font-style: italic;
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.review-rating {
  font-size: 1.3rem;
  color: #fbbf24; /* gold stars */
}

/* === ADMIN ICON === */
#admin-icon {
  position: fixed;
  bottom: 90px;
  right: 23px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: transparent;
  z-index: 1000;
  cursor: pointer;
  transition: all 0.3s ease;
}

#admin-icon:hover {
  box-shadow: 0 0 15px 5px rgba(10, 138, 97, 0.5);
  background-color: rgba(10, 138, 97, 0.1);
  transform: scale(1.05);
}

/* === FOOTER SECTION === */
footer {
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
  color: #333;
}

.footer-content {
  border-top: 1px solid #eaeaea;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 30px 60px;
}

.footer-logo {
  flex: 1;
  max-width: 300px;
  padding: 5px 0;
  text-align: left;
}

.footer-logo img {
  width: 150px;
  height: auto;
}

.footer-logo h3 {
  font-size: 18px;
  font-weight: bold;
  color: #00563b;
  margin: 5px 0;
}

.footer-logo p {
  font-size: 14px;
  color: #777;
  font-weight: normal;
}

.footer-links,
.footer-follow {
  flex: 1;
  margin: 10px 20px;
  min-width: 250px;
}

.footer-links h4,
.footer-follow h4 {
  color: #00563b;
  font-size: 18px;
  margin-bottom: 10px;
  margin: 15px 20px;
}

.footer-contact h4{
  text-align: left;
  flex: 1;
  margin: 30px 20px;
  min-width: 250px;
  color: #00563b;
  font-size: 18px;
  margin-bottom: 10px
}

.footer-links ul {
  list-style-type: none;
  padding: 0;
}

.footer-links li {
  margin: 12px 0;
}

.footer-links a {
  text-decoration: none;
  font-weight: normal;
  color: #00563b;
  font-size: 16px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
  color: #10B981;
  transform: scale(1.05);
}

.footer-contact p {
  margin: 8px 0;
  font-size: 14px;
  font-weight: normal;
  color: #333;
  text-align: left;
}

.footer-contact img {
  width: 20px;
  vertical-align: middle;
  margin-right: 8px;
}

.footer-follow a {
  display: inline-block;
  margin-right: 12px;
}

.footer-follow img {
  width: 35px;
  height: auto;
  transition: transform 0.3s ease;
}

.footer-follow a:hover img {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #777;
  border-top: 1px solid #eaeaea;
  padding: 15px 0;
  font-weight: normal;
}

/* === RESPONSIVE STYLES === */

/* Tablet adjustments */
@media (max-width: 1024px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }
  .footer-logo, .footer-links, .footer-contact, .footer-follow {
    text-align: center;
    margin: 15px 0;
  }
   .footer-contact h4 {
      text-align: center;
  }
   .footer-contact p {
      text-align: center;
  }
}

/* Mobile adjustments */
@media (max-width: 600px) {
  /* Header */
  .header-top {
    flex-direction: column;
    align-items: center;
  }
  .brand-name {
    font-size: 1rem;
    white-space: normal;
    text-align: center;
  }
  .logo {
    max-width: 50px;
  }

  /* Navbar turns vertical */
  .nav-list {
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    gap: 0;
  }

  .nav-list li a {
    font-size: 0.9rem;
    padding: 8px 6px;
  }

  /* Footer */
  .footer-logo img {
    width: 120px;
  }
  .footer-logo h3 {
    font-size: 16px;
  }
  .footer-links a {
    font-size: 14px;
  }

  /* Icons (Admin + Chatbot) */
  #admin-icon,
  #chatbot-icon {
    width: 55px;
    height: 55px;
    bottom: 80px;
    right: 20px;
  }
  #chatbot-icon {
    bottom: 20px;
  }
}