/* Apartment Cosmetic Repair Roadmap Styles */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fafafa;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.site-header {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  padding: 1rem 0;
  border-bottom: 4px solid #e74c3c;
}
.site-header h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}
.site-nav a {
  color: #ecf0f1;
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.site-nav a:hover {
  color: #3498db;
}
.hero {
  text-align: center;
  padding: 2rem 0;
  background: white;
  margin: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.tagline {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}
.quick-start {
  margin-top: 1.5rem;
}
.primary-btn, .secondary-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  margin: 0 0.5rem;
  transition: all 0.2s;
}
.primary-btn {
  background: #e74c3c;
  color: white;
}
.primary-btn:hover {
  background: #c0392b;
  transform: translateY(-1px);
}
.secondary-btn {
  background: #ecf0f1;
  color: #2c3e50;
}
.secondary-btn:hover {
  background: #bdc3c7;
}
.room-form fieldset {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: white;
}
.room-form legend {
  font-weight: 600;
  padding: 0 0.5rem;
  color: #2c3e50;
}
.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.form-row label {
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.form-row input, .form-row select {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
.unit-selector {
  width: 80px;
  position: absolute;
  margin-left: 10px;
}
.preset-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.preset-card {
  border: 2px solid #eee;
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
}
.preset-card:hover {
  border-color: #3498db;
  transform: translateY(-2px);
}
.preset-card.active {
  border-color: #e74c3c;
  background: #fff5f5;
}
.preset-card h3 {
  margin: 0 0 0.5rem 0;
  color: #e74c3c;
}
.preset-card p {
  margin: 0 0 0.75rem 0;
  font-size: 0.9rem;
  color: #666;
}
.preset-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}
.results-section {
  background: white;
  padding: 1.5rem;
  margin: 1rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.roadmap-header {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.materials-section ul, .phases-section {
  margin: 1rem 0;
  padding-left: 1.5rem;
}
.materials-section li {
  margin-bottom: 0.5rem;
}
.phases-section .phase-card {
  background: #f8f9fa;
  border-left: 4px solid #3498db;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0 4px 4px 0;
}
.time-cost-row {
  display: flex;
  gap: 2rem;
}
.examples-section {
  padding: 1rem 0;
}
.example-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.example-card {
  background: white;
  padding: 1.25rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.example-card h3 {
  margin-top: 0;
  color: #2c3e50;
}
.example-note {
  font-size: 0.85rem;
  color: #7f8c8d;
  margin-top: 0.5rem;
}
.faq-section {
  padding: 1rem 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.faq-item {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}
.faq-item h3 {
  font-size: 1rem;
  margin-top: 0;
  color: #2c3e50;
}
.site-footer {
  background: #2c3e50;
  color: #bdc3c7;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 2rem;
  font-size: 0.9rem;
}
.site-footer a {
  color: #3498db;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.version {
  margin-top: 0.5rem;
  color: #7f8c8d;
}
@media (max-width: 768px) {
  .site-header h1 { font-size: 1.25rem; }
  .tagline { font-size: 1.25rem; }
  .site-nav a { margin: 0 0.5rem; }
  .form-row { flex-direction: row; }
  .form-row label { margin-bottom: 0; margin-right: 0.5rem; }
  .form-row input, .form-row select { width: 100px; flex: 1; }
  .roadmap-header { flex-direction: column; }
}
@media (max-width: 480px) {
  .container { padding: 0 0.5rem; }
  .hero { margin: 0.5rem; padding: 1rem; }
  .example-card { padding: 1rem; }
}


/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
