/* ========== Base Reset & Layout ========== */
body {
  font-family: 'Segoe UI', sans-serif;
  padding-top: 70px;
  margin: 0;
  background-color: #fff;
  color: #212529;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========== Hero Slideshow (1920x1080 Optimized) ========== */
.hero-slide {
  height: 100vh !important;        /* Fullscreen height */
  max-height: 1080px;              /* Full HD limit on large screens */
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay */
  z-index: 1;
}

.hero-slide > div {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
}

/* Hero text animation */
.banner {
  animation: zoomIn 2s ease-in-out;
}

@keyframes zoomIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ========== Navbar ========== */
.navbar-dark .navbar-nav .nav-link:hover {
  color: #ffc107;
}

/* ========== Cards (Tours, Cars, Articles) ========== */
.card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

/* ========== General Background Image Block (Optional) ========== */
.bg-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  min-height: 400px;
}

/* ========== Carousel Controls (Hero Only) ========== */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100% 100%;
}

/* ========== Small Carousel (e.g. Cars Section) ========== */
.carousel-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ========== Currency Exchange Table ========== */
.table th,
.table td {
  vertical-align: middle;
  text-align: center;
}

/* ========== Readonly Input ========== */
input:read-only {
  background-color: #f8f9fa;
  font-weight: bold;
}

/* ========== Footer Hover Effect ========== */
footer a:hover i {
  color: #0d6efd;
}

/* ========== Responsive Fixes ========== */
@media (max-width: 768px) {
  .hero-slide {
    min-height: 80vh;
    padding: 1rem;
    text-align: center;
  }

  .card-img-top {
    height: 180px;
  }

  .display-2, .display-3 {
    font-size: 2rem;
  }
}
