:root {
  --clr-bg-light: #e9f9f9;
  --clr-primary: #14ada8;
  --clr-primary-dark: #17aba7;
  --clr-accent: #14b0dd;
  --clr-secondary: #79c5c8;
  --clr-muted: #9cb0ac;
  --clr-strong: #308c81;
  --clr-hover: #45a7a5;
  --clr-highlight: #1baacd;
  --clr-decorative: #4ad4cc;
}

.custom-btn {
  background-color: var(--clr-primary);
  color: #14ada8;
  border: 1px solid #14ada8;
  padding: 0.6rem 1.4rem;
  border-radius: 0.3rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.custom-btn:hover {
  background-color: var(--clr-accent);
  color: #fff;
  text-decoration: none;
}

/* Custom CSS for Your Tour Agent Website */

body {
  overflow-x: hidden; /* Prevents horizontal scroll */    
  font-family: -apple-system, BlinkMacSystemFont, "San Francisco", 
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6, p, a, li, span, button {
  font-family: -apple-system, BlinkMacSystemFont, "San Francisco", 
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Hero Section */
.hero-section {
    position: relative; /* Needed for absolute positioning of children */
    height: 100vh; /* Make the hero section take full viewport height */
    overflow: hidden; /* Hide any overflow from the video */
    display: flex; /* Use flexbox to easily position content */
    align-items: flex-end; /* Align items to the bottom */
    justify-content: center; /* Center horizontally */
}


.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Place video behind content */
}

#heroVideo {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover; /* Ensure the video covers the entire area */
}

#heroTitle {
  white-space: nowrap;
  overflow: hidden;
  font-weight: 300;
  letter-spacing: 0.02em;
  animation: scroll-text 15s linear infinite;
  display: inline-block;
  font-size: 3rem;
}

@keyframes scroll-text {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}


@media (max-width: 768px) {
  #heroTitle {
    font-size: 2rem;       /* Responsive size on small devices */
  }
}

.hero-content {
    /* No need for d-flex, justify-content-center, align-items-center, flex-column from Bootstrap
       as we are using flexbox on .hero-section and styling directly. */
    position: relative; /* Keep it in the flow after flex positioning */
    padding-bottom: 50px; /* Add some padding from the bottom edge */
    z-index: 1; /* Ensure content is above the video */
    width: 100%; /* Ensure content takes full width */
    max-width: 800px; /* Limit content width for better readability */
    margin: 0 auto; /* Center the content if max-width is applied */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Add some basic fade-in/fade-out for the text */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.fade-out {
    animation: fadeOut 1s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(20px); }
}



/* Navbar Styling */
#mainNavbar {
    transition: background-color 0.5s ease, padding 0.5s ease;
    background-color: transparent; /* Initially transparent */
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

#mainNavbar .navbar-brand,
#mainNavbar .nav-link {
    color: #fff; /* White text for transparent state */
    font-weight: bold;
    transition: color 0.5s ease;
}

#mainNavbar .navbar-brand:hover,
#mainNavbar .nav-link:hover {
    color: #e9f9f9; /* Slightly lighter on hover */
}

/* Scrolled Navbar State */
#mainNavbar.scrolled {
    background-color: #529284CC;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#mainNavbar.scrolled .navbar-brand,
#mainNavbar.scrolled .nav-link {
    color: #fff; /* White text for scrolled state */
}

.navbar {
  font-family: -apple-system, BlinkMacSystemFont, "San Francisco",
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.99rem;
  letter-spacing: 0.03em;
  font-weight: 300; /* Reduce font weight (400 is normal, 300 is lighter) */
}
  
.navbar .nav-link {
  color: #ffffff;
  opacity: 0.85;
  transition: color 0.3s ease, opacity 0.3s ease;
  padding: 0.5rem 1rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #23bac9; /* Highlight color */
  opacity: 1;
}


.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(20,173,168, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* General Content Spacing */
.content-section {
    padding-top: 50px; /* Adjust based on your design */
    padding-bottom: 50px;
}

/* fade in and out effect for text in hero section */
.fade-text {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.fade-in {
  opacity: 1 !important;
}


.navbar-brand img {
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.3);
  border-radius: 0px;
  transition: transform 0.3s ease;

  /* Add margins as needed */
  margin-top: 30px;
  margin-bottom: 10px;
  margin-left: 5px;
  margin-right: 5px;
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.logo-img {
  height: 50px;
  transition: all 0.3s ease;
}

/* On mobile: center the logo and reduce size */
@media (max-width: 991.98px) {
  .mobile-centered-logo {
    position: absolute;
    left: 0%;
    transform: translateX(-50%);
    z-index: 5;
  }

  .logo-img {
    height: 36px; /* smaller logo on mobile */
  }

}


/* Align menu items to the left on mobile */
@media (max-width: 991.98px) {
  .navbar-collapse {
    text-align: left;
  }

  /* Prevent layout shift */
  .navbar {
    padding-top: 60px; /* space for fixed toggler */
    min-height: 60px;  /* ensure sufficient height */
    background-color: #529284CC;
  }
  
  .navbar.scrolled {
    padding-top: 60px;
    min-height: 60px;
    background-color: #529284CC !important;
  }
  
  .navbar-nav .nav-item {
    width: 100%;
  }
  
  
  .navbar-collapse {
    background-color: #529284CC;
  }


  .navbar-nav {
    align-items: flex-start !important;
    text-align: left;
  }

  .navbar-nav .nav-link {
    width: 100%;
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
    /* Ensure toggle button stays top-right */
  .navbar-toggler {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1055; /* Stay above navbar */
    background-color: #e9f9f9; /* Updated background */
    border: 1px solid #14ada8;
    padding: 6px 10px;
    border-radius: 5px;
  }

  .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
  }
  
    .navbar .navbar-brand {
    position: absolute;
    top: 0.75rem;
    left: 25%;
    transform: translateX(-50%);
    margin-top: 10px; /* adjust as needed */
  }
  
  .navbar .nav-link {
  color: white;
}

.navbar .nav-link:hover {
  color: #e9f9f9;
}
}


/* ////////////////////////// */
/* ////////////////////////// */
/* ////////////////////////// */
/* CSS for About us section */
.about-section {
  background-image: url('https://cdn.pixabay.com/photo/2017/04/06/22/11/car-2209439_1280.png'); /* Replace with your image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 600px;
}

.about-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay for text readability */
  z-index: 1;
}

.about-section .container {
  position: relative;
  z-index: 2;
}

#about img {
  max-height: 400px;
  object-fit: cover;
}


/* ////////////////////////// */
/* ////////////////////////// */
/* ////////////////////////// */
/* CSS for to tour section */
#tour-section {
  background-image: url('image/vehicle.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 500px;
  position: relative;
  color: white;
  width: 100%;
  display: block;
}


#tour-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.0); /* optional dark overlay */
  z-index: 0;
}

#tour-section .container {
  position: relative;
  z-index: 1;
}


  .fixed-img {
    height: 320px;
    object-fit: cover;
  }

/* ////////////////////////// */
/* ////////////////////////// */
/* ////////////////////////// */
/* CSS for to image gallery section */
.gallery-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-img-wrapper img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

  .gallery-img-wrapper:hover img {
    transform: scale(1.05);
  }

/* ////////////////////////// */
/* ////////////////////////// */
/* ////////////////////////// */
/* CSS for to Client Testimonials section */  
 #testimonials .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#testimonials .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
} 