/* ============================================================
   Sawyer Property Services, LLC — Main Stylesheet
   ============================================================ */

:root {
  --orange: #f5a623;
  --orange2: #e09410;
  --dark: #0e0e0e;
  --dark2: #181818;
  --dark3: #222;
  --mid: #aaa;
  --white: #fff;
  --font-head: 'Barlow Condensed', Impact, sans-serif;
  --font-body: 'Barlow', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  height: 64px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245, 166, 35, 0.15);
  gap: 1.25rem;
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
  max-width: min(62vw, 24rem);
  line-height: 0.95;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin-left: auto;
  flex-wrap: nowrap;
}

.nav-links li {
  flex-shrink: 0;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--orange);
}

.nav-links a.active,
.nav-links a[aria-current='location'] {
  color: var(--orange);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--dark) !important;
  padding: 10px 16px !important;
  border-radius: 4px;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  line-height: 1;
  min-height: 44px;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--orange2) !important;
  color: var(--dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* ── Hero ── */
#home {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 80px 5% 60px;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-color: #1a2a1a;
}

#home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

#home::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 14, 14, 0.75) 0%, transparent 55%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  animation: fadeUp 0.8s ease both;
}

.hero-location {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.hero-inner h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.1em;
}

.hero-inner h1 .orange {
  color: var(--orange);
}

.hero-inner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  max-width: 520px;
  margin: 1.4rem auto 2.4rem;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.22s ease;
  border: 2px solid transparent;
}

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

.btn-orange:hover {
  background: var(--orange2);
  border-color: var(--orange2);
  transform: translateY(-2px);
}

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

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

/* ── Sections ── */
section {
  padding: 90px 5%;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 0.8rem;
}

.section-sub {
  color: var(--mid);
  font-size: 0.97rem;
  font-weight: 300;
  max-width: 540px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.orange-bar {
  width: 44px;
  height: 4px;
  background: var(--orange);
  margin: 0.8rem 0 1.6rem;
}

/* ── Services ── */
#services {
  background: var(--dark2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card {
  padding: 2.4rem 2rem;
  background: var(--dark2);
  transition: background 0.25s ease;
  position: relative;
}

.service-card:hover {
  background: #1e1e1e;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(245, 166, 35, 0.12);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.service-card h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--mid);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
}

/* ── About ── */
#about {
  background: var(--dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text p {
  color: var(--mid);
  font-weight: 300;
  margin-bottom: 1.2rem;
  font-size: 0.97rem;
  line-height: 1.75;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat {
  border-left: 3px solid var(--orange);
  padding-left: 1rem;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.about-image-block {
  position: relative;
  padding-bottom: 1.5rem;
}

.about-photo {
  width: 100%;
  padding-top: 70%;
  border-radius: 4px;
  background-image: url('../images/about-photo.jpg');
  background-size: cover;
  background-position: center;
  background-color: #1e2e1e;
  position: relative;
}

.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  border-radius: 4px;
}

.about-logo-wrap {
  position: absolute;
  left: 50%;
  bottom: 6.4rem;
  transform: translateX(-50%);
  z-index: 3;
  width: min(78%, 460px);
  background: rgba(0, 0, 0, 0.58);
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.about-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
  opacity: 1;
}

.about-badge {
  position: absolute;
  bottom: 0;
  left: -1rem;
  background: var(--orange);
  color: var(--dark);
  padding: 1.2rem 1.6rem;
  border-radius: 4px;
  z-index: 4;
}

.about-badge .badge-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.about-badge .badge-text {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* ── Gallery ── */
#gallery {
  background: var(--dark2);
}

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

.gallery-item {
  overflow: hidden;
  border-radius: 3px;
  position: relative;
  background: #1a1a1a;
}

.gallery-item:first-child {
  grid-column: span 2;
}

.gallery-photo {
  width: 100%;
  padding-top: 65%;
  background-size: cover;
  background-position: center;
  background-color: #222;
  transition: transform 0.4s ease;
}

.gallery-item:first-child .gallery-photo {
  padding-top: 55%;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-note {
  text-align: center;
  color: #444;
  font-size: 0.82rem;
  margin-top: 1.2rem;
  font-style: italic;
}

/* ── Contact ── */
#contact {
  background: var(--dark2);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ci-icon {
  width: 46px;
  height: 46px;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.28);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ci-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.ci-value {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.6;
}

.ci-value a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ci-value a:hover {
  color: var(--orange);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.contact-form select {
  color: var(--white);
}

.contact-form select option {
  background: #222;
  color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.12);
  background: rgba(255, 255, 255, 0.065);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn {
  align-self: flex-start;
  border: none;
}

/* ── Social ── */
#social {
  background: var(--dark);
  padding: 60px 5%;
  text-align: center;
  border-top: 1px solid rgba(245, 166, 35, 0.15);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(245, 166, 35, 0.4);
  color: var(--white);
  transition: all 0.25s ease;
}

.social-icon svg {
  width: 22px;
  height: 22px;
}

.social-icon:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--dark);
  transform: translateY(-3px);
}

/* ── Footer ── */
footer {
  background: #080808;
  border-top: 1px solid rgba(245, 166, 35, 0.15);
  padding: 2.5rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--orange);
}

footer p {
  color: #c5c5c5;
  font-size: 0.82rem;
  font-weight: 300;
}

/* ── Thank You Page ── */
#thank-you-page {
  min-height: calc(100vh - 64px);
  padding: 140px 5% 90px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at top, rgba(245, 166, 35, 0.08), transparent 35%),
    var(--dark2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-inner {
  width: 100%;
  max-width: 860px;
  padding: 2.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  animation: fadeUp 0.7s ease both;
}

.thank-you-badge {
  width: 78px;
  height: 78px;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
}

.thank-you-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 0.2rem;
}

.thank-you-lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  max-width: 650px;
  margin: 0 auto 2rem;
}

.thank-you-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
  text-align: left;
}

.thank-you-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 1.2rem 1.1rem;
}

.thank-you-card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.thank-you-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.7;
}

.thank-you-card a {
  color: var(--white);
  transition: color 0.2s ease;
}

.thank-you-card a:hover {
  color: var(--orange);
}

.thank-you-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.thank-you-note {
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
}

/* ── Animations ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    padding: 1.5rem 5%;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(245, 166, 35, 0.15);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    max-height: calc(100svh - 64px);
    overflow-y: auto;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: inline-flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
  }

  .hamburger {
    display: flex;
  }

  .nav-logo {
    max-width: calc(100% - 4.5rem);
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 76px 5%;
  }

  #home {
    padding: 94px 5% 56px;
  }

  .hero-inner h1 {
    font-size: clamp(2.85rem, 14vw, 4.75rem);
  }

  .hero-inner p {
    margin-bottom: 2rem;
  }

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

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .about-grid,
  .contact-wrapper,
  .thank-you-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .about-logo-wrap {
    width: min(74%, 280px);
    top: 0.8rem;
  }

  .about-badge {
    left: 0;
    bottom: 0.75rem;
    padding: 1rem 1.2rem;
  }

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

  .gallery-item:first-child {
    grid-column: span 2;
  }

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

  .contact-form .btn {
    align-self: stretch;
    justify-content: center;
  }

  .thank-you-inner {
    padding: 1.5rem 1rem;
  }

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

  .thank-you-actions .btn {
    justify-content: center;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .nav-logo {
    font-size: 0.88rem;
    letter-spacing: 0.03em;
  }

  .nav-links {
    padding: 1.2rem 5%;
  }

  .contact-form {
    padding: 1.1rem;
  }

  .contact-item {
    gap: 0.85rem;
  }

  .ci-icon {
    width: 42px;
    height: 42px;
  }

  #thank-you-page {
    padding: 120px 5% 70px;
  }

  footer p {
    max-width: 24rem;
  }
}
