/* Hettinger Painting Group — styles */
:root {
  --brand: #3886b8;
  --brand-2: #1e4863;
  --ink: #1a1a1a;
  --muted: #6f767a;
  --paper: #ffffff;
  --paper-2: #f6f7fb;
  --ring: #1e4863;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; inset: 0 0 auto 0; height: 68px;
  background: var(--paper); display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; box-shadow: 0 2px 10px rgba(0,0,0,.06); z-index: 100;
}
.logo { 
  display: flex; align-items: center;
  text-decoration: none;
}
.logo-img { height: 50px; width: auto; display: block; }
.nav-links { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; align-items: center;}
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav-links a:hover { color: var(--brand); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: .85rem 1.25rem; border-radius: .6rem;
  background: var(--brand); color: #fff; text-decoration: none; border: 2px solid var(--brand);
  font-weight: 700; letter-spacing: .2px;
}
.btn:hover { filter: brightness(1.05); }
.btn-outline { background: transparent; color: var(--brand); }
.btn-outline:hover { background: var(--brand-2); }

/* ===== HERO ===== */
.hero {
  margin-top: 68px; min-height: 80vh;
  background: linear-gradient(to bottom, var(--brand), var(--brand-2)),
    url('https://images.unsplash.com/photo-1582582429416-0243d1559b06?w=2000') center/cover no-repeat fixed;
  display: grid; place-items: center; padding: 6vh 5vw;
}
.hero-card {
  background: #fff; padding: 2.25rem; max-width: 720px; border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
}
.hero h1 { margin: 0 0 .75rem 0; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.15; }
.hero p { color: var(--muted); margin: 0 0 1.25rem 0; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.badges { display: flex; gap: .75rem; padding: 0; margin: 1rem 0 0; list-style: none; color: var(--muted); }
.badges li { background: var(--paper-2); padding: .4rem .7rem; border-radius: .5rem; border: 1px solid #e6e8ef; }

/* ===== SECTIONS ===== */
.section { padding: 72px 5vw; }
.section.light { background: var(--paper-2); }
.section-title { text-align: center; font-size: 2rem; margin: 0 0 2rem 0; }

.cards {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem;
}
.card { background: #fff; padding: 1.5rem; border-radius: 1rem; box-shadow: 0 8px 30px rgba(0,0,0,.06); text-align: center; }
.card-icon { font-size: 2rem; }
.card h3 { margin: .5rem 0; }

/* ===== SLIDESHOW ===== */
.slideshow { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 60px; }
.slides { position: relative; overflow: hidden; border-radius: 1rem; box-shadow: 0 10px 40px rgba(0,0,0,.12); z-index: 1; }
.slide { display: none; }
.slide.active { display: block; animation: fade .6s ease-in-out; }
@keyframes fade { from {opacity: 0} to {opacity: 1} }
.slide img { width: 100%; height: 520px; object-fit: cover; display: block; }
figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,0));
  color: #fff; }
.slide-nav { position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.6); color: #fff; border: 0; width: 50px; height: 50px; border-radius: 999px;
  display: grid; place-items: center; cursor: pointer; font-size: 1.2rem; z-index: 20;
  transition: background .2s, transform .2s; user-select: none;
}
.slide-nav:hover { background: rgba(0,0,0,.8); transform: translateY(-50%) scale(1.1); }
.slide-nav:active { transform: translateY(-50%) scale(0.95); }
.slide-nav.prev { left: -55px; } .slide-nav.next { right: -55px; }
.dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #c7cfe1; border: 0; }
.dot.active { background: var(--brand); }

/* ===== FORM ===== */
.form { max-width: 900px; margin: 0 auto; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-group { display: grid; gap: .45rem; font-weight: 600; color: var(--ink); }
.form input, .form textarea {
  width: 100%; padding: .85rem 1rem; border-radius: .65rem; border: 1.5px solid #e0e5f2;
  outline: none; font: inherit; transition: box-shadow .2s, border-color .2s;
}
.form input:focus, .form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--ring); }
.form textarea { min-height: 140px; resize: vertical; }
.form .btn { margin-top: 1.25rem; }
.note { color: var(--muted); margin-top: .75rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.span-2 { grid-column: span 2; }

/* ===== LOGIN ===== */
.login-body { display: grid; place-items: center; min-height: 100vh; background: var(--paper-2); }
.login-card { background: #fff; padding: 2rem; width: min(92vw, 400px); border-radius: 1rem; box-shadow: 0 20px 60px rgba(0,0,0,.12); text-align: center; }
.login-logo { width: 120px; margin-bottom: .5rem; }
.back-link { display: inline-block; margin-top: .75rem; color: var(--brand); text-decoration: none; }

/* ===== FOOTER ===== */
.footer { background: var(--brand-2); color: #e2e8f0; }
.footer-inner { padding: 40px 5vw; text-align: center; }
.footer .socials { display: flex; gap: .75rem; justify-content: center; margin-top: .5rem; }
.footer .socials a { color: #e2e8f0; font-size: 1.5rem; transition: color .2s; }
.footer .socials a:hover { color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr; }
  .slideshow { padding: 0 20px; }
  .slide-nav.prev { left: -15px; }
  .slide-nav.next { right: -15px; }
  .slide img { height: 340px; }
  .logo-img { height: 40px; }
  .nav-links { gap: .85rem; font-size: .95rem; }
}
