/* ===== CSS Variables & Root Styles ===== */
:root {
  --primary: #ff8c42;
  --primary-dark: #e67e2f;
  --background: #ffffff;
  --foreground: #1a1a1a;
  --muted: #f5f5f5;
  --muted-foreground: #666666;
  --border: #e0e0e0;
  --card-bg: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --radius: 0.5rem;
  --transition: all 0.3s ease;
}

[data-theme="dark"] {
  --background: #1a1a1a;
  --foreground: #ffffff;
  --muted: #2a2a2a;
  --muted-foreground: #999999;
  --border: #333333;
  --card-bg: #242424;
}

/* ===== Global Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.2;
  transition: var(--transition);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  line-height: 1.1;
}

/* Changed secondary fonts to Montserrat */
p,
.nav-link,
.btn,
.badge,
.info-item,
.form-group label,
.footer-section p,
.footer-section a,
.testimonial-text,
.tour-instruction {
  font-family: "Montserrat", sans-serif;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  color: var(--muted-foreground);
  line-height: 1.2;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--muted);
  border-color: var(--primary);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

[data-theme="dark"] .navbar {
  background-color: rgba(26, 26, 26, 0.8);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--foreground);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--foreground);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

/* Improved theme toggle functionality and styling */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 1.2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  transition: var(--transition);
  position: relative;
  padding: 0.25rem;
}

.theme-toggle:hover {
  color: var(--primary);
  transform: scale(1.1);
}

.sun-icon,
.moon-icon {
  width: 100%;
  height: 100%;
  position: absolute;
  transition: opacity 0.3s ease;
  stroke: currentColor;
}

.sun-icon {
  opacity: 1;
}

.moon-icon {
  opacity: 0;
}

/* Show moon icon in dark mode */
[data-theme="dark"] .sun-icon {
  opacity: 0;
}

[data-theme="dark"] .moon-icon {
  opacity: 1;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 1.5rem;
  height: 0.2rem;
  background-color: var(--foreground);
  transition: var(--transition);
}

/* Made Book Now button visible and responsive on mobile --> */
.book-btn {
  display: responsive;
  padding: 0.6rem 0.8rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: "Montserrat", sans-serif;
}

.book-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  margin-top: 4rem;
  overflow: hidden;
  padding: 0;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 0;
  opacity: 0.2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(57 104 1 / 84%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-text {
  max-width: 50rem;
  space-y: 1.5rem;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.1;
  text-align: justify;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero .btn-outline {
  background-color: transparent;
  border-color: white;
  color: white;
}

.hero .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* ===== Quick Info Section ===== */
.quick-info {
  background-color: var(--muted);
  padding: 2rem 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.info-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.info-item p {
  font-size: 0.875rem;
}

/* ===== Section Styles ===== */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background-color: rgba(255, 140, 66, 0.1);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
}

.section-footer {
  text-align: center;
  margin-top: 3rem;
}

/* ===== About Section ===== */
.about {
  background-color: var(--background);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  height: 500px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  space-y: 1.5rem;
}

.about-content h2 {
  margin: 1rem 0;
}

.about-content p {
  margin-bottom: 1rem;
  line-height: 1.3;
  text-align: justify;
}

/* ===== Rooms Section ===== */
.rooms {
  background-color: var(--muted);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.room-card {
  background-color: var(--card-bg);
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.room-card:hover {
  box-shadow: var(--shadow-md);
}

.room-image {
  position: relative;
  height: 16rem;
  overflow: hidden;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.room-card:hover .room-image img {
  transform: scale(1.05);
}

.room-content {
  padding: 1.5rem;
}

.room-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.room-content p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  text-align: justify;
}

.room-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;

  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 👈 two columns */
  column-gap: 1.5rem;
  row-gap: 0.5rem;
}

.room-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--foreground);
}

.check-icon {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .room-features {
    grid-template-columns: 1fr;
  }
}

.room-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.room-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price {
  font-size: 1.2rem;
  font-weight: bold;
}

.period {
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 550;
}

/* ===== Amenities Section ===== */
.amenities {
  background-color: var(--background);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.amenity-card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.amenity-card:hover {
  box-shadow: var(--shadow-md);
}

.amenity-icon {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.amenity-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.amenity-card p {
  font-size: 0.875rem;
  text-align: justify;
}

/* ===== Gallery Section ===== */
.gallery {
  background-color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  height: 300px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ===== Virtual Tour Section ===== */
.virtual-tour {
  background-color: var(--muted);
  padding: 60px 0;
}

.tour-viewer {
  background-color: var(--card-bg);
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  padding: 1rem;
  text-align: center;
}

/* Top location buttons */
.tour-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.tour-btn {
  padding: 0.5rem 1rem;
  background-color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  font-family: "Montserrat", sans-serif;
  color: var(--primary);
  font-weight: 700;
}

.tour-btn:hover,
.tour-btn.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Image viewer area */
.tour-frame {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: grab;
  border: 1px solid var(--border);
}

.tour-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  transition: transform 0.2s ease-out;
}

/* "Drag to explore" label */
.tour-instruction {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  user-select: none;
}

/* Zoom + Reset controls */
.tour-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.tour-controls button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background-color: var(--muted);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
  color: var(--muted-foreground);
}

.tour-controls button:hover {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===== Testimonials Section ===== */
.testimonials {
  background-color: var(--background);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--card-bg);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  width: 1.25rem;
  height: 1.25rem;
  color: #fbbf24;
}

.testimonial-text {
  font-style: italic;
  color: var(--muted-foreground);
  text-align: justify;
}

/* ===== Booking Section ===== */
.booking-section {
  background-color: rgba(255, 140, 66, 0.05);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.booking-info h2 {
  margin: 1rem 0;
}

.booking-info p {
  margin-bottom: 2rem;
  text-align: justify;
}

.contact-details {
  space-y: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

.booking-form-container {
  background-color: var(--card-bg);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.booking-form h3 {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
}

/* ===== Footer ===== */
.footer {
  background-color: var(--muted);
  padding: 1rem 0 1rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
}

.footer-logo {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--foreground);
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-section p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

.social-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--foreground);
}

.social-btn:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.social-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.footer-bottom { 
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

/* ===== Responsive Design ===== */
/* Mobile layout */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--background, #fff);
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .nav-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: flex;
  }

  .book-btn {
    margin-top: 0.5rem;
  }
}
  /* Show Book Now button on mobile and tablet */
  .book-btn {
    display: inline-block;
  }

  .about-grid,
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 350px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero .btn {
    width: 100%;
  }

  .footer-bottom { 
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  section {
    padding: 1rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .booking-form-container {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 0.75rem;
  }

  .navbar-content {
    padding: 0.75rem 0;
  }

  .logo {
    font-size: 1.25rem;
  }

  /* Improved theme toggle sizing for mobile */
  .theme-toggle {
    width: 1.75rem;
    height: 1.75rem;
  }

  .hero {
    height: 70vh;
    margin-top: 3.5rem;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .rooms-grid,
  .amenities-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 200px;
  }

  .tour-image {
    height: 250px;
  }

  .tour-locations {
    flex-direction: column;
  }

  .tour-btn {
    width: 100%;
  }

  .booking-info {
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }

  section {
    padding: 2rem 0;
  }
}



/* --- IMAGE SLIDER (FIXED) --- */
.image-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
     padding: 0;
}

.slider-wrapper {
    width: 100%;
    overflow: hidden;
}

.slider {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider img {
    width: 100%;
    flex: 0 0 100%; /* ← Each image takes the full width */
     
    object-fit: contain; /* Ensures clean scaling */
}
 

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dots span {
    width: 8px;
    height: 8px;
    background: #fff;
    opacity: 0.6;
    border-radius: 50%;
    cursor: pointer;
}

.slider-dots .active {
    opacity: 1;
}

/* Responsive (Auto-adjust height) */
@media (max-width: 768px) {
    .slider img {
        
    }
}
