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

:root {
  --primary: #4b9cd3;        /* Carolina blue */
  --primary-dark: #3a7ca5;
  --accent: #7bafd4;         /* lighter Carolina blue */
  --bg: #ffffff;             /* white */
  --bg-tint: #e8f3fb;        /* subtle Carolina tint */
  --bg-tint-2: #f4f9fd;      /* very light tint */
  --text: #152634;           /* deep navy */
  --text-muted: #5b6b78;
  --border: #d5e6f3;
  --logo-opacity: 0.4;       /* page background logo strength (0 = hidden, 1 = full) */
}

html {
  background: var(--bg);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: transparent;
  color: var(--text);
  line-height: 1.6;
  position: relative;
}

/* Full-page background logo (fixed, stays behind content) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../img/tar-logo.png") center center / min(85vw, 85vh) no-repeat;
  opacity: var(--logo-opacity);
  pointer-events: none;
  z-index: 0;
}

/* Keep real content above the background logo */
.hero,
section,
footer {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(232, 243, 251, 0.88) 100%);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--text);
  font-weight: 600;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
  background: linear-gradient(to right, var(--text), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 2rem;
}

.cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(75, 156, 211, 0.35);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(75, 156, 211, 0.45);
}

/* Sections */
section {
  padding: 5rem 0;
}

section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text);
}

.services {
  background: rgba(244, 249, 253, 0.75);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(21, 38, 52, 0.04);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(75, 156, 211, 0.18);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.service-card p {
  color: var(--text-muted);
}

.service-card strong {
  color: var(--text);
}

.detailing {
  background: rgba(255, 255, 255, 0.7);
}

.contact {
  background: rgba(232, 243, 251, 0.78);
  text-align: center;
}

.contact p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.contact-link {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.contact-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 6px 16px rgba(75, 156, 211, 0.2);
}

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

footer {
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  background: rgba(244, 249, 253, 0.7);
}

/* Mobile */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

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