/* =============================================
   Parks Custom Cabinets — style.css
   ============================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --oak: #8B5E3C;
  --oak-light: #C49A6C;
  --oak-dark: #5C3D20;
  --cream: #f9f6f1;
  --charcoal: #2c2a22;
  --muted: #7a7060;
  --border: rgba(139,94,60,0.18);
}

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

/* ── LAYOUT ── */
#site-root { position: relative; }

/* ── HERO ── */
.hero-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero {
  position: absolute; inset: 0;
  background: #2c1a0a;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
}

/* Replace this with your own image by swapping images/hero.jpg */
.hero-grain {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(44, 26, 10, 0.52), rgba(44, 26, 10, 0.52)),
    url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content { position: relative; z-index: 2; padding: 0 2rem; }

.hero-eyebrow {
  font-family: Arial, sans-serif;
  letter-spacing: 0.18em; font-size: 12px;
  text-transform: uppercase; color: var(--oak-light);
  margin-bottom: 1.2rem;
}

.hero-headline {
  font-size: clamp(36px, 5vw, 54px);
  color: #fff; font-weight: 700; line-height: 1.15;
  margin-bottom: 0.5rem; font-family: Georgia, serif;
  min-height: 110px;
}

.hero-headline span { color: var(--oak-light); }

.hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.78);
  font-family: Arial, sans-serif; margin-bottom: 2rem;
  max-width: 500px; margin-left: auto; margin-right: auto;
}

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.45); font-family: Arial, sans-serif;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}

.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 1.5px solid rgba(255,255,255,0.4);
  border-bottom: 1.5px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  animation: bounce 1.6s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

.hero-dots { display: flex; gap: 8px; justify-content: center; margin-top: 1.5rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: background 0.3s; }
.dot.active { background: var(--oak-light); }

/* ── SCROLL CONTENT ── */
.scroll-content {
  position: relative;
  z-index: 10;
  margin-top: 100vh;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0);
  border-bottom: 1px solid transparent;
  padding: 0 2rem; display: flex; align-items: center; justify-content: space-between;
  height: 68px; transition: background 0.3s, border-color 0.3s;
}

nav.scrolled { background: rgba(255,255,255,0.97); border-bottom-color: var(--border); }

.logo { display: flex; align-items: center; gap: 12px; }

.logo-icon {
  width: 40px; height: 40px; background: var(--oak-dark);
  border-radius: 4px; display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 20px;
}

.logo-text { font-size: 18px; font-weight: 700; letter-spacing: 0.02em; color: #fff; font-family: Georgia, serif; transition: color 0.3s; }
.logo-sub { font-size: 11px; letter-spacing: 0.12em; color: rgba(255,255,255,0.6); font-family: Arial, sans-serif; text-transform: uppercase; display: block; transition: color 0.3s; }

nav.scrolled .logo-text { color: var(--oak-dark); }
nav.scrolled .logo-sub  { color: var(--muted); }

nav ul { list-style: none; display: flex; gap: 2rem; }
nav ul li a { font-family: Arial, sans-serif; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.85); transition: color 0.2s; }
nav.scrolled ul li a { color: var(--charcoal); }
nav ul li a:hover { color: var(--oak-light); }
nav.scrolled ul li a:hover { color: var(--oak); }

.nav-cta { background: var(--oak-dark) !important; color: #fff !important; padding: 9px 18px; border-radius: 3px; font-size: 12px !important; }
.nav-cta:hover { background: var(--oak) !important; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--oak-light); color: var(--oak-dark);
  padding: 14px 32px; font-family: Arial, sans-serif;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 700; border-radius: 3px; cursor: pointer;
  border: none; transition: background 0.2s;
}
.btn-primary:hover { background: #d4aa80; }

.btn-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 13px 28px; font-family: Arial, sans-serif;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 3px; cursor: pointer; transition: border-color 0.2s;
}
.btn-outline:hover { border-color: #fff; }

/* ── SECTIONS ── */
section { padding: 80px 2rem; }
.section-label { font-family: Arial, sans-serif; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--oak); margin-bottom: 0.6rem; }
.section-title { font-size: 32px; font-weight: 700; color: var(--oak-dark); font-family: Georgia, serif; margin-bottom: 1rem; }
.section-body { font-size: 16px; color: var(--muted); line-height: 1.8; font-family: Arial, sans-serif; }
.divider { width: 48px; height: 3px; background: var(--oak-light); margin: 1.2rem 0 1.8rem; border-radius: 2px; }

/* ── ABOUT ── */
.about-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* Replace images/about.jpg to swap the about-section photo */
.intro-img-wrap {
  width: 100%; aspect-ratio: 4/3;
  border-radius: 6px; overflow: hidden;
}
.intro-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}

/* ── SERVICES ── */
.services-inner { max-width: 1100px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.service-card { background: #fff; border: 0.5px solid var(--border); border-radius: 6px; padding: 1.75rem 1.5rem; text-align: center; transition: transform 0.2s; }
.service-card:hover { transform: translateY(-3px); }
.service-icon { font-size: 32px; color: var(--oak); margin-bottom: 1rem; }
.service-name { font-family: Georgia, serif; font-size: 17px; font-weight: 700; color: var(--oak-dark); margin-bottom: 0.5rem; }
.service-desc { font-family: Arial, sans-serif; font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── GALLERY ── */
.gallery-inner { max-width: 1100px; margin: 0 auto; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.gallery-item {
  aspect-ratio: 4/3; border-radius: 5px;
  display: flex; align-items: flex-end; padding: 1rem;
  font-family: Arial, sans-serif; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.9); font-weight: 700;
  position: relative; overflow: hidden; cursor: pointer;
  background-size: cover; background-position: center;
}
.gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(60,30,10,0.65) 0%, transparent 55%); }
.gallery-item span { position: relative; z-index: 1; }

/* Placeholder colors — swap with background-image: url('images/yourphoto.jpg') */
.gi-1 { background-color: #6b4226; }
.gi-2 { background-color: #3a3028; }
.gi-3 { background-color: #2e4438; }
.gi-4 { background-color: #5c3d20; }
.gi-5 { background-color: #1a2c3a; }
.gi-6 { background-color: #3c2a1a; }

/* ── PROCESS ── */
.process-inner { max-width: 1100px; margin: 0 auto; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.step { text-align: center; }
.step-num { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--oak-light); color: var(--oak-light); font-size: 20px; font-family: Georgia, serif; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.step-title { font-family: Georgia, serif; font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.step-desc { font-family: Arial, sans-serif; font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ── CONTACT ── */
.contact-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-form { background: #fff; border: 0.5px solid var(--border); border-radius: 6px; padding: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1rem; }
.form-group label { font-family: Arial, sans-serif; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.form-group input,
.form-group select,
.form-group textarea { border: 1px solid #ddd; border-radius: 4px; padding: 10px 12px; font-family: Arial, sans-serif; font-size: 14px; color: var(--charcoal); background: #fafafa; outline: none; transition: border-color 0.2s; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--oak); }
.form-group textarea { resize: vertical; min-height: 100px; }
.submit-btn { width: 100%; background: var(--oak-dark); color: #fff; border: none; border-radius: 4px; padding: 14px; font-family: Arial, sans-serif; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.submit-btn:hover { background: var(--oak); }
.info-block { margin-bottom: 2rem; }
.info-label { font-family: Arial, sans-serif; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--oak); margin-bottom: 0.4rem; }
.info-val { font-family: Georgia, serif; font-size: 17px; color: var(--charcoal); }
.info-val a { color: var(--oak-dark); }
.info-val a:hover { color: var(--oak); }

/* ── FOOTER ── */
footer { background: var(--charcoal); color: rgba(255,255,255,0.55); padding: 2rem; font-family: Arial, sans-serif; font-size: 13px; display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-family: Georgia, serif; font-size: 16px; color: #fff; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
