/* Styles for Living Home front page */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: hidden;
  background: #f9fafb;
  color: #111827;
  line-height: 1.6;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  color: #6B7280;
  line-height: 1.6;
}

section {
  padding-top: 60px;
  padding-bottom: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}
.button-primary{background:#111827;color:#fff;padding:12px 24px;border-radius:8px;font-weight:600;border:none;cursor:pointer;}
.button-primary:hover{background:#1F2937}
.site-header {
  position: relative;
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 20px;
}
.site-header .logo {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: 300px;
  height: auto;
}
.icons {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 16px;
}
.icon-button {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.icon-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.icon-button img {
  width: 24px;
  height: 24px;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.menu-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}
.search-wrap {
  background: #fff;
  padding: 6px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  position: relative;
}
.search-wrap.hidden {
  display: none;
}
.search-wrap input {
  width: 250px;
  padding: 6px;
}
.search-results {
  max-height: 300px;
  overflow-y: auto;
  margin-top: 6px;
}
.search-results h3 {
  margin: 6px 0 4px;
  font-size: 14px;
  font-weight: 600;
}
.search-results ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}
.search-results li a {
  display: block;
  padding: 4px 6px;
  text-decoration: none;
  color: inherit;
}
.search-results li a:hover {
  background: #f0f0f0;
}
.hero {
  background: #fff;
  text-align: center;
  padding: 60px 0 0;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero p {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
}
.skyline {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  width: 100%;
  overflow: hidden;
}
.skyline img {
  flex: 1 1 auto;
  width: 100%;
  height: auto;
}
.skyline-dark {
  background: #000;
}
.skyline-light {
  background: #f3f3f3;
}
.city-divider {
  line-height: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
}
.city-divider img {
  max-height: 100px;
  object-fit: contain;
  object-position: bottom center;
}
.city-divider img.side {
  width: auto;
  flex: 1 1 auto;
}
.video {
  background: #fff;
  color: var(--text-color);
  text-align: center;
  padding: 40px 0;
}
.video-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.video-wrapper iframe {
  width: 100%;
  height: 450px;
}
.video-wrapper video {
  width: 100%;
  height: 450px;
}
.watermark {
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: var(--text-color);
  font-size: 0.9rem;
  opacity: 0.8;
}
.cta {
  background: #fff;
  color: var(--text-color);
  text-align: center;
  padding: 60px 0;
}
.cta p {
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.cta-btn {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}
.cta-btn:hover {
  background: #fff;
  color: #000;
}

.login-cta {
  background: #fff;
  color: var(--text-color);
}

.main-nav {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 16px;
}
.main-nav a {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  padding: 6px 8px;
}
.main-nav a:hover {
  text-decoration: underline;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  padding: 40px 0;
}
.project-card {
  background: #f9fafb;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 24px;
  overflow: hidden;
  text-align: center;
}
.project-card a {
  color: inherit;
  text-decoration: none;
  display: block;
  padding: 0;
}
.project-card a:hover {
  text-decoration: underline;
}
.project-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.project-card h3 {
  font-size: 1rem;
  margin: 10px;
}
.project-card p {
  font-size: 0.9rem;
  margin: 0 10px 10px;
}

body.dark-mode .project-card {
  background: #000;
  border-color: #374151;
  color: #fff;
}
body.dark-mode #projectCollage {
  background-color: #000;
}
body.dark-mode .cta {
  background-color: #000;
  color: #fff;
}

.project-collage {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  padding: 40px 0;
}

.collage-item {
  overflow: hidden;
  border-radius: 8px;
}

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

.project-collage .collage-item:nth-child(odd) {
  transform: rotate(-2deg);
}

.project-collage .collage-item:nth-child(even) {
  transform: rotate(2deg);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px 0;
  text-align: center;
  background: #fff;
}

.feature-card {
  padding: 20px;
}

.feature-card svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
  margin-bottom: 10px;
}

.feature-card h3 {
  margin-top: 0;
}

/* Advanced reveal animation */
.section-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utility section themes */
.dark-section {
  background: #000;
  color: #fff;
}
.dark-section svg {
  fill: currentColor;
}

.site-footer {
  background: #f5f5f5;
  text-align: center;
  padding: 20px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 10px;
}
.footer-nav a {
  text-decoration: none;
  color: inherit;
}
.footer-nav a:hover {
  text-decoration: underline;
}

/* Ensure distinct backgrounds */
.hero {
  background-color: #fff;
}

.features {
  background-color: #fff;
}

.video {
  background-color: #fff;
  color: var(--text-color);
}

.cta {
  background-color: #fff;
  color: var(--text-color);
}

.acquisition,
.lead-form,
#projects,
#projectCollage {
  background-color: #fff;
}

.acquisition.glass-panel,
.lead-form.glass-panel {
  border: none;
  box-shadow: none;
  background: none;
}

.acquisition {
  padding: 40px 0;
  text-align: center;
}

.acquisition-step {
  padding: 20px;
}

.acquisition-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
}

.acquisition-logo {
  max-width: 180px;
  justify-self: center;
}

.acquisition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

@media (max-width: 600px) {
  .acquisition-content {
    grid-template-columns: 1fr;
  }
  .acquisition-logo {
    display: none;
  }
}

.lead-form {
  padding: 40px 0;
  text-align: center;
}

.lead-form form {
  max-width: 400px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.lead-form input {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.lead-form button {
  margin-top: 8px;
}
.post{padding:24px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;margin-bottom:24px;transition:border-color 0.2s ease;}
.post:hover{border-color:#111827;}
.post h2{font-weight:600;font-size:1.25rem;margin-top:0;}
.post .meta{color:#9CA3AF;font-size:0.875rem;}

@media (max-width: 600px) {
  .site-header {
    flex-wrap: wrap;
  }
  .site-header .logo {
    max-width: 200px;
  }
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 1000;
  }
  .main-nav.open {
    display: flex;
  }
  .search-wrap {
    order: 3;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
  .icons {
    top: 10px;
    transform: none;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }

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

  .hero p {
    font-size: 1rem;
    margin: 0 auto 20px;
  }

  .city-divider img {
    max-height: 70px;
  }
}


