/* --- Global Styles --- */
/* Imported a modern, clean font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
  background-color: #272727; 
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; /* Upgraded font */
  color: #2d3748; 
  margin: 0; 
  padding: 0; 
  /* Smooth scrolling for anchor links */
  scroll-behavior: smooth; 
}

/* --- Navigation Bar Styles (Glassmorphism) --- */
.navbar {
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 15px 5%; /* Percentage padding for better responsiveness */
  
  /* Modern Glass Effect */
  background-color: rgba(255, 255, 255, 0.85); 
  backdrop-filter: blur(10px); /* The frosted glass blur */
  -webkit-backdrop-filter: blur(10px);
  
  /* Makes the navbar stick to the top when scrolling */
  position: sticky; 
  top: 0; 
  z-index: 1000; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); 
}

.logo {
  height: 45px; 
  width: auto; 
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links a {
  text-decoration: none; 
  color: #4a5568; 
  margin-left: 25px; 
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  position: relative; /* Setup for the underline effect */
}

.nav-links a:hover {
  color: #1a202c; 
}

/* --- NEW: Hero Banner Section --- */
.hero-section {
  position: relative;
  height: 70vh; /* Takes up 70% of the screen height */
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* Dark slate fallback color */
  background-color: #1a202c; 
}

/* The actual image layer for the hero */
.hero-image {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.6; /* Dims the image so text is readable */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2; /* Sits above the image */
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.primary-btn {
  background-color: white;
  color: #1a202c;
  padding: 15px 35px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.primary-btn:hover {
  background-color: #e2e8f0;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* --- Main Content Styles --- */
.main-content {
  padding: 60px 5%;
  text-align: center;
}

h1, h2 {
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 15px;
}

.section-title {
  text-align: center;
  margin: 60px 0 20px 0;
  font-size: 36px;
  font-weight: 800;
  color: #ffffff
}

/* --- Modern Product Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  padding: 20px 5% 60px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  background: white;
  padding: 20px;
  border-radius: 16px; 
  text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); 
  display: flex;
  flex-direction: column;
  height: 100%; 
  position: relative; 
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smoother bounce */
  overflow: hidden; /* Keeps images inside borders */
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(0,0,0,0.08);
}

.product-card h3 {
  flex-grow: 1; 
  margin: 15px 0 5px 0; 
  color: #1a202c;
  font-size: 18px;
  font-weight: 700;
}

.product-card p {
  color: #4a5568;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 15px;
}

/* Add a cool gradient background behind the car images */
.product-image-wrapper {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
}

.product-card img {
  width: 100%;
  height: 180px; 
  object-fit: contain; 
  transition: transform 0.4s ease;
}

/* Zoom in on the car slightly when hovering the card */
.product-card:hover img {
  transform: scale(1.08);
}

/* --- Button Styles --- */
.cart-btn {
  background-color: #2d3748; 
  color: #ffffff; 
  border: none; 
  padding: 14px 0; 
  width: 100%; 
  border-radius: 8px; 
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer; 
  transition: background-color 0.2s ease, transform 0.1s ease; 
}

.cart-btn:hover {
  background-color: #1a202c; 
}

.cart-btn:active {
  transform: scale(0.98); /* Satisfying click effect */
}

/* --- Footer Styles --- */
.site-footer {
  background-color: #1a202c; 
  color: #e2e8f0; 
  padding: 80px 5% 30px 5%; 
  margin-top: auto; 
}

.footer-content {
  display: flex;
  justify-content: space-between; 
  max-width: 1200px;
  margin: 0 auto; 
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1); 
}

.footer-section { max-width: 300px; }

.footer-section h4 {
  margin-bottom: 25px;
  font-size: 18px;
  color: #ffffff;
}

.footer-section ul { list-style: none; padding: 0; margin: 0; }
.footer-section ul li { margin-bottom: 12px; }

.footer-section a {
  color: #a0aec0; 
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  font-size: 14px;
  color: #718096; 
}

/* --- Navbar Dropdown --- */
.nav-dropdown {
  margin-left: 25px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  color: #4a5568;
  background-color: transparent; 
  border: none; 
  cursor: pointer;
  outline: none; 
  transition: color 0.2s ease;
}

.nav-dropdown:hover { color: #1a202c; }

/* --- Status Tab Styles --- */
.status-tab {
  position: absolute; 
  top: 15px; 
  left: 15px; 
  background-color: #1a202c; 
  color: #ffffff;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase; 
  letter-spacing: 1.5px;
  border-radius: 20px;
  z-index: 2; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- Forms (Login & Sell to Us) --- */
.form-page-container {
  display: flex;
  justify-content: center;
  padding: 80px 20px;
  background-color: #f8fafc;
}

.form-wrapper {
  background-color: #ffffff;
  max-width: 500px;
  width: 100%;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05); 
  border: 1px solid rgba(0,0,0,0.03);
}

.form-header h1 { font-size: 28px; }
.form-header p { font-size: 15px; margin-bottom: 30px;}

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

.input-group label {
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="password"],
.input-group textarea,
.input-group select {
  padding: 14px 18px;
  font-size: 15px;
  border: 2px solid #e2e8f0; 
  border-radius: 10px;
  background-color: #f8fafc; 
  transition: all 0.2s ease;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
  border-color: #4a5568; 
  background-color: #ffffff;
}

/* --- Showcase Dashboard --- */
.showcase-dashboard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px 40px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.avatar {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, #4a5568 0%, #1a202c 100%);
  color: white;
  border-radius: 50%;
  display: flex; justify-content: center; align-items: center;
  font-size: 28px; font-weight: 800;
  box-shadow: 0 8px 20px rgba(26, 32, 44, 0.2);
}

/* Garage Cards */
.garage-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  position: relative;
  border: 1px solid #f1f5f9;
  transition: transform 0.3s ease;
}

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

.card-brand-badge {
  position: absolute; top: 15px; right: 15px;
  padding: 6px 12px; border-radius: 20px;
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  color: white; z-index: 2; letter-spacing: 1px;
}
/* --- Coming Soon Section Styles (Custom.html) --- */
.coming-soon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh; 
  padding: 40px;
}

.coming-soon-content {
  max-width: 600px; 
  background-color: #ffffff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05); 
  border: 1px solid rgba(0,0,0,0.03);
  text-align: center;
}

.coming-soon-content .badge {
  display: inline-block;
  background-color: #1a202c; 
  color: #ffffff; 
  padding: 6px 16px;
  border-radius: 20px; 
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.coming-soon-content p {
  font-size: 16px;
  color: #4a5568; 
  line-height: 1.6;
  margin-bottom: 30px;
}

/* --- Email Capture Form --- */
.notify-form {
  display: flex;
  gap: 15px; 
  justify-content: center;
  align-items: center;
}

.notify-form input {
  padding: 14px 20px;
  font-size: 15px;
  border: 2px solid #e2e8f0; 
  border-radius: 10px;
  width: 100%;
  max-width: 300px;
  outline: none;
  font-family: inherit;
  color: #2d3748;
  background-color: #f8fafc;
  transition: all 0.2s ease;
}

.notify-form input:focus {
  border-color: #4a5568;
  background-color: #ffffff;
}

.notify-form .notify-btn {
  width: auto; 
  margin-top: 0; /* Overrides the default cart button stretching */
  padding: 14px 30px;
  border-radius: 10px;
}
/* --- Single Product Page Styles --- */
.product-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 5%;
}

@media (max-width: 900px) {
  .product-detail-container {
    grid-template-columns: 1fr;
  }
}

.product-gallery {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.product-gallery img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
}

.product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-brand-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #718096;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.product-title {
  font-size: 36px;
  font-weight: 800;
  color: #1a202c;
  line-height: 1.2;
  margin: 0 0 20px 0;
  text-transform: uppercase;
}

.product-price {
  font-size: 20px;
  color: #2d3748;
  margin-bottom: 10px;
}

.shipping-calc {
  font-size: 13px;
  color: #718096;
  margin-bottom: 25px;
}

.stock-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 30px;
}

.stock-dot {
  width: 10px;
  height: 10px;
  background-color: #48bb78; /* The green dot */
  border-radius: 50%;
}

/* Quantity Selector */
.quantity-label {
  font-size: 13px;
  color: #4a5568;
  margin-bottom: 8px;
}

.quantity-selector {
  display: inline-flex;
  border: 1px solid #cbd5e0;
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 30px;
  width: 120px;
}

.quantity-selector button {
  background: white;
  border: none;
  padding: 10px 15px;
  font-size: 18px;
  cursor: pointer;
  color: #4a5568;
}

.quantity-selector input {
  width: 100%;
  text-align: center;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #1a202c;
  outline: none;
}

/* Action Buttons Inspired by Screenshot */
.btn-outline {
  background-color: transparent;
  color: #1a202c;
  border: 1px solid #1a202c;
  padding: 15px 0;
  width: 100%;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 15px;
  transition: all 0.2s ease;
}

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

.btn-solid {
  background-color: #1a202c;
  color: #ffffff;
  border: 1px solid #1a202c;
  padding: 15px 0;
  width: 100%;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.2s ease;
}

.btn-solid:hover {
  background-color: #2d3748;
}

/* Red Tag for Cards */
.tag-red {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #e53e3e;
  color: white;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 800;
  border-radius: 20px;
  z-index: 2;
}
#profile-content {
  padding: 10px;
}

#profile-content a {
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
}

#profile-content a:hover {
  color: #e53e3e !important;
}