/* ============================================================
   DETROIT WALLPAPER HANGER — Premium Service Design
   style.css
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #1a1a1a;
  --primary-light: #333333;
  --accent: #8e735b;
  --accent-light: #a68b72;
  --bg-snow: #fcfcfc;
  --bg-ivory: #f5f2ed;
  --text-charcoal: #222222;
  --text-muted: #555555;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

/* ---------- Reset & Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background-color: var(--bg-snow);
  color: var(--text-charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 20px; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 15px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  font-size: 0.9rem;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-light); transform: translateY(-2px); }

/* ---------- Header ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  padding: 15px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--primary); }
nav ul { display: flex; gap: 20px; }
nav ul li a { font-size: 0.95rem; font-weight: 500; }
nav ul li a:hover { color: var(--accent); }
.header-right { display: flex; align-items: center; gap: 15px; }
.phone-num { font-weight: 700; color: var(--primary); font-size: 1rem; }

/* ---------- Hero Section ---------- */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('assets/hero.jpg') center/cover no-repeat;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: -1;
}
.hero-flex { display: flex; align-items: center; justify-content: space-between; gap: 50px; flex-wrap: wrap; }
.hero-content { flex: 1; min-width: 300px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; max-width: 600px; opacity: 0.9; }
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }

/* ---------- About Section ---------- */
#about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image img { border-radius: 8px; box-shadow: var(--shadow-lg); }
.about-text h2 { text-align: left; }
.about-text p { margin-bottom: 20px; color: var(--text-muted); }

/* ---------- Services Section ---------- */
#services { background: var(--bg-ivory); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.service-card {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-card h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 10px; }
.service-card p { font-size: 0.95rem; color: var(--text-muted); }

/* ---------- Why Choose Us ---------- */
#why-us { background: var(--primary); color: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.why-item { text-align: center; }
.why-item h3 { color: var(--accent-light); margin-bottom: 10px; font-size: 1.25rem; }
.why-item p { font-size: 0.95rem; opacity: 0.8; }

/* ---------- Gallery Section ---------- */
#gallery { background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; }
.gallery-item { overflow: hidden; border-radius: 4px; height: 280px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.05); }

/* ---------- Testimonials ---------- */
#testimonials { background: var(--bg-snow); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { background: var(--white); padding: 35px; border-radius: 8px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--accent); }
.testimonial-card p { font-style: italic; margin-bottom: 20px; color: var(--text-charcoal); }
.testimonial-card .author { font-weight: 700; color: var(--primary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Contact Section ---------- */
#contact { background: var(--bg-ivory); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-info h2 { text-align: left; margin-bottom: 30px; }
.info-item { margin-bottom: 25px; }
.info-item strong { display: block; color: var(--primary); margin-bottom: 5px; }
.info-item p, .info-item a { color: var(--text-muted); }

.contact-form-wrapper { background: var(--white); padding: 40px; border-radius: 8px; box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fafafa;
}
.form-group textarea { height: 120px; resize: none; }
.form-success { display: none; background: #e8f5e9; color: #2e7d32; padding: 15px; border-radius: 4px; text-align: center; margin-bottom: 20px; font-weight: 600; }

/* ---------- Google Map ---------- */
#map { height: 450px; width: 100%; }
#map iframe { width: 100%; height: 100%; border: none; }

/* ---------- Footer ---------- */
footer { background: #111; color: rgba(255,255,255,0.6); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 50px; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; font-family: var(--font-heading); font-size: 1.2rem; }
.footer-col p, .footer-col ul li { font-size: 0.9rem; margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--accent-light); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; font-size: 0.85rem; }

/* ---------- Mobile Responsive ---------- */
@media (max-width: 992px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  nav { display: none; }
}
@media (max-width: 768px) {
  #hero { text-align: center; padding-top: 100px; }
  .hero-btns { justify-content: center; }
  .header-right .btn { display: none; }
  .contact-form-wrapper { padding: 30px 20px; }
}
