/*
Theme Name: Redline Exotics
Theme URI: https://redlineautogroup.org/
Author: Nurdcon LLC / Nurdnode LLC
Author URI: https://nurdcon.com/
Description: A purpose-built luxury and exotic vehicle rental theme recreated for Redline Exotics. Includes fleet, booking, inquiry, account, search, social, and conversion-focused templates.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: redline-exotics
*/

:root {
  --redline-red: #ff000b;
  --redline-deep-red: #ca0008;
  --redline-black: #050505;
  --redline-panel: #0d0d0d;
  --redline-white: #fff;
  --redline-muted: #b7b7b7;
  --redline-line: #292929;
  --redline-radius: 999px;
  --redline-max: 1280px;
  --redline-display: "Oswald", "Arial Narrow", sans-serif;
  --redline-body: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--redline-black);
  color: var(--redline-white);
  font-family: var(--redline-body);
  font-size: 16px;
  line-height: 1.65;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed !important; top: 10px; left: 10px; z-index: 10000;
  width: auto; height: auto; padding: .75rem 1rem; margin: 0;
  clip: auto; background: #fff; color: #000;
}
.redline-container { width: min(100% - 40px, var(--redline-max)); margin-inline: auto; }
.redline-section { padding: clamp(64px, 8vw, 120px) 0; }
.redline-section-title {
  margin: 0 0 36px;
  color: var(--redline-white);
  font: 800 clamp(2.3rem, 5vw, 4.5rem)/.95 var(--redline-display);
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.redline-kicker {
  display: inline-block; margin-bottom: 14px; color: var(--redline-red);
  font: 700 .8rem/1 var(--redline-body); letter-spacing: .2em; text-transform: uppercase;
}
.redline-button,
button.redline-button,
input[type="submit"].redline-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: 0 34px; border: 1px solid var(--redline-red);
  border-radius: var(--redline-radius); background: var(--redline-red); color: #070707;
  font: 800 1rem/1 var(--redline-display); letter-spacing: .015em; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.redline-button:hover { background: #fff; border-color: #fff; transform: translateY(-2px); }
.redline-button--outline { background: transparent; color: var(--redline-red); }
.redline-button--outline:hover { color: #000; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  height: 66px; background: rgba(0,0,0,.96); border-bottom: 1px solid #101010;
}
.site-header__inner {
  width: min(100% - 48px, 1220px); height: 100%; margin: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.site-brand {
  color: var(--redline-red); font: 500 1rem/1 var(--redline-display);
}
.site-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.site-actions a:not(.header-call), .site-actions button { color: var(--redline-red); }
.header-call { min-height: 36px; padding: 0 22px; font-size: .95rem; }
.menu-toggle, .search-toggle {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: ""; display: block; width: 32px; height: 2px; margin: 7px auto; background: #fff;
}
.search-toggle::before {
  content: ""; display: block; width: 16px; height: 16px; margin: 5px auto 0;
  border: 2px solid currentColor; border-radius: 50%;
}
.search-toggle::after {
  content: ""; display: block; width: 9px; height: 2px; margin: -1px 0 0 24px;
  background: currentColor; transform: rotate(45deg);
}
.site-drawer {
  position: fixed; inset: 0; z-index: 2000; display: grid; grid-template-columns: minmax(300px, 520px) 1fr;
  background: rgba(0,0,0,.72); opacity: 0; visibility: hidden; transition: .25s;
}
.site-drawer.is-open { opacity: 1; visibility: visible; }
.site-drawer__panel {
  padding: 34px clamp(28px, 6vw, 74px); background: var(--redline-red); color: #000;
  transform: translateX(-100%); transition: .3s ease;
}
.site-drawer.is-open .site-drawer__panel { transform: translateX(0); }
.drawer-close { float: right; border: 0; background: transparent; font: 700 2.3rem/1 sans-serif; cursor: pointer; }
.site-drawer ul { list-style: none; padding: 70px 0 0; margin: 0; }
.site-drawer li { border-bottom: 1px solid rgba(0,0,0,.35); }
.site-drawer a { display: block; padding: 13px 0; font: 800 1.75rem/1.2 var(--redline-display); text-transform: uppercase; }
.search-panel {
  position: fixed; inset: 66px 0 auto; z-index: 1500; padding: 22px;
  background: #0b0b0b; border-bottom: 1px solid var(--redline-line);
  transform: translateY(-130%); transition: transform .25s;
}
.search-panel.is-open { transform: translateY(0); }
.search-panel form { display: flex; width: min(100%, 900px); margin: auto; }
.search-panel input { flex: 1; min-width: 0; padding: 16px 18px; background: #181818; border: 1px solid #444; color: #fff; }

.hero {
  position: relative; min-height: clamp(700px, 78vw, 860px);
  display: grid; align-items: center; overflow: hidden;
  background: #080808 var(--hero-image) center/cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.95), rgba(0,0,0,.35) 55%, rgba(0,0,0,.15)); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 360px minmax(360px, 620px); align-items: center; gap: 48px; }
.hero h1 {
  margin: 0 0 20px; color: var(--redline-red);
  font: 900 clamp(4.3rem, 7vw, 7rem)/.85 var(--redline-display);
  letter-spacing: -.045em; text-transform: uppercase; text-shadow: 0 3px 0 #111;
}
.hero h1 span { display: block; }
.hero__tagline {
  max-width: 280px; margin: 0 0 30px;
  font: 700 clamp(1.35rem, 2.1vw, 2rem)/1.2 var(--redline-display);
}
.hero__cta { display: grid; width: 220px; gap: 10px; text-align: center; }
.hero__or { font: 800 1.7rem/1 var(--redline-display); }
.hero__brand { width: min(100%, 590px); mix-blend-mode: screen; border-radius: 6px; }
.hero-book-strip { padding: 34px 20px; text-align: center; background: #000; }
.hero-book-strip .redline-button { min-width: 310px; border-radius: 0; background: transparent; color: var(--redline-red); }

.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--redline-red); border-top: 4px solid var(--redline-red); }
.vehicle-card {
  position: relative; min-height: 460px; overflow: hidden; border: 2px solid var(--redline-red);
  background: #111 center/cover no-repeat; isolation: isolate;
}
.vehicle-card::before { content: ""; position: absolute; inset: 45% 0 0; z-index: -1; background: linear-gradient(transparent, rgba(0,0,0,.92)); }
.vehicle-card__content { position: absolute; inset: auto 24px 22px; text-align: center; }
.vehicle-card h2,
.vehicle-card h3 {
  margin: 0 0 12px; font: 900 clamp(2rem, 3vw, 3.25rem)/1 var(--redline-display);
  letter-spacing: -.03em; text-transform: uppercase; text-shadow: 1px 2px 1px #000;
}
.vehicle-card .redline-button { min-height: 40px; padding-inline: 40px; }
.vehicle-card--featured { min-height: 520px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #222; }
.service-tile { min-height: 560px; padding: 36px; display: flex; flex-direction: column; justify-content: flex-end; background: #080808 center/cover no-repeat; }
.service-tile h3 { margin: 0; font: 800 2.35rem/1 var(--redline-display); text-transform: uppercase; }
.service-tile p { max-width: 330px; margin-bottom: 0; }
.split-feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; }
.split-feature__media { background: center/cover no-repeat; }
.split-feature__content { padding: clamp(50px, 8vw, 120px); display: grid; place-content: center; background: var(--redline-red); color: #060606; }
.split-feature__content .redline-section-title { color: #060606; }
.testimonials { background: #080808; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { padding: 34px; border: 1px solid #292929; background: #0c0c0c; }
.testimonial blockquote { margin: 18px 0 0; color: #d8d8d8; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #222; }
.why-card { min-height: 300px; padding: 52px; background: #050505; }
.why-card h3 { margin-top: 0; color: var(--redline-red); font: 800 2.2rem/1 var(--redline-display); }
.social-band { padding: 64px 0; background: var(--redline-deep-red); text-align: center; }
.social-band .redline-section-title { margin-bottom: 10px; }
.social-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; }
.social-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.page-hero { min-height: 515px; display: grid; place-items: center; background: #111 center/cover no-repeat; }
.page-hero__panel { width: min(92%, 600px); padding: clamp(35px, 5vw, 68px); background: rgba(0,0,0,.94); text-align: center; }
.page-hero h1 { margin: 0 0 18px; color: var(--redline-red); font: 800 clamp(2.5rem,5vw,4rem)/1 var(--redline-display); }
.content-panel { padding: 46px; background: #0b0b0b; border: 1px solid #222; }
.booking-catalog { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.booking-card { display: grid; grid-template-columns: 230px 1fr; min-height: 260px; background: #0d0d0d; border: 1px solid #252525; }
.booking-card__media { background: #111 center/cover no-repeat; }
.booking-card__content { padding: 28px; }
.booking-card h2 { margin: 0; font: 800 2rem/1.1 var(--redline-display); }
.booking-price { color: var(--redline-red); font-weight: 800; }
.vehicle-detail { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.vehicle-detail__image { width: 100%; min-height: 540px; object-fit: cover; }
.vehicle-detail h1 { margin: 0; color: var(--redline-red); font: 800 clamp(2.8rem,5vw,4.5rem)/1 var(--redline-display); }
.vehicle-specs { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; margin: 30px 0; background: #333; }
.vehicle-specs div { padding: 20px; background: #0b0b0b; }
.vehicle-specs strong, .vehicle-specs span { display: block; }
.vehicle-specs span { color: var(--redline-muted); font-size: .85rem; text-transform: uppercase; }
.redline-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.redline-form__full { grid-column: 1 / -1; }
.redline-form label { display: grid; gap: 7px; font-weight: 700; }
.redline-form input, .redline-form select, .redline-form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid #494949; background: #101010; color: #fff;
}
.redline-form textarea { min-height: 150px; resize: vertical; }
.redline-alert { padding: 16px 18px; margin-bottom: 22px; border-left: 4px solid var(--redline-red); background: #151515; }
.redline-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.redline-calendar button { min-height: 48px; border: 1px solid #333; background: #111; color: #fff; cursor: pointer; }
.redline-calendar button:hover, .redline-calendar button.is-selected { background: var(--redline-red); color: #000; }

.site-footer { padding: 48px 0 70px; background: #000; color: var(--redline-red); }
.footer-contact { margin-bottom: 45px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.footer-brand img { width: 230px; max-height: 200px; object-fit: cover; object-position: center; mix-blend-mode: screen; }
.footer-meta a { text-decoration: underline; }
.footer-meta p { margin: 8px 0; }

@media (max-width: 960px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-actions .login-link, .search-toggle { display: none; }
  .site-actions { grid-column: 2; }
  .menu-toggle { grid-row: 1; grid-column: 2; margin-right: 160px; }
  .hero__inner { grid-template-columns: 1fr; padding: 80px 0; }
  .hero__brand { max-width: 530px; }
  .fleet-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid, .booking-catalog { grid-template-columns: 1fr; }
  .vehicle-detail { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body.admin-bar .site-header { top: 46px; }
  .site-header { height: 62px; }
  .site-header__inner { width: min(100% - 24px, 1220px); gap: 8px; }
  .header-call { min-width: 128px; padding: 0 12px; font-size: .82rem; }
  .menu-toggle { margin-right: 126px; }
  .site-drawer { grid-template-columns: 1fr; }
  .hero { min-height: 780px; background-position: 64% center; }
  .hero::before { background: linear-gradient(180deg, rgba(0,0,0,.84), rgba(0,0,0,.5)); }
  .hero__inner { gap: 26px; }
  .hero h1 { font-size: clamp(4rem, 19vw, 5.7rem); }
  .hero__brand { width: 100%; order: -1; opacity: .92; }
  .hero-book-strip .redline-button { min-width: 0; width: 100%; }
  .fleet-grid, .services-grid, .split-feature, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .vehicle-card, .vehicle-card--featured { min-height: 440px; }
  .split-feature__media { min-height: 360px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(3, 1fr); }
  .booking-card { grid-template-columns: 1fr; }
  .booking-card__media { min-height: 260px; }
  .redline-form { grid-template-columns: 1fr; }
  .redline-form__full { grid-column: auto; }
  .content-panel { padding: 28px 20px; }
  .footer-grid { gap: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
