/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&display=swap');

:root {
  --accent: #a86642;
  --accent-light: #f4aa82;
  --bg-section: #ffffff;
  --bg-dark: #2c2c2c;
  --bg-darker: #1a1a1a;
  --text-dark: #1b1b1b;
  --text-light: #ffffff;
  --text-muted: #525252;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background: #ffffff;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== HEADER / NAV ===== */
.site-header {
  background: #ffffff;
  text-align: center;
  padding: 28px 24px 0;
  position: relative;
  z-index: 100;
}
.header-logo {
  display: inline-block;
  margin-bottom: 20px;
}
.header-logo img {
  height: 90px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 36px;
  padding-bottom: 16px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-dark);
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  font-weight: 700;
}

/* Mobile nav */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: absolute;
  top: 28px;
  right: 24px;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text-dark);
  margin: 5px 0;
  border-radius: 2px;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 0;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--accent);
  font-weight: 700;
}
.mobile-nav .close-btn {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 36px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .header-logo img { height: 75px; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-dark);
}
.hero-content {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.92);
  padding: 36px 40px;
  max-width: 380px;
  margin-left: 60px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 12px;
  line-height: 1.25;
}
.hero p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .hero { height: 350px; }
  .hero-content { margin-left: 24px; max-width: 300px; padding: 28px; }
  .hero h1 { font-size: 26px; }
}

/* ===== SECTION CONTAINERS ===== */
.section {
  padding: 60px 24px;
  background: #ffffff;
}
.container {
  max-width: 1000px;
  margin: 0 auto;
}

/* ===== SECTION HEADINGS (with decorative lines) ===== */
.section-heading {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  color: var(--accent);
  text-align: center;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.section-heading::before,
.section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #dbdbdb;
  max-width: 280px;
}

/* ===== FEATURED CATEGORY CARDS (Homepage boxes) ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: 0;
}
.category-card {
  position: relative;
  overflow: hidden;
  height: 360px;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.category-card:hover {
  transform: scale(1.02);
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-card .card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  padding: 20px 24px;
}
.category-card h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  color: #ffffff;
}

@media (max-width: 768px) {
  .category-grid { grid-template-columns: 1fr; }
  .category-card { height: 280px; }
  .category-card h2 { font-size: 24px; }
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-image img {
  width: 100%;
  height: auto;
}
.about-text p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== SERVICE CARDS (Residential / Commercial pages) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 48px;
}
.service-card {
  /* Flat clean layout */
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 12px;
}
.service-card img {
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}
.service-card ul {
  list-style: disc;
  padding-left: 20px;
}
.service-card li {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  padding: 3px 0;
  line-height: 1.6;
}

/* Specialty card */
.specialty-section {
  margin-top: 60px;
}
.specialty-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.specialty-card img {
  width: 100%;
  height: auto;
}
.specialty-card-body {
  padding-top: 8px;
}
.specialty-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 16px;
}
.specialty-card ul {
  list-style: disc;
  padding-left: 20px;
}
.specialty-card li {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0;
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .specialty-card { grid-template-columns: 1fr; }
}

/* ===== CONTACT SECTION ===== */
.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
}
.contact-subtitle {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  color: var(--accent);
  text-align: center;
  margin-bottom: 28px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s;
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}
.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}
.contact-form .btn-wrap {
  text-align: center;
  margin-top: 8px;
}
.contact-form button {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 36px;
  background: var(--accent-light);
  color: #fff;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.3s;
}
.contact-form button:hover {
  background: var(--accent);
}
.contact-info {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}
.contact-info a {
  color: var(--accent);
}

/* Contact page layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-grid .contact-info {
  text-align: left;
  margin-top: 0;
  padding-left: 20px;
  border-left: 1px solid #eee;
}
.contact-grid .contact-info h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid .contact-info { padding-left: 0; border-left: none; }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 20px 24px;
  font-size: 13px;
}
