/* ===========================================
   TRICHY TAXI WEBSITE STYLES
   Font: Poppins | Theme Colors from Logo
=========================================== */

:root {
  --primary-color: #FFD22E; /* Taxi Yellow */
  --dark-color: #1E1E1E;    /* Deep Black */
  --light-color: #FFFFFF;
  --text-color: #222;
}

/* Base Reset */
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  background-color: #f8fafc;
}


/* ==============================
   NAVBAR
============================== */
.custom-navbar {
  background: var(--light-color);
  transition: all 0.4s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 12px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 22px;
  color: var(--dark-color);
  text-decoration: none;
}

.nav-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-right: 10px;
  border-radius: 50%;
}

/* Nav Links */
.navbar-nav .nav-link {
  color: #313030 !important;
  font-weight: 500;
  position: relative;
  padding: 8px 14px !important;
  transition: all 0.3s ease;
}

/* Hover underline animation */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Active link */
.navbar-nav .nav-link.active {
  color: #00776f !important;
  font-weight: 600;
}

.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Book Now Button */
.btn-book {
  background-color: var(--primary-color) !important;
  color: var(--dark-color) !important;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-book:hover {
  background-color: var(--dark-color);
  color: var(--light-color) !important;
  transform: translateY(-2px);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(255, 210, 46, 0.4);
}

/* Navbar scroll shadow */
.custom-navbar.scrolled {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

/* ==============================
   HERO SECTION DEMO
============================== */
.hero-section {
  background: linear-gradient(rgba(30,30,30,0.4), rgba(30,30,30,0.4)), url('img/hero-bg.jpg') center/cover no-repeat;
  color: var(--light-color);
  text-align: center;
  padding: 120px 20px;
}

.hero-section h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
}

.hero-section p {
  font-size: 18px;
  color: #eee;
}

/* ==============================
   RESPONSIVE DESIGN
============================== */
@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--light-color);
    border-radius: 8px;
    padding: 10px;
  }
  .navbar-nav .nav-link {
    padding: 10px 8px;
  }
  .btn-book {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
  .hero-section h1 {
    font-size: 34px;
  }
}

/* ==============================
   FOOTER
============================== */
footer {
  background: var(--light-color);
  color: var(--dark-color);
  font-size: 14px;
  text-align: center;
  padding: 15px 0;
  border-top: 2px solid var(--primary-color);
}


    /* Hero Section */
    #hero {
      position: relative;
      height: 100vh;
      overflow: hidden;
    }

    .hero-img {
      height: 100vh;
      object-fit: cover;
    }

    .carousel-caption {
      bottom: 39%;
      left: 10%;
      text-align: left;
    }

    .carousel-caption h2 {
      font-size: 3rem;
      font-weight: 700;
      color: var(--light-color);
    }

    .carousel-caption p {
      font-size: 1.2rem;
      margin: 10px 0 20px;
      color: var(--light-color);
    }

    .carousel-caption .btn {
      padding: 12px 30px;
      font-size: 1rem;
      border-radius: 30px;
      background-color: var(--primary-color);
      border: none;
      color: var(--dark-color);
      font-weight: 600;
    }

    /* ==========================
       Mobile Responsive
    =========================== */
    @media (max-width: 768px) {
      .carousel-caption {
        bottom: 25%;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        width: 85%;
      }
      .carousel-caption h2 {
        font-size: 2rem;
      }
      .carousel-caption p {
        font-size: 1rem;
      }

      /* Carousel Controls Fixed at Right Bottom */
      #heroCarousel .carousel-control-prev,
      #heroCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
        top: auto;
        bottom: 20px;
        transform: none;
        opacity: 0.8;
        background-color: var(--primary-color);
        border-radius: 50%;
        position: absolute;
      }

      /* Stack buttons horizontally on bottom-right */
      #heroCarousel .carousel-control-prev {
        right: 10px; /* prev button on left */
      }

      #heroCarousel .carousel-control-next {
        right: 10px; /* next button on right */
      }

      #heroCarousel .carousel-control-prev-icon,
      #heroCarousel .carousel-control-next-icon {
        background-size: 20px 20px;
        filter: invert(1); /* white arrow on yellow bg */
      }
    }

    /* Carousel images container */
#hero .carousel-item {
  position: relative;
}

/* Dark overlay */
#hero .carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 22, 22, 0.4); /* adjust opacity */

}

#about-taxi {
  background-color: #ffffff;
}

#about-taxi h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
}

#about-taxi p {
  font-size: 1rem;
  color: #555;
}

#about-taxi ul li {
  font-size: 1rem;
  color: #333;
}

#about-taxi .btn {
  padding: 10px 25px;
  border-radius: 30px;
  background-color: var(--primary-color);
  border: none;
  color: var(--dark-color);
  font-weight: 600;
  transition: background 0.3s ease;
}

#about-taxi .btn:hover {
  background-color: #ffca2e;
}

#about-taxi img {
  transition: transform 0.5s ease;
}

#about-taxi img:hover {
  transform: scale(1.05);
}

#about-taxi ul li i {
  font-size: 1.2rem;
  vertical-align: middle;
}
#about-taxi p,
#about-taxi ul li {
  text-align: justify;
}


/* Booking Section */
#booking {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

/* Google Map as background */
#booking iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
  filter: brightness(0.6) contrast(1.1); /* darken map for text readability */
}

/* Container above map */
#booking .container {
  position: relative;
  z-index: 2;
}

/* Text styling */
#booking h2 {
  color: var(--primary-color);
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

#booking p {
  color: var(--light-color);
}

/* Booking Card - Glass Effect */
.booking-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Form Labels */
.booking-card .form-label {
  color: var(--light-color);
}

/* Form Inputs */
.booking-card .form-control,
.booking-card .form-select {
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--light-color);
}

.booking-card .form-control::placeholder {
  color: rgba(255,255,255,0.7);
}

.booking-card .form-control:focus,
.booking-card .form-select:focus {
  background: rgba(255,255,255,0.35);
  border-color: var(--primary-color);
  color: var(--dark-color);
  box-shadow: 0 0 0 0.2rem rgba(255,210,46,0.4);
}

/* Button */
.booking-card .btn-primary {
  background-color: var(--primary-color);
  border: none;
  color: var(--dark-color);
  font-weight: bold;
  transition: 0.3s;
}

.booking-card .btn-primary:hover {
  background-color: #e6c200;
  color: var(--dark-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Responsive tweaks */
@media (max-width: 767px) {
  #booking {
    padding: 3rem 1rem;
  }
  .booking-card {
    padding: 1.5rem;
  }
}

.service-card {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.2), rgba(255, 204, 112, 0.25));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.text-purple {
  color: #800080;
}
#why-choose-us {
  background-size: cover;
  background-position: center;
  color: #fff;
}

#why-choose-us h2 {
  color: #FFD700;
  letter-spacing: 1px;
}

#why-choose-us i {
  transition: transform 0.3s ease;
}

#why-choose-us i:hover {
  transform: scale(1.2);
}


.testimonial-card {
  background: #ffffff;
  border: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.testimonial-card i.bi-quote {
  font-size: 1.8rem;
}

@media (max-width: 991px) {
  .testimonial-card {
    margin-bottom: 20px;
  }
}


/* Section Layout */
.about-header {
  height: 50vh;
  overflow: hidden;
}

/* Background Image */
.about-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  filter: brightness(60%);
  transform: scale(1.1);
  animation: zoomBg 10s ease-in-out infinite alternate;
}

/* Dark Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 30, 30, 0.6);
  z-index: 2;
}

/* Content */
.about-header .container {
  z-index: 3;
  position: relative;
}

/* Title Styles */
.about-header h1 {
  color: var(--primary-color);
  font-size: 3rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fadeDown 1.2s ease forwards;
}

/* Breadcrumb */
.breadcrumb-line {
  font-size: 1rem;
  opacity: 0.9;
}

.breadcrumb-line a:hover {
  color: var(--primary-color);
}

/* Animations */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomBg {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .about-header {
    height: 50vh;
  }
  .about-header h1 {
    font-size: 2.2rem;
  }
}


.about-section {
  background: var(--light-color);
}

.about-img-wrapper {
  position: relative;
  overflow: hidden;
}

.about-img-wrapper img {
  transition: transform 0.6s ease;
}

.about-img-wrapper:hover img {
  transform: scale(1.05);
}

.exp-badge {
  font-size: 0.9rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.btn-warning:hover {
  background: var(--dark-color);
  color: var(--light-color);
}

@media (max-width: 768px) {
  .exp-badge {
    font-size: 0.8rem;
  }
}

.about-section p {
  text-align: justify;
}

.choose-card {
  transition: all 0.4s ease;
  border: 1px solid #eee;
}

.choose-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-color: var(--primary-color);
}

.choose-card .icon {
  transition: transform 0.4s ease;
}

.choose-card:hover .icon {
  transform: rotate(8deg) scale(1.1);
}

@media (max-width: 768px) {
  .choose-card {
    padding: 2rem 1.2rem;
  }
}

#mission-vision img {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

#mission-vision img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  #mission-vision h2 {
    font-size: 1.6rem;
  }
  #mission-vision img {
    margin-top: 20px;
  }
}


.service-card-modern {
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}
.service-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.icon-circle {
  width: 60px;
  height: 60px;
  background-color: #fff5cc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  transition: transform 0.4s ease;
}
.service-card-modern:hover .icon-circle {
  transform: scale(1.2);
}


.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 0 2rem 2rem 2rem;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.lightbox .close,
.lightbox .prev,
.lightbox .next {
  position: absolute;
  color: var(--light-color);
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox .close {
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
}

.lightbox .prev {
  left: 20px;
}

.lightbox .next {
  right: 20px;
}


#contact {
  background-color: var(--light-color);
  color: var(--text-color);
}

#contact h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 50px;
  position: relative;
}

#contact h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

#contact .card {
  background-color: var(--light-color);
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

#contact .card:hover {
  transform: translateY(-5px);
}

#contact .form-label {
  color: var(--dark-color);
  font-weight: 600;
  display: flex;
  align-items: center;
}

#contact .form-label i {
  color: var(--primary-color);
  margin-right: 8px;
  font-size: 18px;
  transition: transform 0.3s;
}

#contact .form-label i:hover {
  transform: rotate(20deg);
}

#contact .form-control {
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

#contact .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 210, 46, 0.25);
}

#contact button {
  background-color: var(--primary-color);
  color: var(--dark-color);
  border: none;
  border-radius: 50px;
  padding: 10px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#contact button:hover {
  background-color: #ffcd39;
  transform: translateY(-2px);
}

#contact iframe {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Contact Details */
#contact .card h5 {
  font-weight: 700;
  display: flex;
  align-items: center;
}

#contact .card h5 i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 20px;
  transition: transform 0.3s;
}

#contact .card h5 i:hover {
  transform: rotate(20deg);
}

#contact .card p i {
  color: var(--primary-color);
  margin-right: 8px;
}

/* Responsive */
@media (max-width: 992px) {
  #contact h2 { font-size: 36px; }
}

@media (max-width: 576px) {
  #contact h2 { font-size: 30px; }
  #contact button { width: 100%; }
}



/* Left Side Floating Button */
.floating-contact-left {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
}

/* Right Side Floating Button */
.floating-contact-right {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

.float-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  animation: float 2.5s ease-in-out infinite;
  transition: transform 0.3s, box-shadow 0.3s;
}

.float-btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

.float-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
