/*
 * Urban Style - BYD-Inspired Car Rental Theme
 * Clean, modern automotive design
 */

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

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: #010101;
  line-height: 1.6;
  background: #ffffff;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.4s ease;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ==================== HEADER ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  max-width: 1920px;
  margin: 0 auto;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.site-header.scrolled .logo a {
  color: #010101;
}

.site-header.scrolled .logo img {
  filter: brightness(0);
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 0;
  position: relative;
}

.site-header.scrolled .nav-link {
  color: #010101;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #010101;
  transition: width 0.3s ease;
}

.site-header.scrolled .nav-link:hover::after,
.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #010101;
}

.site-header.scrolled .nav-link:hover {
  color: #666;
}

/* Dropdown Menu */
.nav-item {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  min-width: 280px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 30px;
  margin-top: 20px;
  border: none;
  border-radius: 0;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
}

.dropdown-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dropdown-category h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #999;
  margin-bottom: 15px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
  color: #010101;
  font-size: 0.9rem;
  font-weight: 500;
}

.dropdown-item img {
  width: 80px;
  height: 50px;
  object-fit: cover;
}

.dropdown-item:hover {
  color: #666;
}

.dropdown-simple {
  min-width: 200px;
  padding: 20px;
}

.dropdown-simple .dropdown-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-simple .dropdown-item:last-child {
  border-bottom: none;
}

.explore-more {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #010101;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.explore-more:hover {
  color: #666;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 10px;
  transition: color 0.3s ease;
}

.site-header.scrolled .search-btn {
  color: #010101;
}

.btn-locate {
  background: #ffffff;
  color: #010101;
  padding: 12px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  transition: all 0.4s ease;
}

.site-header.scrolled .btn-locate {
  background: #010101;
  color: #ffffff;
}

.btn-locate:hover {
  background: #010101;
  color: #ffffff;
}

.site-header.scrolled .btn-locate:hover {
  background: #333;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
}

.site-header.scrolled .mobile-menu-toggle span {
  background: #010101;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 2000;
  transition: right 0.4s ease;
  padding: 30px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.mobile-menu-header .logo {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #010101;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
}

.mobile-nav li {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav a {
  display: block;
  padding: 20px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #010101;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
}

.hero-carousel,
.hero-carousel .owl-stage-outer,
.hero-carousel .owl-stage,
.hero-carousel .owl-item {
  height: 100%;
}

.hero-slide {
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 80px;
  max-width: 700px;
}

.hero-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #ffffff;
  margin-bottom: 20px;
  opacity: 0.8;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-controls {
  position: absolute;
  bottom: 50px;
  right: 80px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-prev,
.hero-next {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-prev:hover,
.hero-next:hover {
  background: #ffffff;
  color: #010101;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
  display: inline-block;
  background: #010101;
  color: #ffffff;
  padding: 16px 40px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
}

.btn-primary:hover {
  background: #333;
  color: #ffffff;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #010101;
  padding: 14px 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid #010101;
  cursor: pointer;
  transition: all 0.4s ease;
}

.btn-outline:hover {
  background: #010101;
  color: #ffffff;
}

/* ==================== BOOKING BAR ==================== */
.booking-bar {
  background: #f7f7f7;
  padding: 40px 0;
  margin-top: -80px;
  position: relative;
  z-index: 100;
}

.booking-form {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  background: #ffffff;
  padding: 30px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.booking-form .form-group {
  flex: 1;
}

.booking-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 10px;
}

.booking-form input {
  width: 100%;
  height: 48px;
  border: none;
  border-bottom: 2px solid #e0e0e0;
  background: transparent;
  font-size: 1rem;
  color: #010101;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.3s ease;
}

.booking-form input:focus {
  outline: none;
  border-color: #010101;
}

.booking-form input::placeholder {
  color: #999;
}

.booking-form .btn-primary {
  flex-shrink: 0;
  height: 48px;
  padding: 0 40px;
}

/* ==================== SECTIONS ==================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #010101;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  font-weight: 400;
}

/* ==================== MODELS GALLERY SECTION ==================== */
.section-models {
  padding: 100px 0;
  background: #f7f7f7;
}

.models-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.gallery-item {
  background: #ffffff;
  overflow: hidden;
  transition: all 0.4s ease;
}

.gallery-item:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  transform: translateY(-8px);
}

.gallery-image {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.btn-gallery {
  display: inline-block;
  background: #ffffff;
  color: #010101;
  padding: 14px 35px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.gallery-item:hover .btn-gallery {
  transform: translateY(0);
}

.btn-gallery:hover {
  background: #010101;
  color: #ffffff;
}

.gallery-info {
  padding: 25px 30px 30px;
}

.gallery-type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
  background: #010101;
  padding: 6px 12px;
  margin-bottom: 15px;
}

.gallery-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #010101;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.gallery-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 15px;
}

.gallery-powertrain {
  display: block;
  font-size: 0.8rem;
  color: #999;
}

.gallery-powertrain strong {
  color: #010101;
}

/* ==================== CHARGING LOCATIONS SECTION ==================== */
.section-charging {
  padding: 100px 0;
  background: #ffffff;
}

.charging-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}

.charging-map {
  border: 1px solid #f0f0f0;
  overflow: hidden;
}

.charging-map iframe {
  display: block;
}

.charging-info {
  padding: 20px 0;
}

.charging-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.charging-stat {
  text-align: center;
  flex: 1;
  padding: 25px 15px;
  background: #f7f7f7;
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: #010101;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
}

.charging-features {
  margin-bottom: 40px;
}

.charging-feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}

.charging-feature:last-child {
  border-bottom: none;
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #010101;
  color: #ffffff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #010101;
  margin-bottom: 5px;
}

.feature-content p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ==================== FEATURED BANNER ==================== */
.featured-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 150px 0;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.banner-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
}

.banner-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #ffffff;
  margin-bottom: 20px;
  opacity: 0.8;
}

.banner-title {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.banner-text {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.8;
}

/* ==================== SERVICES SECTION ==================== */
.section-services {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  text-align: center;
  padding: 50px 40px;
  border: 1px solid #f0f0f0;
  transition: all 0.4s ease;
}

.service-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.service-icon {
  font-size: 3.5rem;
  color: #010101;
  margin-bottom: 30px;
  display: block;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #010101;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 25px;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #010101;
  position: relative;
  padding-bottom: 5px;
}

.service-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #010101;
}

.service-link:hover {
  color: #666;
}

/* ==================== PROCESS SECTION ==================== */
.section-process {
  padding: 100px 0;
}

.bg-light {
  background: #f7f7f7;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.process-step {
  text-align: center;
  padding: 40px 30px;
  background: #ffffff;
  position: relative;
}

.step-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: #f0f0f0;
  margin-bottom: 20px;
  line-height: 1;
}

.process-step h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #010101;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.process-step p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
}

/* ==================== NEWSLETTER SECTION ==================== */
.section-newsletter {
  padding: 80px 0;
  background: #010101;
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.newsletter-content p {
  font-size: 1rem;
  color: #999;
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  height: 48px;
  padding: 0 20px;
  border: none;
  background: #ffffff;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
}

.newsletter-form input:focus {
  outline: none;
}

.newsletter-form .btn-primary {
  background: #ffffff;
  color: #010101;
}

.newsletter-form .btn-primary:hover {
  background: #f0f0f0;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: #1a1a1a;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 25px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: #999;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid #333;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  border: 1px solid #333;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.copyright {
  font-size: 0.85rem;
  color: #666;
}

/* ==================== DATEPICKER ==================== */
.datepicker {
  font-family: 'Montserrat', sans-serif;
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover {
  background: #010101 !important;
  color: #ffffff;
}

.datepicker table tr td.today {
  background: #f7f7f7;
}

/* ==================== OWL CAROUSEL ANIMATIONS ==================== */
.owl-carousel .owl-item {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.owl-carousel .owl-item.active {
  opacity: 1;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
  .models-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .main-nav,
  .btn-locate {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

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

  .hero-content {
    padding: 0 40px;
  }

  .booking-form {
    flex-direction: column;
  }

  .booking-form .btn-primary {
    width: 100%;
  }

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

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

  .charging-content {
    grid-template-columns: 1fr;
  }

  .charging-map iframe {
    height: 350px;
  }

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

@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }

  .header-container {
    padding: 15px 20px;
  }

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

  .hero-content {
    padding: 0 20px;
  }

  .hero-controls {
    right: 20px;
    bottom: 30px;
  }

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

  .models-gallery {
    grid-template-columns: 1fr;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  .banner-title {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .charging-stats {
    flex-direction: column;
    gap: 15px;
  }

  .charging-map iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .logo a {
    font-size: 1.4rem;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn-primary {
    padding: 14px 30px;
    font-size: 0.8rem;
  }

  .section-models,
  .section-services,
  .section-process {
    padding: 60px 0;
  }

  .featured-banner {
    padding: 80px 0;
  }
}
