/* public-styles.css - Oriental Plus Cars Public Website */

:root {
  --op-black: #0a0a0a;
  --op-black-light: #161616;
  --op-white: #ffffff;
  --op-gray: #f4f4f5;
  --op-gray-dark: #27272a;
  --op-text-muted: #a1a1aa;
  
  /* Premium Orange / Gold */
  --op-primary: #F97316;
  --op-primary-hover: #EA580C;
  --op-primary-light: rgba(249, 115, 22, 0.1);
  --op-gold: #D4AF37;
  
  --op-whatsapp: #25D366;
  
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  background-color: var(--op-black);
  color: var(--op-white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-top: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Typography */
.text-primary { color: var(--op-primary); }
.text-gold { color: var(--op-gold); }
.text-muted { color: var(--op-text-muted); }

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--op-text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}
.btn-primary {
  background-color: var(--op-primary);
  color: var(--op-white);
}
.btn-primary:hover {
  background-color: var(--op-primary-hover);
  transform: translateY(-2px);
}
.btn-outline {
  background-color: transparent;
  border: 1px solid var(--op-primary);
  color: var(--op-white);
}
.btn-outline:hover {
  background-color: var(--op-primary-light);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background-color: var(--op-whatsapp);
  color: var(--op-white);
}
.btn-whatsapp:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.btn-full {
  width: 100%;
}

/* Navbar */
.public-nav {
  position: fixed;
  top: 0; width: 100%;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 1rem 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo img {
  height: 40px;
}
.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--op-text-muted);
}
.nav-link:hover, .nav-link.active {
  color: var(--op-primary);
}

/* Mobile Nav */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--op-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 8rem 1.5rem 5rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-text h1 span {
  color: var(--op-primary);
}
.hero-text p {
  font-size: 1.25rem;
  color: var(--op-text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-image {
  position: relative;
}
.hero-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Sections */
.py-section {
  padding: 6rem 1.5rem;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Vehicle Cards */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.vehicle-card {
  background: var(--op-black-light);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.vehicle-card:hover {
  border-color: rgba(249, 115, 22, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.vehicle-img-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.vehicle-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.vehicle-card:hover .vehicle-img-wrapper img {
  transform: scale(1.05);
}
.vehicle-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
}
.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-available { background: var(--op-primary); color: white; }
.badge-sold { background: #DC2626; color: white; }

.vehicle-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.vehicle-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.vehicle-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--op-primary);
  margin-bottom: 1rem;
}
.vehicle-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--op-text-muted);
  font-size: 0.875rem;
}
.vehicle-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.vehicle-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Sold Card Overlay */
.sold-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.sold-text {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  letter-spacing: 2px;
  transform: rotate(-15deg);
  border: 4px solid white;
  padding: 0.5rem 1.5rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.sold-days {
  color: #fff;
  font-weight: 600;
  background: var(--op-primary);
  padding: 0.2rem 0.8rem;
  border-radius: 100px;
  font-size: 0.8rem;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.benefit-card {
  background: var(--op-black-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}
.benefit-icon {
  font-size: 2.5rem;
  color: var(--op-primary);
  margin-bottom: 1rem;
}
.benefit-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.benefit-card p {
  color: var(--op-text-muted);
  font-size: 0.95rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--op-whatsapp);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.3s;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
}

/* Footer */
.footer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 4rem 1.5rem 2rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo img {
  height: 50px;
  margin-bottom: 1rem;
}
.footer-desc {
  color: var(--op-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.footer-title {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: var(--op-text-muted);
}
.footer-links a:hover {
  color: var(--op-primary);
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  color: var(--op-text-muted);
  font-size: 0.875rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
}
.form-control {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  color: white;
  font-family: inherit;
  transition: border-color 0.3s;
}
.form-control:focus {
  outline: none;
  border-color: var(--op-primary);
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text p {
    margin: 0 auto 2rem auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--op-black);
    flex-direction: column;
    padding: 2rem;
    transition: 0.3s;
  }
  .nav-menu.active {
    left: 0;
  }
  .mobile-menu-btn {
    display: block;
  }

  .hero-section {
    padding: 6rem 1rem 3rem;
    min-height: auto;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .hero-text p {
    font-size: 1.1rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
    gap: 0.75rem;
  }
  .hero-buttons .btn {
    width: 100%;
  }

  .floating-whatsapp {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  h1 { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Hero Carousel */
.hero-carousel {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--op-black-light);
}

.hero-carousel-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: flex-end;
}

.hero-carousel-slide.active {
  opacity: 1;
}

.carousel-caption {
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
  padding: 3rem 1.5rem 1.5rem;
  color: white;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s ease 0.3s;
}

.hero-carousel-slide.active .carousel-caption {
  transform: translateY(0);
  opacity: 1;
}

.carousel-caption h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  color: var(--op-primary);
}

.carousel-caption p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--op-white);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--op-primary);
  transform: scale(1.2);
}

