@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --color-olive: #6B7C45;
  --color-coral: #C8503A;
  --color-cream: #F5F0E8;
  --color-forest: #2D5016;
  --color-gold: #C9A84C;
  --color-text: #2a2f23;
  --color-bg: #FCFAF6;
  
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-forest);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1.1;
  color: var(--color-bg);
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  text-align: center;
  margin-bottom: 3rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  color: #4a5240;
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: rgba(252, 250, 246, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 5%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

header.scrolled .logo {
  color: var(--color-forest);
}

header.scrolled nav a {
  color: var(--color-text);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-bg);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--color-bg);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-gold);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.btn-book {
  background-color: var(--color-coral);
  color: var(--color-bg) !important;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-book::after {
  display: none;
}

.btn-book:hover {
  background-color: #b54530;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(200, 80, 58, 0.3);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background-color: var(--color-forest); /* Fallback */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 2s forwards;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(45,80,22,0.6) 0%, rgba(45,80,22,0.2) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s 0.5s forwards;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
  color: var(--color-cream);
}

/* Sections */
section {
  padding: 6rem 5%;
}

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

/* Intro Section */
.intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.intro p {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  color: var(--color-forest);
  line-height: 1.8;
}

/* 360 Tour Section */
.tour-section {
  background-color: var(--color-cream);
  border-radius: 20px;
  padding: 3rem;
  margin: 4rem 5%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.tour-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(107, 124, 69, 0.2);
}

.tour-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Amenities */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.amenity-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  border-top: 4px solid var(--color-olive);
}

.amenity-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(107, 124, 69, 0.1);
}

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

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 80, 22, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gallery-overlay span {
  color: white;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

/* Production Section */
.production {
  background-color: var(--color-forest);
  color: var(--color-cream);
  padding: 8rem 5%;
  position: relative;
  overflow: hidden;
}

.production h2, .production p {
  color: var(--color-cream);
}

.production-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.production-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  position: relative;
}

.production-image img {
  width: 100%;
  display: block;
}

.production-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-gold);
  border-radius: 16px;
  z-index: -1;
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  margin-top: 2rem;
}

.btn-outline:hover {
  background-color: var(--color-gold);
  color: var(--color-forest);
}

/* Footer */
footer {
  background-color: #1a1e16;
  color: var(--color-cream);
  padding: 4rem 5% 2rem;
  text-align: center;
}

footer h3 {
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

.contact-info a {
  color: var(--color-cream);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: var(--color-coral);
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.6);
}

/* Modal for Image Gallery */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Prevent scrolling behind modal */
  background-color: rgba(26, 30, 22, 0.95);
  backdrop-filter: blur(5px);
}

.modal-content-container {
  position: relative;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  max-width: 1200px;
  height: 85vh;
}

.modal-content {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s ease;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: 300;
  transition: 0.3s;
  cursor: pointer;
  z-index: 1001;
}

.close:hover,
.close:focus {
  color: var(--color-coral);
  text-decoration: none;
  cursor: pointer;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  transition: 0.3s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.2);
}

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 0 3px 3px 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: var(--color-coral);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  header {
    padding: 1rem 5%;
  }
  
  nav {
    display: none; /* Add hamburger menu for real production */
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  .production-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 1rem;
  }
  
  .tour-section {
    padding: 1.5rem;
    margin: 2rem 5%;
  }
}
