/* ============================
      HOME PAGE CSS
   (Fully Controlled by colors.php)
=============================== */

/* ========== GLOBAL FIXES ========== */
:root {
  --primary: var(--primary-color);
  --secondary: var(--secondary-color);
  --accent: var(--accent-color);
  --heading: var(--heading-color);
  --text: var(--text-color);
  --paragraph: var(--paragraph-color);
  --bg: var(--background-color);
  --hover: var(--hover-color);
}

/* Reset Elementor/UICore backgrounds */
.elementor-section,
.elementor-container,
.uicore-body-content,
#uicore-page {
  background: transparent !important;
}

/* ============================
      HERO SECTION
============================ */
.hero {
  position: relative;
  min-height: 90vh;
  color: var(--heading);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.55);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 3rem;
  padding: 0 25px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--paragraph);
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Contacts */
.hero-contacts {
  margin-top: 15px;
}

.hero-contacts a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.hero-contacts a:hover {
  color: var(--hover);
}

/* Booking Form */
.hero-form {
  background: rgba(0, 0, 0, 0.75);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.hero-form h3 {
  color: var(--primary);
  font-size: 26px;
  margin-bottom: 15px;
}

.hero-form input,
.hero-form button {
  width: 100%;
  border-radius: 10px;
  padding: 12px 14px;
  border: none;
  margin-bottom: 15px;
  font-size: 16px;
}

.hero-form input {
  background: #fff;
  color: #111;
}

.hero-form button {
  /* âœ… This line uses the primary color from PHP */
  background: var(--primary-color);

  /* ðŸ”’ Text color is set back to hardcoded white */
  color: #fff;

  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.hero-form button:hover {
  /* âœ… This line uses the hover color from PHP */
  background: var(--hover-color);
}
/* Target the button inside the booking-form AND hero-form */
.booking-form .hero-form button {
  /* Ensure you are using the correct variable name: --primary-color */
  background: var(
    --primary-color
  ) !important; /* Use !important temporarily for testing */
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.booking-form .hero-form button:hover {
  background: var(
    --hover-color
  ) !important; /* Use !important temporarily for testing */
}
/* Responsive */
.checkbox-group {
        margin: 18px 0;
        font-size: 13.5px;
        color: #ddd;
        line-height: 1.5;
    }
    .checkbox-group label {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        cursor: pointer;
    }
    .checkbox-group input[type="checkbox"] {
        margin-top: 4px;
        accent-color: #ffd700;
        width: 18px;
        height: 18px;
    }
    #getQuoteBtn {
        width: 100%;
        padding: 16px;
        border-radius: 12px;
        border: none;
        background: #8b00a3;
        color: white;
        font-size: 18px;
        font-weight: 600;
        cursor: not-allowed;
        opacity: 0.5;
        transition: all 0.3s ease;
        margin-top: 10px;
    }
    #getQuoteBtn:not(:disabled):hover {
        background: #9d1ab8;
        transform: translateY(-2px);
    }

    @media (max-width: 992px) {
        .hero-inner {
            grid-template-columns: 1fr;
            text-align: center;
        }
        .hero-form {
            max-width: 500px;
            margin: 30px auto 0;
        }
}


/* ============================
      ONTARIO SECTION
============================ */
.ontario-section {
  background: var(--section-bg);
  color: var(--section-text);
  padding: 80px 5%;
}

.ontario-container {
  max-width: 1200px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin: auto;
  align-items: center;
}

.ontario-content h2 {
  color: var(--primary);
  font-size: 32px;
  margin-bottom: 15px;
}

.ontario-content p {
  color: var(--paragraph);
  line-height: 1.7;
}

.ontario-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

/* Mobile Fix */
@media (max-width: 992px) {
  .ontario-container {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================
      AIRPORT TRANSFERS
============================ */
.airport-section {
  background: #000;
  color: #fff;
  padding: 80px 5%;
}

.airport-content h2 {
  color: var(--primary);
  margin-bottom: 20px;
}

.airport-list li {
  list-style: none;
  margin-bottom: 10px;
}

.airport-list li::before {
  content: "âœ” ";
  color: var(--primary);
}
.city-section {
  background: var(--secondary);
  padding: 0;
}

.city-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.city-card {
  height: 460px;
  background-size: cover !important;
  background-position: center !important;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;  /* <— FIXED */
}

/* FORCE ALL TITLES SAME HEIGHT */
.city-card h3 {
  position: relative;
  z-index: 2;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
  margin-bottom: 20px;

  height: 150px;       /* <— SET SAME TITLE BOX HEIGHT */
  display: flex;
  align-items: flex-end;  /* <— Align title at bottom of this box */
}

/* ALL LINKS BELOW TITLE PERFECTLY */
.city-links {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

/* Static dark overlay */
.city-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.15));
  z-index: 1;
}

/* ON HOVER — ONLY DARKER BACKGROUND */
.city-card:hover::before {
  background: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0.3));
}


.city-links a {
  color: white;
  font-size: 16px;          /* BIGGER TEXT */
  background: rgba(0,0,0,0.35);
  padding: 5px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
}

.city-links a:hover {
  background: var(--primary);
  color: black;
}

/*.city-gta {*/
/*  background-image: url('assets/images/w4.jpg');*/
  
    
/*}*/

/*.city-halton {*/
/*  background-image: url('https://test.bestlimos.ca/assets/images/w6.jpg');*/
/*}*/

/*.city-durham {*/
/*  background-image: url('https://test.bestlimos.ca/assets/images/w2.jpg');*/
/*}*/

/*.city-simcoe {*/
/*  background-image: url('https://test.bestlimos.ca/assets/images/w3.jpg');*/
/*}*/

/*.city-southwestern {*/
/*  background-image: url('https://test.bestlimos.ca/assets/images/w1.webp');*/
/*}*/

/* ============================
         FLEET GRID
============================ */
.fleet-section {
  padding: 80px 0;
  background: #000;
}

.fleet-title {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 50px;
}

.fleet-grid {
  max-width: 1250px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.fleet-item img {
  width: 230px;
  height: 150px;
  object-fit: contain;
}

@media (max-width: 992px) {
  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================
        MISSION SECTION
============================ */
.mission-section {
  background: var(--secondary);
  padding: 80px 0;
}

.mission-title {
  color: var(--heading);
  text-align: center;
  font-size: 42px;
}

/* ============================
        MVV SECTION
============================ */
.mv-section {
  background: var(--secondary);
  padding: 80px 0;
  text-align: center;
}

.mv-box {
  background: #2a2d32;
  padding: 25px;
  border-radius: 12px;
  transition: 0.3s;
}

.mv-box:hover {
  background: #1f2226;
}

.mv-box h4 {
  color: var(--primary);
}

/* ============================
      TESTIMONIALS
============================ */
.testimonials-section {
  background: var(--secondary);
  padding: 80px 0;
}

.testimonial-card {
  background: #3a3f46;
  padding: 20px;
  color: #fff;
  border-radius: 12px;
}

/* ============================
      SERVICES FLIP BOXES
============================ */
.services-section {
  background: #000;
  padding: 80px 0;
}

.service-box {
  background: #2f3238;
  border-radius: 12px;
  padding: 30px;
  transition: 0.3s;
}

.service-box:hover {
  transform: translateY(-10px);
}

.service-box h3 {
  color: var(--primary);
}

/* ============================
      NEWSLETTER SECTION
============================ */
.newsletter-wrapper {
  background: #000;
  text-align: center;
  padding: 60px 0;
}

.newsletter-title {
  color: var(--heading);
}

.newsletter-btn {
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
}

.newsletter-btn:hover {
  background: var(--hover);
}

/* ============================
        FAQ SECTION
============================ */
.faq-section {
  background: var(--secondary);
  padding: 60px 0;
}

.faq-box {
  background: #2a2f35;
  padding: 20px;
  border-radius: 8px;
}

.faq-box h3 {
  color: var(--primary);
}

/* ============================
      AREAS WE SERVE
============================ */
.areas-section {
  background: #000;
  padding: 60px 0;
}

.areas-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 0;
}

/* ============================
      LUXURY OCCASIONS
============================ */
.luxury-occasion {
  background: #000;
  padding: 60px 0;
}

.luxury-box {
  height: 300px;
  border-radius: 12px;
  background-size: cover;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.luxury-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  transition: 0.3s;
}

.luxury-box:hover::before {
  background: rgba(0, 0, 0, 0.65);
}

.luxury-box h3 {
  position: absolute;
  bottom: 25px;
  left: 25px;
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0;
  transition: 0.3s;
}

.luxury-box:hover h3 {
  opacity: 1;
}
