/* ============================================
   Keeping It Clean Mobile Detailing LLC
   Standalone Website - No Third-Party Dependencies
   ============================================ */

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

:root {
  --dark-bg: #1a1a1a;
  --darker-bg: #111111;
  --accent-red: #cc0000;
  --text-white: #ffffff;
  --text-light: #e0e0e0;
  --nav-bg: #f5f5f5;
  --nav-text: #333;
  --header-bar: #2a2a2a;
}

body {
  font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-white);
  line-height: 1.6;
}

/* ============ TOP BAR ============ */
.top-bar {
  background-color: var(--darker-bg);
  color: var(--text-white);
  font-size: 13px;
  padding: 6px 20px;
  text-align: left;
  letter-spacing: 0.5px;
}

.top-bar a {
  color: var(--text-white);
  text-decoration: none;
}

/* ============ NAVIGATION ============ */
nav {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: #555;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.nav-links li a:hover {
  background-color: #333;
  color: #fff;
}

.nav-links li a.active {
  background-color: #222;
  color: #fff;
}

/* ============ HERO SECTIONS ============ */
.hero {
  position: relative;
  height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  margin-bottom: 20px;
}

.btn-call {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  padding: 10px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.2s ease;
  margin-bottom: 20px;
}

.btn-call:hover {
  background-color: rgba(255,255,255,0.2);
}

.hero-arrow {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 24px;
  margin-top: 10px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============ ABOUT PAGE ============ */
.about-section {
  background-color: #222;
  padding: 60px 40px;
  display: flex;
  gap: 60px;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.about-text h4 {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 24px;
  font-weight: 400;
  font-style: italic;
}

.about-text p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-photo {
  flex: 0 0 280px;
}

.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.quote-section {
  background-color: #1a1a1a;
  padding: 60px 40px;
  text-align: center;
}

.quote-section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  color: #ccc;
  line-height: 1.8;
}

/* ============ HOME PAGE ============ */
.home-hero {
  background-color: #1a1a1a;
  padding: 40px 20px;
  text-align: center;
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.logo-row-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.logo-row-item img {
  height: 100px;
  width: auto;
}

.logo-row-item .logo-text {
  color: var(--accent-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo-row-item .logo-tagline {
  color: #aaa;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.gallery-section {
  background-color: #111;
  padding: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

/* ============ CONTACT PAGE ============ */
.contact-info-section {
  background-color: #1a1a1a;
  padding: 60px 40px;
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.contact-info-item {
  text-align: center;
}

.contact-icon {
  font-size: 28px;
  color: var(--accent-red);
  margin-bottom: 12px;
}

.contact-info-item p {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-info-item strong {
  color: #fff;
}

.contact-form-section {
  background-color: #222;
  padding: 50px 40px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-form-section h2 {
  color: #fff;
  margin-bottom: 30px;
  font-size: 1.4rem;
  text-align: center;
}

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

.form-group label {
  display: block;
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #555;
  color: #fff;
  padding: 10px 0;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: #fff;
}

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

.btn-send {
  display: inline-block;
  border: 2px solid var(--accent-red);
  color: var(--accent-red);
  padding: 10px 40px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-send:hover {
  background-color: var(--accent-red);
  color: #fff;
}

.map-section {
  width: 100%;
  height: 350px;
  background-color: #333;
  overflow: hidden;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(80%) invert(90%) contrast(90%);
}

/* ============ STORE PAGE ============ */
.store-section {
  background-color: #1a1a1a;
  padding: 50px 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.product-card {
  background-color: #000;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card-image {
  width: 100%;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  background-color: #000;
}

.product-card-image.vip-bg {
  background: linear-gradient(135deg, #1a0000 0%, #330000 50%, #1a0000 100%);
}

.product-card-image.maintenance-bg {
  background: #000;
}

.product-card-image.showroom-bg {
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
}

.product-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.product-price {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent-red);
  line-height: 1;
}

.product-price-unit {
  font-size: 1rem;
  color: #aaa;
}

.product-features {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  text-align: left;
}

.product-features li {
  color: #ccc;
  font-size: 0.85rem;
  padding: 3px 0;
}

.product-features li::before {
  content: '• ';
  color: var(--accent-red);
}

.product-card-body {
  padding: 16px;
  background-color: #111;
}

.product-card-body h3 {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-card-body .price-tag {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

/* ============ FOOTER ============ */
footer {
  background-color: #111;
  padding: 60px 40px 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-logo img {
  height: 160px;
  width: auto;
}

.footer-brand-name {
  color: var(--accent-red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.footer-tagline {
  color: #aaa;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.footer-contact {
  text-align: right;
}

.footer-contact hr {
  border: none;
  border-top: 1px solid #444;
  margin-bottom: 16px;
  width: 200px;
  margin-left: auto;
}

.footer-contact p {
  color: #aaa;
  font-size: 0.85rem;
  line-height: 1.8;
}

/* ============ PAGE WRAPPER ============ */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* ============ HAMBURGER MENU ============ */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============ RESPONSIVE — MOBILE (max 600px) ============ */
@media (max-width: 600px) {
  .top-bar {
    font-size: 11px;
    padding: 5px 12px;
    text-align: center;
  }

  nav {
    padding: 8px 14px;
    flex-wrap: wrap;
    position: relative;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    padding: 10px 0;
    gap: 0;
    border-top: 1px solid #eee;
    margin-top: 8px;
  }

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

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

  .nav-links li a {
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-size: 13px;
    border-radius: 0;
    text-align: left;
  }

  .hero {
    height: 260px;
  }

  .hero h1 {
    font-size: 1.6rem;
    padding: 0 16px;
  }

  .about-section {
    flex-direction: column;
    padding: 30px 16px;
    gap: 30px;
  }

  .about-photo {
    flex: none;
    width: 100%;
  }

  .about-photo img {
    max-height: 280px;
    object-fit: cover;
    object-position: top;
  }

  .quote-section {
    padding: 40px 16px;
  }

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

  .gallery-grid img {
    height: 220px;
  }

  .logo-row {
    gap: 12px;
  }

  .logo-row-item img {
    height: 70px;
  }

  .contact-info-section {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    padding: 40px 16px;
  }

  .contact-form-section {
    padding: 30px 16px;
  }

  .store-section {
    padding: 30px 14px;
  }

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

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 16px 24px;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-contact hr {
    margin: 0 auto 16px;
  }

  .footer-logo img {
    height: 110px;
  }
}

/* ============ RESPONSIVE — TABLET (601px - 1024px) ============ */
@media (min-width: 601px) and (max-width: 1024px) {
  nav {
    padding: 8px 18px;
  }

  .nav-links li a {
    padding: 7px 12px;
    font-size: 12px;
  }

  .hero {
    height: 320px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .about-section {
    flex-direction: column;
    padding: 50px 30px;
    gap: 40px;
  }

  .about-photo {
    flex: none;
    width: 60%;
    margin: 0 auto;
  }

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

  .gallery-grid img {
    height: 240px;
  }

  .contact-info-section {
    gap: 40px;
    padding: 50px 24px;
  }

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

  footer {
    padding: 50px 30px 24px;
  }
}

/* ============ RESPONSIVE — DESKTOP (1025px+) ============ */
@media (min-width: 1025px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid img {
    height: 280px;
  }

  .store-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}
