/* ============================================
   ARKA — Night City Minimal Design System
   Theme: Night Minimal | Real Estate / Architecture
   Colors: #2d2d2d (dark gray) + #ffffff (white) + #c9a227 (gold accent)
   Typeface: Inter (Google Fonts)
   ============================================ */

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #2d2d2d;
  color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
  background: #c9a227;
  border-radius: 3px;
}

/* ── Text Selection ── */
::selection {
  background: #c9a227;
  color: #2d2d2d;
}

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

/* ── Color Palette ── */
:root {
  --bg:       #2d2d2d;
  --bg-deep:  #1a1a1a;
  --bg-card:  #232323;
  --white:    #ffffff;
  --gray-lt:  #b0b0b0;
  --gray-mid: #6e6e6e;
  --accent:   #c9a227;
  --accent-dim: rgba(201, 162, 39, 0.15);
}

/* ── Section Labels ── */
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 4rem;
  letter-spacing: -0.02em;
}

/* ── Accent Button ── */
.btn-accent {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: background 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.btn-accent:hover {
  background: #d4b14a;
  transform: translateY(-1px);
}

.btn-accent:active {
  transform: translateY(0);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  transition: background 0.4s ease, padding 0.4s ease;
}

.nav.scrolled {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 3rem;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-lt);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg);
}

.hero-skyline {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.skyline-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Building shapes */
.bld {
  fill: #1a1a1a;
}

/* Window glow effect */
.win-glow {
  fill: #c9a227;
  opacity: 0.7;
  filter: blur(2px);
  animation: windowPulse 4s ease-in-out infinite;
}

@keyframes windowPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 0.9; }
}

/* Ground atmospheric glow */
.ground-glow {
  fill: url(#groundGradient);
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 3rem 6rem;
  max-width: 700px;
}

.hero-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--gray-lt);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-indicator span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
  margin: 0 auto;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(12px); opacity: 0.3; }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: 8rem 0;
  background: var(--bg-deep);
}

.about .section-title {
  max-width: 640px;
}

.about-grid {
  display: flex;
  gap: 4rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gray-mid);
  letter-spacing: 0.05em;
}

.about-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--gray-lt);
  max-width: 520px;
  line-height: 1.8;
}

/* ============================================
   PROPERTIES SECTION
   ============================================ */
.properties {
  padding: 8rem 0;
  background: var(--bg);
}

.prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.prop-card {
  background: var(--bg-card);
  overflow: hidden;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.prop-card:hover {
  transform: translateY(-4px);
  z-index: 2;
}

.prop-image {
  width: 100%;
  height: 280px;
  background-color: var(--bg-deep);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.prop-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(26,26,26,0.8));
}

.prop-image-1 {
  background-image: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=600&q=80');
}
.prop-image-2 {
  background-image: url('https://images.unsplash.com/photo-1580587771525-78b9dba3b914?w=600&q=80');
}
.prop-image-3 {
  background-image: url('https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?w=600&q=80');
}
.prop-image-4 {
  background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=600&q=80');
}
.prop-image-5 {
  background-image: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=600&q=80');
}
.prop-image-6 {
  background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=600&q=80');
}

.prop-info {
  padding: 1.75rem;
}

.prop-loc {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.prop-name {
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.prop-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--gray-lt);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.prop-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #333;
  font-size: 0.8rem;
  color: var(--gray-mid);
}

.prop-price {
  font-weight: 500;
  color: var(--white);
}

/* ============================================
   PHILOSOPHY SECTION
   ============================================ */
.philosophy {
  padding: 8rem 0;
  background: var(--bg-deep);
  text-align: center;
}

.philosophy-quote {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--gray-lt);
  font-style: normal;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.philosophy-quote::before {
  content: '"';
  display: block;
  font-size: 5rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.3;
  line-height: 0.8;
  margin-bottom: 1.5rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: 8rem 0;
  background: var(--bg);
}

.contact-form {
  max-width: 680px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--white);
  background: var(--bg-card);
  border: 1px solid #333;
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-mid);
}

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

.form-group select option {
  background: var(--bg-card);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 4rem 0 2rem;
  background: var(--bg-deep);
  border-top: 1px solid #2a2a2a;
}

.footer-top {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.25em;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--gray-mid);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-links a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  transition: color 0.3s ease;
}

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

.footer-copy {
  font-size: 0.75rem;
  color: var(--gray-mid);
  letter-spacing: 0.05em;
}

/* ============================================
   SVG GRADIENTS (inline defs)
   ============================================ */

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 1024px) {
  .prop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 1.25rem 1.5rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

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

  .nav-links li {
    border-bottom: 1px solid #2a2a2a;
  }

  .nav-links a {
    display: block;
    padding: 1.25rem 1.5rem;
    font-size: 0.85rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    padding: 0 1.5rem 4rem;
  }

  .about {
    padding: 5rem 0;
  }

  .about-grid {
    gap: 2rem;
  }

  .stat-num {
    font-size: 2rem;
  }

  .properties {
    padding: 5rem 0;
  }

  .prop-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .prop-image {
    height: 240px;
  }

  .philosophy {
    padding: 5rem 0;
  }

  .contact {
    padding: 5rem 0;
  }

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

  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .section-title {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .about-grid {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ============================================
   NAV TOGGLE ACTIVE STATE
   ============================================ */
.nav-toggle.active span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.active span:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
