*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #c8a97e;
  --primary-dark: #b69669;
  --secondary: #1a1a1a;
  --light: #f8f9fa;
  --dark: #333;
  --white: #fff;
  --gray: #6c757d;
  --transition: all 0.3s ease;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 15px 40px rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--secondary);
}

h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

h2 {
  font-size: 3rem;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1.5rem;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 60px;
  background-color: var(--primary);
}

h3 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--gray);
}

/* Utility classes */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--primary-dark);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

.text-right {
  text-align: right;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.section-light {
  background-color: var(--light);
}

.section-dark {
  background-color: var(--secondary);
  color: var(--white);
}

.section-dark h2, 
.section-dark h3 {
  color: var(--white);
}

.section-title {
  margin-bottom: 4rem;
}

.section-title h2 {
  display: inline-block;
}

.text-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.flex {
  display: flex;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

.flex-between {
  justify-content: space-between;
  align-items: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mt-5 { margin-top: 5rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mb-5 { margin-bottom: 5rem; }

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
}

header.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow);
  padding: 1rem 0;
}

header.scrolled .logo,
header.scrolled nav ul li a {
  color: var(--secondary);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 2px;
  transition: var(--transition);
}

.logo span {
  color: var(--primary);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2.5rem;
}

nav ul li a {
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding-bottom: 5px;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--white);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
  color: var(--white);
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0));
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 1s ease 0.3s;
  animation-fill-mode: both;
}

.hero .btn {
  animation: fadeInUp 1s ease 0.6s;
  animation-fill-mode: both;
}

.scroll-down {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 2rem;
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 1;
}

/* About Section */
.about-img {
  position: relative;
  height: 100%;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: var(--shadow-strong);
}

.about-img::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 5px solid var(--primary);
  border-radius: 5px;
  z-index: -1;
}

.about-content {
  padding: 2rem;
}

.about-content h2::after {
  width: 80px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.stat-text {
  font-size: 1.1rem;
  color: var(--gray);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
  padding: 3rem 2rem;
  background-color: var(--white);
  box-shadow: var(--shadow);
  border-radius: 5px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--primary);
  opacity: 0.05;
  transition: var(--transition);
  z-index: -1;
}

.feature-item:hover {
  transform: translateY(-15px);
}

.feature-item:hover::before {
  height: 100%;
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
}

/* Rooms */
.rooms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.room-card {
  background-color: var(--white);
  box-shadow: var(--shadow);
  border-radius: 5px;
  overflow: hidden;
  transition: var(--transition);
}

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.room-img {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.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-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 3px;
  font-weight: 500;
}

.room-info {
  padding: 2rem;
}

.room-price {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
}

.room-price span {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 400;
}

.room-features {
  display: flex;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.room-feature {
  margin-right: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--gray);
}

.room-feature i {
  color: var(--primary);
  margin-right: 0.5rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  border-radius: 5px;
  cursor: pointer;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:nth-child(4) {
  grid-column: span 2;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: var(--white);
  font-size: 2rem;
}

/* Testimonials */
.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonial-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.testimonial-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.testimonial-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 3rem;
  background-color: var(--white);
  border-radius: 5px;
  box-shadow: var(--shadow);
  margin: 1rem;
  position: relative;
}

.testimonial-content {
  position: relative;
  padding-left: 3rem;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 0;
  font-size: 6rem;
  color: var(--primary);
  opacity: 0.3;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 2rem;
}

.author-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1.5rem;
}

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

.author-info h4 {
  margin-bottom: 0.3rem;
}

.author-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background-color: var(--primary);
}

/* Contact */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-item {
  text-align: center;
  padding: 2rem;
  background-color: var(--white);
  box-shadow: var(--shadow);
  border-radius: 5px;
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateY(-10px);
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.contact-form {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 5px;
  box-shadow: var(--shadow);
}

/* Footer */
footer {
  background-color: var(--secondary);
  color: var(--white);
  padding: 5rem 0 2rem;
}

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

.footer-heading {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
  color: var(--white);
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 40px;
  background-color: var(--primary);
}

.footer-about p {
  color: #aaa;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: var(--transition);
  display: block;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  margin-bottom: 1rem;
  color: #aaa;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  margin-right: 1rem;
  color: var(--primary);
}

.footer-newsletter p {
  color: #aaa;
}

.newsletter-form {
  display: flex;
  margin-top: 1.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 3px 0 0 3px;
  font-family: 'Poppins', sans-serif;
}

.newsletter-btn {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 0 1.5rem;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background-color: var(--primary-dark);
}

footer .container {
  max-width: none;
  padding: 0 2rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  padding-left: 2rem;
  padding-right: 2rem;
}


/* Animations */
@keyframes fadeInDown {
  from {
      opacity: 0;
      transform: translateY(-30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0) translateX(-50%);
  }
  40% {
      transform: translateY(-20px) translateX(-50%);
  }
  60% {
      transform: translateY(-10px) translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 1200px) {
  h1 {
      font-size: 3.5rem;
  }
  
  h2 {
      font-size: 2.5rem;
  }
  
  .gallery {
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(4, 200px);
  }
  
  .gallery-item:nth-child(1) {
      grid-column: span 2;
      grid-row: span 1;
  }
  
  .gallery-item:nth-child(4) {
      grid-column: span 1;
  }
}

@media (max-width: 992px) {
  .section {
      padding: 6rem 0;
  }
  
  h1 {
      font-size: 3rem;
  }
  
  .grid-2, .grid-3, .grid-4 {
      grid-template-columns: 1fr;
  }
  
  .about-img::before {
      display: none;
  }
  
  .contact-info {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
      font-size: 2.5rem;
  }
  
  h2 {
      font-size: 2rem;
  }
  
  .mobile-toggle {
      display: block;
  }
  
  nav {
      position: fixed;
      top: 0;
      right: -300px;
      width: 300px;
      height: 100vh;
      background-color: var(--white);
      padding: 2rem;
      transition: var(--transition);
      z-index: 1001;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  nav ul {
      flex-direction: column;
      margin-top: 3rem;
  }
  
  nav ul li {
      margin: 1rem 0;
  }
  
  nav ul li a {
      color: var(--secondary);
  }
  
  nav.active {
      right: 0;
  }
  
  .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: var(--transition);
  }
  
  .overlay.active {
      opacity: 1;
      visibility: visible;
  }
  
  .form-row {
      grid-template-columns: 1fr;
      gap: 1rem;
  }
  
  .gallery {
      grid-template-columns: 1fr;
      grid-template-rows: repeat(7, 200px);
  }
  
  .gallery-item:nth-child(1) {
      grid-column: span 1;
  }
}

@media (max-width: 576px) {
  h1 {
      font-size: 2rem;
  }
  
  h2 {
      font-size: 1.8rem;
  }
  
  .section {
      padding: 4rem 0;
  }
  
  .hero p {
      font-size: 1.2rem;
  }
  
  .booking-form {
      flex-direction: column;
  }
  
  .about-stats {
      grid-template-columns: 1fr;
  }
}