:root{
  --primary:#E67E22; --primary-dark:#D35400; --primary-light:#F39C12;
  --accent:#FF6B35; --text-dark:#2D3436; --text-light:#636E72;
  --bg-light:#F8F9FA; --bg-white:#FFFFFF;
  --shadow-sm:0 4px 6px rgba(0,0,0,.07);
  --shadow-md:0 10px 25px rgba(0,0,0,.1);
  --shadow-lg:0 20px 40px rgba(0,0,0,.15);
  --shadow-xl:0 25px 50px rgba(0,0,0,.2);
  --radius:16px; --radius-lg:24px; --radius-xl:32px;
}

body{
  font-family:'Poppins',sans-serif; color:var(--text-dark); line-height:1.6;
  background:linear-gradient(135deg,var(--bg-light) 0%,var(--bg-white) 100%);
}
h1,h2,h3,h4,h5,h6{
  font-family:'Montserrat',sans-serif; font-weight:700; letter-spacing:-.025em; line-height:1.2;
}

/* Nav hover underline (shared with header.html) */
.nav-link{ position:relative; padding:8px 0; font-weight:500; color:var(--text-dark); transition:.3s; }
.nav-link:after{ content:''; position:absolute; width:0; height:3px; bottom:0; left:0;
  background:linear-gradient(90deg,var(--primary),var(--primary-dark)); border-radius:2px; transition:width .3s; }
.nav-link:hover{ color:var(--primary); }
.nav-link:hover:after{ width:100%; }

.hero-bg{
  background-image:linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.6)),url('carlineup3.webp');
  background-size:cover; background-position:center;
}

.time-slot{ transition:all .3s cubic-bezier(.4,0,.2,1); border-radius:var(--radius); font-weight:500; }
.time-slot:hover{ transform:translateY(-3px); box-shadow:0 10px 20px rgba(0,0,0,.1); }

.card-hover{ transition:all .3s cubic-bezier(.4,0,.2,1); border-radius:var(--radius-lg); overflow:hidden; }
.card-hover:hover{ transform:translateY(-8px); box-shadow:var(--shadow-xl); }

.gradient-text{
  background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}

.collapsible{ max-height:0; opacity:0; overflow:hidden; transition:max-height 300ms ease, opacity 250ms ease; will-change:max-height,opacity; }
.collapsible.open{ max-height:900px; opacity:1; }

.backdrop-blur-xl{ backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px); }

@media (max-width: 640px){
  .time-slot{
    font-size: 0.875rem;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    white-space: nowrap;
  }
  .price-table-scroll{
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .price-table th,
  .price-table td{
    font-size: 0.85rem;
    white-space: nowrap;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .price-table th{
    font-size: 0.75rem;
  }
}

.price-table-scroll{
  -webkit-overflow-scrolling: touch;
}

[data-carousel-slide] img{
  display:block;
  width:100%;
  color:transparent;
  background-color:transparent;
}
[data-carousel-slide] img.carousel-image{
  opacity:0;
  transition:opacity .4s ease;
}
[data-carousel-slide] img.carousel-image.is-loaded{
  opacity:1;
}
[data-carousel-slide] img.load-error{
  color:transparent;
  opacity:1 !important;
  background-color:transparent;
}

.resizable { resize: both; min-height: 112px; padding-right: 2.75rem; }
.textarea-wrap { position: relative; padding: 2px; border-radius: 0.8rem; }
.textarea-grip{
  position: absolute; right: 14px; bottom: 12px; width: 14px; height: 14px; pointer-events: none; opacity:.8;
  background:
    linear-gradient(135deg, transparent 50%, rgba(255,255,255,.7) 50%),
    linear-gradient(135deg, transparent 66%, rgba(255,255,255,.45) 66%);
  background-size: 100% 100%, 70% 70%;
  background-repeat: no-repeat;
}

/* Dark-on-hero inputs */
.input-contrast-dark{
  border-color: rgba(255,255,255,.38) !important;
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  border-radius: 0.75rem;
  background-clip: padding-box;
  color: #fff;
}
.input-contrast-dark::placeholder{ color: rgba(255,255,255,.7); }

/* Contact inputs (more noticeable) */
.input-contrast-light{
  border: 2px solid #D1D5DB !important;
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(17,24,39,.04);
  border-radius: 0.9rem;
  background-clip: padding-box;
  color: #111827;
  transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}
.input-contrast-light::placeholder{ color:#6B7280; opacity:.95; }
.input-contrast-light:focus{
  border-color: #F59E0B !important;
  box-shadow: 0 0 0 4px rgba(245,158,11,.18), 0 3px 14px rgba(17,24,39,.08);
  outline: none;
}
#contact .textarea-wrap{
  background: linear-gradient(#fff,#fff) padding-box, linear-gradient(0deg,#E5E7EB,#E5E7EB) border-box;
  border: 2px solid #D1D5DB; border-radius: 0.9rem;
}
#contact .textarea-wrap:focus-within{
  border-color:#F59E0B;
  box-shadow: 0 0 0 4px rgba(245,158,11,.18), 0 3px 14px rgba(17,24,39,.08);
}

input[type="radio"].accent-amber-500 { accent-color: #F59E0B; }



























/* Form styling */
.input-contrast-dark {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.input-contrast-dark::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.input-contrast-dark:focus {
    background: rgba(255, 255, 255, 0.15);
    outline: none;
}

.input-contrast-light {
    background: white;
    border: 1px solid #e5e7eb;
    color: #374151;
}

.input-contrast-light:focus {
    border-color: #f59e0b;
    outline: none;
}

/* Textarea resizable */
.textarea-wrap {
    position: relative;
}

.resizable {
    resize: vertical;
    min-height: 100px;
}

.textarea-grip {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: 
        linear-gradient(135deg, transparent 50%, rgba(0,0,0,.2) 50%),
        linear-gradient(135deg, transparent 66%, rgba(0,0,0,.1) 66%);
    pointer-events: none;
}

/* Collapsible animation */
.collapsible {
    transition: all 0.3s ease-in-out;
}

/* Notification animation */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.fixed {
    animation: slideIn 0.3s ease-out;
}


/* Put this in styles.css */
#bookingForm, #contactForm {
  overflow-anchor: none; /* prevent viewport nudges from dynamic content */
}





/* Reserve ~1 line of space so revealing the banner doesn’t push content */
#bookingSuccess, #bookingError, #contactSuccess, #contactError {
  min-height: 0;          /* default */
}
#bookingForm .feedback-slot { min-height: 48px; } /* create a slot if you add a wrapper */


/* Stops the browser from nudging the viewport when #booking height changes */
#booking, #bookingForm { 
  overflow-anchor: none;
}



















