
/* What-A-Rental lightweight site styles */
:root{
  --brand-yellow:#F2D01C;
  --brand-dark:#111111;
  --text:#222;
  --muted:#666;
  --bg:#fafafa;
}

*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:var(--text);background:var(--bg);line-height:1.6}

.container{max-width:1100px;margin:0 auto;padding:0 20px}
.header{position:sticky;top:0;background:#fff;border-bottom:1px solid #eee;z-index:10}
.header .wrap {
  display: flex;          /* keep flexbox for nav + logo layout */
  align-items: center;
  justify-content: space-between;
  height: auto;           /* stop the bar from stretching too tall */
  padding: 10px 20px;     /* control spacing manually */
}

.logo img {
  height: 120px;          /* bigger logo */
  width: auto;            /* keep proportions */
  display: block;
}

.logo{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text)}
.logo img{height:120px}
.logo .brand{font-weight:800;letter-spacing:.5px}

.nav a{margin-left:18px;text-decoration:none;color:var(--text)}
.nav a.btn{background:var(--brand-yellow);padding:10px 14px;border-radius:10px;color:#000;font-weight:700}

.hero{background:linear-gradient(180deg, rgba(242,208,28,.15), rgba(0,0,0,.03));padding:70px 0 40px}
.hero .content{display:grid;grid-template-columns: 1.1fr .9fr;gap:28px;align-items:center}
.hero h1{font-size:44px;line-height:1.1;margin:0 0 12px}
.hero p{color:var(--muted);margin:0 0 24px}
.cta{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-block;background:var(--brand-yellow);color:#000;padding:12px 18px;border-radius:12px;font-weight:700;text-decoration:none}
.btn.outline{background:#fff;border:2px solid var(--brand-yellow)}

.widget{background:#fff;border:1px solid #eee;border-radius:14px;padding:16px}

.section{padding:60px 0}
.section h2{font-size:28px;margin:0 0 22px}

.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{background:#fff;border:1px solid #eee;border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.card img{width:100%;height:170px;object-fit:cover}
.card .body{padding:14px}
.card h3{margin:0 0 8px;font-size:18px}
.card ul{margin:0 0 10px 18px}
.card .muted{color:var(--muted);font-size:12px;margin-bottom:10px}
.card .actions{margin-top:auto;padding:14px}
.card .actions .btn{width:100%;text-align:center}

.banner{background:#fff;border:1px dashed #ddd;border-radius:12px;padding:18px;color:var(--muted)}

.footer{background:#0f0f0f;color:#bbb;padding:40px 0;margin-top:40px}
.footer a{color:#bbb}
.small{font-size:12px;color:#888}
@media (max-width:900px){
  .hero .content{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr 1fr}
}
@media (max-width:600px){
  .grid{grid-template-columns:1fr}
}
/* Smooth scroll for anchor links */
html { scroll-behavior: smooth; }

/* Intake form layout */
#apply form { background:#fff; border:1px solid #eee; border-radius:12px; padding:16px; }
#apply .row { display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; }
#apply label { display:flex; flex-direction:column; font-size:14px; gap:6px; }
#apply input, #apply select, #apply textarea {
  padding:10px; border:1px solid #ddd; border-radius:8px; font:inherit;
}
#apply .actions { margin-top:12px; display:flex; align-items:center; gap:12px; }
#apply #formMessage.ok { color:#0a7a0a; }
#apply #formMessage.err { color:#b00020; }
#apply .hp { display:none !important; }
#apply .agree { margin-top:8px; font-size:14px; gap:8px; align-items:center; }

/* Responsive */
@media (max-width: 900px){ #apply .row { grid-template-columns: 1fr; } }
.banner.full {
  background: var(--brand-yellow);
  color: #000;
  padding: 40px 20px;
  text-align: center;
  border-radius: 0; /* full strip, no rounded corners */
  margin: 40px 0;
}
.footer .social {
  margin: 12px 0;
}
.footer .social a {
  color: #bbb;
  font-size: 20px;
  margin: 0 8px;
  text-decoration: none;
}
.footer .social a:hover {
  color: var(--brand-yellow);
}
.footer .container{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.footer .social{
  display:flex;
  gap:12px;
  margin-left:auto;
}
.footer .social a{
  color:#bbb;
  font-size:20px;
  text-decoration:none;
}
.footer .social a:hover{
  color:var(--brand-yellow);
}
.footer .small{
  width:100%;
  margin-top:6px;
}
/* Make the entire card behave like a link */
.card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease;
}
.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
/* Card specs: seats & bags row */
.card .specs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0 8px;
}
.card .specs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card .specs i { font-size: 15px; }
.flag-badge{
  width:28px; height:auto;
  margin-left:8px;
  vertical-align:middle;
  border-radius:2px;
  box-shadow:0 1px 2px rgba(0,0,0,.12);
}
@media (max-width:480px){
  .flag-badge{ display:none; } /* keep the headline clean on small screens */
}

/* Subtle American flag watermark across hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0,0,0,0.00), rgba(0,0,0,0.02)); /* tiny depth */
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/img/us-flag.svg") center/cover no-repeat;
  opacity: 0.08;                /* adjust between .05 and .12 to taste */
  filter: saturate(0.8) contrast(0.9);
  pointer-events: none;         /* keep it non-interactive */
}

/* Optional: fade it out under the widget for readability */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 70% 40%, rgba(255,255,255,0.65), transparent 60%);
  pointer-events: none;
}

@media (max-width: 800px) {
  .hero::before { opacity: 0.06; }
  .hero::after  { background: radial-gradient(60% 60% at 70% 40%, rgba(255,255,255,0.75), transparent 60%); }
}
/* Collapsible Quick Quote (home) */
#reserve .booking-collapsible { border:1px solid #eee; border-radius:12px; background:#fff; }
#reserve summary { cursor:pointer; padding:12px 16px; font-weight:700; }
#reserve .booking-wrap { padding:0 16px 16px; }
#reserve #homeBookingFrame { width:100%; border:0; min-height:420px; }
@media (max-width:768px){ #reserve #homeBookingFrame { min-height:540px; } }
/* ----- Mobile improvements ----- */
.menu-toggle {
  display: none;
  font-size: 26px;
  line-height: 1;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

@media (max-width: 900px){
  .header .wrap { padding: 8px 16px; }
  .logo img { height: 64px; }           /* was 120px; scale down for phones */
  .menu-toggle { display: block; }
  .nav { display: none; }                /* hide inline nav on mobile */
  .nav.open {
    display: flex;
    position: absolute;
    right: 16px;
    top: 72px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    z-index: 20;
  }
  .nav.open a { margin: 0; padding: 8px 10px; }

  .hero h1 { font-size: 30px; }         /* down from 44px */
  .hero p  { font-size: 15px; }

  .container { padding: 0 16px; }

  .card img { height: 140px; }          /* reduce crop height on phones */
}

@media (max-width: 600px){
  .logo img { height: 56px; }           /* even tighter on very small screens */
  .hero { padding: 48px 0 28px; }
  .btn { padding: 10px 14px; border-radius: 10px; }
}
