:root {
  --primary: #c8893b; /* warm gold/brown accent */
  --primary-dark: #9d6726;
  --bg: #f7f7f7;
  --bg-alt: #ffffff;
  --text-main: #222222;
  --text-muted: #666666;
  --border-soft: #e2e2e2;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: var(--bg);
}

/* Layout Helpers */
.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

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

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 3rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Header / Nav */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  width: 150px;
  height: auto;
}

/* Nav Links */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.nav-cta {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff !important; /* makes text white */
  font-weight: 600;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  filter: brightness(1.05);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #222;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span + span {
  margin-top: 4px;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    right: 0;
    top: 72px;
    background-color: #ffffff;
    padding: 1.5rem 1.75rem;
    border-radius: 0 0 0 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  padding-top: 96px; /* offset fixed header */
  display: flex;
  align-items: center;
  color: #ffffff;
  background-image: linear-gradient(
      120deg,
      rgba(0, 0, 0, 0.78),
      rgba(0, 0, 0, 0.55)
    ),
    url("https://assist2sell.com/handlers/ShowImage.ashx?id=db963fb6-9ca7-4d8f-9864-5097ed7500f6");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 3rem 0 4rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 3.4vw + 1.5rem, 3.5rem);
  margin: 0 0 1rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 0 1.75rem;
  color: #f4f4f4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.hero-badges span {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background-color: rgba(0, 0, 0, 0.35);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary-dark);
  color: #ffffff;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.btn-full {
  width: auto;
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* Cards & Lists */
.card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.feature-list {
  list-style: none;
  padding-left: 0;
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.35rem;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
}

/* Gallery */
.gallery-grid {
  margin-top: 2rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* About */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: flex-start;
}

.about-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-list li {
  margin-bottom: 0.35rem;
}

.about-highlight {
  padding: 1.75rem 1.5rem;
  border-radius: 18px;
  background-color: #fff7ed;
  border: 1px solid rgba(200, 137, 59, 0.28);
}

/* Testimonials */
.card-quote {
  position: relative;
}

.card-quote::before {
  content: "“";
  position: absolute;
  top: -0.2rem;
  left: 0.15rem;
  font-size: 3rem;
  color: rgba(200, 137, 59, 0.22);
}

.quote {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.quote-author {
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-form {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
}

input,
textarea,
select {
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
  background-color: #fbfbfb;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200, 137, 59, 0.18);
  background-color: #ffffff;
}

textarea {
  resize: vertical;
}

.small-print {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.contact-info h3 {
  margin-top: 0;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  padding: 1.5rem 0 2rem;
  background-color: #111111;
  color: #eeeeee;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

.back-to-top {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.back-to-top:hover {
  text-decoration: underline;
}

/* Sticky Call Now Button */
.call-now-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--primary-dark);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.call-now-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  filter: brightness(1.05);
}

/* On mobile, make it a full-width bar for easy tapping */
@media (max-width: 640px) {
  .hero-content {
    padding-bottom: 3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section {
    padding: 3.75rem 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .call-now-btn {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    justify-content: center;
    text-align: center;
    font-size: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  }
}

/* Responsive Tweaks for mid screens */
@media (max-width: 900px) {
  .hero {
    text-align: left;
  }

  .hero-badges {
    max-width: 480px;
  }

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