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

:root {
  --bg: hsl(220, 30%, 6%);
  --bg-dark: hsl(220, 50%, 8%);
  --bg-darker: hsl(220, 30%, 8%);
  --card: hsl(220, 25%, 10%);
  --navy: hsl(220, 50%, 18%);
  --navy-light: hsl(220, 40%, 25%);
  --navy-dark: hsl(220, 60%, 10%);
  --blue: #2563eb;
  --blue-light: #ffffff;
  --text: #fafafa;
  --text-muted: hsl(220, 10%, 55%);
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

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

img {
  max-width: 100%;
  display: block;
}

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

.glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  padding: 12px 28px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-sans);
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 0.03em;
  text-shadow: 0 0 20px rgba(255,255,255,0.6), 0 0 40px rgba(200,220,255,0.3);
}

.glass-btn::before {
  display: none;
}

.glass-btn::after {
  display: none;
}

.glass-btn:hover {
  border-color: rgba(255,255,255,0.5);
  text-shadow: 0 0 25px rgba(59,130,246,0.7), 0 0 50px rgba(59,130,246,0.3), 0 0 10px rgba(255,255,255,0.3);
  transform: translateY(-1px);
}

.glass-btn:hover::after {
  display: none;
}

.glass-btn:active {
  transform: translateY(0px) scale(0.98);
  text-shadow: 0 0 15px rgba(59,130,246,0.4);
}

.glass-panel {
  background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.12);
  border-top-color: rgba(255,255,255,0.2);
  box-shadow:
    0 4px 24px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.15);
}

/* ======================== NAVBAR ======================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.5s ease;
  padding: 20px 0;
  background: linear-gradient(180deg, rgba(10,18,40,0.85) 0%, rgba(10,18,40,0.4) 70%, transparent 100%);
}

.navbar.scrolled {
  background: hsl(220, 50%, 14%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  padding: 12px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  transition: all 0.3s;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nav-link:hover {
  color: white;
  text-shadow: 0 0 12px rgba(255,255,255,0.5), 0 1px 3px rgba(0,0,0,0.3);
}

.nav-phone {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  height: 110px;
  width: auto;
  object-fit: contain;
  animation: logoPulse 2.5s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 8px rgba(59,130,246,0.4)) drop-shadow(0 0 24px rgba(59,130,246,0.15)) brightness(1);
  }
  50% {
    transform: scale(1.04);
    filter: drop-shadow(0 0 16px rgba(59,130,246,0.7)) drop-shadow(0 0 40px rgba(59,130,246,0.35)) brightness(1.15);
  }
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  align-self: center;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: hsl(220, 50%, 14%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
}

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

.mobile-link {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  transition: all 0.3s;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.mobile-link:hover {
  color: white;
}

.mobile-phone {
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .nav-left,
  .nav-right {
    display: none;
  }
  .navbar {
    padding: 10px 0;
  }
  .navbar.scrolled {
    padding: 8px 0;
  }
  .navbar-inner {
    align-items: center;
    min-height: 60px;
  }
  .logo-link {
    flex: 1;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
  }
  .logo {
    height: 55px;
  }
}

/* ======================== HERO ======================== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: hsla(220, 50%, 8%, 0.45);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    hsla(220, 50%, 8%, 0.2) 0%,
    transparent 40%,
    transparent 60%,
    var(--bg) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 2px;
  line-height: 1.15;
  color: white;
  letter-spacing: 0.02em;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
}

.glass-title {
  background: linear-gradient(
    160deg,
    #ffffff 0%,
    #d4e0ff 12%,
    #ffffff 28%,
    #b8ccff 42%,
    #ffffff 58%,
    #c8daff 72%,
    #ffffff 88%,
    #e0eaff 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 400% 100%;
  filter: drop-shadow(0 2px 8px rgba(180,200,255,0.5)) drop-shadow(0 0 30px rgba(140,170,255,0.2));
  animation: titleFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both, chromaSlide 8s linear 1.5s infinite;
}

@keyframes titleFadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: drop-shadow(0 0 0 transparent);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: drop-shadow(0 2px 8px rgba(180,200,255,0.5)) drop-shadow(0 0 30px rgba(140,170,255,0.2));
  }
}

@keyframes chromaSlide {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 400% 50%;
  }
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255, 255, 255, 0.5);
  margin-top: -4px;
  margin-bottom: 36px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.2);
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-radius: 50px;
  color: white;
  text-shadow: 0 0 15px rgba(255,255,255,0.4);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-phone {
  position: relative;
  overflow: hidden;
}

.nav-phone::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 30px;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: borderGlow 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes borderGlow {
  0% {
    left: -30px;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    left: calc(100% + 30px);
    opacity: 0;
  }
}

.hero-btn:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 100%);
  border-color: rgba(255,255,255,0.45);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.25), 0 0 20px rgba(255,255,255,0.08);
  transform: translateY(-2px);
  text-shadow: 0 0 20px rgba(255,255,255,0.6);
}

.hero-btn:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.1);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 4px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

@media (max-width: 768px) {
  .scroll-indicator { display: none; }
}

/* ======================== SECTIONS ======================== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-dark {
  position: relative;
  background: linear-gradient(180deg, hsl(220, 40%, 10%) 0%, hsl(220, 35%, 8%) 50%, hsl(220, 40%, 10%) 100%);
}

.section-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(59,130,246,0.4) 30%, rgba(59,130,246,0.6) 50%, rgba(59,130,246,0.4) 70%, transparent 100%);
}

.section-dark::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(59,130,246,0.4) 30%, rgba(59,130,246,0.6) 50%, rgba(59,130,246,0.4) 70%, transparent 100%);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-header-center {
  text-align: center;
  margin-bottom: 40px;
}

.section-header-center .section-desc {
  font-size: 1.1rem;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 16px 0;
}

.divider-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(59,130,246,0.5) 100%);
}

.divider-line:last-child {
  background: linear-gradient(90deg, rgba(59,130,246,0.5) 0%, transparent 100%);
}

.divider-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.12) 100%);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.25);
  border-top-color: rgba(255,255,255,0.4);
  border-left-color: rgba(255,255,255,0.3);
  box-shadow:
    0 2px 16px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.3),
    inset 0 -1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
}

.divider-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  border-radius: inherit;
}

/* ======================== VEHICLES GRID ======================== */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  min-height: 200px;
}

.loading-spinner {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 0;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--blue-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.vehicle-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.vehicle-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.vehicle-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.vehicle-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.vehicle-card:hover .vehicle-card-img img {
  transform: scale(1.05);
}

.vehicle-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  z-index: 1;
}

.vehicle-card-price {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
}

.vehicle-card-body {
  padding: 20px;
}

.vehicle-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.vehicle-card:hover .vehicle-card-title {
  color: #93c5fd;
}

.vehicle-card-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.vehicle-spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: var(--text-muted);
}

.vehicle-spec svg {
  color: var(--blue-light);
}

.vehicle-card-footer {
  padding: 0 20px 20px;
}

.vehicle-inspect-btn {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
}

.sahibinden-cta {
  text-align: center;
}

.sahibinden-btn {
  padding: 18px 40px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(37,99,235,0.5) 0%, rgba(37,99,235,0.25) 50%, rgba(37,99,235,0.4) 100%);
  border-color: rgba(59,130,246,0.4);
}

@media (max-width: 1024px) {
  .vehicles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .vehicles-grid {
    grid-template-columns: 1fr;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ======================== ABOUT / WHY US ======================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
  font-size: 1.1rem;
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.12) 100%);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.25);
  border-top-color: rgba(255,255,255,0.4);
  border-left-color: rgba(255,255,255,0.3);
  box-shadow:
    0 2px 16px rgba(0,0,0,0.12),
    0 1px 4px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.3),
    inset 0 -1px 0 rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  flex-shrink: 0;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  border-radius: inherit;
}

.why-icon-text {
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-heading);
}

.why-item:hover .why-icon {
  background: linear-gradient(135deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.2) 100%);
  border-color: rgba(255,255,255,0.45);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.18),
    0 2px 8px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -1px 0 rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.about-img-wrap {
  border-radius: 16px;
  padding: 4px;
  overflow: hidden;
}

.about-img-wrap img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  filter: brightness(0.65) contrast(1.1);
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ======================== SELL FORM ======================== */
.form-wrapper {
  max-width: 768px;
  margin: 0 auto;
}

.form-panel {
  border-radius: 16px;
  padding: 32px 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-light);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: hsl(220, 25%, 12%);
  color: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  margin-top: 8px;
}

.submit-btn:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success h3 {
  color: white;
  font-size: 1.5rem;
  margin: 16px 0 8px;
}

.form-success p {
  color: var(--text-muted);
  font-size: 1rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-panel {
    padding: 24px 20px;
  }
}

/* ======================== MAP & CONTACT ======================== */
.map-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.map-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 500px;
}

.map-container::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,15,30,0.6) 0%, transparent 25%, transparent 75%, rgba(10,15,30,0.6) 100%),
    linear-gradient(90deg, rgba(10,15,30,0.5) 0%, transparent 20%, transparent 80%, rgba(10,15,30,0.5) 100%);
  border-radius: 16px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  border: none;
  filter: brightness(0.7) saturate(0.6);
}

.directions-btn {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 10;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  border-radius: 16px;
  padding: 24px;
}

.contact-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-list li a {
  transition: color 0.3s;
}

.contact-list li a:hover {
  color: white;
}

/* Vehicle Browse Panel */
.browse-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.browse-title {
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.browse-nav {
  display: flex;
  gap: 4px;
}

.browse-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.browse-nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
}

.browse-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.browse-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.browse-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  transition: all 0.3s;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
}

.browse-item:first-child {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.2);
}

.browse-item:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.browse-item-img {
  width: 64px;
  height: 48px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  flex-shrink: 0;
}

.browse-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.browse-item-info {
  flex: 1;
  min-width: 0;
}

.browse-item-title {
  font-size: 14px;
  font-weight: 500;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browse-item-price {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-light);
}

.browse-all-btn {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  margin-top: 12px;
}

@media (max-width: 1024px) {
  .map-grid {
    grid-template-columns: 1fr;
  }
  .map-container {
    min-height: 400px;
  }
}

/* ======================== FOOTER ======================== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
}

.footer-logo {
  height: 110px;
  width: auto;
  object-fit: contain;
  margin-bottom: 24px;
}

.footer-links,
.footer-contact {
  padding-top: 30px;
}

.footer-desc {
  color: var(--text-muted);
  max-width: 360px;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  color: white;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s;
  font-size: 15px;
}

.footer-links a:hover {
  color: white;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-contact li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: white;
}

/* ======================== SOCIAL LINKS ======================== */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  padding: 0;
  font-size: 0;
  color: rgba(255, 255, 255, 0.85);
}

.social-icon:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ======================== WHATSAPP ======================== */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37,211,102,0.85) 0%, rgba(37,211,102,0.65) 50%, rgba(37,211,102,0.8) 100%);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-top-color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 24px rgba(37,211,102,0.35),
    0 2px 8px rgba(0,0,0,0.1),
    inset 0 2px 4px rgba(255,255,255,0.3),
    inset 0 -1px 2px rgba(0,0,0,0.08);
  z-index: 99;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 100%);
  border-radius: 50%;
  pointer-events: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1) translateY(-2px);
  background: linear-gradient(135deg, rgba(37,211,102,0.95) 0%, rgba(37,211,102,0.75) 50%, rgba(37,211,102,0.9) 100%);
  box-shadow:
    0 8px 32px rgba(37,211,102,0.45),
    0 4px 12px rgba(0,0,0,0.12),
    inset 0 2px 4px rgba(255,255,255,0.35),
    inset 0 -1px 2px rgba(0,0,0,0.1);
}

.whatsapp-btn:active {
  transform: scale(1.05);
}

/* ======================== TOAST ======================== */
.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 200;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: white;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast.success {
  background: rgba(34, 197, 94, 0.9);
  border: 1px solid rgba(34, 197, 94, 0.5);
  backdrop-filter: blur(12px);
}

.toast.error {
  background: rgba(239, 68, 68, 0.9);
  border: 1px solid rgba(239, 68, 68, 0.5);
  backdrop-filter: blur(12px);
}
