/* ============================================
   MOONCHASER LIMO & CAR SERVICE
   Design tokens
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  /* color */
  --ink:        #0a0a0c;
  --ink-soft:   #111114;
  --panel:      #16161a;
  --panel-2:    #1c1c21;
  --line:       #29292f;
  --line-soft:  #202025;
  --ivory:      #f4f2ec;
  --ivory-dim:  #cfcdc6;
  --muted:      #8d8d94;
  --gold:       #d9a544;
  --gold-soft:  #b8873a;
  --gold-glow:  #f0c878;

  /* type */
  --display: 'Fraunces', serif;
  --sans: 'Manrope', sans-serif;

  /* layout */
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius-sm: 6px;
  --radius-md: 12px;

  /* motion */
  --ease: cubic-bezier(.2,.7,.25,1);
}

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

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a{ color: inherit; text-decoration: none; }

h1, h2, h3, h4{
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  color: var(--ivory);
}

p{ margin: 0; }

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

/* focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}

.btn-primary{
  background: var(--gold);
  color: #17130a;
}
.btn-primary:hover{ background: var(--gold-glow); transform: translateY(-1px); }

.btn-outline{
  background: transparent;
  border-color: rgba(244,242,236,0.28);
  color: var(--ivory);
}
.btn-outline:hover{ border-color: var(--ivory); transform: translateY(-1px); }

.btn-dark{
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--line);
}
.btn-dark:hover{ border-color: var(--gold); }

/* ============================================
   HEADER / NAV
   ============================================ */

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,12,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: 0.01em;
  color: var(--ivory);
}
.brand .mark{
  width: 30px; height: 30px;
  flex-shrink: 0;
}
.brand .word-gold{ color: var(--gold); }

.nav-links{
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a{
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ivory-dim);
  position: relative;
  padding: 4px 0;
  transition: color 0.18s var(--ease);
}
.nav-links a:hover,
.nav-links a.active{ color: var(--ivory); }
.nav-links a.active::after{
  content:'';
  position:absolute;
  left:0; right:0; bottom:-3px;
  height: 2px;
  background: var(--gold);
}

.nav-right{
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-phone{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ivory-dim);
}
.nav-phone svg{ width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.nav-phone:hover{ color: var(--ivory); }

.nav-toggle{
  display: none;
  background: none;
  border: none;
  color: var(--ivory);
  cursor: pointer;
  padding: 6px;
}

@media (max-width: 940px){
  .nav-links{ display: none; }
  .nav-phone span{ display: none; }
  .nav-toggle{ display: block; }
}

/* mobile nav drawer */
.mobile-nav{
  display: none;
  flex-direction: column;
  gap: 2px;
  background: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 10px var(--gutter) 20px;
}
.mobile-nav.open{ display: flex; }
.mobile-nav a{
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ivory-dim);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a:last-child{ border-bottom: none; }
.mobile-nav a.active{ color: var(--gold); }

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */

.wa-float{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1e2a22;
  border: 1px solid #2f4536;
  color: var(--ivory);
  padding: 13px 20px 13px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.wa-float:hover{ transform: translateY(-2px); background: #24352a; }
.wa-float svg{ width: 22px; height: 22px; color: #4fd67a; flex-shrink: 0; }
.wa-float span{ font-size: 14px; font-weight: 700; }

@media (max-width: 560px){
  .wa-float span{ display: none; }
  .wa-float{ padding: 14px; }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer{
  border-top: 1px solid var(--line-soft);
  padding: 64px 0 32px;
  margin-top: 120px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-col h4{
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.footer-col p, .footer-col a{
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.6;
}
.footer-col a:hover{ color: var(--gold); }
.footer-brand{
  font-family: var(--display);
  font-size: 22px;
  color: var(--ivory);
  margin-bottom: 14px;
}
.footer-brand .word-gold{ color: var(--gold); }
.footer-tagline{
  font-size: 14px;
  color: var(--muted);
  max-width: 320px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 860px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px){
  .footer-grid{ grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   SHARED SECTION UTILITIES
   ============================================ */

.section{
  padding: 100px 0;
}
@media (max-width: 760px){
  .section{ padding: 64px 0; }
}

.section-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
}
.section-head h2{
  font-size: clamp(28px, 3.4vw, 42px);
  max-width: 620px;
}
.section-head p{
  font-size: 15.5px;
  color: var(--muted);
  max-width: 380px;
  line-height: 1.6;
}

@media (max-width: 720px){
  .section-head{ flex-direction: column; align-items: flex-start; }
}

/* ============================================
   VEHICLE CUTOUT BLENDING
   Shared treatment so sourced car photos sit into
   the dark stage rather than reading as pasted PNGs.
   ============================================ */

.vehicle-cutout{
  filter:
    brightness(0.96)
    contrast(1.09)
    saturate(1.04)
    drop-shadow(0 22px 18px rgba(0,0,0,0.55))
    drop-shadow(0 2px 3px rgba(0,0,0,0.35));
}

/* static reflection — used where the image doesn't animate/swap.
   markup: <div class="cutout-reflect-wrap"><img class="vehicle-cutout">
   <img class="vehicle-cutout reflect-copy" aria-hidden="true"></div> */
.cutout-reflect-wrap{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.reflect-copy{
  margin-top: -6%;
  transform: scaleY(-1);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.32), transparent 60%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.32), transparent 60%);
  opacity: 0.55;
  pointer-events: none;
}

/* double contact shadow — tight dark shadow at the wheels + soft ambient wash,
   sits under an image so the car reads as grounded rather than floating */
.contact-shadow{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.contact-shadow.tight{
  bottom: 8%;
  width: 46%;
  height: 10px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.75), transparent 75%);
  filter: blur(3px);
}
.contact-shadow.ambient{
  bottom: 2%;
  width: 66%;
  height: 26px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.4), transparent 72%);
  filter: blur(6px);
}
