/* bmw.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  background-color: #f0f0f0;
  color: #ffffff;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #007bff;
  color: #fff;
  padding: 10px;
  z-index: 1002;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

#whatsapp-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  transition: transform 0.3s ease;
}

#whatsapp-icon:hover {
  transform: scale(1.2);
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
  z-index: 1000;
  padding: 10px 0;
}

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

.logo {
  width: 60px;
  height: 60px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links li {
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li:hover {
  color: #007bff;
}

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

.nav-icons li {
  font-size: 1.2rem;
  cursor: pointer;
  color: #fff;
  transition: color 0.3s ease;
}

.nav-icons li:hover {
  color: #007bff;
}

.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #007bff;
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

#user-menu {
  position: relative;
}

.user-icon {
  color: #fff;
}

.user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: rgba(0, 0, 0, 0.9);
  min-width: 120px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  z-index: 1;
}

#user-menu:hover .user-dropdown {
  display: block;
}

.user-dropdown a,
.user-dropdown span {
  color: #fff;
  padding: 12px 16px;
  display: block;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.user-dropdown a:hover {
  background: #007bff;
}

.dropdown {
  position: relative;
}

.dropbtn {
  padding: 10px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(0, 0, 0, 0.9);
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
}

.dropdown-content a {
  padding: 12px 16px;
  display: block;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.dropdown-content a:hover {
  background: #007bff;
  color: #ffffff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
  text-align: left;
}

.hero-sub {
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  margin: 10px 0;
}

.hero-price {
  font-size: 1.2rem;
  margin: 20px 0;
}

.cta-button {
  background: linear-gradient(45deg, #007bff, #00b7ff);
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.cta-button.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}



/* Profile Popup */
.profile-popup-content {
  display: flex;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 16px solid rgba(255, 255, 0);
  border-radius: 16px;
  padding: 30px;
  width: 90%;
  max-width: 700px;
  margin: 10% auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: slide-in 0.5s ease-out;
  color: #fff;
}

@keyframes slide-in {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.popup-left {
  flex: 1;
  padding-right: 20px;
  text-align: left;
}

.close i {
  color: #63E6BE;
  transition: color 0.3s ease;
}

.close:hover i {
  color: #ff4d4d; 
}

.profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 2px solid #007bff;
}

.popup-left h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #fff;
}

.popup-left p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 10px;
}

.popup-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.popup-right h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #fff;
}

.popup-right .social-links {
  display: flex;
  gap: 15px;
}

.popup-right .social-icon {
  font-size: 2rem;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.popup-right .social-icon:hover {
  transform: scale(1.2);
  color: #007bff;
}

/* Responsive Popup */
@media (max-width: 600px) {
  .profile-popup-content {
    flex-direction: column;
    padding: 20px;
  }

  .popup-left {
    padding-right: 0;
    text-align: center;
  }

  .popup-right {
    margin-top: 20px;
  }
}

.section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-title-ix1,
.section-title-find {
  color: #000000;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-title {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.option-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.option-card:hover {
  transform: translateY(-5px);
}

.option-card i {
  color: #007bff;
  margin-bottom: 10px;
}

.option-card h3 {
  color: #000;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.option-btn {
  display: inline-block;
  padding: 8px 15px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  border: none;
}

.option-btn:hover {
  background: #0056b3;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1001;
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  color: #333;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #000;
}

.close:hover {
  color: #007bff;
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.form-group label {
  color: #000;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.form-group p {
  color: #000;
  font-size: 1rem;
  line-height: 1.5;
}

.profile-popup-content {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 30px;
  width: 90%;
  max-width: 700px;
  margin: 10% auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: slide-in 0.5s ease-out;
  color: #fff;
}

@keyframes slide-in {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.popup-left {
  flex: 1;
  padding-right: 20px;
  text-align: left;
}

.profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 2px solid #007bff;
}

.popup-left h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #fff;
}

.popup-left p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 10px;
}

.popup-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.popup-right h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #fff;
}

.popup-right .social-links {
  display: flex;
  gap: 15px;
}

.popup-right .social-icon {
  font-size: 2rem;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.popup-right .social-icon:hover {
  transform: scale(1.2);
  color: #007bff;
}

.parallax-section {
  position: relative;
  height: 80vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 50px;
}

.section-content {
  max-width: 600px;
}

.section-content p {
  margin-bottom: 20px;
}

.configurator-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#car-preview-container {
  flex: 2;
  max-width: 600px;
}

#car-preview {
  width: 100%;
  max-width: 500px;
  max-height: 300px;
  object-fit: contain;
  border-radius: 10px;
  opacity: 1;
  transition: opacity 0.5s ease;
}

#car-preview.fade {
  opacity: 0;
}

.config-sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 300px;
}

.config-group {
  text-align: left;
}

.config-group h3 {
  color: #000;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.config-group p {
  color: #000;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.color-selector {
  background: linear-gradient(45deg, #f5f5f5, #e0e0e0);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.color-buttons {
  display: flex;
  gap: 10px;
}

.color-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 5%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #fff;
}

.color-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

#offers p {
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.link {
  color: #007bff;
  font-weight: 600;
}

.link:hover {
  text-decoration: underline;
}

.footer {
  background: #000;
  color: #fff;
  padding: 40px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.footer-column a {
  display: block;
  color: #ccc;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #007bff;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.social-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  color: #007bff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 20px auto 0;
  border-top: 1px solid #333;
  padding-top: 20px;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: #ccc;
}

.footer-legal a:hover {
  color: #007bff;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }

  .hero-content {
    left: 20px;
    text-align: center;
  }

  .nav-links {
    flex-direction: column;
    gap: 20px;
  }

  .dropdown-content {
    position: static;
    background: rgba(0, 0, 0, 0.8);
  }

  .parallax-section {
    background-attachment: scroll;
    padding: 0 20px;
  }

  .configurator-container {
    flex-direction: column;
    padding: 15px;
  }

  #car-preview-container {
    max-width: 100%;
  }

  #car-preview {
    max-width: 400px;
    max-height: 250px;
  }

  .config-sidebar {
    max-width: 100%;
    align-items: center;
  }

  .color-selector {
    text-align: center;
  }

  .profile-popup-content {
    flex-direction: column;
    padding: 20px;
  }

  .popup-left {
    padding-right: 0;
    text-align: center;
  }

  .popup-right {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .navbar {
    padding: 10px;
  }

  .nav-container {
    flex-direction: column;
    gap: 10px;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  #car-preview {
    max-width: 300px;
    max-height: 200px;
  }
}