/* ========================================
   Alpine Trades — Kitchen Remodeling
   Roaring Fork Valley, Colorado
   ======================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* --- Custom Properties --- */
:root {
  --warm-white: #faf8f5;
  --cream: #f3efe8;
  --stone-light: #e8e2d9;
  --stone: #b5a99a;
  --stone-dark: #8a7e72;
  --wood: #a67c52;
  --wood-dark: #7a5a3a;
  --forest: #2c4a3e;
  --forest-dark: #1a3329;
  --charcoal: #3a3632;
  --text: #2e2a26;
  --text-light: #6b6560;
  --white: #ffffff;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max-width: 1200px;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(58, 54, 50, 0.08);
  --shadow-lg: 0 8px 40px rgba(58, 54, 50, 0.12);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--forest);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--wood);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: 1rem;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* --- Header / Nav --- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--stone-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(58, 54, 50, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--forest-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.logo span {
  color: var(--wood);
}

.logo-tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone-dark);
  margin-top: 0.15rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--cream);
  color: var(--forest);
}

.header-phone {
  font-weight: 600;
  color: var(--forest);
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--charcoal);
  position: absolute;
  left: 0;
  transition: var(--transition);
}

.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle span::before { content: ""; top: -8px; }
.nav-toggle span::after { content: ""; top: 8px; }

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Default hero gradient — mountain luxury */
.hero-home::before {
  background:
    linear-gradient(135deg, rgba(26, 51, 41, 0.92), rgba(122, 90, 58, 0.85)),
    repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,0.02) 30px, rgba(255,255,255,0.02) 60px);
}

.hero-aspen::before {
  background:
    linear-gradient(160deg, rgba(26, 51, 41, 0.94), rgba(58, 54, 50, 0.88)),
    repeating-conic-gradient(rgba(255,255,255,0.03) 0% 25%, transparent 0% 50%) 0 0 / 40px 40px;
}

.hero-glenwood::before {
  background:
    linear-gradient(135deg, rgba(44, 74, 62, 0.9), rgba(166, 124, 82, 0.82)),
    repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(255,255,255,0.03) 20px, rgba(255,255,255,0.03) 40px);
}

.hero-carbondale::before {
  background:
    linear-gradient(145deg, rgba(122, 90, 58, 0.88), rgba(44, 74, 62, 0.92)),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.hero-basalt::before {
  background:
    linear-gradient(130deg, rgba(58, 54, 50, 0.9), rgba(44, 74, 62, 0.88)),
    repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(255,255,255,0.02) 50px, rgba(255,255,255,0.02) 100px);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero .btn {
  font-size: 1rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--wood);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--wood-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

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

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-forest {
  background: var(--forest);
  color: var(--white);
}

.btn-forest:hover {
  background: var(--forest-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* --- Sections --- */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--cream);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wood);
  margin-bottom: 0.5rem;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--stone-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.icon-forest { background: linear-gradient(135deg, var(--forest), var(--forest-dark)); }
.icon-wood { background: linear-gradient(135deg, var(--wood), var(--wood-dark)); }
.icon-stone { background: linear-gradient(135deg, var(--stone-dark), var(--charcoal)); }
.icon-blend { background: linear-gradient(135deg, var(--forest), var(--wood)); }

.service-card h3 {
  margin-bottom: 0.65rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- Why Choose Us --- */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.reason {
  text-align: center;
  padding: 1.5rem;
}

.reason-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.reason h3 {
  margin-bottom: 0.5rem;
}

.reason p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- Service Area Bar --- */
.area-bar {
  background: var(--forest-dark);
  color: var(--white);
  padding: 2.5rem 0;
  text-align: center;
}

.area-bar h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.area-bar p {
  opacity: 0.85;
  font-size: 1rem;
}

.area-cities {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.area-cities a {
  color: var(--stone-light);
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.area-cities a:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

/* --- CTA Section --- */
.cta-section {
  background:
    linear-gradient(135deg, var(--forest), var(--forest-dark));
  color: var(--white);
  padding: 5rem 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.cta-text h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-text p {
  opacity: 0.9;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.cta-phone {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white) !important;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.cta-phone:hover {
  color: var(--stone-light) !important;
}

.cta-subtext {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* --- Contact Form Placeholder --- */
.contact-form {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-form h3 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--wood);
}

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

.form-group select option {
  background: var(--charcoal);
  color: var(--white);
}

.contact-form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* --- Footer --- */
.site-footer {
  background: var(--charcoal);
  color: var(--stone-light);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
  display: inline-block;
  color: var(--white);
}

.footer-brand .logo span {
  color: var(--wood);
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--stone-light);
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-links a:hover {
  color: var(--white);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* --- Intro Content Block --- */
.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.intro-visual {
  border-radius: var(--radius);
  height: 360px;
  position: relative;
  overflow: hidden;
}

.visual-home {
  background: url('../images/home.jpg') center/cover no-repeat;
}

.visual-aspen {
  background: url('../images/aspen.jpg') center/cover no-repeat;
}

.visual-glenwood {
  background: url('../images/glenwood.jpg') center/cover no-repeat;
}

.visual-carbondale {
  background: url('../images/carbondale.jpg') center/cover no-repeat;
}

.visual-basalt {
  background: url('../images/basalt.jpg') center/cover no-repeat;
}

.visual-pattern {
  display: none;
}

.intro-text h2 {
  margin-bottom: 1rem;
}

.intro-text p {
  color: var(--text-light);
}

.intro-text .btn {
  margin-top: 0.5rem;
}

/* --- Feature List --- */
.feature-list {
  list-style: none;
  margin: 1.25rem 0;
}

.feature-list li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--forest);
  font-weight: 700;
}

/* --- Stats Row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  text-align: center;
  padding: 2rem 0;
}

.stat h3 {
  font-size: 2.2rem;
  color: var(--forest);
  margin-bottom: 0.25rem;
}

.stat p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- FAQ Section --- */
.faq-section {
  background: var(--cream);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--stone-light);
  padding: 1.5rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.faq-answer {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.7;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .cta-grid,
  .intro-content {
    grid-template-columns: 1fr;
  }

  .intro-visual {
    height: 240px;
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 3.5rem 0;
  }

  .section {
    padding: 3rem 0;
  }

  .header-inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .logo-wrap {
    flex: 1;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-phone {
    display: none;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0.25rem 0;
    border-top: 1px solid var(--stone-light);
    order: 10;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 0.65rem 0;
    width: 100%;
    border-bottom: 1px solid var(--stone-light);
    border-radius: 0;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 320px;
    margin: 0.5rem auto 0;
  }

  .hero-btns .btn {
    width: 100%;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
}
