:root{
  --bg: #0b0e11;
  --text: #e9eef4;
  --muted: #a8b2c1;
  --surface: #141821;
  --surface-2: #1b2130;
  --brand: #2ad16f;        /* green accent */
  --brand-accent: #4ea3ff; /* blue accent */
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0,0,0,0.3);
  --maxw: 1100px;
  --font: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #0b0e11, #0f1420 60%, #0b0e11);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }

/* Loading Popup */
.loading-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(11, 14, 17, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.loading-popup.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-content {
  position: relative;
  text-align: center;
  animation: fadeInScale 1s ease-in-out infinite alternate;
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 90vw;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.popup-close:hover {
  background: var(--surface-2);
}

.loading-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

@keyframes fadeInScale {
  0% {
    opacity: 0.7;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20,24,33,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #222736;
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 0;
}

.brand { display: inline-flex; gap: 0.6rem; align-items: center; text-decoration: none; color: var(--text); }
.brand-logo { width: 100px; height: 100px; object-fit: contain; }
.brand-name { font-weight: 800; letter-spacing: 0.4px; font-size: xx-large;}

.nav-list {
  display: flex; gap: 1rem; list-style: none; padding: 0; margin: 0;
}
.nav-list a {
  color: var(--text); text-decoration: none; padding: 0.4rem 0.6rem;
  border-radius: 8px;
}
.nav-list a:hover { background: var(--surface-2); }

.nav-toggle {
  display: none;
  appearance: none; border: 1px solid #2a3246; background: var(--surface-2); color: var(--text);
  padding: 0.4rem 0.6rem; border-radius: 8px;
}

/* Brand Logos Section */
.brands-section {
  padding: 1.5rem 0 0.75rem;
  background: var(--bg);
  border-bottom: 1px solid #222736;
}

.brands-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand-logo-item {
  flex: 0 0 auto;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
  background: var(--surface);
  border: 2px solid var(--surface-2);
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  min-width: 70px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand-logo-item:hover {
  opacity: 1;
  transform: scale(1.05);
  border-color: var(--brand);
}

.brand-logo-item img {
  height: 28px;
  width: auto;
  max-width: 70px;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.5);
  transition: filter 0.3s ease;
}

/* Brighter filter for Audi logo */
.brand-logo-item img[alt="Audi"] {
  filter: grayscale(100%) brightness(2.2);
}

.brand-logo-item img:not([src]),
.brand-logo-item img[src=""] {
  display: none;
}

.brand-logo-item:not(:has(img[src])):before,
.brand-logo-item:has(img[src=""]):before {
  content: attr(data-brand);
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-logo-item:hover img {
  filter: grayscale(0%) brightness(1);
}

@media (max-width: 860px) {
  .brands-wrapper {
    gap: 0.75rem;
  }
  
  .brand-logo-item {
    min-width: 60px;
    height: 42px;
    padding: 0.3rem 0.6rem;
  }
  
  .brand-logo-item img {
    height: 24px;
    max-width: 60px;
  }
}

/* Hero */
.hero { padding: 0 0 3rem 0; }
.hero-inner { 
  display: grid; gap: 2rem; grid-template-columns: 1.1fr 0.9fr; align-items: center;
}
.hero-title {
  grid-column: 1 / -1;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin: 2rem 0 1rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  line-height: 1.2;
}
.hero-text h1 { margin: 0 0 0.5rem; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.hero-text p { color: var(--muted); margin: 0 0 1rem; }
.hero-image {background-size: cover; background-position: center; height:100%; width: 100%; object-fit: cover;}
.button {
  background: linear-gradient(135deg, var(--brand), var(--brand-accent));
  color: #061018; border: none; padding: 0.75rem 1rem; border-radius: 10px;
  font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block;
  box-shadow: var(--shadow);
}
.button:hover { filter: brightness(1.05); }

/* Featured Tagline Section */
.tagline-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(42, 209, 111, 0.1), rgba(78, 163, 255, 0.1));
  border-top: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
}

.tagline-text {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  line-height: 1.7;
  text-align: justify;
  color: var(--text);
  font-weight: 500;
  margin: 0 0 1.5rem;
}

.tagline-button-wrapper {
  text-align: left;
}

.tagline-button {
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

@media (min-width: 1200px) {
  .tagline-text {
    font-size: 2rem;
  }
}

/* Sections */
.section { padding: 3rem 0; }
.section-alt { background: radial-gradient(80% 80% at 50% 0%, #182034, #121725 70%); }
.section h2 { margin-top: 0; font-size: clamp(1.4rem, 2.8vw, 2rem); }
.section p { text-align: justify; }

/* Services List */
.services-heading {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--brand);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
}

.services-list li {
  background: var(--surface);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border-left: 3px solid var(--brand);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.services-list li:hover {
  transform: translateX(5px);
  border-left-color: var(--brand-accent);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.services-list li::before {
  content: "✓";
  color: var(--brand);
  font-weight: bold;
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

/* Cards grid */
.grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.card {
  overflow: hidden; border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow);
}
.card img { aspect-ratio: 4 / 3; object-fit: cover; }
.card figcaption { padding: 0.75rem 1rem; color: var(--muted); }

/* Carousel/Sliding Gallery */
.carousel-container {
  position: relative;
  max-width: 100%;
  margin: 2rem 0;
}

.carousel {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  margin: 0;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.carousel-slide img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  display: block;
}

.carousel-slide figcaption {
  padding: 1rem 1.5rem;
  color: var(--text);
  text-align: center;
  font-size: 1.1rem;
  background: var(--surface);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 24, 33, 0.8);
  border: 2px solid var(--brand);
  color: var(--brand);
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--brand);
  color: var(--bg);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
  left: 10px;
}

.carousel-btn-next {
  right: 10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--muted);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--brand);
  transform: scale(1.3);
}

.carousel-dot:hover {
  background: var(--brand-accent);
}

@media (max-width: 860px) {
  .carousel-slide img {
    height: 400px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

/* Contact */
.contact-wrapper {
  display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; align-items: start;
}
.contact-list {
  list-style: none; padding: 0; margin: 0; background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1rem 1.25rem;
}
.contact-list li + li { margin-top: 0.5rem; }

.contact-list a {
  color: #7dd4a8;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-list a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.contact-form {
  display: grid; gap: 0.75rem; background: var(--surface); padding: 1rem 1.25rem;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.6rem 0.7rem; border: 1px solid #2a3246; background: #0e1420;
  color: var(--text); border-radius: 8px;
}
.form-note { color: var(--muted); font-size: 0.9rem; }

/* Social Media Icons - Small */
.social-media-item {
  margin-top: 0.75rem !important;
  padding-top: 0.75rem;
  border-top: 1px solid #2a3246;
}

.social-links-small {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  margin-left: 0.5rem;
}

.social-links-small a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7dd4a8;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-links-small a:hover {
  color: var(--brand);
  transform: translateY(-2px);
  text-decoration: none;
}

.social-icon-small {
  width: 18px;
  height: 18px;
}

.footer-social {
  justify-content: center;
  margin: 1rem 0;
}

/* Google Maps Embed */
.map-container {
  margin-top: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid var(--surface);
}

.map-container iframe {
  display: block;
  width: 100%;
}

/* Footer */
.site-footer {
  padding: 1.25rem 0; border-top: 1px solid #222736; background: #0b0f18;
  color: var(--muted); text-align: center;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.site-footer a {
  text-decoration: none;
  transition: opacity 0.2s;
}

.site-footer a:hover {
  opacity: 0.8;
}

/* Privacy Policy page styles */
.container h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--text);
}

.container h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--brand);
}

.container h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.container ul {
  margin: 0.5rem 0 1rem 1.5rem;
  line-height: 1.8;
}

.container ul li {
  margin-bottom: 0.5rem;
}

.contact-info-list {
  list-style: none;
  padding-left: 0;
}

.contact-info-list li {
  margin-bottom: 0.75rem;
}

.contact-info-list a {
  color: var(--brand-accent);
  text-decoration: none;
}

.contact-info-list a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .nav-list {
    display: none; position: absolute; right: 1rem; top: 60px;
    background: var(--surface); padding: 0.5rem; border-radius: 10px; box-shadow: var(--shadow);
    flex-direction: column; gap: 0.25rem;
  }
  .nav-list.show { display: flex; }

  .hero-image {
    max-width: 100%;
  }
}

/* Medium screens - single column centered layout */
@media (min-width: 861px) and (max-width: 1200px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
  }
}

/* Large screens - enhanced layout */
@media (min-width: 1200px) {
  .hero {
    padding: 0 0 4rem 0;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-title {
    font-size: 3.5rem;
  }
  .hero-image {
    width: 100%;
    min-height: 500px;
    max-height: 600px;
    object-fit: cover;
  }
}

@media (min-width: 1600px) {
  .hero {
    padding: 0 0 5rem 0;
  }
  .hero-title {
    font-size: 4rem;
  }
  .hero-image {
    min-height: 600px;
    max-height: 700px;
  }
}
