/* =========================================================
   GLOBAL STYLES & VARIABLES
========================================================= */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #34495e;
  --accent-color: #c5b358;
  --white-color: #ffffff;
  --light-gray-color: #f8f9fa;
  --dark-text-color: #333;
  --light-text-color: #f1f1f1;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  --nav-height: 70px;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height, 70px);
}
body {
  font-family: var(--font-body, 'Poppins', sans-serif);
  line-height: 1.6;
  color: var(--dark-text-color, #333);
  background: var(--white-color, #fff);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 80px 0;
}
.section-title {
  font-family: var(--font-heading, 'Playfair Display'), serif;
  font-size: 2.8rem;
  color: var(--primary-color, #2c3e50);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color, #c5b358);
  margin: 10px auto 0;
}
.section-title-light {
  color: var(--white-color, #fff);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background-color: var(--accent-color, #c5b358);
  color: var(--white-color, #fff);
}
.btn-primary:hover {
  background-color: #a99542;
  border-color: #a99542;
}
.btn-secondary {
  background-color: transparent;
  color: var(--primary-color, #2c3e50);
  border: 2px solid var(--primary-color, #2c3e50);
}
.btn-secondary:hover {
  background-color: var(--primary-color, #2c3e50);
  color: var(--white-color, #fff);
}

/* =========================================================
   HEADER & NAVIGATION
========================================================= */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
#header.sticky {
  background-color: rgba(44, 62, 80, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height, 70px);
  padding: 0 2rem;
}
.logo {
  font-family: var(--font-heading, 'Playfair Display'), serif;
  font-size: 1.8rem;
  color: var(--white-color, #fff);
  text-decoration: none;
}
.nav-menu {
  display: flex;
  list-style: none;
}
.nav-link {
  color: var(--white-color, #fff);
  text-decoration: none;
  padding: 10px 15px;
  font-weight: 400;
  position: relative;
  transition: color 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent-color, #c5b358);
}
.hamburger {
  display: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--white-color, #fff);
  transition: all 0.3s ease;
}

/* =========================================================
   HERO SECTION
========================================================= */
.hero-section {
  height: 100vh;
  background: url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1920&q=80')
    no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  color: var(--white-color, #fff);
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.hero-content {
  z-index: 1;
}
.hero-title {
  font-family: var(--font-heading, 'Playfair Display'), serif;
  font-size: 4rem;
}

/* =========================================================
   FEATURES / SERVICES
========================================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.feature-item .feature-icon {
  font-size: 3rem;
}

/* =========================================================
   ROOM GRID (Home Page)
========================================================= */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.room-card {
  background: var(--white-color, #fff);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.room-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Room Images Grid */
.room-images-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.room-images-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 4px;
}

.room-card-content h3 {
  font-family: var(--font-heading, 'Playfair Display'), serif;
  font-size: 1.4rem;
  color: var(--primary-color, #2c3e50);
}
.room-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent-color, #c5b358);
  margin: 5px 0 15px;
}
.room-facilities-list {
  list-style: none;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #555;
  font-size: 0.9rem;
}
.room-facilities-list li {
  margin-bottom: 5px;
}

/* =========================================================
   MODAL STYLES
========================================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.modal-content {
  background: var(--white-color, #fff);
  padding: 2rem 3rem;
  border-radius: 8px;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}
.modal-content h2 {
  font-family: var(--font-heading, 'Playfair Display'), serif;
  font-size: 2rem;
  color: var(--primary-color, #2c3e50);
  margin-top: 0;
}
.modal-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* =========================================================
   DETAILED ROOM CARD (rooms.html)
========================================================= */
.detailed-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}
.room-detail-card {
  background: var(--white-color, #fff);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.room-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.room-detail-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.room-detail-card-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.room-detail-card-body h3 {
  font-family: var(--font-heading, 'Playfair Display'), serif;
  font-size: 1.5rem;
  color: var(--primary-color, #2c3e50);
  margin-bottom: 5px;
}
.room-detail-card-body .room-price {
  margin-bottom: 15px;
}
.room-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.room-tags span {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 20px;
  color: var(--white-color, #fff);
  font-weight: 600;
}
.tag-view {
  background: #2980b9;
}
.tag-terrace {
  background: #27ae60;
}
.tag-common-terrace {
  background: #f39c12;
}
.tag-suite {
  background: #8e44ad;
}
.facilities-icons {
  list-style: none;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #eee;
}
.facilities-icons li {
  font-size: 0.9rem;
  color: #444;
}

/* =========================================================
   PARALLAX / ABOUT / SERVICES / CONTACT
========================================================= */
.parallax-section {
  background: url('https://images.unsplash.com/photo-1596394516093-501ba68a0ba6?auto=format&fit=crop&w=1920&q=80')
    no-repeat center center/cover;
  background-attachment: fixed;
  position: relative;
}
.parallax-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.8);
}
.parallax-section .container {
  position: relative;
  z-index: 2;
}
.facilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  color: var(--white-color, #fff);
}
.facility-item p {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  font-size: 1.2rem;
  border-radius: 5px;
}
.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
}
.about-image img {
  width: 100%;
  border-radius: 8px;
}
.about-content {
  flex: 1;
}
.services-container {
  display: flex;
  justify-content: space-around;
  gap: 40px;
  flex-wrap: wrap;
}
.service-column {
  background: var(--white-color, #fff);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-width: 300px;
}
.service-column h3 {
  font-family: var(--font-heading, 'Playfair Display'), serif;
  color: var(--primary-color, #2c3e50);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--accent-color, #c5b358);
  padding-bottom: 10px;
}
.service-column ul {
  list-style: none;
}
.service-column ul li {
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
}
.service-column ul li::before {
  content: '•';
  color: var(--accent-color, #c5b358);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 1.2rem;
  line-height: 1;
}
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.experience-item h3 {
  font-family: var(--font-heading, 'Playfair Display'), serif;
  color: var(--primary-color, #2c3e50);
  margin-bottom: 20px;
}

/* =========================================================
   MEDIA QUERIES
========================================================= */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: var(--nav-height, 70px);
    right: -100%;
    width: 60%;
    height: 100vh;
    background-color: var(--primary-color, #2c3e50);
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    transition: right 0.4s ease-in-out;
  }
  .nav-menu.active {
    right: 0;
  }
  .hamburger {
    display: block;
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .experience-grid {
    grid-template-columns: 1fr;
  }
  .booking-form {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .features-grid,
  .facilities-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .services-container {
    flex-direction: column;
  }
  .detailed-grid {
    grid-template-columns: 1fr;
  }
}
