/* ===== MILLER WALLPAPER INSTALLATION STUDIO ===== */
/* Color Palette:
   Primary bg: #0D1B2A (deep navy)
   Secondary bg: #FF6B6B (soft coral)
   Light sections: #FFF7E6 (pale cream)
   Text on dark: #F2F2F2 (off-white)
   Text on light: #1C1C29 (navy charcoal)
   Accent: #00B8D9 (electric teal)
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #1C1C29;
  background: #fff;
  line-height: 1.7;
  font-size: 16px;
}
a { color: #00B8D9; text-decoration: none; transition: color .2s; }
a:hover { color: #FF6B6B; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.5em; }
h1, h2, h3, h4 { line-height: 1.3; }
h1 { font-size: 2.4rem; margin-bottom: .6em; }
h2 { font-size: 1.8rem; margin-bottom: .5em; margin-top: 1.6em; }
h3 { font-size: 1.3rem; margin-bottom: .4em; margin-top: 1.2em; }
p { margin-bottom: 1em; }

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

/* ===== HEADER ===== */
.site-header {
  background: #0D1B2A;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  max-width: 1200px;
  margin: 0 auto;
}
.header-contact-info {
  display: flex;
  gap: 24px;
  align-items: center;
}
.header-contact-info a {
  color: #F2F2F2;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-contact-info a:hover { color: #00B8D9; }
.header-contact-info svg { width: 16px; height: 16px; flex-shrink: 0; }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
}
.logo a {
  color: #F2F2F2;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.logo a span { color: #00B8D9; }

/* Desktop Nav */
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav > li { list-style: none; position: relative; }
.main-nav > li > a {
  color: #F2F2F2;
  padding: 20px 16px;
  display: block;
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s, background .2s;
}
.main-nav > li > a:hover,
.main-nav > li:hover > a { color: #00B8D9; background: rgba(255,255,255,.04); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #0D1B2A;
  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: opacity .3s, transform .3s, visibility .3s;
  z-index: 999;
  padding: 8px 0;
}
.main-nav > li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li { list-style: none; }
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #F2F2F2;
  font-size: .9rem;
  transition: background .2s, color .2s, padding-left .2s;
}
.dropdown-menu li a:hover {
  background: rgba(0,184,217,.1);
  color: #00B8D9;
  padding-left: 28px;
}

/* Dropdown items stagger animation */
.main-nav > li:hover .dropdown-menu li { animation: dropIn .35s ease both; }
.main-nav > li:hover .dropdown-menu li:nth-child(1) { animation-delay: .03s; }
.main-nav > li:hover .dropdown-menu li:nth-child(2) { animation-delay: .06s; }
.main-nav > li:hover .dropdown-menu li:nth-child(3) { animation-delay: .09s; }
.main-nav > li:hover .dropdown-menu li:nth-child(4) { animation-delay: .12s; }
.main-nav > li:hover .dropdown-menu li:nth-child(5) { animation-delay: .15s; }
.main-nav > li:hover .dropdown-menu li:nth-child(6) { animation-delay: .18s; }
.main-nav > li:hover .dropdown-menu li:nth-child(7) { animation-delay: .21s; }
.main-nav > li:hover .dropdown-menu li:nth-child(8) { animation-delay: .24s; }
.main-nav > li:hover .dropdown-menu li:nth-child(9) { animation-delay: .27s; }
.main-nav > li:hover .dropdown-menu li:nth-child(10) { animation-delay: .30s; }
.main-nav > li:hover .dropdown-menu li:nth-child(11) { animation-delay: .33s; }

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #F2F2F2;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 55%;
  max-width: 360px;
  height: 100vh;
  background: #0D1B2A;
  z-index: 1050;
  flex-direction: column;
  padding: 80px 0 40px;
  overflow-y: auto;
  transition: right .35s ease;
  box-shadow: -4px 0 24px rgba(0,0,0,.5);
}
.mobile-nav-overlay.open { right: 0; }
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,.5);
  z-index: 1040;
}
.mobile-nav-backdrop.open { display: block; }

.mobile-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}
.mobile-close-btn svg { width: 28px; height: 28px; stroke: #F2F2F2; }

.mobile-nav-overlay ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav-overlay > ul > li > a {
  display: block;
  padding: 14px 28px;
  color: #F2F2F2;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-align: left;
}
.mobile-nav-overlay > ul > li > a:hover { color: #00B8D9; }

.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 28px;
  color: #F2F2F2;
  font-size: 1.05rem;
  font-weight: 500;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.06);
  cursor: pointer;
  text-align: left;
}
.mobile-dropdown-toggle svg {
  width: 18px; height: 18px;
  stroke: #F2F2F2;
  transition: transform .3s;
  flex-shrink: 0;
}
.mobile-dropdown-toggle.open svg { transform: rotate(180deg); }

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  background: rgba(0,0,0,.15);
}
.mobile-submenu.open { max-height: 600px; }
.mobile-submenu li a {
  display: block;
  padding: 10px 28px 10px 44px;
  color: #ccc;
  font-size: .95rem;
  border-bottom: 1px solid rgba(255,255,255,.03);
  text-align: left;
}
.mobile-submenu li a:hover { color: #00B8D9; }

.mobile-nav-contact {
  padding: 20px 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: auto;
}
.mobile-nav-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #F2F2F2;
  font-size: .9rem;
  margin-bottom: 12px;
}
.mobile-nav-contact a:hover { color: #00B8D9; }
.mobile-nav-contact svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0D1B2A;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}
.hero-text { color: #F2F2F2; }
.hero-text h1 { font-size: 2.8rem; line-height: 1.15; margin-bottom: .5em; }
.hero-text h1 span { color: #00B8D9; }
.hero-text p { font-size: 1.15rem; margin-bottom: 1.5em; color: rgba(242,242,242,.85); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, filter .2s;
  text-align: center;
}
.btn:hover { transform: scale(1.03); filter: brightness(1.1); }
.btn-primary {
  background: #00B8D9;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,184,217,.3);
}
.btn-secondary {
  background: #FF6B6B;
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,107,107,.3);
}
.btn-outline {
  background: transparent;
  color: #00B8D9;
  border: 2px solid #00B8D9;
}
.btn-outline:hover { background: #00B8D9; color: #fff; }

/* ===== SECTIONS ===== */
.section { padding: 70px 0; }
.section-dark { background: #0D1B2A; color: #F2F2F2; }
.section-cream { background: #FFF7E6; }
.section-coral { background: #FF6B6B; color: #fff; }
.section-white { background: #fff; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { color: inherit; }
.section-header p { max-width: 640px; margin: 0 auto; opacity: .85; }
.section-dark .section-header h2 { color: #F2F2F2; }

/* ===== FORM ===== */
.feedback-form-container {
  background: rgba(13,27,42,.92);
  border-radius: 16px;
  padding: 36px 32px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,184,217,.15);
}
.feedback-form-container h3 {
  color: #F2F2F2;
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: center;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { position: relative; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: #F2F2F2;
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(242,242,242,.45); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00B8D9;
  background: rgba(255,255,255,.08);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-submit { text-align: center; margin-top: 16px; }
.submit-btn {
  background: #00B8D9;
  color: #fff;
  padding: 16px 48px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, filter .2s;
  box-shadow: 0 4px 16px rgba(0,184,217,.3);
}
.submit-btn:hover { transform: scale(1.03); filter: brightness(1.1); }

#form-success p {
  color: #00B8D9;
  font-size: 1.1rem;
  text-align: center;
  padding: 20px;
}

/* Light form variant (for contact page) */
.form-light .feedback-form-container {
  background: #fff;
  border: 1px solid #e0e0e0;
}
.form-light .feedback-form-container h3 { color: #1C1C29; }
.form-light .form-group input,
.form-light .form-group textarea {
  background: #f8f8f8;
  color: #1C1C29;
  border-color: #ddd;
}
.form-light .form-group input::placeholder,
.form-light .form-group textarea::placeholder { color: #999; }
.form-light .form-group input:focus,
.form-light .form-group textarea:focus { border-color: #00B8D9; background: #fff; }

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 8px 32px rgba(0,0,0,.14); }
.card-img { height: 220px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: .4em; color: #0D1B2A; }
.card-body p { color: #555; font-size: .95rem; }

/* Dark card variant */
.section-dark .card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.section-dark .card-body h3 { color: #F2F2F2; }
.section-dark .card-body p { color: rgba(242,242,242,.7); }

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

/* ===== GALLERY GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ===== TWO COLUMN LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col-text h2 { margin-top: 0; }
.two-col-img { border-radius: 12px; overflow: hidden; }
.two-col-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== CTA BLOCK ===== */
.cta-block {
  text-align: center;
  padding: 40px 20px;
  margin: 32px 0;
  border-radius: 12px;
}
.cta-block.cta-teal { background: rgba(0,184,217,.08); }
.cta-block.cta-coral { background: rgba(255,107,107,.08); }
.section-dark .cta-block.cta-teal { background: rgba(0,184,217,.12); }
.cta-block h3 { margin-bottom: .5em; }
.cta-block p { margin-bottom: 1em; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 20px 0;
}
.faq-item h3 {
  font-size: 1.1rem;
  cursor: default;
  margin: 0 0 .5em;
  color: #0D1B2A;
}
.faq-item p { color: #555; margin: 0; }
.section-dark .faq-item { border-color: rgba(255,255,255,.08); }
.section-dark .faq-item h3 { color: #F2F2F2; }
.section-dark .faq-item p { color: rgba(242,242,242,.7); }

/* ===== ICON LIST ===== */
.icon-list { list-style: none; padding: 0; }
.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: .95rem;
}
.icon-list li svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke: #00B8D9;
  margin-top: 2px;
}

/* ===== CONTACT INFO ===== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}
.contact-info-card {
  background: #fff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  text-align: center;
}
.contact-info-card svg {
  width: 40px;
  height: 40px;
  stroke: #00B8D9;
  margin-bottom: 12px;
}
.contact-info-card h3 { font-size: 1.05rem; margin-bottom: .3em; }
.contact-info-card p { color: #555; font-size: .95rem; margin: 0; }
.contact-info-card a { color: #00B8D9; }

/* ===== AREAS LIST ===== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.area-link {
  display: block;
  padding: 16px 20px;
  background: rgba(0,184,217,.06);
  border-radius: 8px;
  color: #0D1B2A;
  font-weight: 500;
  transition: background .2s, transform .2s;
  text-align: center;
}
.area-link:hover { background: #00B8D9; color: #fff; transform: translateY(-2px); }
.section-dark .area-link { background: rgba(0,184,217,.12); color: #F2F2F2; }
.section-dark .area-link:hover { background: #00B8D9; color: #fff; }

/* ===== NEIGHBORHOODS ===== */
.neighborhoods-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
}
.neighborhoods-list li {
  background: rgba(0,184,217,.08);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: .9rem;
  color: #0D1B2A;
}
.section-dark .neighborhoods-list li { background: rgba(0,184,217,.15); color: #F2F2F2; }

/* ===== STICKY QUOTE BUTTON ===== */
.sticky-quote-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  background: #00B8D9;
  color: #fff;
  padding: 16px 28px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0,184,217,.4);
  transition: transform .2s, box-shadow .2s;
}
.sticky-quote-btn:hover { transform: scale(1.05); box-shadow: 0 8px 32px rgba(0,184,217,.5); }

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-content {
  background: #0D1B2A;
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 560px;
  width: 100%;
  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: 28px; height: 28px; stroke: #F2F2F2; }
.modal-close:hover svg { stroke: #FF6B6B; }

/* ===== FOOTER ===== */
.site-footer {
  background: #0D1B2A;
  color: #F2F2F2;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: #00B8D9;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(242,242,242,.7); font-size: .9rem; }
.footer-col ul li a:hover { color: #00B8D9; }
.footer-col p { color: rgba(242,242,242,.7); font-size: .9rem; line-height: 1.6; }
.footer-bottom {
  text-align: center;
  padding: 24px 20px;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .85rem;
  color: rgba(242,242,242,.5);
}

/* ===== PAGE BANNER ===== */
.page-banner {
  background: #0D1B2A;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, #00B8D9, #FF6B6B, #00B8D9);
}
.page-banner h1 { color: #F2F2F2; margin-bottom: .3em; }
.page-banner p { color: rgba(242,242,242,.7); font-size: 1.1rem; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 12px 0;
  font-size: .85rem;
}
.breadcrumb a { color: #00B8D9; }
.breadcrumb span { color: #999; }

/* ===== PROCESS STEPS ===== */
.process-steps { counter-reset: step; list-style: none; padding: 0; }
.process-steps li {
  counter-increment: step;
  padding: 16px 0 16px 60px;
  position: relative;
  border-left: 2px solid rgba(0,184,217,.2);
  margin-left: 20px;
}
.process-steps li::before {
  content: counter(step);
  position: absolute;
  left: -18px;
  top: 14px;
  width: 34px;
  height: 34px;
  background: #00B8D9;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 2.2rem; }
  .two-col { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: block; }
  .mobile-nav-overlay { display: flex; }
  .header-contact-info { display: none; }
  .hero { min-height: 500px; }
  .hero-text h1 { font-size: 1.9rem; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky-quote-btn { right: 50%; transform: translateX(50%); bottom: 16px; }
  .sticky-quote-btn:hover { transform: translateX(50%) scale(1.05); }
  .cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 1.6rem; }
  .modal-content { padding: 28px 20px; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Error message animation */
.error-message { animation: fadeIn .3s ease; }

/* ===== PRINT ===== */
@media print {
  .site-header, .site-footer, .sticky-quote-btn, .modal-overlay { display: none !important; }
}
