/* Baaz Truck Trailer Repair — Custom Styles */

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0d0d0d;
}
::-webkit-scrollbar-thumb {
  background: #2e2e2e;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e85d3f;
}

/* Selection */
::selection {
  background: rgba(232, 93, 63, 0.3);
  color: #fff;
}

/* Body */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #0d0d0d;
  color: #f5f5f5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Nav */
.nav-scrolled {
  background: rgba(13, 13, 13, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 83, 0.15);
}

.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #e85d3f;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* Hero */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

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

.hero-text-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem;
}

@media (max-width: 1023px) {
  .hero-text-side {
    padding: 5rem 2rem 3rem;
  }
}

.hero-image-side {
  position: relative;
  overflow: hidden;
}

.hero-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 13, 13, 0.7) 0%, transparent 60%);
}

@media (max-width: 1023px) {
  .hero-image-side {
    min-height: 50vh;
  }
}

.hero-greeting {
  font-size: 1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #e85d3f;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.08;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-headline em {
  font-style: italic;
  color: #e85d3f;
}

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d4a853;
  background: rgba(212, 168, 83, 0.06);
}

/* Buttons */
.btn-coral {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #e85d3f;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #e85d3f;
}

.btn-coral:hover {
  background: #d14a2e;
  border-color: #d14a2e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 93, 63, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: #d4a853;
  color: #d4a853;
}

/* Section Divider */
.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #e85d3f, #d4a853);
}

/* Services */
.service-card {
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #e85d3f, #d4a853);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.service-card:hover {
  border-color: rgba(232, 93, 63, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(232, 93, 63, 0.1);
  border: 1px solid rgba(232, 93, 63, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  color: #e85d3f;
}

/* Stats */
.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: #e85d3f;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
}

/* Why Us */
.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.why-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(232, 93, 63, 0.15);
  border: 1px solid rgba(232, 93, 63, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.why-check svg {
  color: #e85d3f;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #141414 0%, #1c1c1c 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 63, 0.06) 0%, transparent 70%);
}

/* Contact Form */
.form-input {
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  color: #fff;
  font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.3s ease;
  font-family: 'Inter', system-ui, sans-serif;
}

.form-input:focus {
  outline: none;
  border-color: #e85d3f;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

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

/* Map */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  filter: grayscale(0.6) brightness(0.7) contrast(1.1);
}

/* Footer */
.footer-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.2), transparent);
}

/* Mobile Menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.hamburger line {
  transition: all 0.3s ease;
}

.hamburger.active line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active line:nth-child(2) {
  opacity: 0;
}

.hamburger.active line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Gold Accent */
.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #e85d3f, #d4a853);
}

/* Parallax */
.parallax-img {
  will-change: transform;
}

/* Mobile Nav Links */
.mobile-nav-link {
  font-size: 1.25rem;
  color: #f5f5f5;
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: #e85d3f;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .hero-text-side {
    padding: 5rem 1.5rem 3rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
}
