/*
Theme Name: Wolverton Remodel 2025
Theme URI: https://wolvertonremodel.com
Author: Wolverton Remodel
Author URI: https://wolvertonremodel.com
Description: Custom theme for Wolverton Remodel - Birmingham's premier home renovation company.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: wolverton-remodel
*/

:root {
  --stone: #2c2a26;
  --warm-white: #f9f6f1;
  --cream: #ede9e2;
  --gold: #b8965a;
  --gold-light: #d4ae78;
  --muted: #8a8278;
  --dark: #1a1916;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--warm-white);
  color: var(--stone);
  overflow-x: hidden;
}

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 4rem;
  background: rgba(26,25,22,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,150,90,0.2);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--warm-white); text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2.4rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(249,246,241,0.75);
  text-decoration: none; transition: color 0.25s;
}
.nav-links a:hover { color: var(--gold-light); }

.hero {
  height: 100vh; min-height: 640px;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
}
.hero-left {
  background: var(--dark);
  display: flex; flex-direction: column;
  justify-content: center; padding: 8rem 5rem 4rem;
  position: relative; z-index: 2;
}
.hero-left::after {
  content: ''; position: absolute; top: 0; right: -60px; bottom: 0; width: 120px;
  background: var(--dark);
  clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%);
  z-index: 3;
}
.hero-eyebrow {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 4.8rem); font-weight: 300; line-height: 1.1;
  color: var(--warm-white); margin-bottom: 1.6rem;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-desc {
  font-size: 0.95rem; font-weight: 300; line-height: 1.8;
  color: rgba(249,246,241,0.65); max-width: 420px; margin-bottom: 2.8rem;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.8rem;
  padding: 0.95rem 2.2rem;
  background: var(--gold); color: var(--dark);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none;
  transition: background 0.25s, transform 0.25s;
}
.hero-cta:hover { background: var(--gold-light); transform: translateX(4px); }
.hero-right { position: relative; overflow: hidden; }
.hero-right img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 12s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}
.hero-right::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(26,25,22,0.3), transparent);
}

.stats-bar {
  background: var(--gold);
  display: grid; grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.stat {
  padding: 1.8rem 1rem;
  border-right: 1px solid rgba(26,25,22,0.15);
}
.stat:last-child { border-right: none; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem; font-weight: 600; color: var(--dark); line-height: 1;
}
.stat-label {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(26,25,22,0.65); margin-top: 0.3rem;
}

section { padding: 7rem 4rem; }
.section-label {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.section-label::before {
  content: ''; display: block; width: 32px; height: 1px; background: var(--gold);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 300; line-height: 1.2;
  color: var(--stone); margin-bottom: 1.4rem;
}
.section-title em { font-style: italic; color: var(--gold); }

.about {
  background: var(--cream);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.about-text p {
  font-size: 1rem; font-weight: 300; line-height: 1.9; color: var(--muted);
  margin-bottom: 1.2rem;
}
.about-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.about-img-grid img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform 0.4s ease;
}
.about-img-grid img:first-child { grid-row: span 2; height: 100%; }
.about-img-grid img:hover { transform: scale(1.03); }

.services { background: var(--warm-white); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 3.5rem;
  border: 1px solid var(--cream);
}
.service-card {
  padding: 2.8rem 2.2rem; border-right: 1px solid var(--cream);
  border-bottom: 1px solid var(--cream);
  transition: background 0.3s;
}
.service-card:hover { background: var(--cream); }
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 600; color: var(--stone); margin-bottom: 0.8rem;
}
.service-card p {
  font-size: 0.88rem; font-weight: 300; line-height: 1.8; color: var(--muted);
}

.portfolio { background: var(--dark); padding: 7rem 0; }
.portfolio .section-label,
.portfolio .section-title { padding: 0 4rem; }
.portfolio .section-title { color: var(--warm-white); }
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 320px 320px;
  gap: 3px; margin-top: 3rem;
}
.portfolio-item { position: relative; overflow: hidden; cursor: pointer; }
.portfolio-item:first-child { grid-column: span 2; }
.portfolio-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,25,22,0.85) 0%, transparent 50%);
  display: flex; align-items: flex-end; padding: 1.6rem;
  opacity: 0; transition: opacity 0.35s;
}
.portfolio-item:hover .portfolio-item-overlay { opacity: 1; }
.portfolio-item-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 400; color: var(--warm-white);
}

.process { background: var(--cream); }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 3.5rem; position: relative;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 2rem; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.process-step { padding: 0 1.5rem; text-align: center; }
.step-num {
  width: 4rem; height: 4rem; border-radius: 50%;
  background: var(--dark); border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem;
  color: var(--gold); margin: 0 auto 1.4rem; position: relative; z-index: 1;
}
.process-step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 600; color: var(--stone); margin-bottom: 0.6rem;
}
.process-step p {
  font-size: 0.85rem; font-weight: 300; line-height: 1.7; color: var(--muted);
}

.contact-cta {
  background: var(--dark); text-align: center; padding: 6rem 4rem;
}
.contact-cta .section-label { justify-content: center; }
.contact-cta .section-title { color: var(--warm-white); text-align: center; }
.contact-info {
  display: flex; justify-content: center; gap: 4rem; margin: 2.5rem 0 3rem;
}
.contact-item { text-align: center; }
.contact-item-label {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem;
}
.contact-item-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; color: var(--warm-white);
  text-decoration: none; transition: color 0.2s;
}
.contact-item-val:hover { color: var(--gold-light); }
.contact-hours {
  margin: 2rem 0 2.5rem;
  display: inline-grid; grid-template-columns: auto auto;
  gap: 0.4rem 2.4rem; text-align: left;
}
.contact-hours .day { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.contact-hours .time { font-size: 0.8rem; color: rgba(249,246,241,0.75); }
.cta-btn {
  display: inline-flex; align-items: center; gap: 0.8rem;
  padding: 1.1rem 2.8rem; background: transparent;
  border: 1px solid var(--gold); color: var(--gold);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.cta-btn:hover { background: var(--gold); color: var(--dark); }

footer {
  background: var(--dark); border-top: 1px solid rgba(184,150,90,0.15);
  padding: 2rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
}
footer p { font-size: 0.78rem; color: var(--muted); }
.footer-logo {
  font-family: 'Cormorant Garamond', serif; font-size: 1.1rem;
  color: var(--warm-white); letter-spacing: 0.08em;
}
.footer-logo span { color: var(--gold); }

@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; grid-template-rows: 52vw auto; height: auto; }
  .hero-right { grid-row: 1; height: 52vw; min-height: 220px; }
  .hero-left { grid-row: 2; padding: 2.8rem 1.6rem 2.8rem; background: var(--dark); }
  .hero-left::after { display: none; }
  .hero-title { font-size: clamp(2.4rem, 8vw, 3.2rem); }
  .hero-desc { font-size: 0.9rem; }
  .stats-bar { grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 1.2rem 0.5rem; }
  .stat-number { font-size: 1.8rem; }
  .stat-label { font-size: 0.62rem; letter-spacing: 0.1em; }
  .about { grid-template-columns: 1fr; padding: 3.5rem 1.6rem; gap: 2rem; }
  .about-img-grid { grid-template-columns: 1fr 1fr; }
  .about-img-grid img:first-child { grid-row: span 1; height: 180px; }
  .about-img-grid img { height: 180px; }
  .services { padding: 3.5rem 1.6rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card { padding: 1.6rem 1.2rem; }
  .portfolio { padding: 3.5rem 0; }
  .portfolio .section-label, .portfolio .section-title { padding: 0 1.6rem; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .portfolio-item { height: 44vw; }
  .portfolio-item:first-child { grid-column: span 2; height: 56vw; }
  .process { padding: 3.5rem 1.6rem; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps::before { display: none; }
  section { padding: 3.5rem 1.6rem; }
  .contact-cta { padding: 3.5rem 1.6rem; }
  .contact-info { flex-direction: column; gap: 1.5rem; align-items: center; }
  footer { flex-direction: column; gap: 0.8rem; text-align: center; padding: 1.5rem; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(26,25,22,0.15); }
  .stat:last-child { border-bottom: none; }
}
