/* ============================================================
   Bartelak Plastering & Stucco Inc — Main Stylesheet
   ============================================================ */

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

:root {
  --gold:    #b8965a;
  --gold-lt: #d4af72;
  --dark:    #1a1a2e;
  --mid:     #2c2c3e;
  --light:   #f5f2ed;
  --white:   #ffffff;
  --text:    #333340;
  --muted:   #6b6b80;
  --radius:  6px;
  --shadow:  0 4px 24px rgba(0,0,0,.12);
  --trans:   .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

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

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
}

/* ---------- Utility ---------- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .05em;
  transition: background var(--trans), color var(--trans), transform var(--trans);
  cursor: pointer;
  border: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--dark); transform: translateY(-2px); }

/* ---------- Navbar ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,26,46,.95);
  backdrop-filter: blur(8px);
  transition: box-shadow var(--trans);
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.35); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1.2;
}
.nav-logo span { display: block; font-size: .7rem; color: #aaa; font-family: 'Lato', sans-serif; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: #ccc; font-size: .9rem; letter-spacing: .04em; transition: color var(--trans); }
.nav-links a:hover { color: var(--gold); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-phone { color: var(--gold); font-weight: 700; font-size: .9rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--trans); }
.mobile-menu { display: none; background: var(--mid); padding: 20px 24px; }
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.mobile-menu a { color: #ccc; font-size: 1rem; }
.mobile-menu a:hover { color: var(--gold); }

/* ---------- Hero ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('hero.webp') center center / cover no-repeat;
  filter: brightness(.45);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184,150,90,.18);
  border: 1px solid var(--gold);
  color: var(--gold-lt);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 20px;
}
.hero-title em { color: var(--gold); font-style: normal; }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.5);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ---------- Services ---------- */
#services { padding: 100px 0; background: var(--light); }
.services-header { text-align: center; margin-bottom: 60px; }
.services-header .section-sub { margin: 0 auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--trans), box-shadow var(--trans);
  border-top: 3px solid transparent;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,.15);
  border-top-color: var(--gold);
}
.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; fill: var(--white); }
.service-card h3 { font-size: 1.1rem; color: var(--dark); margin-bottom: 10px; }
.service-card p { font-size: .92rem; color: var(--muted); }

/* ---------- About ---------- */
#about { padding: 100px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-wrap { position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.about-img-wrap img { width: 100%; height: 420px; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--gold);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.3;
}
.about-badge span { display: block; font-size: .72rem; font-weight: 400; opacity: .85; }
.about-text .section-sub { margin-bottom: 28px; }
.about-stats { display: flex; gap: 32px; margin: 32px 0; }
.stat { text-align: center; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--gold); font-weight: 700; }
.stat-lbl { font-size: .78rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.owner-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--light);
  border-radius: 8px;
  padding: 18px 22px;
  margin-top: 28px;
}
.owner-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}
.owner-info strong { display: block; color: var(--dark); font-size: .95rem; }
.owner-info span { font-size: .82rem; color: var(--muted); }

/* ---------- Contact ---------- */
#contact { padding: 100px 0; background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact-info h3 { font-size: 1.4rem; color: var(--dark); margin-bottom: 24px; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; fill: var(--white); }
.contact-item-text strong { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact-item-text a, .contact-item-text p { color: var(--dark); font-size: .97rem; }
.contact-item-text a:hover { color: var(--gold); }

/* ---------- Form ---------- */
.form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.4rem; color: var(--dark); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  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(184,150,90,.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; padding: 15px; font-size: 1rem; }
#form-success {
  display: none;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 12px;
}
@keyframes fadeIn { from{opacity:0;transform:translateY(-4px)} to{opacity:1;transform:translateY(0)} }

/* ---------- Map ---------- */
#map-section { height: 420px; }
#map-section iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 40px 0;
  text-align: center;
  font-size: .88rem;
}
footer .footer-logo {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
footer a { color: var(--gold-lt); }
footer a:hover { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap img { height: 280px; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .about-stats { gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
}
