/* ========================================
   Beamon's Garage — Custom Styles
   Deep Navy (#0F172A) + Warm Gold (#D4A017)
   ======================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: #1e293b;
  background-color: #FDFCF8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* UTILITIES */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: #0F172A;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 1000;
  font-size: 14px;
}

.skip-link:focus {
  top: 16px;
}

/* TYPOGRAPHY */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  color: #0F172A;
}

em {
  font-style: italic;
  color: #D4A017;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #D4A017;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 252, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 1px 20px rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: #0F172A;
  font-weight: 400;
}

.logo-text em {
  font-style: italic;
  color: #D4A017;
}

/* NAV */
.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #334155;
  transition: color 0.2s ease;
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #D4A017;
  transition: width 0.3s ease;
}

.nav-list a:hover {
  color: #0F172A;
}

.nav-list a:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #D4A017 !important;
  border: 1px solid #D4A017;
  padding: 8px 16px;
  border-radius: 100px;
  transition: all 0.2s ease !important;
}

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

.nav-cta:hover {
  background: #D4A017;
  color: #0F172A !important;
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #0F172A;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #FDFCF8;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0 80px;
}

.hero-content {
  max-width: 520px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D4A017;
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 24px;
  color: #0F172A;
}

.hero-headline em {
  color: #D4A017;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 36px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: 100px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #0F172A;
  color: #fff;
  border: 1.5px solid #0F172A;
}

.btn-primary:hover {
  background: #1E293B;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.btn-ghost {
  background: transparent;
  color: #0F172A;
  border: 1.5px solid rgba(15, 23, 42, 0.2);
}

.btn-ghost:hover {
  border-color: #0F172A;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 15px;
}

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

/* TRUST BAR */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #0F172A;
  font-weight: 600;
  line-height: 1;
}

.trust-label {
  font-size: 11px;
  color: #64748B;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}

/* HERO IMAGES */
.hero-image-wrap {
  position: relative;
  height: 680px;
}

.hero-img-main {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

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

.hero-img-float {
  position: absolute;
  bottom: -30px;
  left: -40px;
  width: 240px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
  background: #fff;
}

.hero-img-float img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.float-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #0F172A;
}

/* HERO LINE */
.hero-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.08), transparent);
}

/* ========================================
   SERVICES
   ======================================== */
.services {
  padding: 100px 0;
  background: #fff;
}

.section-header {
  margin-bottom: 56px;
}

.section-header--centered {
  text-align: center;
}

.section-header--centered .section-eyebrow {
  margin-bottom: 12px;
}

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

.service-card {
  padding: 40px 32px;
  background: #FDFCF8;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #D4A017;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: 10px;
  background: rgba(212, 160, 23, 0.04);
}

.service-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #0F172A;
}

.service-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #64748B;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  padding: 100px 0;
  background: #FDFCF8;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.about-content {
  padding: 20px 0;
}

.about-text {
  font-size: 1rem;
  line-height: 1.85;
  color: #475569;
  margin-bottom: 20px;
}

.about-details {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #334155;
}

.detail-row a {
  color: #334155;
  transition: color 0.2s ease;
  border-bottom: 1px solid transparent;
}

.detail-row a:hover {
  color: #D4A017;
  border-bottom-color: #D4A017;
}

/* ========================================
   WHY US
   ======================================== */
.why {
  padding: 100px 0;
  background: #0F172A;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.why::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(212, 160, 23, 0.06);
  pointer-events: none;
}

.why .section-eyebrow {
  color: #D4A017;
}

.why .section-title {
  color: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  position: relative;
  z-index: 1;
}

.why-item {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.why-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 600;
  color: rgba(212, 160, 23, 0.2);
  line-height: 1;
  margin-bottom: 12px;
}

.why-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 10px;
}

.why-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  max-width: 380px;
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
  padding: 80px 0;
  background: #FDFCF8;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.cta-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 1rem;
  color: #64748B;
  line-height: 1.8;
  max-width: 420px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  padding: 100px 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-desc {
  font-size: 1rem;
  line-height: 1.85;
  color: #64748B;
  margin-bottom: 28px;
}

.contact-map {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

/* FORM */
.contact-form-wrap {
  background: #FDFCF8;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  padding: 40px;
}

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #0F172A;
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #0F172A;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #D4A017;
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94A3B8;
}

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

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(22, 163, 74, 0.06);
  border: 1px solid rgba(22, 163, 74, 0.15);
  border-radius: 8px;
  font-size: 14px;
  color: #16A34A;
  font-weight: 400;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: #0F172A;
  color: rgba(255, 255, 255, 0.5);
  padding: 56px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-tagline {
  font-size: 0.9rem;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #D4A017;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 40px;
  }

  .hero-image-wrap {
    height: 520px;
  }

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

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

  .nav-list {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(253, 252, 248, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

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

  .nav-list li {
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-list a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 40px 0 60px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image-wrap {
    height: 400px;
    order: -1;
  }

  .hero-img-float {
    left: -16px;
    bottom: -20px;
    width: 180px;
  }

  .hero-img-float img {
    height: 130px;
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .trust-divider {
    display: none;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-image {
    height: 360px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .cta-sub {
    max-width: 100%;
  }

  .cta-actions {
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-wrap {
    padding: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    justify-content: center;
  }
}
