:root {
  --primary: #1a3026;
  --secondary: #2d5a27;
  --accent: #d4af37; /* Gold touch for premium feel */
  --light-green: #e8f5e9;
  --text-main: #1a1a1a;
  --text-light: #666;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.8);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 15px 45px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 35px 90px -15px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 60px 120px -20px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

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

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

h1, h2, h3 {
  font-family: var(--font-serif);
}

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

.badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: var(--light-green);
  color: var(--secondary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.badge.green {
  background: rgba(45, 90, 39, 0.1);
  color: var(--secondary);
}

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

header.scrolled {
  background: var(--glass);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo span {
  color: var(--secondary);
  font-weight: 300;
}

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

nav ul a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

nav ul a:hover {
  color: var(--secondary);
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  filter: brightness(0.85);
  z-index: -2;
  transition: transform 10s ease-out;
}

#hero:hover .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 48, 38, 0.8) 0%, rgba(26, 48, 38, 0.3) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 900px;
  padding: 0 2rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content h1 span {
  font-style: italic;
  font-weight: 400;
  display: block;
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.btn {
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-block;
  cursor: pointer;
  border: none;
}

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

.btn.primary:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.btn.secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
}

.btn.secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* Location Highlights */
.location-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

.highlight-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.highlight-pill:hover {
  transform: translateX(10px);
  background: var(--secondary);
  color: var(--white);
}

.highlight-pill i {
  color: var(--secondary);
  transition: var(--transition);
}

.highlight-pill:hover i {
  color: var(--white);
}

.highlight-pill span {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Details Grid */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 8rem;
}

.detail-card {
  padding: 3.5rem 2.5rem;
  background: var(--white);
  border-radius: 25px;
  border: 1px solid #f0f0f0;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.detail-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.detail-card:hover::before {
  transform: scaleX(1);
}

.detail-icon {
  width: 60px;
  height: 60px;
  color: var(--secondary);
  margin-bottom: 2rem;
}

.detail-icon i {
  width: 40px;
  height: 40px;
}

.detail-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: var(--primary);
}

.detail-card p {
  color: var(--text-light);
  font-size: 1rem;
}

/* Expose Grid */
.section-header {
  text-align: center;
  margin: 8rem 0 4rem;
}

.section-header h2 {
  font-size: 2.8rem;
  color: var(--primary);
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--secondary);
  margin: 1.5rem auto;
}

.expose-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  margin-top: 4rem;
}

.feature-img {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.feature-img:hover img {
  transform: scale(1.03);
}

.inner-grid {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.grid-expose {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.expose-item {
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: var(--shadow-sm);
}

.expose-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.icon-box {
  width: 70px;
  height: 70px;
  background: var(--light-green);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--secondary);
}

.expose-item h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.expose-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Location Dark Section */
.location-dark {
  background: #f8fbf9;
  padding: 10rem 0;
  margin: 4rem 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.location-dark h2 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  margin-top: 2rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.feature-list svg {
  color: var(--secondary);
}

.visual-block {
  display: flex;
  justify-content: center;
}

.location-image {
  width: 100%;
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: rotate(-3deg);
  transition: var(--transition);
}

.location-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.location-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3rem 2rem 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  color: var(--white);
  transform: rotate(3deg); /* Counter-rotate text if desired, or skip */
}

/* Fix inner grid items for mobile */
@media (max-width: 576px) {
  .grid-expose {
    grid-template-columns: 1fr;
  }
}

/* Contact Section */
.contact-section {
  padding-bottom: 8rem;
}

.contact-card {
  background: var(--white);
  padding: 4rem;
  border-radius: 30px;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  border: 1px solid rgba(0,0,0,0.02);
}

.contact-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

input, textarea {
  width: 100%;
  padding: 1.1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid #eee;
  background: #f9f9f9;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(45, 90, 39, 0.05);
}

.btn.full {
  width: 100%;
  background: var(--secondary);
  color: var(--white);
}

.btn.full:hover {
  background: var(--primary);
}

/* Footer */
footer {
  background: #fcfdfc;
  padding: 6rem 0 3rem;
  border-top: 1px solid #f0f0f0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 1rem;
  color: var(--text-light);
}

.footer-links h4 {
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

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

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

.footer-links a {
  text-decoration: none;
  color: var(--text-light);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
}

.copyright {
  padding-top: 2rem;
  border-top: 1px solid #f0f0f0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Password Gate Overlay */
#password-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

#password-gate.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.6s ease-in-out;
}

.password-box {
  max-width: 400px;
  width: 100%;
  padding: 4rem 3rem;
  background: var(--white);
  border-radius: 30px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0,0,0,0.02);
}

.password-box i {
  width: 60px;
  height: 60px;
  color: var(--secondary);
  margin-bottom: 2rem;
}

.password-box h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.password-box p {
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.password-box input {
  text-align: center;
  margin-bottom: 1.5rem;
}

.password-error {
  color: #d32f2f;
  font-size: 0.9rem;
  margin-top: -1rem;
  margin-bottom: 1rem;
  display: none;
}

.protected-content {
  filter: blur(15px);
  pointer-events: none;
  transition: filter 0.8s ease-in-out;
}

.protected-content.unlocked {
  filter: blur(0);
  pointer-events: auto;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 3px;
  height: 8px;
  background: var(--white);
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Animations */
[data-aos] {
  pointer-events: none;
}
.aos-animate {
  pointer-events: auto;
}

/* Map Container */
.map-container {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.05);
  margin-bottom: 8rem;
}

.map-container iframe {
  display: block;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 999;
}
/* Gallery */
#gallery {
  padding: 8rem 0;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 300px;
  gap: 1.5rem;
  padding: 2rem 0;
}

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

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

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

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

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

@media (max-width: 992px) {
  .expose-feature {
    grid-template-columns: 1fr;
  }
  .gallery-item:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  background: var(--primary);
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  
  .hero-btns {
    flex-direction: column;
  }
  
  .contact-card {
    padding: 2.5rem;
  }
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 20000;
  padding-top: 5vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  border-radius: 15px;
  box-shadow: 0 0 50px rgba(0,0,0,0.8);
  animation: zoom 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  object-fit: contain;
}

@keyframes zoom {
  from {transform: scale(0.8); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.close-lightbox {
  position: absolute;
  top: 25px;
  right: 40px;
  color: #fff;
  font-size: 60px;
  font-weight: 200;
  transition: 0.3s;
  cursor: pointer;
  line-height: 1;
}

.close-lightbox:hover {
  color: var(--secondary);
  transform: rotate(90deg);
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #fff;
  padding: 30px 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 1px;
}
