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

:root {
  --primary: #1a3a5c;
  --primary-light: #2a5a8c;
  --accent: #d4a843;
  --dark: #1c1c1c;
  --gray-dark: #333;
  --gray: #666;
  --gray-light: #999;
  --gray-bg: #f5f5f5;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 6px;
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--gray-dark);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER / NAV ===== */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-top {
  background: var(--primary);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.85rem;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.header-top a {
  color: var(--white);
}

.header-top a:hover {
  color: var(--accent);
}

.header-main {
  padding: 12px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo img {
  width: 48px;
  height: 48px;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--primary);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

.main-nav ul {
  display: flex;
  gap: 8px;
  align-items: center;
}

.main-nav a {
  display: block;
  padding: 8px 16px;
  color: var(--gray-dark);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}

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

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: #c09a3a !important;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 80px 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/stucco-installation.png') center/cover no-repeat;
  opacity: 0.15;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero h1 span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.15rem;
  margin-bottom: 28px;
  opacity: 0.92;
  line-height: 1.6;
}

.hero-image {
  flex: 0 0 400px;
}

.hero-image img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

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

.btn-primary:hover {
  background: #c09a3a;
  border-color: #c09a3a;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

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

.btn-dark:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--white);
}

/* ===== SECTIONS ===== */
.section {
  padding: 70px 0;
}

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

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  margin-bottom: 12px;
}

.section-title p {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-title .underline {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--gray-bg);
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  text-align: center;
}

.trust-item .number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.trust-item .label {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 24px;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.service-card .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  padding: 24px 16px 12px;
  font-size: 0.9rem;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-content h2 {
  margin-bottom: 16px;
}

.about-content p {
  color: var(--gray);
}

.values-list {
  margin-top: 20px;
}

.values-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--gray-dark);
}

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

/* ===== SERVICE AREAS ===== */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.areas-list span {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--gray-dark);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background: var(--gray-bg);
  padding: 28px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.contact-info-card h4 {
  margin-bottom: 8px;
}

.contact-info-card p {
  color: var(--gray);
  margin-bottom: 0;
}

.contact-info-card a {
  color: var(--primary);
  font-weight: 500;
}

.contact-form {
  background: var(--gray-bg);
  padding: 36px;
  border-radius: var(--radius);
}

.contact-form h3 {
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--white);
}

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

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

.map-container {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}

.testimonial-card .stars {
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.testimonial-card blockquote {
  font-style: italic;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.6;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--gray-dark);
}

.testimonial-card .location {
  font-size: 0.85rem;
  color: var(--gray-light);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: #ccc;
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #333;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #aaa;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  color: #aaa;
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #aaa;
}

.footer-contact-item strong {
  color: #ccc;
  min-width: 55px;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

.footer-bottom a {
  color: #999;
}

.service-areas-footer {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #888;
}

/* ===== PAGE BANNER ===== */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 8px;
}

.page-banner p {
  opacity: 0.85;
  font-size: 1.05rem;
}

.breadcrumb {
  margin-top: 12px;
  font-size: 0.85rem;
  opacity: 0.7;
}

.breadcrumb a {
  color: var(--white);
}

/* ===== SERVICE DETAIL ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.service-detail h3 {
  margin-bottom: 12px;
}

.service-detail p {
  color: var(--gray);
}

.service-features {
  margin-top: 16px;
}

.service-features li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--gray-dark);
  font-size: 0.95rem;
}

.service-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== HOURS TABLE ===== */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid var(--border);
}

.hours-table td {
  padding: 10px 0;
  font-size: 0.95rem;
}

.hours-table td:first-child {
  font-weight: 500;
  color: var(--gray-dark);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--gray);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    flex: none;
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-grid,
  .contact-grid,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

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

  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .header-top {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }

  .main-nav a {
    padding: 12px 16px;
  }

  .hero {
    padding: 48px 0;
  }

  .section {
    padding: 48px 0;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
}
