/* REDEMPTION AUTO REPAIR — MASTER STYLESHEET */

:root {
  --navy: #001D3D;
  --powder-blue: #0080B4;
  --gold: #FFC52F;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --dark-gray: #2A2A2A;
  --success-green: #00AA44;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  color: var(--dark-gray);
  line-height: 1.6;
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--powder-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold);
}

/* NAVIGATION */
.rar-nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 76px;
  overflow: hidden;
  background: rgba(0, 29, 61, 0.98);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  z-index: 1000;
  transition: background 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.rar-nav.scrolled {
  padding: 0.75rem 2rem;
  background: rgba(0, 29, 61, 0.95);
}

.rar-nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rar-logo {
  display: flex;
  align-items: center;
}

.rar-logo img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.rar-nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.rar-nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.rar-nav-menu a:hover,
.rar-nav-menu a.active {
  color: var(--gold);
}

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

.rar-hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  transition: all 0.3s ease;
  border-radius: 2px;
}

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

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

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

/* BUTTONS */
.rar-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.rar-btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.rar-btn-primary:hover {
  background: #FFD43D;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 197, 47, 0.3);
}

.rar-btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.rar-btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.rar-btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.rar-btn-gold:hover {
  background: #FFD43D;
}

/* HERO SECTION */
.rar-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6rem 2rem 2rem;
  min-height: 600px;
  margin-top: 60px;
}

.rar-hero-content {
  max-width: 700px;
  z-index: 2;
}

/* SECTIONS & CONTAINERS */
.rar-section {
  padding: 4rem 2rem;
}

.rar-section-light {
  background: var(--light-gray);
}

.rar-container {
  max-width: 1200px;
  margin: 0 auto;
}

.rar-accent-line {
  width: 60px;
  height: 4px;
  background: var(--powder-blue);
  margin: 1.5rem auto;
  border-radius: 2px;
}

.rar-accent-line-left {
  margin-left: 0;
  margin-right: auto;
}

/* GRID LAYOUTS */
.rar-grid {
  display: grid;
  gap: 2rem;
}

.rar-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.rar-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.rar-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* CARDS */
.rar-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.rar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.rar-card h3 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.rar-card p {
  color: var(--dark-gray);
  font-size: 0.95rem;
}

/* FORMS */
.rar-form-group {
  display: grid;
  gap: 0.5rem;
}

.rar-form-group label {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}

.rar-form-group input,
.rar-form-group textarea,
.rar-form-group select {
  padding: 0.75rem;
  border: 1px solid #DDD;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.rar-form-group input:focus,
.rar-form-group textarea:focus,
.rar-form-group select:focus {
  outline: none;
  border-color: var(--powder-blue);
  box-shadow: 0 0 0 3px rgba(0, 128, 180, 0.1);
}

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

/* FOOTER */
.rar-footer {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 2rem;
}

.rar-footer-content {
  max-width: 1200px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.rar-footer h4 {
  margin-bottom: 1rem;
  color: var(--gold);
}

.rar-footer a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.rar-footer a:hover {
  color: var(--gold);
}

.rar-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* GALLERY */
.rar-gallery {
  display: grid;
  gap: 1.5rem;
}

.rar-gallery-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.rar-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--powder-blue), var(--navy));
}

.rar-gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: var(--white);
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}

/* TESTIMONIALS */
.rar-testimonial {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--gold);
}

.rar-star-rating {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.rar-testimonial-quote {
  font-style: italic;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.rar-testimonial-author {
  font-weight: 600;
  color: var(--navy);
}

/* CTA BAND */
.rar-cta-band {
  background: linear-gradient(135deg, var(--powder-blue), var(--navy));
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}

.rar-cta-band h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.rar-cta-band p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* TABLE */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

table th,
table td {
  padding: 1rem;
  text-align: left;
  border: 1px solid #DDD;
}

table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

table tr:nth-child(even) {
  background: var(--light-gray);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .rar-nav {
    padding: 1rem;
  }

  .rar-nav.scrolled {
    padding: 0.75rem 1rem;
  }

  .rar-nav-menu {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(0, 29, 61, 0.99);
    flex-direction: column;
    gap: 0;
    padding: 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .rar-nav-menu.active {
    max-height: 500px;
  }

  .rar-nav-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 0;
  }

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

  .rar-hamburger {
    display: flex;
  }

  .rar-hero {
    min-height: 500px;
  }

  .rar-section {
    padding: 3rem 1.5rem;
  }

  .rar-grid-2,
  .rar-grid-3,
  .rar-grid-4 {
    grid-template-columns: 1fr;
  }

  .rar-card {
    padding: 1.5rem;
  }

  table {
    font-size: 0.85rem;
  }

  table th,
  table td {
    padding: 0.75rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .rar-nav {
    padding: 0.75rem;
  }

  .rar-logo {
    font-size: 1.2rem;
  }

  .rar-hero {
    padding: 5rem 1rem 1rem;
    min-height: 400px;
  }

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

  .rar-section {
    padding: 2rem 1rem;
  }

  .rar-accent-line {
    margin: 1rem auto;
  }

  .rar-cta-band {
    padding: 2.5rem 1rem;
  }

  .rar-cta-band h2 {
    font-size: 1.5rem;
  }

  .rar-cta-band p {
    font-size: 1rem;
  }

  .rar-btn {
    padding: 0.65rem 1.2rem;
    font-size: 0.75rem;
  }
}

/* UTILITY CLASSES */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.opacity-80 {
  opacity: 0.8;
}

.hidden {
  display: none !important;
}

/* VISUAL CARD GRID (What We Do / Services) — mobile responsive */
@media (max-width: 900px) {
  .rar-visual-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .rar-visual-grid > a,
  .rar-visual-grid > div {
    grid-column: span 1 !important;
  }
}

@media (max-width: 560px) {
  .rar-visual-grid {
    grid-template-columns: 1fr !important;
    border-radius: 8px !important;
  }
  .rar-visual-grid > a,
  .rar-visual-grid > div {
    grid-column: 1 / -1 !important;
    min-height: 260px !important;
  }
}

/* PRINT STYLES */
@media print {
  .rar-nav,
  .rar-hamburger {
    display: none;
  }

  body {
    background: var(--white);
  }
}
