/* Compact Mobile Styles for KS Detailing */

/* Service Cards - Compact Layout */
.service-card {
  padding: 1rem;
  position: relative;
  background: var(--pure-white);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.service-icon {
  text-align: center;
  margin-bottom: 0.75rem;
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary-red);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
  text-align: center;
}

.service-price {
  text-align: center;
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  background: rgba(220, 38, 38, 0.05);
  border-radius: 6px;
  border: 1px solid rgba(220, 38, 38, 0.1);
}

.price-from {
  font-size: 0.8rem;
  color: var(--text-gray);
  display: block;
  margin-bottom: 0.25rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-red);
}

.service-description {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
  text-align: center;
}

.service-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--light-gray);
  border-radius: 6px;
}

.benefit-item {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dark-text);
  white-space: nowrap;
}

.benefit-separator {
  font-size: 0.7rem;
  color: var(--text-gray);
  font-weight: 300;
}

.service-cta {
  margin-top: 0.5rem;
  text-align: center;
}

.link-service {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-red);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary-red);
  border-radius: 6px;
  transition: all 0.3s ease;
  background: transparent;
}

.link-service:hover {
  background: var(--primary-red);
  color: var(--pure-white);
  transform: translateY(-1px);
}

.link-service i {
  font-size: 0.8rem;
}

.popular-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--primary-red);
  color: var(--pure-white);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Service Area Map Mobile Styles */
.service-area-map {
  margin-top: 1.5rem;
}

.map-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  background: var(--pure-white);
  border: 1px solid rgba(220, 38, 38, 0.1);
  transition: all 0.3s ease;
}

.map-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.2);
}

.map-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.map-container:hover img {
  transform: scale(1.02);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-container:hover .map-overlay {
  opacity: 1;
}

.coverage-indicator {
  background: rgba(255, 255, 255, 0.95);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary-red);
  font-size: 0.9rem;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.map-container:hover .coverage-indicator {
  transform: translateY(0);
}

.coverage-indicator i {
  font-size: 1rem;
  animation: pulse 2s infinite;
}

/* Coverage Note */
.coverage-note {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(220, 38, 38, 0.05);
  border-radius: 8px;
  border-left: 4px solid var(--primary-red);
}

.coverage-note p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--dark-text);
}

/* Two-Column City Layout */
.region-cities {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
}

.cities-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.city-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--dark-text);
}

.city-item i {
  color: var(--primary-red);
  font-size: 0.8rem;
}

/* Reduce vertical spacing in About section */
.about-content {
  gap: 2rem;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-text h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

/* Compact trust stats */
.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.trust-stat {
  padding: 0.75rem;
  text-align: center;
}

.stat-number {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
}

/* Compact region cards */
.region-card {
  padding: 1.25rem;
}

.region-title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.region-title i {
  font-size: 1rem;
  margin-right: 0.5rem;
}

/* Why Choose - Compact Features Grid */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.feature {
  flex: 1 1 45%;
  min-width: 220px;
  background: var(--pure-white);
  border-radius: 10px;
  padding: 1rem 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  margin-bottom: 0.5rem;
}

.feature:nth-child(even) {
  background: #f8fafc;
}

.feature-icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.feature-icon i {
  font-size: 1.4rem;
  color: var(--primary-red);
}

.feature-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: var(--dark-text);
}

.feature-content p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-gray);
  line-height: 1.3;
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
  .site-main {
    margin-top: 80px; /* Slightly less margin on mobile */
  }
  
  .compact-contact-hero {
    min-height: 200px;
  }
  .compact-contact-hero .contact-hero-overlay {
    padding: 2.5rem 0 1.5rem 0;
  }
  .page-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }
  .contact-buttons-main {
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
  }
  .contact-buttons-main .btn {
    min-width: 100px;
    max-width: none;
    min-height: 44px;
    height: 44px;
    font-size: 0.9rem;
    padding: 0 0.75rem;
    gap: 0.4rem;
    flex: 1 1 calc(50% - 0.375rem);
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }
  .contact-buttons-main .btn i {
    font-size: 1rem;
    margin-right: 0.3rem;
  }
  .about-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .trust-stats {
    gap: 0.5rem;
  }
  
  .trust-stat {
    padding: 0.5rem;
  }
  
  .service-card {
    padding: 0.75rem;
    margin-bottom: 0.75rem;
  }
  
  .service-icon i {
    font-size: 1.75rem;
  }
  
  .service-title {
    font-size: 1.1rem;
  }
  
  .service-price {
    font-size: 1.25rem;
    padding: 0.4rem;
  }
  
  .service-description {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }
  
  .service-benefits {
    padding: 0.4rem 0.5rem;
    margin-bottom: 0.4rem;
    gap: 0.3rem;
  }
  
  .benefit-item {
    font-size: 0.75rem;
  }
  
  .link-service {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
  }
  
  .region-card {
    padding: 1rem;
  }
  
  .region-cities {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .cities-column {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .city-item {
    min-width: 120px;
  }
  
  .region-label {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
  }
  
  .north-dfw {
    top: 12%;
    left: 65%;
  }
  
  .central-dfw {
    top: 42%;
    left: 48%;
  }
  
  .west-dfw {
    top: 32%;
    left: 22%;
  }
  
  .service-cta {
    margin-top: 0.4rem;
  }
  
  .features {
    gap: 0.5rem;
    margin-top: 1.2rem;
  }
  .feature {
    flex: 1 1 48%;
    min-width: 150px;
    padding: 0.7rem 0.5rem;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
  }
  .feature-icon i {
    font-size: 1.1rem;
  }
  .feature-content h3 {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
  }
  .feature-content p {
    font-size: 0.8rem;
  }
}

@media (max-width: 400px) {
  .feature {
    flex: 1 1 100%;
    min-width: 0;
  }
}

/* Testimonials Carousel - Horizontal Swipe */
.testimonials-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.testimonial {
  flex: 0 0 320px;
  background: var(--pure-white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 1rem 1.2rem;
  margin-bottom: 0.5rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 260px;
  max-width: 90vw;
}

.testimonial-rating {
  margin-bottom: 0.5rem;
}

.testimonial-rating i {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-right: 0.1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.testimonial-author {
  font-size: 0.85rem;
  color: var(--primary-red);
  font-weight: 600;
  margin-top: auto;
}

@media (max-width: 767px) {
  .testimonials-carousel {
    gap: 0.5rem;
    padding-bottom: 0.2rem;
  }
  .testimonial {
    flex: 0 0 85vw;
    min-width: 220px;
    max-width: 95vw;
    padding: 0.7rem 0.7rem;
  }
  .testimonial-rating i {
    font-size: 0.95rem;
  }
  .testimonial-text {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
  }
  .testimonial-author {
    font-size: 0.8rem;
  }
}

/* Contact Page - Hero Overlay Improvements */
.site-main {
  margin-top: 90px; /* Account for fixed header height */
}

.compact-contact-hero {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compact-contact-hero .contact-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 0 2.5rem 0;
}

.compact-contact-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.page-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
  position: relative;
  z-index: 2;
}

.contact-hero-cta {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.contact-buttons-main {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 1rem 1.5rem;
  z-index: 2;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  box-sizing: border-box;
}

.contact-buttons-main .btn {
  min-width: 120px;
  max-width: 140px;
  min-height: 44px;
  height: 44px;
  padding: 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-red);
  background: #fff;
  color: var(--primary-red);
  transition: background 0.2s, color 0.2s;
  box-shadow: none;
  gap: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
  text-decoration: none;
  box-sizing: border-box;
}

.contact-buttons-main .btn i {
  font-size: 1.1rem;
  margin-right: 0.4rem;
  color: var(--primary-red);
  flex-shrink: 0;
}

.contact-buttons-main .btn-primary {
  background: var(--primary-red);
  color: #fff;
  border: 2px solid var(--primary-red);
}

.contact-buttons-main .btn-primary i {
  color: #fff;
}

.contact-buttons-main .btn-secondary,
.contact-buttons-main .btn-instagram {
  background: #fff;
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
}

.contact-buttons-main .btn-secondary:hover,
.contact-buttons-main .btn-instagram:hover {
  background: var(--primary-red);
  color: #fff;
}

.contact-buttons-main .btn-secondary:hover i,
.contact-buttons-main .btn-instagram:hover i {
  color: #fff;
}

@media (max-width: 600px) {
  .contact-buttons-main {
    gap: 0.6rem;
    padding: 0.75rem 0.75rem;
  }
  .contact-buttons-main .btn {
    flex: 1 1 calc(50% - 0.3rem);
    font-size: 0.85rem;
    padding: 0 0.6rem;
  }
}

@media (max-width: 480px) {
  .site-main {
    margin-top: 70px; /* Even less margin on very small screens */
  }
  
  .contact-buttons-main {
    gap: 0.5rem;
    padding: 0.75rem 0.75rem;
    flex-direction: column;
  }
  .contact-buttons-main .btn {
    min-width: 90px;
    max-width: none;
    font-size: 0.85rem;
    padding: 0 0.6rem;
    flex: 1 1 auto;
    width: 100%;
  }
  .contact-buttons-main .btn i {
    font-size: 0.95rem;
    margin-right: 0.25rem;
  }
}

/* Coverage Area Mobile Improvements - Compact List */
.service-area-content {
  padding: 1rem;
}

.service-area-intro {
  margin-bottom: 1rem;
}

.service-area-intro h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--dark-text);
}

.service-area-intro p {
  color: var(--medium-text);
  line-height: 1.4;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.cities-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0;
}

.cities-column {
  background: var(--pure-white);
  border-radius: 8px;
  padding: 0.75rem;
  border: 1px solid var(--light-gray);
}

.cities-column h4 {
  color: var(--primary-red);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--light-gray);
}

.cities-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cities-column li {
  padding: 0.375rem 0.5rem;
  color: var(--dark-text);
  font-size: 0.9rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.cities-column li:hover {
  background-color: var(--light-gray);
}

.coverage-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--light-gray);
  border-radius: 6px;
  border: 1px solid rgba(220, 38, 38, 0.1);
}

.coverage-note i {
  font-size: 1.1rem;
  color: var(--primary-red);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.coverage-note p {
  margin: 0;
  color: var(--dark-text);
  font-size: 0.9rem;
  line-height: 1.4;
}

.coverage-note strong {
  color: var(--primary-red);
  font-weight: 600;
}

/* Responsive Coverage Area - Compact */
@media (max-width: 991px) {
  .cities-grid {
    gap: 0.5rem;
    margin: 0.75rem 0;
  }
  
  .cities-column {
    padding: 0.5rem;
  }
  
  .cities-column h4 {
    font-size: 0.95rem;
    margin-bottom: 0.375rem;
  }
  
  .cities-column li {
    padding: 0.25rem 0.375rem;
    font-size: 0.85rem;
  }
  
  .coverage-note {
    margin-top: 0.75rem;
    padding: 0.5rem;
  }
}

@media (max-width: 768px) {
  .service-area-content {
    padding: 0.75rem;
  }
  
  .service-area-intro {
    margin-bottom: 0.75rem;
  }
  
  .service-area-intro h3 {
    font-size: 1.1rem;
    margin-bottom: 0.375rem;
  }
  
  .service-area-intro p {
    font-size: 0.9rem;
  }
  
  .cities-grid {
    gap: 0.5rem;
    margin: 0.75rem 0;
  }
  
  .cities-column {
    padding: 0.5rem;
  }
  
  .cities-column h4 {
    font-size: 0.9rem;
    margin-bottom: 0.375rem;
  }
  
  .cities-column li {
    padding: 0.25rem 0.375rem;
    font-size: 0.8rem;
  }
  
  .coverage-note {
    margin-top: 0.75rem;
    padding: 0.5rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .coverage-note i {
    margin-top: 0;
  }
}

@media (max-width: 576px) {
  .service-area-content {
    padding: 0.5rem;
  }
  
  .service-area-intro {
    margin-bottom: 0.5rem;
  }
  
  .service-area-intro h3 {
    font-size: 1rem;
  }
  
  .cities-grid {
    gap: 0.375rem;
    margin: 0.5rem 0;
  }
  
  .cities-column {
    padding: 0.375rem;
  }
  
  .cities-column h4 {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
  }
  
  .cities-column li {
    padding: 0.2rem 0.25rem;
    font-size: 0.75rem;
  }
  
  .coverage-note {
    margin-top: 0.5rem;
    padding: 0.375rem;
    gap: 0.375rem;
  }
  
  .coverage-note i {
    font-size: 1rem;
  }
  
  .coverage-note p {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .service-area-map {
    margin-top: 1rem;
  }
  
  .coverage-indicator {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .coverage-indicator i {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .service-area-map {
    margin-top: 0.75rem;
  }
  
  .coverage-indicator {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .coverage-indicator i {
    font-size: 0.85rem;
  }
} 