/* =============================================
   LA Rentals 2028 — Main Stylesheet
   Navy #0D1B2A | Amber #C8860A | White #F8F5F0
   ============================================= */

:root {
  --navy: #0D1B2A;
  --navy-mid: #1A2E42;
  --navy-light: #243C52;
  --amber: #C8860A;
  --amber-light: #E09B0F;
  --amber-pale: #FFF3D6;
  --white: #F8F5F0;
  --off-white: #EEE9E1;
  --text-dark: #0D1B2A;
  --text-mid: #3A4D5C;
  --text-light: #6B7E8D;
  --border: #D4C9B8;
  --font: 'Georgia', serif;
  --sans: system-ui, -apple-system, sans-serif;
  --max: 1160px;
  --radius: 6px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.7;
}

a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-light); }

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- COOKIE BAR ---- */
#cookie-bar {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 13px;
  position: relative;
  z-index: 999;
}
#cookie-bar a { color: var(--amber); font-weight: 600; }

/* ---- HEADER ---- */
#site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--amber);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.5px;
}
.logo span { color: var(--amber); }
nav { display: flex; gap: 28px; }
nav a {
  color: rgba(248,245,240,.75);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  transition: color .15s;
}
nav a:hover, nav a.active { color: var(--amber); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--navy-mid);
  padding: 16px 24px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--white);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 15px;
}

/* ---- HERO ---- */
.hero {
  background: var(--navy);
  background-image: url('/images/larentals2028.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(200,134,10,.03) 40px,
    rgba(200,134,10,.03) 41px
  );
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 22px;
}
.hero h1 em {
  color: var(--amber);
  font-style: normal;
}
.hero-sub {
  font-size: 18px;
  color: rgba(248,245,240,.8);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--amber);
  color: var(--navy);
  padding: 14px 28px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  border-radius: var(--radius);
  transition: background .15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--amber-light); color: var(--navy); }
.btn-outline {
  border: 1.5px solid rgba(248,245,240,.4);
  color: var(--white);
  padding: 14px 28px;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius);
  transition: border-color .15s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }

/* Hero sponsor slot */
.hero-sponsor {
  display: flex;
  align-items: flex-start;
}

/* ---- STAT BAR ---- */
.stat-bar {
  background: var(--amber);
  padding: 28px 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(13,27,42,.2);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font);
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(13,27,42,.7);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ---- SECTIONS ---- */
.section { padding: 70px 0; }
.section.alt { background: var(--off-white); }
.section.dark { background: var(--navy); color: var(--white); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.section h2 {
  font-family: var(--font);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section.dark h2 { color: var(--white); }
.section-sub {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 640px;
  margin-bottom: 44px;
}
.section.dark .section-sub { color: rgba(248,245,240,.7); }

/* ---- CATEGORY CARDS ---- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .15s, transform .15s;
  display: flex;
  flex-direction: column;
}
.cat-card:hover { border-color: var(--amber); transform: translateY(-2px); }
.cat-card.featured {
  border-color: var(--amber);
  border-width: 2px;
}
.cat-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cat-card h3 {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.cat-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 18px;
}
@media screen and (max-width: 900px) {
  .cat-card p,
  .cat-card > p {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
}
.cat-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.platform-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  transition: color .15s, padding-left .15s;
  text-decoration: none;
}
.platform-link::after {
  content: '→';
  color: var(--amber);
  font-size: 14px;
  flex-shrink: 0;
  margin-left: 8px;
}
.platform-link:hover {
  color: var(--amber);
  padding-left: 6px;
}
.platform-link:last-child { border-bottom: none; }
.cat-cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .04em;
}
.cat-cta:hover { color: var(--amber); }

/* ---- HOMEOWNER BAND ---- */
.owner-band {
  background: var(--navy-mid);
  border-top: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
  padding: 60px 0;
  color: var(--white);
}
.owner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.owner-band h2 {
  font-family: var(--font);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.owner-band h2 em { color: var(--amber); font-style: normal; }
.owner-band p {
  font-size: 16px;
  color: rgba(248,245,240,.75);
  max-width: 560px;
}

/* ---- FAQ / AI BLOCK ---- */
.faq-block { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.faq-a {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ---- NEWS FEED ---- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.news-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.news-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color .15s, padding-left .15s;
}
.news-link::after {
  content: '→';
  color: var(--amber);
  font-size: 14px;
  flex-shrink: 0;
  margin-left: 8px;
}
.news-link:hover { color: var(--amber); padding-left: 6px; }
.news-link:last-child { border-bottom: none; }
.news-source {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--amber);
  margin-bottom: 8px;
}
.news-card h4 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.news-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.55;
}

/* ---- FOOTER ---- */
#site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-logo span { color: var(--amber); }
.footer-tagline {
  font-size: 13px;
  color: rgba(248,245,240,.5);
  line-height: 1.6;
}
.footer-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--amber);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(248,245,240,.65);
  margin-bottom: 8px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  padding: 18px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(248,245,240,.3);
}

/* ---- SPONSOR SLOT ---- */
.promo-slot {
  background: var(--off-white);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  color: var(--text-light);
  font-size: 12px;
  text-align: center;
  margin: 40px 0;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero { padding: 30px 0 30px !important; min-height: 0 !important; }
  .hero-sub { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-sponsor { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(13,27,42,.2); }
  .stat-item { background: var(--amber); border-right: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { grid-column: span 1 !important; }
  .cat-card p { display: none !important; }
  .section-sub { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
  .nav-toggle { display: block; }
  .owner-inner { grid-template-columns: 1fr; text-align: center; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card p { display: none !important; }
}
@media (max-width: 580px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card p { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; }
}

/* ---- CROSS-PROMO UNITS ---- */
.cross-promo-desktop {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 50px 0;
  width: 100%;
  text-align: center;
  background: var(--off-white);
}
.cross-promo-desktop img {
  display: block;
  width: 300px;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  margin: 0 auto;
}
.cross-promo-mobile {
  display: none;
}

/* ---- STICKY MOBILE BAR ---- */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  text-align: center;
  background: #000;
}

@media (max-width: 900px) {
  .cross-promo-desktop { display: none; }
  .sticky-mobile-bar {
    display: block;
  }
  .sticky-mobile-bar a {
    display: block;
  }
  .sticky-mobile-bar img {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: inline-block;
  }
  .sticky-mobile-bar .close-bar {
    position: absolute;
    top: 4px;
    right: 10px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    padding: 2px 6px;
  }
}

/* ---- OPENING CEREMONY COUNTDOWN (header) ---- */
.oc-countdown {
  font-size: 12px;
  font-weight: 600;
  color: rgba(248,245,240,.75);
  letter-spacing: .03em;
  white-space: nowrap;
  padding: 5px 12px;
  border: 1px solid rgba(200,134,10,.4);
  border-radius: 4px;
  background: rgba(200,134,10,.08);
}
.oc-countdown #oc-days {
  color: var(--amber);
  font-weight: 700;
}
@media (max-width: 900px) {
  .oc-countdown { display: none; }
}
