/* =========================================
   HOME DESIGN SOLUTIONS, LLC - Main Stylesheet
   Elegant Neutral Tones + Warm Accents
   ========================================= */

:root {
  --color-bg: #F5F5F0;
  --color-bg-light: #FAF9F6;
  --color-bg-card: #FFFFFF;
  --color-text: #333333;
  --color-text-muted: #666666;
  --color-text-light: #888888;
  --color-accent: #8B7355;
  --color-accent-hover: #A67B5B;
  --color-accent-light: #D4C5B0;
  --color-border: #E0DCD5;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(139,115,85,0.15);
  --radius: 8px;
  --transition: all 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-text);
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: var(--color-accent); }
h3 { font-size: 1.4rem; }
p { margin-bottom: 1.2rem; color: var(--color-text-muted); }
a { color: var(--color-accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-accent-hover); }

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 70px 0; }
.section-light { background: var(--color-bg-light); }
.section-white { background: var(--color-bg-card); }
.text-center { text-align: center; }

/* Header */
.header {
  background: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--color-text);
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}
.nav { display: flex; gap: 30px; }
.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav a:hover, .nav a.active { color: var(--color-accent); }
.nav-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--color-accent); }

/* Hero Section */
.hero {
  background: linear-gradient(rgba(245,245,240,0.1), rgba(245,245,240,0.1)), url('../img/hero-bg.jpg') center/cover;
  padding: 100px 0;
  text-align: center;
}
.hero h1 { margin-bottom: 1.5rem; font-size: 2.8rem; }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.btn {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  padding: 14px 35px;
  border-radius: var(--radius);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: var(--transition);
  border: 2px solid var(--color-accent);
  cursor: pointer;
}
.btn:hover {
  background: transparent;
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent);
  color: white;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.service-card {
  background: var(--color-bg-card);
  padding: 35px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.service-icon {
  width: 60px;
  height: 60px;
  background: var(--color-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--color-accent);
}

/* Features/Benefits */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 40px;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 25px;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-accent);
}
.feature-icon {
  width: 45px;
  height: 45px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: white;
}

/* Process Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
  counter-reset: step;
}
.step {
  text-align: center;
  padding: 30px;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
}

/* Contact Form */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.contact-info {
  background: var(--color-bg-card);
  padding: 35px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.contact-info p { margin-bottom: 0.8rem; }
.contact-info strong { color: var(--color-accent); }
.address-block {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}
.address-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.address-block strong { display: block; color: var(--color-accent); margin-bottom: 8px; }

.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text);
}
.form-control {
  width: 100%;
  padding: 12px 15px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--color-text);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(139,115,85,0.1);
}
textarea.form-control { min-height: 120px; resize: vertical; }
.form-control::placeholder { color: var(--color-text-light); }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 35px;
}

/* Map */
.map-container {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.map-container iframe { width: 100%; height: 400px; border: 0; }

/* Footer */
.footer {
  background: var(--color-text);
  color: var(--color-bg-light);
  padding: 50px 0 25px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 35px;
  margin-bottom: 35px;
}
.footer h4 { color: var(--color-accent-light); font-size: 1.1rem; margin-bottom: 18px; }
.footer a { color: var(--color-bg-light); opacity: 0.9; }
.footer a:hover { color: var(--color-accent-light); opacity: 1; }
.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Privacy Policy Page */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-bg-card);
  padding: 45px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.privacy-content h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: var(--color-accent);
}
.privacy-content p { color: var(--color-text-muted); }
.privacy-content ul {
  margin-left: 20px;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}
.privacy-content li { margin-bottom: 0.4rem; }
.privacy-content address {
  font-style: normal;
  line-height: 1.8;
  margin-top: 2rem;
  padding: 25px;
  background: var(--color-bg-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-accent);
}

/* Utility */
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Form Messages */
.form-message {
  padding: 15px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  display: none;
  font-weight: 500;
}
.form-message.success {
  background: rgba(40,167,69,0.1);
  color: #28A745;
  border: 1px solid #28A745;
}
.form-message.error {
  background: rgba(220,53,69,0.1);
  color: #DC3545;
  border: 1px solid #DC3545;
}

/* Badge */
.badge-free {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  padding: 6px 18px;
  border-radius: 25px;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}