/* === Reset & Base === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-dark: #333;
  --color-text: #444;
  --color-light: #f8f8f8;
  --color-white: #fff;
  --color-accent: #C4956A;
  --color-accent-dark: #a87d56;
  --color-gray: #888;
  --color-border: #e0e0e0;
  --max-width: 1100px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-text);
  line-height: 1.7;
  background: var(--color-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  color: var(--color-dark);
  line-height: 1.3;
}

/* === Layout === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section.block {
  padding: 4rem 0;
}

section.block:nth-child(even) {
  background: var(--color-light);
}

/* === Header === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.site-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.site-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-dark);
  letter-spacing: -0.02em;
}

.site-logo:hover {
  text-decoration: none;
  color: var(--color-accent-dark);
}

.nav-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-accent);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--color-accent-dark);
  text-decoration: none;
}

/* === Hero === */
section.block-hero {
  padding: 0;
}

.hero {
  position: relative;
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  margin-top: 60px;
}

.hero-overlay {
  width: 100%;
  background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.65) 100%);
  padding: 4rem 0 3rem;
}

.hero h1 {
  color: var(--color-white);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  font-weight: 400;
}

/* === Features Grid === */
.features-grid ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.features-grid li {
  background: var(--color-white);
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  font-size: 1rem;
}

.features-grid li strong {
  color: var(--color-accent-dark);
  display: inline;
}

/* === Text === */
.text-content {
  max-width: 750px;
}

.text-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.text-content p {
  margin-bottom: 1rem;
}

.text-content ul, .text-content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.text-content li {
  margin-bottom: 0.5rem;
}

/* === Gallery === */
.gallery-description {
  color: var(--color-gray);
  margin-bottom: 1.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/3;
}

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

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

/* === Gallery large (2 columns, bigger display) === */
.gallery-large {
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.gallery-large .gallery-item {
  aspect-ratio: 16/9;
  border-radius: 8px;
}

/* === Video === */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.video-item video {
  width: 100%;
  border-radius: 8px;
  background: #000;
}

/* === Downloads === */
.downloads-description {
  margin-bottom: 1.5rem;
}

.downloads-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-text);
  transition: border-color 0.2s;
}

.download-item:hover {
  border-color: var(--color-accent);
  text-decoration: none;
}

.download-icon {
  font-size: 1.5rem;
}

.download-label {
  flex: 1;
  font-weight: 500;
}

.download-action {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === Floorplan === */
.floorplan-description {
  margin-bottom: 1.5rem;
}

.floorplan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.floorplan-item {
  display: block;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1rem;
}

.floorplan-item img {
  border-radius: 4px;
}

/* === Location === */
.location-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.location-content li {
  margin-bottom: 0.5rem;
}

/* === CTA === */
section.block-cta {
  background: var(--color-dark);
}

.cta-box {
  text-align: center;
  padding: 2rem 0;
}

.cta-box h2 {
  color: var(--color-white);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.85rem 2.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: background 0.2s;
}

.cta-button:hover {
  background: var(--color-accent-dark);
  text-decoration: none;
}

/* === Contact === */
.contact-info {
  max-width: 500px;
}

.contact-item {
  margin-bottom: 1.25rem;
}

.contact-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-item a {
  font-size: 1.15rem;
  font-weight: 500;
}

.contact-text {
  margin-top: 1.5rem;
  color: var(--color-gray);
}

/* === Footer === */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.5);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
}

/* === Headings spacing === */
section.block h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

/* === Lightbox === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s;
  padding: 0.5rem;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: #fff;
}

.lightbox-close {
  top: 1rem;
  right: 1.5rem;
  font-size: 2.5rem;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  line-height: 1;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

/* === Responsive === */
@media (min-width: 600px) {
  .features-grid ul {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

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

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

@media (min-width: 900px) {
  .features-grid ul {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

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

  .hero {
    min-height: 80vh;
  }

  section.block {
    padding: 5rem 0;
  }
}
