/* ============================================================
   CAR RENTAL STYLING — TICKETSCONFIRMATION.COM
   Modern, Google Ads Policy Compliant, Responsive & Premium
   ============================================================ */

/* ── DISCLAIMER HERO BAR ── */
.compliance-disclaimer-box {
  background: #fff8e6;
  border: 1px solid #ffe082;
  border-left: 5px solid #ffa000;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 25px 0 35px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #5d4037;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.compliance-disclaimer-box i {
  color: #ff8f00;
  font-size: 1.3rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.compliance-disclaimer-box strong {
  color: #2e1e12;
}

.compliance-disclaimer-box a {
  color: #d84315;
  text-decoration: underline;
  font-weight: 600;
}

/* ── CAR HERO SECTION ── */
.car-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0 100px;
  color: #ffffff;
  overflow: hidden;
}

.car-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(13, 31, 60, 0.92) 0%, rgba(20, 45, 85, 0.82) 100%);
  z-index: 1;
}

.car-hero .container {
  position: relative;
  z-index: 2;
}

.car-hero-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 40px;
}

.car-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.4);
  color: var(--green);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.car-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #ffffff;
}

.car-hero h1 span {
  color: var(--green);
}

.car-hero p.subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 750px;
  margin: 0 auto 30px;
}

/* ── CAR HERO CTA BOX ── */
.car-hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
}

.btn-car-call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #e8b923 0%, #f39c12 100%);
  color: #0d1f3c;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(232, 185, 35, 0.4);
  transition: var(--transition);
}

.btn-car-call:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(232, 185, 35, 0.6);
  background: #ffffff;
  color: #0d1f3c;
}

.btn-car-quote {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-car-quote:hover {
  background: #ffffff;
  color: #0d1f3c;
  transform: translateY(-3px);
}

/* ── CAR SEARCH WIDGET ── */
.car-search-card {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 35px 30px;
  margin-top: 30px;
  color: var(--text);
  border: 1px solid var(--border);
}

.car-search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 15px;
}

.car-search-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.car-search-title i {
  color: var(--green);
}

.car-search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.car-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.car-input-group label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy-mid);
  display: flex;
  align-items: center;
  gap: 6px;
}

.car-input-group label i {
  color: var(--green);
}

.car-input-group input,
.car-input-group select {
  padding: 12px 14px;
  border: 1px solid #d0d7de;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  background: #fdfdfd;
  transition: var(--transition);
  outline: none;
}

.car-input-group input:focus,
.car-input-group select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}

.car-search-btn-wrap {
  display: flex;
  align-items: flex-end;
}

.btn-car-search {
  width: 100%;
  background: var(--green);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 20px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-car-search:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

/* ── BRAND CARDS SECTION ── */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.brand-card {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.brand-card-top {
  padding: 24px 26px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.brand-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pill-avis { background: #ffebee; color: #c62828; }
.pill-budget { background: #fff3e0; color: #e65100; }
.pill-enterprise { background: #e8f5e9; color: #2e7d32; }
.pill-sixt { background: #fff8e1; color: #ff6f00; }
.pill-alamo { background: #e1f5fe; color: #0277bd; }

.brand-daily-rate {
  text-align: right;
}

.brand-daily-rate span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.brand-daily-rate strong {
  font-size: 1.4rem;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
}

.brand-card-body {
  padding: 24px 26px;
  flex: 1;
}

.brand-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.brand-independent-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: #78909c;
  background: #eceff1;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 15px;
  font-weight: 600;
}

.brand-card-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.brand-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brand-features li {
  font-size: 0.88rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-features li i {
  color: var(--green);
  font-size: 0.85rem;
}

.brand-card-footer {
  padding: 18px 26px 24px;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
}

.brand-card-footer .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.9rem;
  padding: 11px 16px;
}

/* ── CAR FLEET CATEGORIES ── */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.fleet-card {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.fleet-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.fleet-img-wrap {
  height: 190px;
  overflow: hidden;
  position: relative;
  background: #eef2f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fleet-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.fleet-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(13, 31, 60, 0.88);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.fleet-details {
  padding: 22px;
}

.fleet-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.fleet-sample {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.fleet-specs {
  display: flex;
  justify-content: space-between;
  background: var(--bg-light);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-mid);
}

.fleet-specs span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fleet-specs i {
  color: var(--green);
}

.fleet-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fleet-price span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.fleet-price strong {
  font-size: 1.3rem;
  color: var(--navy);
}

/* ── BRAND SPECIFIC HIGHLIGHT HERO ── */
.brand-hero {
  position: relative;
  padding: 110px 0 90px;
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.brand-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(13, 31, 60, 0.95) 0%, rgba(20, 45, 85, 0.85) 100%);
  z-index: 1;
}

.brand-hero .container {
  position: relative;
  z-index: 2;
}

.brand-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.brand-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.brand-booking-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 35px 30px;
  color: var(--text);
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.2);
}

.brand-booking-card h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.brand-booking-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

/* ── BRAND COMPARISON MATRIX ── */
.brand-table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-top: 35px;
}

.brand-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.brand-table th {
  background: var(--navy);
  color: #ffffff;
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 700;
}

.brand-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text);
}

.brand-table tr:hover td {
  background: var(--bg-light);
}

/* ── POLICY / LEGAL CALLOUT ── */
.legal-callout-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 30px;
  margin-top: 50px;
}

.legal-callout-card h4 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-callout-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-callout-card p:last-child {
  margin-bottom: 0;
}

/* ── FAQ ACCORDION ── */
.car-faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.car-faq-question {
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
}

.car-faq-question:hover {
  background: var(--bg-light);
}

.car-faq-answer {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .brand-hero-grid {
    grid-template-columns: 1fr;
  }
  .car-hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .car-hero {
    padding: 90px 0 60px;
  }
  .car-hero h1 {
    font-size: 2rem;
  }
  .btn-car-call {
    font-size: 1.1rem;
    padding: 14px 24px;
    width: 100%;
    justify-content: center;
  }
  .btn-car-quote {
    width: 100%;
    justify-content: center;
  }
}
