/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Image Optimization Styles */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lazy loading placeholder */
img[loading="lazy"] {
  opacity: 1;
}

img[loading="lazy"].loaded,
img:not([loading="lazy"]) {
  opacity: 1;
}

/* WebP support detection and fallback */
picture {
  display: block;
}

/* Optimize image rendering */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #1a1a1a;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(15px);
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.cta-button {
  text-decoration: none;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.cta-button:hover {
  background-color: #39ff14;
  border-color: #39ff14;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(57, 255, 20, 0.3);
  text-decoration: none;
}

/* Hero Section */
.hero {
  margin-top: 80px;
  min-height: 30vh;
  display: flex;
  align-items: center;
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center right, rgba(57, 255, 20, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-title {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-description {
  font-size: 18px;
  line-height: 1.4;
  color: #b8b8b8;
  max-width: 480px;
  font-weight: 400;
}

.hero-image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.car-image {
  width: 100%;
  max-width: 650px;
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.4));
}

.car-price {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin: 0 auto;
}

.car-type {
  font-size: 1rem;
  font-weight: 600;
  color: #888888;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Advantages Section */
.advantages {
  background-color: #1a1a1a;
  position: relative;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-align: left;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.advantage-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 120px;
}

.advantage-number {
  font-size: 4rem;
  font-weight: 800;
  color: #39ff14;
  flex-shrink: 0;
  line-height: 1;
  align-self: center;
}

.advantage-content {
  padding-top: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.advantage-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.advantage-text {
  font-size: 14px;
  color: #cccccc;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: left;
}

/* Services Section */
.services {
  background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
}

.services-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-align: left;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 2px 0 8px;
  line-height: 1.2;
}

/* Tab Styles */
.services-tabs {
  position: relative;
  margin-bottom: 0px;
}

.tab-navigation {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tab-navigation::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: transparent;
  border: none;
  color: #888888;
  padding: 16px 24px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  position: relative;
  bottom: -2px;
}

.tab-btn:hover {
  color: #cccccc;
}

.tab-btn.active {
  color: #39ff14;
  border-bottom-color: #39ff14;
}

.tab-content-wrapper {
  position: relative;
  width: 100%;
  min-height: 500px; /* Ensure enough space during animation */
  overflow: hidden; /* Prevent scrolling during animation */
}

.tab-content {
  display: none;
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.tab-content.active {
  display: block;
  position: relative;
  opacity: 1;
  transform: translateX(0);
}

.tab-content.slide-out-left {
  transform: translateX(-100%);
  opacity: 0;
}

.tab-content.slide-out-right {
  transform: translateX(100%);
  opacity: 0;
}

.tab-content.slide-in-right {
  transform: translateX(100%);
  opacity: 0;
  display: block;
  position: absolute;
}

.tab-content.slide-in-left {
  transform: translateX(-100%);
  opacity: 0;
  display: block;
  position: absolute;
}

.tab-content.slide-in-right.active {
  transform: translateX(0);
  opacity: 1;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.tab-content.slide-in-left.active {
  transform: translateX(0);
  opacity: 1;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.package-header {
  margin-bottom: 30px;
  padding: 0 10px;
}

.package-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #39ff14;
  margin: 0;
  line-height: 1.2;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
  margin-top: 15px;
}

.service-card {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  padding: 30px 16px 16px;
  margin: 0;
  letter-spacing: 0.5px;
}

.service-card p {
  color: #cccccc;
  line-height: 1.6;
}

/* Placeholder for additional cards */
.service-card-placeholder {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  grid-column: 1 / -1;
}

.service-card-placeholder h3 {
  color: #39ff14;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.service-card-placeholder p {
  color: #cccccc;
  font-size: 1.2rem;
}

.pricing-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  align-items: center;
  margin-top: 15px;
}

.pricing-details {
  margin-top: 20px;
}

.pricing-section-with-padding {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  align-items: center;
  margin-top: 15px;
  margin-bottom: 15px;
}

.pricing-info {
  padding-right: 0;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  justify-content: center;
}

.pricing-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: none;
  margin: 0;
  height: 100%;
}

.car-price {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin: 0 auto 20px;
}

.pricing-details {
  margin-top: 20px;
}

.pricing-info {
  padding-right: 0;
}

.pricing-title {
  font-size: 1.8rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  justify-content: center;
}

.pricing-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: none;
  margin: 0;
  height: 100%;
}

.car-price {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin: 0 auto 20px;
}

.pricing-details {
  margin-top: 20px;
}

.price {
  margin-bottom: 10px;
}

.amount {
  font-size: 2rem;
  font-weight: 800;
  color: #44d350;
}

.currency {
  font-size: 1.3rem;
  font-weight: 600;
  color: #666666;
  margin-left: 4px;
}

.duration {
  color: #666666;
  font-size: 16px;
  margin: 0;
  font-weight: 500;
}

.main-cta-button {
  background: linear-gradient(135deg, #39ff14 0%, #00cc11 100%);
  border: none;
  color: #000000;
  padding: 12px 32px;
  border-radius: 30px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(57, 255, 20, 0.3);
  margin-bottom: 16px;
  display: inline-block;
  text-decoration: none;
}

.main-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(57, 255, 20, 0.4);
}

.cta-subtitle {
  color: #cccccc;
  font-size: 14px;
}

/* Removed slider controls - now using tabs */

/* Supplementary Services Section */
.supplementary-services {
  background: linear-gradient(180deg, #2d2d2d 0%, #1a1a1a 100%);
}

.supplementary-card {
  position: relative;
}

.supplementary-card .service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.supplementary-card .service-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: #ffffff;
  padding: 40px 5px 5px;
  text-align: left;
}

.supplementary-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.2;
  letter-spacing: 0.5px;
  position: static;
  background: none;
  padding: 0;
  text-align: left;
}

.supplementary-card .service-duration {
  font-size: 0.85rem;
  color: #cccccc;
  font-weight: 500;
}

.supplementary-card .service-price {
  font-size: 0.9rem;
  color: #39ff14;
  font-weight: 700;
}

/* Locations Section */
.locations {
  padding-bottom: 0 0 60px;
  background-color: #1a1a1a;
  position: relative;
  min-height: 300px;
}

.locations-content {
  display: block;
  position: relative;
}

.locations-info {
  max-width: 500px;
  margin-bottom: 10px;
}

.locations-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.locations-list {
  color: #cccccc;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 10px;
  text-align: left;
}

.schedule-section {
  margin-bottom: 10px;
  text-align: left;
  padding: 0 0 60px;
}

.schedule-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.schedule-info {
  color: #cccccc;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.cta-section {
  margin-bottom: 20px;
}

.company-info {
  position: absolute;
  bottom: 0;
  left: 0;
}

.company-info h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.company-info p {
  color: #999999;
  font-size: 13px;
  margin: 2px 0;
  line-height: 1.4;
}

.logo-container {
  position: absolute;
  bottom: 0;
  right: 0;
}

.footer-logo {
  width: 70px;
  height: auto;
  opacity: 0.9;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background-color: #1a1a1a;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h3,
.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: #39ff14;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-label {
  font-weight: 600;
  color: #ffffff;
}

.contact-value {
  color: #cccccc;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 16px;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #39ff14;
  box-shadow: 0 0 0 2px rgba(57, 255, 20, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #888888;
}

.contact-form button {
  background: transparent;
  border: 2px solid #39ff14;
  color: #39ff14;
  padding: 12px 32px;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background-color: #39ff14;
  color: #000000;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header .container {
    padding: 6px 16px;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 12px;
    text-decoration: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: left;
  }

  .hero-image {
    justify-content: center;
    padding-left: 0;
    order: 1;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 10px;
  }

  .hero-description {
    font-size: 15px;
    max-width: 100%;
  }

  .car-type {
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: #888888;
  }

  .advantages-grid {
    gap: 18px;
  }

  .advantage-item {
    flex-direction: column;
    text-align: center;
    justify-content: flex-start;
    align-items: center;
    gap: 2px;
    min-height: auto;
  }

  .advantage-number {
    font-size: 2rem;
    line-height: 1;
    align-self: center;
  }

  .advantage-content {
    padding-top: 5px;
    flex: none;
    display: block;
  }

  .services-title {
    font-size: 1.2rem;
  }

  .advantage-title {
    font-size: 0.87rem;
    margin-bottom: 0px;
    text-align: left;
  }

  .advantage-text {
    font-size: 0.6rem;
  }

  .tab-navigation {
    gap: 8px;
    margin-bottom: 30px;
    padding-right: 20px;
  }

  .tab-btn {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .package-header {
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .package-title {
    font-size: 1.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 15px;
  }

  .service-card h3 {
    font-size: 0.8rem;
    padding: 5px 5px 40px;
    position: absolute;
    text-align: left;
  }

  .pricing-section {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 15px;
  }

  .pricing-info {
    padding-right: 0;
    text-align: left;
  }

  .pricing-title {
    font-size: 1.8rem;
  }

  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .pricing-card {
    border-radius: 6px;
    padding: 25px 15px;
    max-width: none;
  }

  .car-price {
    max-width: 70px;
  }

  .amount {
    font-size: 1.3rem;
  }

  .currency {
    font-size: 0.9rem;
  }

  .duration {
    font-size: 11px;
  }

  .locations {
    min-height: auto;
    padding: 0px 0 15px;
  }

  .locations-content {
    text-align: center;
  }

  .locations-info {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .locations-title {
    font-size: 1.2rem;
    text-align: left;
  }

  .schedule-title {
    font-size: 1.2rem;
  }

  .schedule-section {
    padding: 0;
  }

  .company-info {
    position: static;
    text-align: left;
    margin-bottom: 30px;
  }

  .logo-container {
    position: static;
    display: flex;
    justify-content: center;
  }

  .footer-logo {
    width: 50px;
  }

  .supplementary-card .service-duration {
    font-size: 0.8rem;
    color: #cccccc;
    font-weight: 500;
  }

  .supplementary-card .service-price {
    font-size: 0.8rem;
    color: #39ff14;
    font-weight: 700;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 4px 16px;
  }

  .hero {
    padding: 0px 0 15px;
  }

  .hero-title {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .car-type {
    font-size: 0.8rem;
    margin-bottom: 5px;
    color: #888888;
  }

  .currency {
    margin-left: 0px;
  }

  .price {
    white-space: nowrap;
    margin-bottom: 0px;
    padding-bottom: 0px;
  }

  .tab-navigation {
    gap: 6px;
    margin-bottom: 25px;
    padding: 0 10px 0 0;
  }

  .tab-btn {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .package-header {
    padding: 0 5px;
  }

  .package-title {
    font-size: 1.3rem;
  }

  .pricing-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .pricing-card {
    border-radius: 4px;
    padding: 15px 8px;
    max-width: none;
  }

  .car-price {
    max-width: 70px;
    margin: 0 auto 10px;
  }

  .pricing-details {
    margin-top: 6px;
  }

  .amount {
    font-size: 1rem;
    margin-bottom: 3px;
    color: #20cb00;
  }

  .currency {
    font-size: 0.9rem;
    margin-left: 2px;
  }

  .duration {
    font-size: 10px;
  }
}

@media (max-width: 375px) {
  .tab-navigation {
    gap: 5px;
    padding: 0 8px 0 0;
  }

  .tab-btn {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .car-type {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #888888;
  }

  .pricing-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .pricing-card {
    border-radius: 4px;
    padding: 12px 6px;
    max-width: none;
  }

  .car-price {
    max-width: 60px;
    margin: 0 auto 8px;
  }

  .pricing-details {
    margin-top: 5px;
  }

  .amount {
    font-size: 1rem;
    margin-bottom: 2px;
    color: #20cb00;
  }

  .currency {
    font-size: 0.9rem;
    margin-left: 1px;
  }

  .duration {
    font-size: 10px;
  }
}

@media (max-width: 320px) {
  .tab-navigation {
    gap: 4px;
    padding: 0 6px 0 0;
  }

  .tab-btn {
    padding: 7px 8px;
    font-size: 0.75rem;
  }

  .car-type {
    font-size: 0.6rem;
    margin-bottom: 3px;
    color: #888888;
  }

  .pricing-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
  }

  .pricing-card {
    border-radius: 4px;
    padding: 10px 5px;
    max-width: none;
  }

  .car-price {
    max-width: 50px;
    margin: 0 auto 6px;
  }

  .pricing-details {
    margin-top: 4px;
  }

  .amount {
    font-size: 0.7rem;
    margin-bottom: 2px;
    color: #20cb00;
  }

  .currency {
    font-size: 0.5rem;
    margin-left: 1px;
  }

  .duration {
    font-size: 6px;
  }
}

@media (max-width: 300px) {
  .tab-navigation {
    gap: 3px;
    padding: 0 5px 0 0;
  }

  .tab-btn {
    padding: 6px 7px;
    font-size: 0.7rem;
  }

  .pricing-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }

  .pricing-card {
    border-radius: 4px;
    padding: 8px 4px;
    max-width: none;
  }

  .car-price {
    max-width: 40px;
    margin: 0 auto 5px;
  }

  .pricing-details {
    margin-top: 3px;
  }

  .amount {
    font-size: 0.6rem;
    margin-bottom: 1px;
    color: #20cb00;
  }

  .currency {
    font-size: 0.4rem;
    margin-left: 1px;
  }

  .duration {
    font-size: 5px;
  }
}

/* Fix for picture elements in service cards */
.service-card picture {
  width: 100%;
  height: 100%;
  display: block;
}

.service-card picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fix for picture elements in supplementary cards */
.supplementary-card picture {
  width: 100%;
  height: 100%;
  display: block;
}

.supplementary-card picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}