/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BRAND COLORS */
:root {
  --brand-blue: #1F6F8B;
  --brand-brown: #C2A26A;
  --brand-blue-dark: #0F3F4E;
  --light-bg: #F5F7F8;
}

/* ===========================
   DROPDOWN MENU STYLES
   =========================== */
.nav-links .dropdown {
  display: flex;          /* align with other nav items */
  align-items: center;    /* vertical centering */
  position: relative;
}

.nav-links .dropbtn {
  display: inline-flex;   /* inline-flex ensures proper text + arrow alignment */
  align-items: center;    /* vertically center the text and arrow */
  gap: 4px;               /* spacing between text and arrow */
  padding: 5px 0;         /* same vertical padding as other nav links */
  color: #fff;
  font-weight: 500;
  line-height: 1;         /* ensures arrow doesn't shift vertically */
}

.nav-links .dropdown-content {
  display: none; /* hidden initially */
  position: absolute;
  top: 105%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
  border-radius: 5px;
  z-index: 500;
  padding: 5px 0;
}

.nav-links .dropdown-content li {
  list-style: none;
}

.nav-links .dropdown-content li a {
  display: block;
  padding: 10px 15px;
  color: var(--brand-blue-dark);
  text-decoration: none;
  font-weight: 500;
}

.nav-links .dropdown-content li a:hover {
  background: var(--brand-brown);
  color: #fff;
}

/* when open */
.nav-links .dropdown.open .dropdown-content {
  display: block;
}

/* ===========================
   BODY
   =========================== */
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: var(--light-bg);
}

/* ===========================
   NAVBAR
   =========================== */
.lux-navbar {
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-dark));
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 45px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

/* Nav Link Default */
.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 5px 0;
  position: relative;
}

/* Active Link Color */
.nav-links a.active {
  color: var(--brand-brown);
}

/* Underline on Active or Hover */
.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--brand-brown);
}

/* Remove underline on dropdown toggle itself */
.nav-links .dropbtn::after {
  display: none;
}

.nav-btn {
  background: linear-gradient(135deg, var(--brand-brown), #e6d3a3);
  color: var(--brand-blue-dark);
  padding: 8px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  color: var(--brand-brown);
  font-size: 1.8rem;
}

/* ===========================
   HERO
   =========================== */
.hero-transport {
  height: 70vh;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

/* SLIDESHOW */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slideshow span {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlide 18s infinite;
}

.hero-slideshow span:nth-child(1) {
  background-image: url("1.jpeg");
  animation-delay: 0s;
}

.hero-slideshow span:nth-child(2) {
  background-image: url("2.jpeg");
  animation-delay: 6s;
}

.hero-slideshow span:nth-child(3) {
  background-image: url("3.jpeg");
  animation-delay: 12s;
}

@keyframes heroSlide {
  0% { opacity: 0; }
  10% { opacity: 1; }
  30% { opacity: 1; }
  40% { opacity: 0; }
  100% { opacity: 0; }
}

/* HERO OVERLAY */
.hero-overlay {
  background: rgba(15, 63, 78, 0.75);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  color: #fff;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero-btn {
  background: linear-gradient(135deg, var(--brand-brown), #e6d3a3);
  padding: 12px 30px;
  color: #000;
  text-decoration: none;
  border-radius: 30px;
  display: inline-block;
  margin-top: 20px;
  font-weight: 700;
}

/* ===========================
   SERVICES
   =========================== */
.our-services {
  padding: 80px 25px;
  background: #f9f9f9;
}

.services-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-item {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.service-item img {
  width: 70px;
  margin-bottom: 15px;
}

.service-item h3 {
  color: var(--brand-blue);
}

/* ===========================
   CTA SERVICES GRID
   =========================== */
.cta-services-grid {
  padding: 90px 25px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: auto;
}

.cta-card {
  position: relative;
  height: 420px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

.cta-overlay {
  display: none;
}


.cta-card:hover .cta-bg {
  transform: scale(1.1);
}

.cta-content {
  position: relative;
  z-index: 2;
  height: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 45px;
}

.cta-btn {
  background: #e6d3a3;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  width: fit-content;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: var(--brand-blue);
  color: var(--brand-brown);
  text-align: center;
  padding: 30px 15px;
}

/* ===========================
   MOBILE
   =========================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    background: var(--brand-blue);
    top: 65px;
    right: 0;
    flex-direction: column;
    width: 200px;
    padding: 20px;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
}
