/* ============================================
   RHW Wallpaper Installers Inc — Main Stylesheet
   Color Palette:
   Primary BG: #1A1A1A (deep charcoal)
   Secondary BG: #2F2F2F (steel gray)
   Light sections: #F5F5F5 (soft white)
   Text on dark: #FFFFFF
   Text on light: #222222
   Accent: #C8A96A (gold)
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #222;
  background: #F5F5F5;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: #C8A96A; text-decoration: none; transition: color .25s; }
a:hover { color: #b8944f; }

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

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

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.3; }
h1 { font-size: 2.6rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: .8rem; }
h3 { font-size: 1.5rem; margin-bottom: .6rem; }
h4 { font-size: 1.2rem; margin-bottom: .5rem; }
p { margin-bottom: 1rem; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all .3s;
  text-align: center;
  letter-spacing: .5px;
}

.btn-primary {
  background: #C8A96A;
  color: #1A1A1A;
}
.btn-primary:hover {
  background: #b8944f;
  color: #1A1A1A;
  filter: brightness(1.1) contrast(1.05);
}

.btn-outline {
  background: transparent;
  color: #C8A96A;
  border: 2px solid #C8A96A;
}
.btn-outline:hover {
  background: #C8A96A;
  color: #1A1A1A;
}

/* ---------- HEADER ---------- */
.site-header {
  background: #1A1A1A;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #2F2F2F;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #2F2F2F;
  font-size: .85rem;
}

.header-top .contact-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-top .contact-info a {
  color: #F5F5F5;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-top .contact-info a:hover { color: #C8A96A; }

.header-top .contact-info svg {
  width: 16px;
  height: 16px;
  fill: #C8A96A;
  flex-shrink: 0;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo a {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
}

.logo a span { color: #C8A96A; }

/* ---------- DESKTOP NAV ---------- */
.main-nav { display: flex; align-items: center; gap: 0; }

.main-nav > ul {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}

.main-nav > ul > li { position: relative; }

.main-nav > ul > li > a {
  display: block;
  padding: 10px 18px;
  color: #F5F5F5;
  font-size: .95rem;
  font-weight: 500;
  transition: color .25s;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a { color: #C8A96A; }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #2F2F2F;
  min-width: 260px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .3s ease;
  list-style: none;
  padding: 8px 0;
  z-index: 100;
}

.main-nav > ul > li:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li { opacity: 0; transform: translateY(8px); }

.main-nav > ul > li:hover > .dropdown-menu li {
  opacity: 1;
  transform: translateY(0);
}

.dropdown-menu li:nth-child(1) { transition: all .25s ease .05s; }
.dropdown-menu li:nth-child(2) { transition: all .25s ease .1s; }
.dropdown-menu li:nth-child(3) { transition: all .25s ease .15s; }
.dropdown-menu li:nth-child(4) { transition: all .25s ease .2s; }
.dropdown-menu li:nth-child(5) { transition: all .25s ease .25s; }
.dropdown-menu li:nth-child(6) { transition: all .25s ease .3s; }
.dropdown-menu li:nth-child(7) { transition: all .25s ease .35s; }
.dropdown-menu li:nth-child(8) { transition: all .25s ease .4s; }
.dropdown-menu li:nth-child(9) { transition: all .25s ease .45s; }
.dropdown-menu li:nth-child(10) { transition: all .25s ease .5s; }
.dropdown-menu li:nth-child(11) { transition: all .25s ease .55s; }

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #ddd;
  font-size: .9rem;
  transition: all .2s;
}

.dropdown-menu a:hover {
  background: #3a3a3a;
  color: #C8A96A;
  padding-left: 26px;
}

/* Dropdown arrow indicator */
.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid #C8A96A;
  border-bottom: 2px solid #C8A96A;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: middle;
  transition: transform .3s;
}

.has-dropdown:hover > a::after {
  transform: rotate(-135deg);
}

/* ---------- HAMBURGER ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- MOBILE NAV OVERLAY ---------- */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 50%;
  height: 100vh;
  background: #1A1A1A;
  z-index: 1050;
  transition: right .4s ease;
  overflow-y: auto;
  padding: 70px 0 30px;
}

.mobile-nav-overlay.open { right: 0; }

.mobile-nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,.5);
  z-index: 1040;
  opacity: 0;
  transition: opacity .3s;
}

.mobile-nav-backdrop.open { opacity: 1; }

.mobile-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1060;
}

.mobile-close-btn svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
  stroke-width: 2;
}

.mobile-close-btn:hover svg { stroke: #C8A96A; }

.mobile-nav-overlay ul {
  list-style: none;
  padding: 0 24px;
}

.mobile-nav-overlay > ul > li {
  border-bottom: 1px solid #2F2F2F;
}

.mobile-nav-overlay > ul > li > a {
  display: block;
  padding: 14px 0;
  color: #F5F5F5;
  font-size: 1rem;
  font-weight: 500;
}

.mobile-nav-overlay > ul > li > a:hover { color: #C8A96A; }

.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  color: #F5F5F5;
  font-size: 1rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.mobile-dropdown-toggle:hover { color: #C8A96A; }

.mobile-dropdown-toggle svg {
  width: 16px;
  height: 16px;
  stroke: #C8A96A;
  transition: transform .3s;
  flex-shrink: 0;
}

.mobile-dropdown-toggle.open svg { transform: rotate(180deg); }

.mobile-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.mobile-dropdown.open { max-height: 600px; }

.mobile-dropdown ul {
  padding: 0 0 8px 16px;
}

.mobile-dropdown li a {
  display: block;
  padding: 10px 0;
  color: #bbb;
  font-size: .9rem;
}

.mobile-dropdown li a:hover { color: #C8A96A; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,.85) 0%, rgba(26,26,26,.5) 100%);
}

.hero .container { position: relative; z-index: 2; }

.hero-content {
  max-width: 600px;
  color: #fff;
}

.hero-content h1 { font-size: 3rem; margin-bottom: 1.2rem; }
.hero-content h1 span { color: #C8A96A; }
.hero-content p { font-size: 1.15rem; margin-bottom: 1.5rem; color: #ddd; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* ---------- FORM ---------- */
.feedback-form-container {
  background: #2F2F2F;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

.feedback-form-container h3 {
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  font-family: 'Playfair Display', Georgia, serif;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form-group { margin-bottom: 12px; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: #3a3a3a;
  border: 1px solid #555;
  border-radius: 8px;
  color: #fff;
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #999; }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #C8A96A;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-submit { text-align: center; margin-top: 8px; }

.submit-btn {
  display: inline-block;
  padding: 14px 40px;
  background: #C8A96A;
  color: #1A1A1A;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all .3s;
  width: 100%;
}

.submit-btn:hover {
  background: #b8944f;
  filter: brightness(1.1);
}

#form-success {
  text-align: center;
  padding: 20px;
}

#form-success p {
  color: #C8A96A;
  font-size: 1.1rem;
}

/* ---------- SECTIONS ---------- */
.section { padding: 80px 0; }

.section-dark { background: #1A1A1A; color: #fff; }
.section-gray { background: #2F2F2F; color: #fff; }
.section-light { background: #F5F5F5; color: #222; }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 { margin-bottom: .5rem; }
.section-title p { color: #999; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.section-dark .section-title p { color: #bbb; }

/* ---------- CARDS GRID ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: #2F2F2F;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body { padding: 24px; }
.card-body h3 { color: #fff; margin-bottom: .5rem; }
.card-body p { color: #bbb; font-size: .95rem; }
.card-body .btn { margin-top: 12px; }

.section-light .card { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.section-light .card-body h3 { color: #222; }
.section-light .card-body p { color: #666; }

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: #C8A96A;
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 { color: #1A1A1A; margin-bottom: .5rem; }
.cta-section p { color: #333; font-size: 1.1rem; margin-bottom: 1.5rem; }

.cta-section .btn {
  background: #1A1A1A;
  color: #C8A96A;
}

.cta-section .btn:hover {
  background: #2F2F2F;
}

/* ---------- MAP ---------- */
.map-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* ---------- SPLIT SECTION ---------- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-section img {
  border-radius: 12px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ---------- ICON LIST ---------- */
.icon-list {
  list-style: none;
  padding: 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1rem;
}

.icon-list li svg {
  width: 22px;
  height: 22px;
  fill: #C8A96A;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: #2F2F2F;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.section-light .faq-item {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.section-light .faq-question { color: #222; }

.faq-question svg {
  width: 18px;
  height: 18px;
  stroke: #C8A96A;
  stroke-width: 2;
  transition: transform .3s;
  flex-shrink: 0;
}

.faq-question.active svg { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq-answer-inner {
  padding: 0 24px 18px;
  color: #bbb;
  line-height: 1.7;
}

.section-light .faq-answer-inner { color: #555; }

.faq-answer.open { max-height: 500px; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: #111;
  color: #999;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.footer-col p { font-size: .9rem; line-height: 1.8; }

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a {
  color: #999;
  font-size: .9rem;
  transition: color .2s;
}

.footer-col ul li a:hover { color: #C8A96A; }

.footer-bottom {
  border-top: 1px solid #2F2F2F;
  padding: 20px 0;
  text-align: center;
  font-size: .85rem;
}

/* ---------- STICKY QUOTE BUTTON ---------- */
.sticky-quote-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #C8A96A;
  color: #1A1A1A;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(200,169,106,.4);
  cursor: pointer;
  z-index: 900;
  border: none;
  transition: all .3s;
}

.sticky-quote-btn:hover {
  background: #b8944f;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(200,169,106,.5);
}

/* ---------- MODAL ---------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal-overlay.active { display: flex; }

.modal-content {
  background: #1A1A1A;
  padding: 40px;
  border-radius: 12px;
  max-width: 560px;
  width: 90%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
}

.modal-close svg {
  width: 24px;
  height: 24px;
  stroke: #999;
  stroke-width: 2;
}

.modal-close:hover svg { stroke: #C8A96A; }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  background: #1A1A1A;
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 { color: #fff; }
.page-hero p { color: #bbb; font-size: 1.1rem; max-width: 600px; margin: .5rem auto 0; }

/* ---------- CONTENT BLOCKS ---------- */
.content-block { margin-bottom: 48px; }
.content-block h2 { margin-bottom: 1rem; }
.content-block h3 { margin-bottom: .8rem; }
.content-block ul, .content-block ol { padding-left: 24px; margin-bottom: 1rem; }
.content-block li { margin-bottom: 8px; }

.content-block .cta-inline {
  margin-top: 20px;
  padding: 20px;
  background: rgba(200,169,106,.1);
  border-left: 4px solid #C8A96A;
  border-radius: 0 8px 8px 0;
}

.section-dark .content-block .cta-inline {
  background: rgba(200,169,106,.08);
}

.content-block .cta-inline p { margin-bottom: .5rem; }

/* ---------- AREAS GRID ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.area-card {
  background: #2F2F2F;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: all .3s;
}

.area-card:hover {
  background: #3a3a3a;
  transform: translateY(-2px);
}

.area-card a {
  color: #fff;
  font-weight: 500;
}

.area-card a:hover { color: #C8A96A; }

.section-light .area-card {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.section-light .area-card a { color: #222; }

/* ---------- NEIGHBORHOODS ---------- */
.neighborhoods-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.neighborhoods-list li {
  background: #3a3a3a;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: .9rem;
  color: #ddd;
}

.section-light .neighborhoods-list li {
  background: #eee;
  color: #444;
}

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-block {
  margin-bottom: 24px;
}

.contact-info-block h3 {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info-block h3 svg {
  width: 22px;
  height: 22px;
  fill: #C8A96A;
}

.contact-info-block p { color: #bbb; }
.section-light .contact-info-block p { color: #555; }

/* ---------- IMAGE GALLERY ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform .3s;
}

.gallery-grid img:hover { transform: scale(1.03); }

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  padding: 12px 0;
  font-size: .85rem;
}

.breadcrumb a { color: #C8A96A; }
.breadcrumb span { color: #999; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .split-section { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero-content h1 { font-size: 2.2rem; }

  /* Hide desktop nav, show hamburger */
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav-overlay { display: block; }
  .mobile-nav-backdrop { display: block; }

  .header-top .contact-info { gap: 12px; font-size: .8rem; }

  .form-row { grid-template-columns: 1fr; }

  .section { padding: 50px 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

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

  .cards-grid { grid-template-columns: 1fr; }

  .hero { min-height: 70vh; }

  /* Sticky button mobile: bottom center */
  .sticky-quote-btn {
    right: 50%;
    transform: translateX(50%);
    bottom: 16px;
  }
  .sticky-quote-btn:hover {
    transform: translateX(50%) translateY(-2px);
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-content h1 { font-size: 1.8rem; }
  .feedback-form-container { padding: 20px; }
  .modal-content { padding: 24px; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeIn .6s ease forwards; }
