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

:root {
  --gold: #C9982E;
  --gold-dark: #B8891F;
  --gold-light: #D4A843;
  --dark: #2d2d2d;
  --text: #333;
  --text-light: #666;
  --light-bg: #f5f5f5;
  --white: #ffffff;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

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

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  text-align: center;
}

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

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 13px;
}

/* ============ TOP BAR ============ */
.top-bar {
  background: var(--white);
  border-bottom: 1px solid #eee;
  padding: 6px 0;
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.townsquare-logo {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text);
  text-transform: uppercase;
}

.townsquare-logo sup {
  font-size: 7px;
}

.phone-btn {
  background: var(--gold);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.phone-btn:hover {
  background: var(--gold-dark);
}

.phone-btn i {
  margin-right: 5px;
  font-size: 11px;
}

/* ============ HEADER / NAV ============ */
.main-header {
  background: var(--white);
  padding: 10px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.logo {
  margin-bottom: 8px;
}

.logo-img {
  height: 65px;
  width: auto;
}

/* If no logo image, show text fallback */
.logo-img[src="images/tcc-logo.png"] {
  /* Will show alt text or broken image - we add a fallback via CSS */
}

.main-nav {
  width: 100%;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: var(--gold);
}

.nav-list > li > a .fa-chevron-down {
  font-size: 9px;
  margin-left: 3px;
  opacity: 0.6;
}

/* Dropdown */
.dropdown {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: 4px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 100;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 8px 18px;
  font-size: 13px;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown li a:hover {
  background: var(--light-bg);
  color: var(--gold);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text);
  cursor: pointer;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 420px;
  background-image: url('images/tcc-23.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.15) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 50px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.hero-text {
  flex: 1;
  color: var(--white);
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.hero-area {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 22px;
}

.hero-form {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(5px);
  border-radius: 6px;
  padding: 28px 24px;
  width: 340px;
  flex-shrink: 0;
}

.hero-form h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--text);
  margin-bottom: 16px;
  text-align: center;
}

.form-row-hero {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-form input,
.hero-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 13px;
  transition: border-color 0.3s ease;
}

.hero-form input:focus,
.hero-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.hero-form textarea {
  resize: vertical;
  margin-bottom: 12px;
}

/* ============ INTRO SECTION ============ */
.intro-section {
  padding: 60px 0 40px;
  text-align: center;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.3;
}

.intro-subheading {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.5;
}

.intro-text {
  max-width: 750px;
  margin: 0 auto 25px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
}

.owner-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 3px solid var(--gold);
}

.owner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ 4-COLUMN FEATURES ============ */
.features-section {
  padding: 40px 0 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.feature-icon i {
  font-size: 26px;
  color: var(--white);
}

.feature-item h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-item p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-light);
}

/* ============ HOW I CAN HELP ============ */
.help-section {
  background: var(--light-bg);
  padding: 60px 0;
}

.help-header {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 45px;
}

.help-header-left {
  flex: 0 0 auto;
}

.help-header-left h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.help-header-right {
  flex: 1;
  padding-top: 8px;
}

.help-header-right p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.service-number {
  margin: -22px auto 14px;
  position: relative;
  z-index: 2;
}

.service-number span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-heading);
}

.service-card h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  padding: 0 20px;
  line-height: 1.35;
}

.service-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-light);
  padding: 0 20px;
  margin-bottom: 18px;
}

/* ============ TOP QUALITY WORK ============ */
.quality-section {
  padding: 0 0 60px;
  position: relative;
}

.gold-banner {
  height: 80px;
  background: var(--gold);
  width: 100%;
}

.quality-heading {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin: 35px 0 8px;
  line-height: 1.3;
}

.quality-subheading {
  text-align: center;
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 35px;
}

.quality-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.quality-image {
  flex: 0 0 45%;
  border-radius: 6px;
  overflow: hidden;
}

.quality-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.quality-text {
  flex: 1;
}

.quality-text h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.3;
}

.quality-text p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 14px;
}

.google-review-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
  color: var(--text);
  transition: opacity 0.3s ease;
}

.google-review-link:hover {
  opacity: 0.8;
}

.google-logo-inline {
  height: 22px;
  width: auto;
  display: inline-block;
}

/* ============ TESTIMONIALS ============ */
.testimonials-section {
  background: var(--light-bg);
  padding: 60px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.testimonial-card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.testimonial-text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-light);
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

/* ============ CONSULTATION FORM ============ */
.consultation-section {
  padding: 60px 0;
}

.consultation-section .section-heading {
  text-align: center;
  margin-bottom: 30px;
}

.consultation-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
}

.form-group {
  flex: 1;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.3s ease;
}

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

.form-group textarea {
  resize: vertical;
}

.form-note {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.recaptcha-placeholder {
  margin-bottom: 20px;
}

.recaptcha-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f9f9f9;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  padding: 10px 16px;
}

.recaptcha-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.recaptcha-box label {
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
}

.recaptcha-logo {
  height: 32px;
  width: auto;
}

/* ============ AREAS WE SERVE ============ */
.areas-section {
  padding: 60px 0;
  background: var(--white);
}

.areas-heading {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.map-container {
  margin-bottom: 25px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.map-container iframe {
  display: block;
}

.area-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.area-btn {
  display: inline-block;
  padding: 10px 22px;
  background: var(--gold);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.area-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 35px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--white);
  margin-bottom: 10px;
  font-weight: 600;
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  color: #bbb;
  line-height: 1.6;
}

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

.footer-col p {
  margin-bottom: 15px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  font-size: 13px;
  padding: 3px 12px 3px 0;
  color: #bbb;
}

.hours-table td:first-child {
  font-weight: 600;
  color: #ddd;
  width: 110px;
}

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

.footer-services li {
  margin-bottom: 6px;
}

.footer-services li a {
  font-size: 13px;
  color: #bbb;
  transition: color 0.3s ease;
}

.footer-services li a:hover {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 35px;
  padding: 16px 0;
  border-top: 1px solid #444;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #888;
}

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

  .hero-text {
    text-align: center;
  }

  .hero-form {
    width: 100%;
    max-width: 400px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .help-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .quality-content {
    flex-direction: column;
  }

  .quality-image {
    flex: none;
  }

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

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

@media (max-width: 768px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .logo {
    margin-bottom: 0;
  }

  .main-nav {
    width: auto;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100vw;
    margin-left: -20px;
    background: var(--white);
    padding: 10px 0;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .nav-list.active {
    display: flex;
  }

  .nav-list > li > a {
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 20px;
    display: none;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }

  .hero-text h1 {
    font-size: 30px;
  }

  .section-heading {
    font-size: 22px;
  }

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

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

  .form-row {
    flex-direction: column;
    gap: 12px;
  }

  .area-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .top-bar-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .quality-heading {
    font-size: 24px;
  }

  .help-header-left h2 {
    font-size: 26px;
  }
}
