* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.hero {
  height: 100vh;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../images/image_2.jpg") center center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="g" cx="50%" cy="50%"><stop offset="0%" stop-color="%23fff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23fff" stop-opacity="0"/></radialGradient></defs><circle cx="20" cy="20" r="2" fill="url(%23g)"><animate attributeName="opacity" values="0;1;0" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1.5" fill="url(%23g)"><animate attributeName="opacity" values="0;1;0" dur="2s" repeatCount="indefinite" begin="1s"/></circle><circle cx="40" cy="70" r="1" fill="url(%23g)"><animate attributeName="opacity" values="0;1;0" dur="2.5s" repeatCount="indefinite" begin="0.5s"/></circle></svg>')
    repeat;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  transform: translateY(-100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}
.logo-title {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav.visible {
  transform: translateY(0);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #667eea;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.hero-content {
  z-index: 2;
  color: white;
}
.hero-logo-img {
  height: 30vh;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
  background: linear-gradient(45deg, #ff6b6b, #feca57);
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.modal-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.modal-thumb:hover {
  opacity: 1;
  border-color: #999;
}

.modal-thumb.active {
  opacity: 1;
  border-color: #667eea;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 5rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.room-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.room-image {
  position: relative;
  height: 250px;
  background-size: cover;
  background-position: center;
  transition: all 0.3s ease;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

/* Tint on hover using pseudo-element */
.room-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0); /* transparent by default */
  transition: background 0.3s ease;
}

.room-card:hover .room-image::after {
  background: rgba(0, 0, 0, 0.4); /* Black tint on hover */
}

/* .room-image::before {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 4rem;
        color: rgba(255, 255, 255, 0.8);
      } */

.room-content {
  padding: 2rem;
}

.room-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
}

.room-features {
  list-style: none;
  margin-bottom: 1rem;
}

.room-features li {
  padding: 0.1rem 0;
  color: #666;
}

.room-features li::before {
  content: "✓";
  color: #4ecdc4;
  font-weight: bold;
  margin-right: 0.5rem;
}

.price {
  font-size: 2rem;
  font-weight: bold;
  color: #667eea;
}

.amenities {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.amenity-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.amenity-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.amenity-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  margin-top: 3rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e1e1e1;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #333;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
}

.parallax-section {
  height: 400px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/mountain.svg") center center / cover no-repeat;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  overflow-y: auto;
  padding: 3rem 1rem;
  align-items: center;
}

.modal-content {
  background-color: white;
  margin: auto;
  padding: 2rem;
  border-radius: 20px;
  height: fit-content;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #333;
}

.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.floating-element {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 50%;
  animation: floatAround 10s infinite ease-in-out;
}

@keyframes floatAround {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-30px) rotate(120deg);
  }
  66% {
    transform: translateY(30px) rotate(240deg);
  }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: #667eea;
  margin: 3px 0;
  transition: 0.3s;
  transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}
.close:hover {
  color: #333;
}

@media (max-width: 768px) {
  .hero {
    padding: 0 1rem;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
  }
  .open_modal_rooms {
    top: -10px;
    right: 5px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-container {
    padding: 1rem;
    position: relative;
  }
  .logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    padding: 0.5rem 2rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.1rem;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .room-card {
    margin: 0 1rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .section-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
    margin-bottom: 2rem;
  }

  .amenities-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .amenity-card {
    padding: 1.5rem 1rem;
  }

  .amenity-icon {
    font-size: 2.5rem;
  }

  .contact-form {
    margin: 2rem 1rem 0;
    padding: 2rem 1.5rem;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.8rem;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .modal-content {
    margin: 10% auto;
    width: 95%;
    max-width: none;
    padding: 1.5rem;
    border-radius: 15px;
    align-items: center;
  }

  .parallax-section {
    height: 300px;
    background-attachment: scroll;
  }

  .parallax-section h2 {
    font-size: 2rem !important;
    padding: 0 1rem;
  }

  .parallax-section p {
    font-size: 1.1rem !important;
    padding: 0 1rem;
  }

  /* Touch-friendly buttons */
  .room-card,
  .amenity-card,
  .cta-button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  /* Better spacing for mobile */
  .container {
    padding: 0 1rem;
  }

  /* Optimize floating elements for mobile */
  .floating-element {
    display: none; /* Hide on mobile for better performance */
  }
}

/* Tablet styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section {
    padding: 4rem 2rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .room-card {
    margin: 0 0.5rem;
  }

  .contact-form {
    margin: 1rem 0.5rem 0;
    padding: 1.5rem 1rem;
  }

  .nav-container {
    padding: 0.8rem;
  }

  .logo {
    display: flex;
    align-items: center;
  }
  .form-group input,
  .form-group textarea,
  .form-group select {
    /* padding: 0.5rem; */
    font-size: 1rem;
  }
}
