/* Osnovni stilovi */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #0f1115;
  /* Subtle grain/noise texture */
  background-image: url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
  color: #e5e5e5;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
}

header {
  background: #111;
  color: white;
  padding: 8px 15px;
  text-align: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: top 0.3s ease;
}

nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none; /* samo aktivni slajd je klikabilan */
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomEffect 12s ease forwards;
}

.hero-slide .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background: rgba(0,0,0,0.5);
  padding: 20px 30px;
  border-radius: 12px;
  z-index: 2; /* iznad slike */
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  animation: fadeIn 1.5s ease;
background: rgba(0, 0, 0, 0.5); /* crna sa 50% providnosti */
  padding: 20px 30px;               /* prostor oko teksta */
  border-radius: 12px;              /* zaobljeni uglovi */
z-index: 5;   /* DODAJ OVO */
}

.hero-text h2 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 20px;
}

@keyframes zoomEffect {
  from { transform: scale(1); }
  to { transform: scale(1.15); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -60%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

/* Hero strelice */
.hero button.hero-prev,
.hero button.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 28px;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 10;
}

.hero button.hero-prev { left: 20px; }
.hero button.hero-next { right: 20px; }

.hero button.hero-prev:hover,
.hero button.hero-next:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-50%) scale(1.2);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

/* SECTIONS */
.section {
  padding: 80px 40px;
  margin: 40px 20px; /* Space between the cards */
  background: rgba(26, 29, 37, 0.6); /* Semi-transparent dark */
  border-radius: 24px; /* Smoother, modern corners */
  border: 1px solid rgba(255, 255, 255, 0.05); /* Subtle "edge" highlight */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px); /* Blurs whatever is behind it (glass effect) */
  text-align: center;
}

/* Give the "Gray" sections a subtle red-ish tint instead of just gray */
.section.gray {
  background: rgba(30, 34, 42, 0.8);
  border: 1px solid rgba(255, 45, 45, 0.1); /* Very faint red border */
}

/* Add a "Section Header" style for better hierarchy */
.section h2 {
  font-size: 32px;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.section h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #ff2d2d;
  margin: 10px auto 0;
  border-radius: 2px;
}

.section p {
  max-width: 700px;    /* This brings back that nice, readable width */
  margin: 0 auto 20px; /* Centers the text block horizontally */
  line-height: 1.8;    /* Gives the text some breathing room */
  color: #ccc;         /* Slightly softer white for better readability */
  font-size: 17px;
}





/* Reviews Carousel - Compressed & Glass Style */
.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1500px;
  margin-top: 30px; /* Reduced gap from title */
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 300px; /* Tighter height to kill empty space */
  margin: 0 auto;
  perspective: 1200px;
}

.review-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px; /* Wider cards to fill the space */
  padding: 25px;
  background: rgba(35, 39, 47, 0.85); /* Glassmorphism look */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  text-align: center;
  transform: translate(-50%, -50%);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  transform-style: preserve-3d;
}

.review-card img.avatar {
  width: 70px;         /* Size of the profile picture */
  height: 70px;
  border-radius: 50%;  /* Makes it a perfect circle */
  margin: 0 auto 15px; /* Centers it and adds space below */
  display: block;
  object-fit: cover;   /* This is KEY: it prevents the face from stretching */
  box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* Gives it a little depth */
}
.review-card .stars {
  margin-bottom: 10px;
  font-size: 16px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3)); /* Very subtle gold glow */
}

.review-card p {
  font-size: 17px;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 15px;
  color: #fff;
  transform: translateZ(0);
}

.review-card span {
  all: unset;          /* Reset everything (borders, backgrounds, circles) */
  display: block;      /* Put it on a new line */
  margin-top: 10px;    /* Space from the text above */
  font-weight: 600;
  font-size: 15px;
  color: #e5e5e5;      /* Main text color */
  text-align: center;
  font-family: 'Inter', sans-serif;
  transform: translateZ(0);
}


/* Reviews Arrows - Tucked in for a cleaner look */
.reviews-carousel button.reviews-prev,
.reviews-carousel button.reviews-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 24px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 100;
}

.reviews-carousel button.reviews-prev { left: 0; }
.reviews-carousel button.reviews-next { right: 0; }

.reviews-carousel button.reviews-prev:hover,
.reviews-carousel button.reviews-next:hover {
  background: #ff2d2d;
  border-color: #ff2d2d;
  transform: translateY(-50%) scale(1.1);
}
/* Images section */
.images img {
  width: 30%;
  margin: 10px;
  border-radius: 10px;
  transition: 0.3s;
}

.images img:hover {
  transform: scale(1.05);
}

/* Updated Main Footer Styles */
.main-footer {
  background: #0a0b0d; /* Slightly darker than the body */
  color: white;
  padding: 60px 20px 20px;
  border-top: 2px solid #ff2d2d;
  margin-top: 50px;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-box {
  flex: 1;
  min-width: 250px;
}

.footer-box h3 {
  color: #ff2d2d;
  font-size: 20px;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.footer-box p {
  font-size: 15px;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-link {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  margin-bottom: 8px;
}

.footer-link:hover {
  color: #ff2d2d;
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  color: #666;
}

/* Mobile Fix for Footer */
@media (max-width: 768px) {
  .footer-box {
    text-align: center;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
}
/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


.hero-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background: linear-gradient(45deg, #ff2d2d, #ff6b00);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.hero-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}


.hero-slide .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background: rgba(0,0,0,0.5);
  padding: 20px 30px;
  border-radius: 12px;
  z-index: 2; /* iznad slike, ali unutar slajda */
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;   /* samo aktivni slajd je klikabilan */
}

/* Floating Contact Container */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.contact-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulse 2s infinite;
}

.contact-btn svg {
  width: 32px;
  height: 32px;
}

.whatsapp {
  background: #25D366;
}

.viber {
  background: #7360f2; 
  animation-delay: 0.5s; /* Keep your existing pulse offset */
  box-shadow: 0 10px 25px rgba(115, 96, 242, 0.4);
}

/* Optional: Update the pulse animation to blue for this specific button */
.viber:hover {
  background: #005ecb; /* Slightly darker on hover */
  box-shadow: 0 15px 30px rgba(0, 122, 255, 0.6);
}

/* Pulse Animation */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Adjust mobile layout so they don't cover text */
@media (max-width: 768px) {
  .floating-contact {
    bottom: 20px;
    right: 20px;
  }
  .contact-btn {
    width: 50px;
    height: 50px;
  }
}


/* Mobile Fix for Reviews Carousel */
@media (max-width: 768px) {
  .carousel-wrapper {
    width: 100%;    /* Take up full phone width */
    height: 300px;  /* Slightly shorter */
  }

  .review-card {
    width: 150px;   /* Smaller cards for smaller screens */
    padding: 10px;
  }

  .reviews-carousel button.reviews-prev { left: 5px; }
  .reviews-carousel button.reviews-next { right: 5px; }
  
  .images img {
    width: 90%;     /* Stack images vertically on mobile */
    margin: 10px 0;
  }
}

/* Services Grid Styles */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.service-box {
  background: #1a1d25;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
  cursor: default;
}

.service-box:hover {
  transform: translateY(-10px);
  background: #21252d;
  border-color: #ff2d2d;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.service-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: inline-block;
}

.service-box h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 22px;
}

.service-box p {
  font-size: 15px;
  color: #bbb;
  line-height: 1.6;
}

/* Mobile Tweak for Services */
@media (max-width: 768px) {
  .services-container {
    grid-template-columns: 1fr; /* Single column on phones */
  }
}



.service-box:hover {
  border-color: #ff2d2d;
  box-shadow: 0 0 20px rgba(255, 45, 45, 0.2); /* Subtle red glow */
  background: linear-gradient(145deg, #1a1d25, #222730);
}


.stats-bar {
  display: flex;
  justify-content: space-around;
  background: linear-gradient(90deg, #111, #1a1d25);
  padding: 20px 0;
  border-bottom: 2px solid #ff2d2d;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: 24px;
  color: #ff2d2d;
}
.stat-item span {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #bbb;
}


/* Service Page Specifics */
/* Service Page Specifics */
.service-hero {
  position: relative; /* Changed from potentially fixed to relative */
  display: flex;      /* Center the content */
  align-items: center;
  justify-content: center;
  min-height: 60vh;   /* Give it some height */
  padding: 100px 20px 60px; 
  background: linear-gradient(rgba(15, 17, 21, 0.7), rgba(15, 17, 21, 0.9)), 
              url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&q=80&w=1000');
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
}



.services-detailed {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.service-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 29, 37, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: scale(1.02);
    border-color: rgba(255, 45, 45, 0.3);
}

.service-info h2 {
    color: #ff2d2d;
    margin-bottom: 15px;
}

.service-info ul {
    list-style: none;
    color: #ccc;
}

.service-info ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.service-info ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff2d2d;
}

.service-price {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 45, 45, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid #ff2d2d;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .service-card {
        flex-direction: column;
        text-align: center;
    }
    .service-info ul li {
        padding-left: 0;
    }
    .service-price {
        margin-top: 20px;
    }
}


/* Gallery Page Styles - Optimized */
.section-header {
    text-align: center;
    padding: 140px 20px 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    height: 250px;
    border: 1px solid rgba(255,255,255,0.05);
    /* Prep the browser for movement */
    will-change: transform;
    background: #000; /* Prevents flicker during load */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Faster 0.3s transition is standard for premium UI */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
}

.gallery-item:hover img {
    transform: scale(1.08); /* Slightly smaller scale is more elegant */
}

.gallery-item .overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(255, 45, 45, 0.7); /* Slightly darker for better text contrast */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    /* Hardware acceleration for the fade */
    transition: opacity 0.2s ease-out;
    pointer-events: none; /* Ensures the mouse interaction is always on the parent */
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* Optional: Add this to make the "View Project" text feel snappy */
.gallery-item .overlay span {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    transform: translateY(10px);
    transition: transform 0.3s ease-out;
}

.gallery-item:hover .overlay span {
    transform: translateY(0);
}
/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255,45,45,0.2);
}


.close {
    position: absolute;
    top: 30px; right: 40px;
    color: white; font-size: 40px; cursor: pointer;
}


.nav-links a.active {
    color: #ff2d2d;
    border-bottom: 2px solid #ff2d2d;
    padding-bottom: 5px;
}


/* Fix for revealed elements that are also centered hero text */
.hero-text.reveal {
  /* Overriding the default reveal to keep the horizontal centering */
  transform: translate(-50%, -40%); 
}

.hero-text.reveal.active {
  /* Final position: perfectly centered */
  transform: translate(-50%, -50%);
  opacity: 1;
}



.logo-ticker {
    background: #050608; /* Slightly darker than body for contrast */
    padding: 20px 0;
    border-top: 1px solid rgba(255, 45, 45, 0.2);
    border-bottom: 1px solid rgba(255, 45, 45, 0.2);
    overflow: hidden;
    white-space: nowrap;
}

.ticker-wrapper {
    display: flex;
    width: 100%;
}

.ticker-track {
    display: flex;
    gap: 60px; /* Space between logos */
    animation: scrollLogos 30s linear infinite;
}

.ticker-track span {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.2); /* Faded look so it's not distracting */
    letter-spacing: 5px;
    transition: color 0.3s;
    cursor: default;
}

.ticker-track span:hover {
    color: #ff2d2d; /* Lights up on hover! */
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Moves exactly halfway to loop perfectly */
}



.gallery-grid {
    grid-auto-flow: dense; /* Fills in gaps if you have different sized images */
}




/* --- MOBILE OPTIMIZATIONS (Max width 768px) --- */
@media (max-width: 768px) {
  
  /* 1. Hero Text Box - Narrower to avoid the arrows */
  .hero-text {
    width: 70% !important; /* Forces the box to be narrow so it doesn't hit arrows */
    max-width: 280px;
    padding: 12px 15px !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7); /* Slightly darker for better readability */
    border-radius: 8px;
  }

  /* 2. Hero Titles - Smaller to fit 75% width */
  .hero-text h2, 
  .service-hero .hero-text h2 {
    font-size: 22px !important; 
    white-space: normal;
    line-height: 1.2;
    margin-bottom: 5px;
  }

  .hero-text p,
  .service-hero .hero-text p {
    font-size: 14px !important;
    padding: 0 5px;
  }

  @media (max-width: 768px) {
  /* ... your existing mobile code ... */

  /* FIX FOR CHECKMARK COLLISION */
  .service-info ul li {
    padding-left: 30px !important; /* Increase space for the checkmark */
    text-align: left;              /* Keep text aligned left for readability */
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 12px;           /* More space between rows */
    display: block;                /* Ensure it stays as a block */
  }

  .service-info ul li::before {
    left: 0;                       /* Lock checkmark to the far left */
    font-size: 16px;               /* Make checkmark slightly bigger/clearer */
  }
}

  /* 3. Hero Arrows - Smaller and tucked to the edges */
  .hero button.hero-prev,
  .hero button.hero-next {
    width: 35px;
    height: 35px;
    font-size: 18px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
  }

  .hero button.hero-prev { left: 5px; }
  .hero button.hero-next { right: 5px; }

  /* 4. Logo Ticker - Better spacing */
  .ticker-track {
    gap: 40px; /* Space between car names */
  }

  .ticker-track span {
    font-size: 20px; 
  }

  /* 5. Service Hero (Usluge Page) */
  .service-hero {
    padding: 120px 15px 60px;
    min-height: 40vh;
  }

  /* 6. Header adjustments */
  header h1 {
    font-size: 18px; 
  }

  nav a {
    font-size: 13px;
    margin: 0 4px;
  }
}

/* --- SMALL MOBILE FIXES (Max width 480px) --- */
@media (max-width: 480px) {
  /* On very tiny phones, we move the arrows to the bottom center */
  .hero button.hero-prev,
  .hero button.hero-next {
    top: auto;
    bottom: 20px;
    transform: none;
  }
  
  .hero button.hero-prev { left: 25%; }
  .hero button.hero-next { right: 25%; }

  .hero-text {
    width: 85% !important; /* Since arrows moved to bottom, we can go wider again */
    top: 45%;
  }

  .hero-text h2 {
    font-size: 22px !important;
  }
  
  .hero-btn {
    padding: 10px 18px;
    font-size: 13px;
    margin-top: 10px;
  }
}


/* Container for the Google text */
.reviews-source {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Pushes it to the right */
    gap: 8px;
    margin-top: 20px;
    margin-right: 10px;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.reviews-source:hover {
    opacity: 1;
}

.reviews-source img {
    width: 16px;
    height: 16px;
    /* Resetting any global img styles that might interfere */
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.reviews-source span {
    font-size: 12px;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Mobile: Center the text so it looks better on phones */
@media (max-width: 768px) {
    .reviews-source {
        justify-content: center;
        margin-right: 0;
        margin-top: 30px; /* More space on mobile */
    }
}


/* --- GLOBAL BOOKING SECTION --- */
.booking-section {
    background: linear-gradient(180deg, rgba(26, 29, 37, 0.6) 0%, rgba(15, 17, 21, 0.9) 100%) !important;
    border-top: 1px solid rgba(255, 45, 45, 0.3) !important;
    margin-bottom: 0 !important; /* Flush with footer */
    border-radius: 24px 24px 0 0 !important; /* Rounded top, flat bottom */
}

.booking-container {
    max-width: 650px;
    margin: 30px auto 0;
    text-align: left;
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.booking-container input, 
.booking-container select, 
.booking-container textarea {
    flex: 1;
    background: #0d0f12;
    border: 1px solid #333;
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    transition: 0.3s;
}

.booking-container input:focus, 
.booking-container select:focus, 
.booking-container textarea:focus {
    border-color: #ff2d2d;
    box-shadow: 0 0 10px rgba(255, 45, 45, 0.1);
    outline: none;
}

.booking-container textarea {
    width: 100%;
    height: 80px;
    resize: none;
    box-sizing: border-box;
}

.booking-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    margin-top: 15px;
    padding: 15px !important;
}

@media (max-width: 768px) {
    .form-row { flex-direction: column; gap: 10px; }
    .booking-section { padding: 40px 20px; }
}



/* --- BOOKING BUTTON STATES --- */
.booking-submit.loading {
    background: #444 !important;
    cursor: wait;
    pointer-events: none;
}

.booking-submit.success {
    background: linear-gradient(45deg, #28a745, #20c997) !important;
    border-color: #28a745 !important;
    box-shadow: 0 0 20px rgba(40, 167, 69, 0.4);
    pointer-events: none;
}

/* Tiny Spinner Animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}





/* --- PRELOADER STYLES --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f1115; /* Matches your body color */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999; /* Must be above everything */
    transition: opacity 0.8s ease, visibility 0.8s;
}

.loader-content {
    text-align: center;
}

.precision-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 45, 45, 0.1);
    border-top: 3px solid #ff2d2d;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
}

.loader-content p {
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: 5px;
    font-size: 14px;
    margin: 0;
    text-transform: uppercase;
}

.loading-bar {
    display: block;
    width: 0%;
    height: 2px;
    background: #ff2d2d;
    margin-top: 10px;
    box-shadow: 0 0 10px #ff2d2d;
    animation: grow 2s ease forwards;
}

/* Animations */
@keyframes grow {
    from { width: 0; }
    to { width: 100%; }
}

/* Preloader Hide Class */
.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}