/* --- RESET & VARIABLES --- */
:root {
  --primary-color: #0e4d64; /* Deep Ocean Blue */
  --accent-color: #d4a373; /* Sand/Gold */
  --text-color: #333333;
  --bg-light: #f9fbfb;
  --white: #ffffff;
  --font-heading: "Playfair Display", serif;
  --font-body: "Lato", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--bg-light);
  line-height: 1.6;
}

/* Smooth scrolling for in-page anchor links */
html {
  scroll-behavior: smooth;
}

/* Prevent anchor targets from being hidden under the sticky header */
section[id] {
  scroll-margin-top: 90px; /* header ~80px + spacing */
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--primary-color);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}
p {
  margin-bottom: 1rem;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-padding {
  padding: 80px 0;
}

/* --- HEADER & NAV --- */
#contact .contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

#contact .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--primary-color);
}
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  gap: 12px;
  top: 0;
  z-index: 1000;
  position: sticky;
}

#contact .social-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 50%;
  color: var(--primary-color);
  background: var(--white);
}

#contact .social-btn:hover {
  border-color: var(--primary-color);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  position: relative;
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.burger-menu span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 2px;
  white-space: nowrap;
}

.logo span {
  white-space: nowrap;
  overflow: hidden;
}

.logo img {
  height: 50px;
  width: auto;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nav-links a:hover {
  color: var(--accent-color);
}

.btn-book {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 25px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.btn-book:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

/* --- HERO SECTION --- */
.hero {
  height: 90vh;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-welcome {
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 3px;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
}

/* --- ABOUT SECTION --- */
.about-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.about-images img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

#rooms .container {
  max-width: 1440px;
}

/* --- ACCOMMODATION SECTION --- */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 40px;
}

@media (max-width: 1150px) {
  .burger-menu {
    display: flex;
  }
  
  nav {
    height: 70px;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 30px 0;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .nav-links a {
    display: block;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo {
    font-size: 1.3rem;
    gap: 10px;
    letter-spacing: 1.5px;
  }

  .logo img {
    height: 42px;
  }
}

@media (max-width: 768px) {
  .rooms-grid {
    grid-template-columns: 1fr;
  }
}

.room-card {
  background: #f3e7d6;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: grid;
  grid-template-rows: auto 1fr;
}

.room-card:hover {
  transform: translateY(-5px);
}

.room-img {
  width: 100%;
  height: 100%;
  display: block;
}

.room-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.room-details {
  padding: 30px;
  background-color: #fbf4ec;
}
.room-details h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #5a4a3a;
}
.room-capacity,
.room-rate {
  font-size: 1.14rem;
  color: #5a4a3a;
  margin-bottom: 10px;
  font-weight: 500;
}
.room-info-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 18px;
}
.room-info-left p,
.room-info-right p {
  font-size: 1.08rem;
  color: #5a4a3a;
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Room Images Grid Layout */
.room-images-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background-color: #f4f4f4;
}

.room-grid-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.room-grid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- LIGHTBOX (Image Preview) --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: #333;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.lightbox-close:hover {
  background: #f2f2f2;
}

/* Lightbox nav arrows */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  font-size: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.lightbox-prev {
  left: -56px;
}
.lightbox-next {
  right: -56px;
}

@media (max-width: 600px) {
  .lightbox-prev {
    left: 8px;
  }
  .lightbox-next {
    right: 8px;
  }

  .logo {
    font-size: 0.9rem;
    gap: 6px;
    letter-spacing: 0.5px;
  }

  .logo img {
    height: 28px;
  }

  .logo span {
    display: none;
  }
}

.room-meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 15px;
  font-style: italic;
}
.room-features li {
  display: inline-block;
  font-size: 0.85rem;
  background: #f0f0f0;
  padding: 5px 10px;
  border-radius: 20px;
  margin: 0 5px 5px 0;
}

.room-carousel {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  background-color: #f4f4f4;
}

/* This simulates the structure of the slides inside the wrapper */
.swiper-wrapper {
  display: flex; /* Makes the slides sit side-by-side */
  box-sizing: content-box; /* Sometimes needed for Swiper compatibility */
}

.swiper-slide {
  display: block;
  width: 100%;
  height: 100%;
}

/* --- AMENITIES --- */
.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 30px;
}

.amenities-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 40px auto 0;
}

.amenity-column ul {
  list-style: none;
}

.amenity-column li {
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 1rem;
  color: var(--text-color);
}

.amenity-column li:last-child {
  border-bottom: none;
}

/* --- TESTIMONIALS --- */
#testimonials {
  position: relative;
  background-image: url('../img/testimonials-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

#testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(112, 66, 20, 0.75);
  z-index: 1;
}

#testimonials .container {
  position: relative;
  z-index: 2;
}

#testimonials h2 {
  color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-card p {
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 15px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
  font-style: normal !important;
  text-align: right;
}

/* --- SOCIAL IMAGES GRID --- */
.social-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 40px;
}

.social-images-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
}

/* --- BOOKING INFO --- */
.booking-info {
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}

.booking-info ul {
  list-style: none;
  text-align: left;
  margin: 20px auto;
  max-width: 500px;
}

.booking-info li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.booking-info li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.contact-info {
  text-align: center;
  margin-top: 30px;
}

/* --- CONTACT LAYOUT --- */
#contact .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: stretch;
  margin-top: 30px;
}

#contact .contact-panel {
  padding: 20px;
  border: 1px solid #ddd;
  display: flex;
  flex-direction: column;
}

#contact .contact-heading {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

#contact .booking-steps {
  margin-left: 1.25rem;
  line-height: 1.8;
}

#contact .booking-steps li + li {
  margin-top: 6px;
}

#contact .contact-list {
  list-style: none;
  margin: 0 0 15px 0;
  padding: 0;
}

#contact .contact-list li + li {
  margin-top: 6px;
}
#contact .contact-label {
  font-weight: 600;
}

#contact .contact-social {
  display: flex;
  gap: 16px;
  margin: 10px 0 15px;
}

#contact .contact-cta {
  margin: 0;
}

@media (max-width: 768px) {
  #contact .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* --- VIDEO / GALLERY SECTION --- */
.video-carousel-wrapper {
  position: relative;
  max-width: 900px;
  margin: 40px auto 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.video-carousel {
  position: relative;
  overflow: hidden;
  flex: 1;
  border-radius: 8px;
}

.video-container {
  display: none;
  width: 100%;
}

.video-container.active {
  display: block;
}

.video-container video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 8px;
}

.carousel-nav {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  font-size: 28px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  flex-shrink: 0;
}

.carousel-nav:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .video-carousel-wrapper {
    gap: 10px;
  }
  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}

/* --- FOOTER --- */
footer {
  background-color: #1a1a1a;
  color: #ccc;
  padding: 30px 0;
  text-align: center;
}

.footer-content p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.copyright {
  margin-top: 15px;
  font-size: 0.8rem;
  border-top: 1px solid #333;
  padding-top: 15px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .logo {
    font-size: 1.1rem;
    gap: 8px;
    letter-spacing: 1px;
  }
  
  .logo img {
    height: 35px;
  }
  
  .logo span {
    display: none;
