/* Copper Hill Construction - Styles */
:root {
  --copper: #c17a3a;
  --copper-dark: #9a5e2a;
  --dark: #1a120b;
  --wood: #2c2118;
  --cream: #f5efe6;
  --text: #2c2c2c;
  --muted: #5a5048;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(26, 18, 11, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--copper);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: white; }
.logo-img { height: 56px; width: auto; }
.logo-main { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.4rem; letter-spacing: 1px; display: block; }
.logo-sub { font-size: 0.7rem; letter-spacing: 2px; color: var(--copper); }
.nav { display: flex; gap: 2rem; }
.nav a { color: white; text-decoration: none; font-weight: 500; transition: color 0.2s; }
.nav a:hover { color: var(--copper); }
.header-buttons { display: flex; gap: 0.8rem; align-items: center; }
.btn-call { background: var(--copper); color: white; padding: 0.6rem 1.2rem; border-radius: 4px; text-decoration: none; font-weight: 600; white-space: nowrap; }
.btn-call:hover { background: var(--copper-dark); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: white; margin: 5px 0; }

/* Hero */
.hero {
  position: relative;
  min-height: 72vh;
  background: url('hero.jpg') center center / 90% no-repeat;
  background-color: #f5efe6;
  display: flex;
  align-items: flex-end;
  color: white;
  padding-bottom: 2rem;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,18,11,0.3) 0%, transparent 50%);
}
.hero-content {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  z-index: 1;
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
}

.btn { display: inline-block; padding: 0.9rem 1.8rem; border-radius: 4px; text-decoration: none; font-weight: 600; transition: all 0.2s; }
.btn-primary { background: var(--copper); color: white; }
.btn-primary:hover { background: var(--copper-dark); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: white; border: 2px solid white; }
.btn-secondary:hover { background: white; color: var(--dark); }

/* Sections */
section { padding: 5rem 0; }
.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.8rem;
  text-align: center;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.section-subtitle {
  text-align: center;
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--copper);
  margin-bottom: 3rem;
}

/* Services */
.services { background: white; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--cream);
  padding: 1.8rem;
  border-radius: 8px;
  border-left: 4px solid var(--copper);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.service-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.service-card h3 { font-family: 'Oswald', sans-serif; font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--dark); }
.service-card p { color: var(--muted); font-size: 0.95rem; }

.project-category { margin-bottom: 3rem; }
.project-category h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 1rem;
  border-bottom: 3px solid var(--copper);
  display: inline-block;
  padding-bottom: 0.3rem;
}
.recent-work { background: var(--cream); }
.project-category { margin-bottom: 2.5rem; }
.project-category h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 1rem;
  border-bottom: 3px solid var(--copper);
  display: inline-block;
  padding-bottom: 0.2rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.gallery-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}
.gallery-item:hover { transform: translateY(-4px); }
.gallery-item img { width: 100%; height: 180px; object-fit: cover; display: block; }
.gallery-item p {
  padding: 0.8rem 1rem;
  margin: 0;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
}
.gallery-note { text-align: center; color: var(--muted); }
.gallery-note a { color: var(--copper); text-decoration: none; font-weight: 600; }
.click-hint { font-size: 0.8rem; color: var(--copper); font-weight: normal; }

/* Gallery Modal */
.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-content {
  background: white;
  border-radius: 8px;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
  position: relative;
}
.close-btn {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  transition: transform 0.2s;
}
.lightbox-controls {
  position: absolute;
  bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
}
.lightbox-controls button {
  background: rgba(255,255,255,0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}
.about { background: var(--wood); color: var(--cream); }
.about-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.about h2 { font-family: 'Oswald', sans-serif; font-size: 2.5rem; margin-bottom: 1rem; color: white; }
.about p { margin-bottom: 1rem; color: #e8e0d8; }
.about-motto {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--copper);
  margin-top: 1.5rem;
}
.about-image img { width: 100%; border-radius: 8px; box-shadow: 0 15px 40px rgba(0,0,0,0.3); }

/* Why */
.why { background: var(--cream); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.why-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  border-top: 4px solid var(--copper);
}
.why-card h3 { font-family: 'Oswald', sans-serif; margin-bottom: 0.5rem; color: var(--dark); }

/* Contact */
.contact { background: var(--dark); color: white; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact h2 { font-family: 'Oswald', sans-serif; font-size: 2.5rem; margin-bottom: 1rem; }
.contact-details p { margin: 0.8rem 0; }
.contact-details a { color: var(--copper); text-decoration: none; }
.socials { margin-top: 1.5rem; display: flex; gap: 1.5rem; }
.socials a { color: white; text-decoration: none; border-bottom: 1px solid var(--copper); }
.contact-form {
  background: rgba(255,255,255,0.05);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(193,122,58,0.3);
}
.contact-form h3 { font-family: 'Oswald', sans-serif; margin-bottom: 1.2rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #444;
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-family: inherit;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #aaa; }
.form-note { font-size: 0.8rem; color: #aaa; margin-top: 0.5rem; }

/* Footer */
.footer {
  background: #0f0a07;
  color: #aaa;
  text-align: center;
  padding: 2.5rem 0;
  border-top: 3px solid var(--copper);
}
.footer-logo span { display: block; }
.footer-logo span:first-child { font-family: 'Oswald', sans-serif; color: white; font-size: 1.1rem; letter-spacing: 1px; }
.footer-tagline {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  color: var(--copper);
  margin: 0.5rem 0;
}
.footer-copy { font-size: 0.85rem; margin-top: 1rem; }

/* Responsive */
@media (max-width: 900px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: var(--dark); flex-direction: column; padding: 1rem; gap: 1rem; }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .btn-call { display: none; }
  .header-buttons { display: none; }
  .hero h1 { font-size: 3.2rem; }
}