/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
  --color-bg: #faf9f7;
  --color-text: #2c2c2c;
  --color-text-light: #6b6b6b;
  --color-accent: #3d5a40;
  --color-accent-light: #4a7c4f;
  --color-accent-dark: #2d4330;
  --color-warm: #c9a96e;
  --color-warm-light: #f5efe3;
  --color-white: #ffffff;
  --color-border: #e5e1db;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --section-pad: 100px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================
   Utilities
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 16px;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
  color: var(--color-text);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 0.95rem;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-white);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--color-white);
}

.nav-cta {
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 20px !important;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1600&q=80') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 30, 20, 0.5) 0%,
    rgba(20, 30, 20, 0.4) 50%,
    rgba(20, 30, 20, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--color-white);
  max-width: 700px;
  padding: 0 24px;
}

.hero-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 20px;
  color: var(--color-warm);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   About
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
}

.about-text p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.about-details {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--color-border);
}

.detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-light);
  font-weight: 500;
}

.detail-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* ============================================
   Features
   ============================================ */
.features {
  background: var(--color-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.feature-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--color-accent);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ============================================
   Gallery
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s;
}

.gallery-item:hover::after {
  background: rgba(0, 0, 0, 0.1);
}

.gallery-item.large {
  grid-column: span 2;
}

.gallery-item img {
  transition: transform 0.6s ease;
}

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

/* ============================================
   Location
   ============================================ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.location-text h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
}

.location-text > p {
  color: var(--color-text-light);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.location-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.location-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 20px;
  border-left: 2px solid var(--color-accent);
}

.location-list li strong {
  font-size: 1rem;
  font-weight: 600;
}

.location-list li span {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.location-image {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

/* ============================================
   Rental Terms Banner
   ============================================ */
.rental-terms {
  background: var(--color-accent);
  padding: 60px 0;
  text-align: center;
}

.terms-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-white);
  margin-bottom: 16px;
}

.terms-content p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

.terms-content strong {
  color: var(--color-white);
}

/* ============================================
   Inquiry Form
   ============================================ */
.inquiry {
  background: var(--color-white);
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.inquiry-text h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
}

.inquiry-text > p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.inquiry-note {
  background: var(--color-warm-light);
  padding: 24px;
  border-radius: 8px;
}

.inquiry-note p {
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--color-text);
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-success {
  text-align: center;
  padding: 60px 24px;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--color-accent);
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 32px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .nav-logo {
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  max-width: 320px;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 0.85rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-pad: 80px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .about-grid,
  .location-grid,
  .inquiry-grid {
    gap: 48px;
  }

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

@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: rgba(20, 30, 20, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
  }

  .nav-toggle {
    display: flex;
    z-index: 200;
  }

  .hero {
    min-height: 500px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .about-grid,
  .location-grid,
  .inquiry-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    aspect-ratio: 16/10;
  }

  .location-image {
    aspect-ratio: 16/10;
    order: -1;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-text h2,
  .location-text h2,
  .inquiry-text h2 {
    font-size: 2rem;
  }

  .about-details {
    gap: 24px;
  }

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

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

  .gallery-item.large {
    grid-column: span 2;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

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

  .gallery-item.large {
    grid-column: span 1;
  }

  .about-details {
    flex-direction: column;
    gap: 16px;
  }

  .nav {
    padding: 16px 20px;
  }
}
