:root {
  --primary-color: #2c5530;
  --secondary-color: #8b9f6e;
  --accent-color: #c4a47c;
  --text-dark: #333333;
  --text-light: #666666;
  --background-light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(30, 40, 30, 0.18);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 18px 0 rgba(0, 0, 0, 0.1);
  transition: background 0.3s, box-shadow 0.3s, opacity 0.35s, transform 0.35s;
  animation: navFadeIn 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}
header.nav-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-40px);
}
@keyframes navFadeIn {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.5rem 0.5rem 0.5rem !important;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2.2rem;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  padding: 0.2em 0.1em;
  border-radius: 2px;
  transition: color 0.18s, background 0.18s;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.nav-links a:hover {
  color: #ffffff55;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-content {
  z-index: 2;
  padding: 2.5rem 2rem 2rem 2rem;
  box-shadow: 0 8px 32px rgba(44, 85, 48, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 540px;
  margin: 0 auto;
}
.hero-badges {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  position: relative;
  animation: badgePulse 2.5s infinite;
}
.badge-superhost {
  animation-delay: 0s;
}
.badge-guest-favorite {
  animation-delay: 1.2s;
}
@keyframes badgePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(196, 164, 124, 0.18);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(196, 164, 124, 0.08);
    transform: scale(1.07);
  }
}

#airbnb-rating-value {
  display: none;
}
.stars {
  color: #c4a47c;
  font-size: 1.5em;
  margin-right: 0.2em;
}
.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}
.hero-details-row {
  margin-bottom: 1rem;
}
.hero-details {
  font-size: 1.05rem;
  font-weight: 500;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--white);
  color: var(--primary-color);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
}
.cta-button:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px rgba(45, 74, 55, 0.22);
}

.soft-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--white);
  border-radius: 18px;
  padding: 0.18rem 0.8rem;
  box-shadow: 0 1px 4px rgba(196, 164, 124, 0.06);
  opacity: 0.85;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
}
.soft-rating-badge .stars {
  color: #c4a47c;
  font-size: 1.1em;
  margin-right: 0.1em;
}
.stars .star {
  display: inline-block;
  font-size: 1.1em;
  transition: transform 0.22s cubic-bezier(0.4, 1.6, 0.6, 1), color 0.18s;
  will-change: transform, color;
}
.stars .star.pulsing {
  transform: scale(1.7);
  color: #c4a47c;
  z-index: 1;
}
.stars .star.filled {
  color: #c4a47c;
}
.fixed-rating {
  display: inline-block;
  min-width: 2.2em;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-family: inherit;
}
.hero-dot {
  font-size: 0.7em;
  vertical-align: middle;
  margin: 0 0.5em;
  opacity: 0.7;
  display: inline-block;
  color: var(--white);
}

.hero-detail-item {
  white-space: nowrap;
}
.hero-bg-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(30, 40, 30, 0.82) 0%,
    rgba(30, 30, 30, 0.7) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.hero-content h1,
.hero-content .hero-subtitle,
.hero-content .hero-details,
.hero-content {
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.badge,
.badge-superhost,
.badge-guest-favorite {
  background: rgba(0, 0, 0, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
}

/* About Section */
.about {
  padding: 5rem 0;
  background: #f8f9fa;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
.about-text h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #2d3a3a;
}
.about-text p {
  font-size: 1.1rem;
  color: #4a5a5a;
  margin-bottom: 1.2rem;
}
.about-image {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 32px 0 rgba(44, 85, 48, 0.1);
}
.about-image img {
  width: 100%;
  display: block;
  border-radius: 18px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.feature-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(44, 85, 48, 0.07);
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  text-align: center;
  transition: box-shadow 0.2s;
}
.feature-card:hover {
  box-shadow: 0 6px 32px 0 rgba(44, 85, 48, 0.13);
}
.feature-card i {
  font-size: 2.2rem;
  color: #3bb77e;
  margin-bottom: 0.7rem;
}
.feature-card h4 {
  font-size: 1.1rem;
  color: #2d3a3a;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.98rem;
  color: #4a5a5a;
}
.amenities-section {
  background: none;
  padding: 0;
}
.amenities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.amenity-item {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(44, 85, 48, 0.07);
  padding: 0.7rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1rem;
  color: #2d3a3a;
  white-space: nowrap;
  min-width: 0;
  height: 2.4rem;
  line-height: 1.2;
}
.amenity-item i {
  font-size: 1.3rem;
  color: #3bb77e;
  display: flex;
  align-items: center;
  height: 1.3rem;
}

/* Gallery Section */
.gallery {
  padding: 100px 0;
  background: var(--background-light);
}

.gallery h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(5, 200px);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  grid-template-areas:
    "hero hero landscape-1 landscape-1"
    "hero hero normal-1 normal-2"
    "portrait-1 normal-3 normal-4 normal-5"
    "portrait-1 normal-6 normal-7 normal-8"
    "landscape-2 landscape-2 normal-9 normal-10";
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item.hero {
  grid-area: hero;
  height: 424px;
}

.gallery-item.landscape-1 {
  grid-area: landscape-1;
  height: 200px;
}

.gallery-item.portrait-1 {
  grid-area: portrait-1;
  height: 424px;
}

.gallery-item.normal-1 {
  grid-area: normal-1;
  height: 200px;
}

.gallery-item.normal-2 {
  grid-area: normal-2;
  height: 200px;
}

.gallery-item.normal-3 {
  grid-area: normal-3;
  height: 200px;
}

.gallery-item.normal-4 {
  grid-area: normal-4;
  height: 200px;
}

.gallery-item.normal-5 {
  grid-area: normal-5;
  height: 200px;
}

.gallery-item.normal-6 {
  grid-area: normal-6;
  height: 200px;
}

.gallery-item.normal-7 {
  grid-area: normal-7;
  height: 200px;
}

.gallery-item.normal-8 {
  grid-area: normal-8;
  height: 200px;
}

.gallery-item.landscape-2 {
  grid-area: landscape-2;
  height: 200px;
}

.gallery-item.normal-9 {
  grid-area: normal-9;
  height: 200px;
}

.gallery-item.normal-10 {
  grid-area: normal-10;
  height: 200px;
}

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

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

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

/* Reviews Section */
.reviews {
  padding: 100px 0;
  background: var(--white);
}

.reviews h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
}
.review-card p {
  line-height: 1.7;
  color: var(--text-light);
  font-style: italic;
}
.reviews {
  padding: 5rem 0;
  background: var(--background-light);
}
.reviews .section-title {
  margin-bottom: 1.5rem;
}
.reviews-featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}
.review-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
}
.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  justify-content: space-between;
}
.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  margin-right: 1rem;
}
.review-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.review-stars {
  color: var(--accent-color);
  font-size: 1rem;
}
.reviews-scroll-container {
  overflow: hidden;
  padding-bottom: 1rem;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}
.reviews-scroll-track {
  display: flex;
  gap: 30px;
  animation: scroll-left 64s linear infinite;
}
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-320%);
  }
}
.review-mini {
  min-width: 280px;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.review-mini-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}
.review-mini-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  margin-right: 0.8rem;
}
.review-mini-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reviews-cta {
  text-align: center;
  margin-top: 2rem;
}
/* Location Section */
.location {
  padding: 100px 0;
  background: var(--background-light);
}

.location-highlights {
  margin: 2rem 0;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.location-item i {
  color: var(--secondary-color);
  font-size: 1.3rem;
  margin-top: 0.25rem;
  min-width: 20px;
}

.location-item h4 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.location-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

footer {
  background: #222c2b;
  color: #e6e6e6;
  font-size: 1rem;
  padding-top: 2rem;
  padding-bottom: 6rem;
  text-align: center;
}

.footer-attribution {
  display: block;
  font-size: 0.92rem;
  color: #b0b8b7;
  margin-top: 0.3rem;
}
.footer-attribution a {
  color: #b0b8b7;
  text-decoration: underline;
  font-size: 0.92rem;
}
.footer-social {
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
}
.footer-social a {
  color: #e6e6e6;
  font-size: 1.5rem;
  transition: color 0.2s;
}

/* Floating CTA */
.floating-cta {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  margin: 0;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}

.floating-cta.visible {
  opacity: 1;
  transform: scale(1);
}

.floating-cta .cta-button {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Mobile Responsive */
@media (max-width: 1000px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(7, 200px);
    grid-template-areas:
      "hero hero normal-1"
      "hero hero normal-2"
      "landscape-1 landscape-1 normal-3"
      "normal-4 normal-5 normal-6"
      "portrait-1 landscape-2 landscape-2"
      "portrait-1 normal-7 normal-8"
      "normal-9 normal-10 .";
  }
}

@media (max-width: 800px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(10, 200px);
    grid-template-areas:
      "hero hero"
      "hero hero"
      "landscape-1 landscape-1"
      "portrait-1 normal-1"
      "portrait-1 normal-2"
      "normal-3 normal-4"
      "landscape-2 landscape-2"
      "normal-5 normal-6"
      "normal-7 normal-8"
      "normal-9 normal-10";
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(12, 200px);
    grid-template-areas:
      "hero"
      "hero"
      "landscape-1"
      "normal-1"
      "normal-2"
      "portrait-1"
      "portrait-1"
      "portrait-1"
      "normal-3"
      "normal-4"
      "landscape-2"
      "normal-5"
      "normal-6"
      "normal-7"
      "normal-8"
      "normal-9"
      "normal-10";
  }

  .gallery-item.hero {
    height: 424px;
  }

  .gallery-item.portrait-1 {
    height: 648px;
  }
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
  .logo {
    font-size: 1.2rem;
  }
  .nav-links {
    gap: 0.8rem;
  }
  .nav-links a {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  .floating-cta {
    bottom: 10px;
    right: 10px;
  }
  .reviews-featured {
    grid-template-columns: 1fr;
  }
  .reviews-scroll-track {
    gap: 1rem;
  }
  .hero-content {
    padding: 1.2rem 0.7rem 1.5rem 0.7rem;
    max-width: 98vw;
  }
  .rating-badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .rating-badge .stars {
    font-size: 0.9rem;
  }

  .hero-details-row {
    margin-bottom: 0.5rem;
  }

  .hero-content .cta-button {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-details {
    font-size: 0.8rem;
  }
  .badge {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
  }

  .section-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .text-content h2 {
    font-size: 2rem;
  }

  .highlights {
    grid-template-columns: 1fr;
  }

  .about {
    padding: 2.5rem 0;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .amenities-grid {
    gap: 0.7rem;
  }
}
@media (max-width: 430px) {
  .hero-details {
    flex-direction: column;
    gap: 0.1em;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hide-mobile-sm {
    display: none;
  }
}
