:root {
  color-scheme: dark;
  --bg: #05070f;
  --surface: #111827;
  --surface-soft: #171f36;
  --surface-soft-alt: #1e2944;
  --text: #eef2ff;
  --muted: #f8d151;
  --primary: #5b8cff;
  --primary-strong: #3070ff;
  --accent: #f9a826;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at top, rgba(91, 140, 255, 0.16), transparent 28%),
              radial-gradient(circle at 20% 20%, rgba(249, 168, 38, 0.12), transparent 20%),
              var(--bg);
  color: var(--text);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(5,7,15,0.35), rgba(5,7,15,0.7)),
                    url('images/daniel-barnes-RKdLlTyjm5g-unsplash.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.9) saturate(1.05) contrast(1.02);
  z-index: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 2rem;
  background: linear-gradient(rgba(255, 187, 0, 0.73) black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  
}

.hero-header {
  position: relative;
  top: auto;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  padding-bottom: 0.5rem;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
   width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
}

.logo-mark {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}

.brand h1 {
  margin: 0;
  font-size: 1rem;
}

.brand p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  padding: 0.35rem 0.2rem;
  border-radius: 0.7rem;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.hero-main,
.content-main {
  padding: 0 2rem 2rem;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero {
  display: grid;
  align-items: center;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  margin-bottom: 0;
  padding: 1rem 0 2rem;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hero-copy h2,
.section-heading h2,
.page-hero h2,
.story-text h3,
.team-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.05;
}

.hero-copy p {
  max-width: 48rem;
  color: var(--muted);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  min-width: 160px;
}
.ceo-section {
  align-items: center;
}

.ceo-content {
  display: grid;
  gap: 1rem;
}

.ceo-content p {
  max-width: 65ch;
}

.ceo-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.ceo-text {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

.ceo-img img {
  width: min(100%, 18rem);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.hero-image {
  position: relative;
  min-height: 420px;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  /* background: url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat; */
  filter: brightness(0.7);
}

.hero-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  padding: 2rem;
  border-radius: 2rem;
  background: rgba(75, 74, 74, 0.8), rgba(117, 117, 117, 0.8), rgba(83, 83, 83, 0.8) center/cover no-repeat;
  backdrop-filter: blur(18px);
  margin: auto;
  top: 50%;
  transform: translateY(50%);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.25);
}

.card-label {
  margin: 0 0 1rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
}

.hero-card p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.price {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 700;
}

.features-section,
.properties-preview,
.about-preview,
.story-section,
.team-section,
.contact-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
}

.features-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 1.8rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
}

.feature-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(91, 140, 255, 0.14);
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.feature-card h3,
.property-content h3,
.gallery-card h3,
.team-card h3,
.highlight-card h4 {
  margin: 0 0 0.75rem;
}

.feature-card p,
.property-content p,
.gallery-card p,
.team-card p,
.highlight-card p,
.contact-details p,
.story-text p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.grid-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.property-card {
  overflow: hidden;
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.property-image {
  min-height: 220px;
  background-size: cover;
  background-position: center;
}

.property-image-1 { background-image: url('images/istockphoto-1165384568-612x612.webp'); }
.property-image-2 { background-image: url('images/images\ \(5\).jfif'); }
.property-image-3 { background-image: url('images/frames-for-your-heart-mR1CIDduGLc-unsplash.jpg'); }

.property-content {
  padding: 1.5rem;
}

.section-actions {
  margin-top: 1.5rem;
}

.about-preview {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-item {
  padding: 1.5rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-content {
  padding: 0 2rem 2rem;
  max-width: 1240px;
  margin: 0 auto;
}

.page-hero {
  padding: 3rem 2rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-hero { background-image: linear-gradient(180deg, rgba(91, 140, 255, 0.12), transparent); }
.gallery-hero { background-image: linear-gradient(180deg, rgba(249, 168, 38, 0.12), transparent); }
.contact-hero { background-image: linear-gradient(180deg, rgba(91, 140, 255, 0.12), rgba(249, 168, 38, 0.06)); }

.story-section {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}

.highlight-card {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.team-section .team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.team-card {
  padding: 1.5rem;
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.team-photo {
  min-height: 250px;
  border-radius: 1.5rem;
  background-size: cover;
  background-position: center;
  margin-bottom: 1.25rem;
}

.team-photo-1 { background-image: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&w=800&q=80'); }
.team-photo-2 { background-image: url('https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=800&q=80'); }
.team-photo-3 { background-image: url('https://images.unsplash.com/photo-1517841905240-472988babdf9?auto=format&fit=crop&w=800&q=80'); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  border-radius: 1.8rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.gallery-card img {
  width: 100%;
  display: block;
  height: 260px;
  object-fit: cover;
}

.gallery-card div {
  padding: 1.25rem;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: flex-start;
}

.contact-info {
  display: grid;
  gap: 1.5rem;
}

.contact-details {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.form-row {
  display: grid;
  gap: 0.5rem;
}

.form-row label {
  font-size: 0.95rem;
  color: var(--text);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(91, 140, 255, 0.35);
}

.site-footer {
  padding: 1.5rem 2rem;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .features-section,
  .grid-grid,
  .stats-grid,
  .team-grid,
  .gallery-grid,
  .contact-section,
  .story-section,
  .about-preview {
    grid-template-columns: 1fr;
  }

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

  .hero-image {
    min-height: 360px;
  }
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
  }

  .hero-card {
    top: 0;
    transform: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 1rem 1.25rem;
  }

  .brand {
    flex: 1;
  }

  .brand h1 {
    font-size: 0.95rem;
  }

  .brand p {
    font-size: 0.8rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  .site-nav a {
    padding: 0.75rem 1rem;
    border-radius: 0.8rem;
    width: 100%;
    text-align: center;
  }

  .site-nav a:hover,
  .site-nav a.active {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    transform: translateY(-2px);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .site-nav.open {
    display: flex;
  }

  .page-content,
  .hero-main,
  .content-main,
  main {
    padding: 1rem;
  }

  .page-hero,
  .features-section,
  .properties-preview,
  .about-preview,
  .story-section,
  .team-section,
  .contact-section,
  .site-footer {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .hero-copy h2,
  .section-heading h2,
  .page-hero h2,
  .story-text h3,
  .team-section h2 {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
  }

  .hero-image {
    min-height: 260px;
  }

  .hero-card {
    padding: 1.25rem;
  }

  .ceo-img {
    padding: 1rem 0 0;
  }

  .ceo-img img {
    width: min(100%, 14rem);
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0.9rem 1rem;
  }

  .brand {
    gap: 0.7rem;
  }

  .logo-mark,
  .logo {
    width: 2.6rem;
    height: 2.6rem;
  }

  .page-hero,
  .features-section,
  .properties-preview,
  .about-preview,
  .story-section,
  .team-section,
  .contact-section,
  .site-footer {
    padding: 1.2rem;
    margin-bottom: 1.2rem;
  }

  .hero-card {
    padding: 1rem;
  }

  .ceo-img img {
    width: min(100%, 12rem);
  }
}
