/* === Wallpaper Etc — Main Stylesheet === */
:root {
  --primary: #2c3e50;
  --accent: #c0965c;
  --accent-dark: #a67c45;
  --light: #f8f6f2;
  --white: #ffffff;
  --dark: #1a1a1a;
  --text: #444;
  --text-light: #777;
  --shadow: 0 2px 20px rgba(0,0,0,0.08);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

a { color: var(--accent-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }

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

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

/* --- Header / Navbar --- */
.navbar {
  background: var(--white);
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.navbar-brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.navbar-brand span { color: var(--accent); }

.nav-links { list-style: none; display: flex; gap: 28px; }
.nav-links a {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav-links a:hover,
.nav-links a.active { border-bottom-color: var(--accent); color: var(--accent-dark); }

.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); }

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 1rem;
}
.nav-phone svg { flex-shrink: 0; }

/* --- Hero Slider --- */
.hero {
  position: relative;
  overflow: hidden;
  height: 520px;
  background: var(--primary);
}
.hero-slides { display: flex; transition: transform 0.6s ease; height: 100%; }
.hero-slide {
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}
.hero-slide-content { position: relative; z-index: 2; padding: 20px; }
.hero-slide-content h2 {
  font-size: 2.8rem;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-slide-content p {
  font-size: 1.2rem;
  margin-bottom: 24px;
  opacity: 0.95;
}
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background .3s;
}
.hero-dot.active { background: var(--accent); }

/* Background images with gradient fallbacks */
.slide-wallpaper { background: url('../images/hero-wallpaper.jpg') center/cover, linear-gradient(135deg, #2c3e50, #4a6741); }
.slide-flooring  { background: url('../images/hero-flooring.jpg') center/cover, linear-gradient(135deg, #5d4037, #795548); }
.slide-blinds    { background: url('../images/hero-blinds.jpg') center/cover, linear-gradient(135deg, #37474f, #546e7a); }
.slide-carpet    { background: url('../images/hero-carpet.jpg') center/cover, linear-gradient(135deg, #4e342e, #6d4c41); }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all .3s;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-outline { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: #1a2a3a; color: var(--white); }

/* --- Sections --- */
section { padding: 70px 0; }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
}

/* --- About --- */
.about { background: var(--white); }
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-text h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.about-text p { margin-bottom: 16px; }

.about-image {
  background: linear-gradient(135deg, #d4c5a9, #b8a88a);
  height: 350px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
  font-weight: 700;
}

/* --- Promo Banner --- */
.promo {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 50px 0;
}
.promo h2 { font-size: 2rem; margin-bottom: 10px; }
.promo p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 20px; }

/* --- Services Grid --- */
.services { background: var(--light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  padding: 0;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 100%);
  z-index: 1;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.service-card-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}
.service-icon { display: none; }
.service-card h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.service-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.svc-wallpaper { background-image: url('../images/svc-wallpaper.jpg'); }
.svc-blinds { background-image: url('../images/svc-blinds.jpg'); }
.svc-shutters { background-image: url('../images/svc-shutters.jpg'); }
.svc-carpet { background-image: url('../images/svc-carpet.jpg'); }
.svc-tiles { background-image: url('../images/svc-tiles.jpg'); }
.svc-borders { background-image: url('../images/svc-borders.jpg'); }
.svc-installation { background-image: url('../images/svc-installation.jpg'); }
.svc-sales { background-image: url('../images/svc-sales.jpg'); }
.svc-consultation { background-image: url('../images/svc-consultation.jpg'); }

/* --- Suppliers --- */
.suppliers { background: var(--white); }
.supplier-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.supplier-row:last-child { margin-bottom: 0; }
.supplier-logo {
  background: var(--light);
  padding: 20px 30px;
  border-radius: var(--radius);
  min-width: 180px;
  text-align: center;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.1rem;
  transition: box-shadow .3s;
}
.supplier-logo:hover { box-shadow: var(--shadow); }
.supplier-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 20px;
}

/* --- Contact Section --- */
.contact { background: var(--light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-form { background: var(--white); padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form h3 { margin-bottom: 20px; color: var(--primary); }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--primary);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  background: #d4edda;
  color: #155724;
  padding: 14px;
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.form-error-msg {
  background: #f8d7da;
  color: #721c24;
  padding: 14px;
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.contact-info h3 { color: var(--primary); margin-bottom: 20px; }
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-detail svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 3px;
}
.contact-detail strong { display: block; color: var(--primary); margin-bottom: 2px; }
.contact-detail p { line-height: 1.5; }

.hours-table { width: 100%; margin-top: 20px; }
.hours-table td { padding: 6px 0; }
.hours-table td:first-child { font-weight: 500; color: var(--primary); }

.service-areas {
  margin-top: 24px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.service-areas strong { color: var(--primary); }

/* --- Map --- */
.map-section { padding: 0; }
.map-section iframe { width: 100%; height: 350px; border: none; display: block; }

/* --- Footer --- */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 40px 0 20px;
}
.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
.footer h4 { color: var(--white); margin-bottom: 14px; font-size: 1.05rem; }
.footer p { font-size: 0.9rem; line-height: 1.6; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }

.footer-social { display: flex; gap: 12px; margin-top: 12px; }
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background .3s;
}
.footer-social a:hover { background: var(--accent); }

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .about-content,
  .contact-grid,
  .footer-content { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }

  .hero { height: 400px; }
  .hero-slide-content h2 { font-size: 2rem; }
}

@media (max-width: 700px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 20px; border-bottom: 3px solid var(--accent); box-shadow: var(--shadow); gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-phone { display: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .hero { height: 350px; }
  .hero-slide-content h2 { font-size: 1.6rem; }
  .hero-slide-content p { font-size: 1rem; }

  .supplier-row { gap: 20px; }
  .supplier-logo { min-width: 140px; padding: 14px 20px; font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .service-card { padding: 20px 14px; }
}
