/* ===== BASE STYLES & VARIABLES ===== */
:root {
  --primary-color: #2c4c3b; /* Deep forest green */
  --primary-light: #4a7c59;
  --accent-color: #d4af37; /* Warm gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-gray: #777777;
  --bg-light: #f9f9f9;
  --bg-dark: #1a1a1a;

  --font-heading: "Playfair Display", serif;
  --font-body: "Outfit", sans-serif;

  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.section-padding {
  padding: 100px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

.text-light {
  color: var(--text-light) !important;
}

.text-white {
  color: #fff !important;
}

.text-gray {
  color: #cccccc !important;
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-dark {
  background-color: var(--bg-dark);
}

.section-title {
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;
}

.section-title.text-center h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

.section-title .subtitle {
  display: block;
  font-size: 1.1rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-weight: 500;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 15px 35px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--text-dark);
  border: 2px solid var(--accent-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--accent-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
}

nav.scrolled {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-light);
  font-weight: 700;
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent-color);
  font-weight: 400;
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-color);
}

.hamburger {
  display: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  background-image: url("https://images.pexels.com/photos/164595/pexels-photo-164595.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&fit=crop"); /* Fallback to Pexels if Unsplash fails */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  padding: 0 20px;
  width: 100%;
}

.hero-content h1 {
  font-size: 4.5rem;
  color: var(--text-light);
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 0.5s;
}

.hero-content h1 span {
  color: var(--accent-color);
  font-style: italic;
}

.hero-content p {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 40px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 0.8s;
}

.hero-content .btn {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 1.1s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== BOOKING BAR ===== */
.booking-bar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  flex-wrap: wrap;
}

.booking-item {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 150px;
  text-align: left;
}

.booking-item label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.booking-item input,
.booking-item select {
  font-family: var(--font-body);
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  color: var(--text-dark);
  background: transparent;
  outline: none;
  transition: var(--transition);
}

.booking-item input:focus,
.booking-item select:focus {
  border-color: var(--accent-color);
}

.booking-item .call-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding: 12px 15px;
}

/* ===== ABOUT SECTION ===== */
.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #555;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.feature-item span {
  font-weight: 600;
  font-size: 1.05rem;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent-color);
  z-index: -1;
  border-radius: 12px;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.02);
}

/* ===== ROOMS SECTION ===== */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.room-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  transform: translateY(0);
}

.room-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.room-img {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.room-card:hover .room-img img {
  transform: scale(1.1);
}

.room-img .price {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-color);
  color: var(--text-dark);
  padding: 8px 15px;
  border-radius: 4px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 0.9rem;
  z-index: 2;
}

.room-info {
  padding: 30px;
}

.room-info h3 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.room-info p {
  color: #666;
  margin-bottom: 20px;
  min-height: 50px;
}

.room-amenities {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  margin-bottom: 25px;
}

.room-amenities li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #555;
}

.room-amenities i {
  color: var(--accent-color);
}

.room-card .btn {
  width: 100%;
  text-align: center;
}

/* ===== GALLERY SECTION ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 300px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* ===== CONTACT SECTION ===== */
.contact-wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
}

.contact-info {
  flex: 1;
}

.contact-details {
  margin-top: 40px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.detail-item i {
  font-size: 1.8rem;
  color: var(--accent-color);
  background: rgba(212, 175, 55, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.detail-item h4 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 5px;
}

.detail-item p {
  color: #bbb;
}

.contact-map {
  flex: 1;
}

.map-container {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  background: #2a2a2a;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.map-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(44, 76, 59, 0.7);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  opacity: 0;
  transition: var(--transition);
  z-index: 10;
  text-decoration: none;
}

.map-container:hover .map-link-overlay {
  opacity: 1;
  backdrop-filter: blur(5px);
}

.map-link-overlay i {
  margin-right: 10px;
  color: var(--accent-color);
}

/* ===== FOOTER ===== */
footer {
  background: #111;
  padding: 30px 20px;
  text-align: center;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: #888;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #222;
  color: #bbb;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-content,
  .contact-wrapper {
    flex-direction: column;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    gap: 20px;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: var(--transition);
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .hamburger {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== MODAL STYLES ===== */
.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;
}

.modal-content {
  background-color: var(--bg-light);
  margin: 5% auto;
  width: 90%;
  max-width: 900px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s ease-out;
  overflow: hidden;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #aaa;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.close-modal:hover {
  color: var(--primary-color);
}

.modal-header {
  padding: 30px 40px 20px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

.modal-header h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-top: 5px;
}

.modal-body {
  padding: 30px 40px;
}

.room-badges {
  margin-bottom: 20px;
  display: flex;
  gap: 15px;
}

.badge {
  background-color: rgba(212, 175, 55, 0.15);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.room-desc {
  color: #555;
  margin-bottom: 30px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.modal-grid h3,
.modal-gallery h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-family: var(--font-body);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 5px;
  display: inline-block;
}

.amenities-list ul,
.facilities-list ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.facilities-list ul {
  grid-template-columns: 1fr 1fr;
}

.amenities-list li,
.facilities-list li {
  font-size: 0.95rem;
  color: #444;
  display: flex;
  align-items: center;
  gap: 8px;
}

.facilities-list li i {
  color: var(--primary-light);
  width: 15px;
}

.modal-gallery {
  margin-bottom: 30px;
}

.gallery-images {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.gallery-images img {
  height: 150px;
  width: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.modal-footer {
  padding: 20px 0 0;
  border-top: 1px solid #ddd;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .modal-header,
  .modal-body {
    padding: 20px;
  }
  .facilities-list ul {
    grid-template-columns: 1fr;
  }
}
