@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Roboto:wght@300;400;500&display=swap');

:root {
  --bg-primary: #121212;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #242424;
  --text-primary: #f0f0f0;
  --text-secondary: #b3b3b3;
  --accent: #c91429;
  --accent-hover: #a11021;
  --whatsapp: #25d366;
  --whatsapp-hover: #1da851;

  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Roboto', sans-serif;

  --transition: all 0.3s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

/* Typography Details */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title span {
  color: var(--accent);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 0.7rem 5%;
  background: transparent;
}

header.scrolled {
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
}

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

.logo img {
  display: block;
  width: 112px;
  height: auto;
  object-fit: contain;
}

footer .logo img {
  width: 240px;
  margin: 0 auto;
}

header.scrolled .logo img {
  width: 100px;
}

.nav-links {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(420px, 100%);
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  list-style: none;
  margin-left: auto;
  align-items: flex-start;
  justify-content: center;
  padding: 7rem 2rem 2rem;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(12, 12, 12, 0.96)),
    radial-gradient(circle at top right, rgba(201, 20, 41, 0.22), transparent 30%);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.45);
  transition: right 0.35s ease;
  z-index: 1400;
  overflow-y: auto;
}

.nav-links.active {
  right: 0;
}

.nav-links li {
  width: 100%;
}

.nav-links a {
  font-family: var(--font-heading);
  display: block;
  width: 100%;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  position: relative;
  white-space: nowrap;
  line-height: 1;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0.55rem;
  left: 0;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 1.25rem;
  margin-left: auto;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.hamburger:hover {
  border-color: rgba(201, 20, 41, 0.45);
  background: rgba(201, 20, 41, 0.1);
  transform: translateY(-1px);
}

body.nav-open {
  overflow: hidden;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(18, 18, 18, 0.3), rgba(18, 18, 18, 0.9)), url('../assets/hero_bg.jpg') center/cover no-repeat;
  text-align: center;
  padding: 0 5%;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
  margin-top: 5rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.btn-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
}

.w-100 {
  width: 100%;
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(201, 20, 41, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 20, 41, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Services */
.services,
.contact-section {
  padding: 6rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.reservation-section {
  padding: 0 5% 6rem;
  max-width: 1280px;
  margin: 0 auto;
}

.services-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.services-sidebar {
  position: sticky;
  top: 128px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.25rem;
  backdrop-filter: blur(8px);
}

.services-sidebar-toggle {
  display: none;
}

.services-sidebar-nav {
  display: block;
}

.services-sidebar-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.services-sidebar-link {
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  margin-bottom: 0.75rem;
}

.services-sidebar-link:last-child {
  margin-bottom: 0;
}

.services-sidebar-link span {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.services-sidebar-link small {
  display: block;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.4;
}

.services-sidebar-link:hover,
.services-sidebar-link.active {
  border-color: rgba(201, 20, 41, 0.35);
  background: rgba(201, 20, 41, 0.08);
  transform: translateX(4px);
}

.services-sidebar-link--outlined {
  margin-top: 0.75rem;
  border-color: rgba(201, 20, 41, 0.5);
  background: transparent;
}

.services-sidebar-link--outlined span,
.services-sidebar-link--outlined small,
.services-sidebar-link--primary span,
.services-sidebar-link--primary small {
  color: #fff;
}

.services-sidebar-link--outlined:hover {
  border-color: rgba(201, 20, 41, 0.7);
  background: rgba(201, 20, 41, 0.08);
}

.services-sidebar-link--primary {
  margin-top: 0.55rem;
  border-color: rgba(201, 20, 41, 0.6);
  background: linear-gradient(180deg, rgba(201, 20, 41, 0.95), rgba(161, 16, 33, 0.95));
  box-shadow: 0 10px 24px rgba(201, 20, 41, 0.22);
}

.services-sidebar-link--primary:hover {
  border-color: rgba(201, 20, 41, 0.85);
  background: linear-gradient(180deg, rgba(214, 34, 54, 1), rgba(176, 22, 41, 1));
}

.services-content {
  min-width: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-secondary);
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(201, 20, 41, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Car Rental Page Specific */
.page-header {
  padding: 10rem 5% 4rem;
  text-align: center;
  background: linear-gradient(to bottom, rgba(18, 18, 18, 0.9), var(--bg-primary)), url('../assets/fleet_bg.jpg') center/cover no-repeat;
}

.page-header h1 {
  font-size: 3rem;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.fleet-section {
  padding: 2rem 5% 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.car-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.car-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.1);
}

.car-card-image {
  position: relative;
  width: 100%;
  height: 250px;
}

.car-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 11000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  position: relative;
}

.lightbox-content img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 11001;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--accent);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  z-index: 11001;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(201, 20, 41, 0.8);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.car-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent, rgba(18, 18, 18, 0.8));
  pointer-events: none;
}

.car-info {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.car-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.car-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.rental-cta-banner {
  background: var(--bg-tertiary);
  padding: 4rem 5%;
  text-align: center;
  margin-top: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.rental-cta-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.rental-cta-banner p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Reservation Section */
.reservation-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  padding: 2rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(201, 20, 41, 0.18), transparent 26%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.06), transparent 26%),
    linear-gradient(145deg, rgba(24, 24, 24, 0.98), rgba(14, 14, 14, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.reservation-intro {
  padding: 1rem 0.5rem 1rem 0.25rem;
}

.reservation-kicker {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 1rem;
}

.reservation-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.reservation-lead {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 48ch;
  margin-bottom: 2rem;
}

.reservation-benefits {
  display: grid;
  gap: 0.9rem;
}

.reservation-benefit-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.reservation-benefit-card i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 20, 41, 0.12);
  color: var(--accent);
  flex-shrink: 0;
}

.reservation-benefit-card span {
  font-size: 0.98rem;
  color: #fff;
}

.reservation-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.4rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.reservation-service-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.3rem;
}

.reservation-service-option {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: #fff;
  border-radius: 18px;
  padding: 1rem;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.reservation-service-option strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
}

.reservation-service-option span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.45;
}

.reservation-service-option:hover,
.reservation-service-option.active {
  transform: translateY(-2px);
  border-color: rgba(201, 20, 41, 0.55);
  background: linear-gradient(180deg, rgba(201, 20, 41, 0.18), rgba(201, 20, 41, 0.06));
  box-shadow: 0 14px 30px rgba(201, 20, 41, 0.15);
}

.reservation-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field span {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(11, 11, 11, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  color: #fff;
  font: inherit;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(201, 20, 41, 0.62);
  box-shadow: 0 0 0 4px rgba(201, 20, 41, 0.12);
  background: rgba(11, 11, 11, 0.9);
}

.reservation-rental-fields {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(201, 20, 41, 0.06);
  border: 1px solid rgba(201, 20, 41, 0.16);
}

.reservation-rental-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.reservation-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
}

.reservation-trust {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  max-width: 42ch;
}

.reservation-trust i {
  color: var(--accent);
  margin-top: 0.18rem;
}

.reservation-trust p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.reservation-submit {
  min-width: 220px;
}

.reservation-submit[disabled] {
  opacity: 0.72;
  cursor: wait;
}

.reservation-status {
  min-height: 1.6rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.reservation-status.is-success {
  color: #7df0a1;
}

.reservation-status.is-error {
  color: #ff8080;
}

.huge-cta {
  font-size: 1.8rem;
  padding: 1.5rem 3rem;
  border-radius: 50px;
}

/* Contact Section & Map */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--bg-secondary);
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  color: var(--accent);
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.contact-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}

.contact-text p,
.contact-text a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-text a:hover {
  color: var(--accent);
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-search {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 5;
}

.map-search input {
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(5px);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--whatsapp);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
  background: var(--whatsapp-hover);
}

/* Footer */
footer {
  background: var(--bg-primary);
  padding: 3rem 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
  background: #1877F2;
  /* FB color */
  border-color: #1877F2;
  transform: translateY(-3px);
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* About Us */
.about-section {
  padding: 6rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Service Rows */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
  scroll-margin-top: 120px;
}

.service-row:last-child {
  margin-bottom: 0;
}

.service-row.reverse .service-row-content {
  order: 2;
}

.service-row.reverse .service-row-image {
  order: 1;
}

.service-row-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.service-row-content h3 i {
  color: var(--accent);
  margin-right: 0.5rem;
}

.service-row-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.service-features {
  list-style: none;
}

.service-features li {
  margin-bottom: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-features li i {
  color: var(--accent);
}

.service-row-image img {
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.service-row-image:hover img {
  transform: scale(1.02);
}

/* Media Queries */
@media (max-width: 900px) {

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

  .services-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .services-sidebar-link {
    margin-bottom: 0;
  }

  .about-container,
  .service-row,
  .reservation-shell {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-row.reverse .service-row-content {
    order: 1;
  }

  .service-row.reverse .service-row-image {
    order: 2;
  }
}

@media (max-width: 768px) {
  .services-sidebar {
    position: static;
    padding: 0.75rem;
    border-radius: 14px;
  }

  .services-sidebar-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border-radius: 12px;
    padding: 0.95rem 1rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .services-sidebar-toggle span {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
  }

  .services-sidebar-toggle-icon {
    transition: transform 0.3s ease;
  }

  .services-sidebar.open .services-sidebar-toggle-icon {
    transform: rotate(45deg);
  }

  .services-sidebar-label {
    display: none;
  }

  .services-sidebar-nav {
    display: none;
    padding-top: 0.75rem;
  }

  .services-sidebar.open .services-sidebar-nav {
    display: block;
  }

  .services-sidebar-link {
    margin-bottom: 0.55rem;
    padding: 0.85rem 0.95rem;
  }

  .services-sidebar-link--outlined {
    margin-top: 0.85rem;
  }

  .services-sidebar-link--primary {
    margin-top: 0.55rem;
  }

  .services-sidebar-link span {
    margin-bottom: 0.2rem;
    font-size: 1rem;
  }

  .services-sidebar-link small {
    display: block;
    font-size: 0.78rem;
  }

  .logo img {
    width: 96px;
  }

  header.scrolled .logo img {
    width: 88px;
  }

  footer .logo img {
    width: 190px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .reservation-service-picker,
  .reservation-form-grid,
  .reservation-rental-grid {
    grid-template-columns: 1fr;
  }

  .reservation-form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .reservation-submit {
    width: 100%;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .huge-cta {
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
  }

  .reservation-shell {
    padding: 1.25rem;
    border-radius: 22px;
  }

  .reservation-card {
    padding: 1rem;
  }

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

/* -------------------------------------
   APPLE-STYLE DYNAMIC INTERACTIONS (GSAP Controlled)
   ------------------------------------- */

/* Enhanced hover effects for cards */
.car-card,
.service-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.car-card:hover,
.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Smooth zoom on child images within gallery on hover */
.car-card .car-card-image img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.car-card:hover .car-card-image img {
  transform: scale(1.03);
}

/* Enhancing CTA buttons for dynamic feel */
.btn {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  will-change: transform;
}

.btn:active {
  transform: scale(0.95);
}

/* -------------------------------------
   CAR DETAILS MODAL
   ------------------------------------- */

.car-card {
  cursor: pointer;
  position: relative;
}

.car-card-short-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.detail-btn {
  margin-top: auto;
  text-align: center;
}

.car-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 1.5rem;
}

.car-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.car-modal-content {
  background-color: #1a1a1e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* Scrollbar styling for dark modal */
.car-modal-content::-webkit-scrollbar {
  width: 6px;
}
.car-modal-content::-webkit-scrollbar-track {
  background: transparent;
}
.car-modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}

.car-modal-overlay.active .car-modal-content {
  transform: translateY(0) scale(1);
}

.car-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
}

.car-modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: rotate(90deg);
}

/* --- HEADER / TITLE --- */
.car-modal-header {
  padding: 2.25rem 2.5rem 1.25rem 2.5rem;
}

.car-modal-header h2 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0;
  padding-right: 2.5rem;
  letter-spacing: -0.03em;
}

/* --- BODY --- */
.car-modal-body {
  padding: 0 2.5rem 2.5rem 2.5rem;
}

/* --- TOP SECTION: image + desc side by side --- */
.car-modal-top-section {
  display: flex;
  gap: 1.75rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.car-modal-image {
  flex: 0 0 52%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.car-modal-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  cursor: zoom-in;
}

.car-modal-desc-box {
  flex: 1;
  display: flex;
  align-items: center;
}

.car-modal-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
  max-width: 40ch;
}

/* --- SPEC CARDS GRID --- */
.car-modal-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

/* --- Shared card base --- */
.spec-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  position: relative;
}

.spec-card__header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}

.spec-card__badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.spec-card__badge i {
  font-size: 0.9rem;
  color: var(--accent);
  opacity: 0.85;
}

.spec-card__label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* --- Hero metric card (výkon / seats) --- */
.spec-card--hero {
  justify-content: space-between;
  min-height: 145px;
}

/* Ghost icon background for hero cards */
.spec-card--hero::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.spec-card--hero .spec-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  justify-content: center;
  padding: 0;
  position: relative;
  z-index: 1;
}

.spec-card__value {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* Footer zone with pill badge */
.spec-card__footer {
  position: relative;
  z-index: 1;
  text-align: center;
}

.spec-card__pill {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.055);
  border-radius: 6px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* --- Data card (consumption) --- */
.spec-card--data {
  justify-content: flex-start;
}

.spec-card--data .spec-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* --- Consumption pills --- */
.consumption-pills {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cons-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 0.4rem 0.7rem;
}

.cons-pill__label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.cons-pill__value {
  font-size: 0.88rem;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

/* --- Icon micro-animations --- */

/* Tachometer needle sweep on modal open */
@keyframes needleSweep {
  0%   { transform: rotate(-30deg); }
  60%  { transform: rotate(12deg); }
  100% { transform: rotate(0deg); }
}

.car-modal-overlay.active .spec-card--perf .spec-card__badge i {
  animation: needleSweep 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

/* Fuel pump subtle drip pulse on modal open */
@keyframes dripPulse {
  0%   { transform: scale(1); opacity: 0.85; }
  50%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); opacity: 0.85; }
}

.car-modal-overlay.active .spec-card--consumption .spec-card__badge i {
  animation: dripPulse 0.8s ease-in-out 0.25s both;
}

/* Seatbelt click-lock on modal open */
@keyframes seatbeltLock {
  0%   { transform: translateY(-4px); opacity: 0.5; }
  70%  { transform: translateY(1px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.85; }
}

.car-modal-overlay.active .spec-card--seats .spec-card__badge i {
  animation: seatbeltLock 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s both;
}

/* Badge hover subtle lift */
.spec-card__badge {
  transition: transform 0.2s ease, background 0.2s ease;
}

.spec-card:hover .spec-card__badge {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.09);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .car-modal-overlay.active .spec-card--perf .spec-card__badge i,
  .car-modal-overlay.active .spec-card--consumption .spec-card__badge i,
  .car-modal-overlay.active .spec-card--seats .spec-card__badge i {
    animation: none;
  }
  .spec-card__badge {
    transition: none;
  }
}

/* --- EQUIPMENT SECTION — BENEFIT GRID REDESIGN --- */
.car-modal-equipment {
  margin-bottom: 2rem;
  padding: 1.85rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Header row */
.equipment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.equipment-header h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
}

.equipment-header h3 i {
  color: var(--accent);
  font-size: 1.05rem;
  opacity: 0.8;
}

.equip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 26px;
  padding: 0 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
  letter-spacing: 0;
}

/* --- TOP FEATURE CARDS --- */
.equipment-top-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.equip-feature-card {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1.1rem 1.4rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Top accent detail */
.equip-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.4rem;
  width: 24px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 0 8px rgba(229, 9, 20, 0.4);
}

.equip-feature-card__text {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

/* --- COMPACT BENEFIT ROWS --- */
.equipment-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.85rem;
}

.equip-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.equip-row__dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.7;
}

.equip-row__text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  line-height: 1.3;
}

/* --- CTA spacing --- */
.car-modal-body > .btn-whatsapp {
  margin-top: 0.5rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .car-modal-header h2 {
    font-size: 1.8rem;
  }

  .car-modal-top-section {
    flex-direction: column;
    gap: 1.25rem;
  }
  
  .car-modal-image {
    flex: 0 0 auto;
    width: 100%;
  }

  .car-modal-desc {
    max-width: none;
    font-size: 1rem;
  }

  .car-modal-specs-grid {
    grid-template-columns: 1fr;
  }

  .spec-card--hero {
    min-height: auto;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
  }

  .spec-card--hero .spec-card__body {
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
  }

  .spec-card__value {
    font-size: 2rem;
  }

  .car-modal-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }

  .car-modal-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .equipment-rows {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo img {
    width: 84px;
  }

  header.scrolled .logo img {
    width: 78px;
  }

  footer .logo img {
    width: 164px;
  }

  .car-modal-content {
    border-radius: 12px;
  }

  .car-modal-header h2 {
    font-size: 1.5rem;
  }

  .spec-card__value {
    font-size: 1.7rem;
  }
}
