/* ============================================================
   Surface Nest Buffalo Grove — Premium Wallpaper Installation
   style.css
   ============================================================ */

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

:root {
  --navy:    #0d1b2a;
  --navy-mid:#1a2e45;
  --gold:    #c9a84c;
  --gold-lt: #e8c97a;
  --white:   #ffffff;
  --gray-lt: #f4f5f7;
  --gray-mid:#8a9ab0;
  --text:    #1e2d3d;
  --radius:  8px;
  --shadow:  0 8px 32px rgba(13,27,42,.14);
  --trans:   .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.3rem; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--gray-mid);
  max-width: 560px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

/* ---------- Utility ---------- */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: transform var(--trans), box-shadow var(--trans), background var(--trans);
  border: none;
  letter-spacing: .04em;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-lt); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-mid); }

/* ---------- Navbar ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background var(--trans), box-shadow var(--trans), padding var(--trans);
}

#navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
  padding: .7rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.nav-brand-sub {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .03em;
  transition: color var(--trans);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--trans);
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; gap: .75rem; align-items: center; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
}

/* ---------- Hero ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-wallpaper.jpg') center/cover no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease;
}

#hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(13,27,42,.82) 0%,
    rgba(13,27,42,.55) 60%,
    rgba(13,27,42,.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(201,168,76,.18);
  border: 1px solid rgba(201,168,76,.45);
  color: var(--gold-lt);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.4rem;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.2rem;
}

.hero-title span { color: var(--gold); }

.hero-tagline {
  color: rgba(255,255,255,.82);
  font-size: 1.15rem;
  margin-bottom: 2.2rem;
  max-width: 520px;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  position: absolute;
  bottom: 2.5rem; left: 0; right: 0;
  z-index: 2;
}

.hero-stats-inner {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat-item { text-align: left; }

.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .2rem;
}

/* ---------- Services ---------- */
#services {
  padding: 6rem 0;
  background: var(--gray-lt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-top: 1rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans);
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(13,27,42,.18); }

.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
  font-size: 1.5rem;
}

.service-card h3 {
  margin-bottom: .7rem;
  font-size: 1.15rem;
}

.service-card p {
  color: var(--gray-mid);
  font-size: .93rem;
  line-height: 1.65;
}

/* ---------- About ---------- */
#about {
  padding: 6rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius);
  width: 100%;
  height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-img-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--navy);
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 24px rgba(201,168,76,.35);
}

.about-img-badge .badge-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.about-img-badge .badge-text {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: .3rem;
}

.about-content { padding-left: 1rem; }

.about-content .section-sub {
  margin: 0 0 1.8rem;
  text-align: left;
  max-width: 100%;
}

.about-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: 2rem;
}

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  color: var(--text);
}

.about-features li::before {
  content: '✦';
  color: var(--gold);
  font-size: .75rem;
  margin-top: .3rem;
  flex-shrink: 0;
}

.about-owner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--gray-lt);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}

.owner-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}

.owner-info .owner-name {
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
}

.owner-info .owner-title {
  font-size: .8rem;
  color: var(--gray-mid);
  letter-spacing: .04em;
}

/* ---------- Gallery ---------- */
#gallery {
  padding: 6rem 0;
  background: var(--navy);
}

#gallery .section-title { color: var(--white); }
#gallery .section-sub { color: rgba(255,255,255,.6); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 260px 260px;
  gap: 1rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  cursor: pointer;
}

.gallery-item:nth-child(1) { grid-column: 1 / 6; grid-row: 1; }
.gallery-item:nth-child(2) { grid-column: 6 / 9; grid-row: 1; }
.gallery-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1; }
.gallery-item:nth-child(4) { grid-column: 1 / 5; grid-row: 2; }
.gallery-item:nth-child(5) { grid-column: 5 / 9; grid-row: 2; }
.gallery-item:nth-child(6) { grid-column: 9 / 13; grid-row: 2; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--trans);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
}

/* ---------- Map ---------- */
#map-section {
  padding: 6rem 0;
  background: var(--gray-lt);
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: center;
}

.map-info h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.map-info p {
  color: var(--gray-mid);
  margin-bottom: 1.5rem;
  font-size: .95rem;
}

.map-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.map-details li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .93rem;
}

.map-details li .icon {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- Contact ---------- */
#contact {
  padding: 6rem 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--gray-mid);
  margin-bottom: 2rem;
  font-size: .95rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--gray-lt);
  border-radius: var(--radius);
  transition: background var(--trans), transform var(--trans);
  text-decoration: none;
}

.channel-item:hover { background: #e8edf3; transform: translateX(4px); }

.channel-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.channel-text .ch-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-mid);
}

.channel-text .ch-value {
  font-weight: 600;
  font-size: .93rem;
  color: var(--navy);
}

/* Form */
.contact-form-wrap {
  background: var(--gray-lt);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

#wallpaperContactForm {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  padding: .85rem 1rem;
  border: 1.5px solid #dde3ec;
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}

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

.form-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
  border-radius: var(--radius);
  margin-top: .5rem;
}

#form-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

#form-success h4 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: .6rem;
}

#form-success p {
  color: var(--gray-mid);
  font-size: .95rem;
}

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

/* ---------- Footer ---------- */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: .4rem;
}

.footer-brand-sub {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: .88rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: color var(--trans);
}

.footer-links a:hover { color: var(--gold); }

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.footer-contact-list li {
  display: flex;
  gap: .6rem;
  font-size: .88rem;
  align-items: flex-start;
}

.footer-contact-list li .icon { color: var(--gold); flex-shrink: 0; margin-top: .15rem; }

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .82rem;
}

.footer-bottom a { color: var(--gold); }

/* ---------- Floating CTA ---------- */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 18px rgba(0,0,0,.25);
  transition: transform var(--trans), box-shadow var(--trans);
  cursor: pointer;
  text-decoration: none;
}

.float-btn:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(0,0,0,.3); }

.float-call { background: var(--gold); color: var(--navy); }
.float-email { background: var(--navy); color: var(--white); border: 2px solid rgba(255,255,255,.2); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img-main { height: 340px; }
  .about-img-badge { right: 0; }
  .about-content { padding-left: 0; }

  .map-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav-links.open a { font-size: 1.3rem; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    height: 200px;
  }

  .hero-stats-inner { gap: 1.5rem; }

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

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(n) { height: 220px; }
}
