/* =============================== */
/* 🎨 STYLE.CSS - Explore Tanzania */
/* =============================== */

/* === Carousel Styles === */
.carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 20px;
  transition: transform 0.5s ease;
}
.carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
  z-index: 1;
}
.carousel-item:hover {
  transform: scale(1.05);
}
.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  animation: fadeInUpText 1s ease-in-out;
  padding: 0 2rem;
}
.carousel-caption h1, .carousel-caption p {
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.carousel-caption h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.carousel-caption p {
  font-size: 1.2rem;
}
.carousel-control-prev, .carousel-control-next {
  width: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.6);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
}
.carousel-indicators {
  bottom: 20px;
}
.carousel-indicators [data-bs-target] {
  width: 30px;
  height: 4px;
  border-radius: 2px;
  margin: 0 4px;
  background-color: rgba(0, 0, 0, 0.4);
  transition: background-color 0.3s ease;
}
.carousel-indicators [data-bs-target].active,
.carousel-indicators [data-bs-target]:hover {
  background-color: #C6A664;
}

/* === Buttons === */
.btn-cta {
  background: linear-gradient(135deg, #C6A664, #d4af37);
  color: white;
  padding: 14px 32px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  transition: all 0.4s ease;
  box-shadow: 0 4px 14px rgba(198, 166, 100, 0.4);
}
.btn-cta:hover {
  background: linear-gradient(135deg, #d4af37, #C6A664);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(198, 166, 100, 0.7);
}
.btn-outline-warning {
  border: 2px solid #C6A664;
  color: #C6A664;
  transition: all 0.3s ease;
}
.btn-outline-warning:hover {
  background-color: #C6A664;
  color: white;
  border-color: #C6A664;
}
.btn-warning.active-btn {
  background-color: #C6A664;
  border: none;
  color: white;
}
.btn-warning.active-btn:hover {
  background-color: #b5964f;
}
.btn-safari {
  border: 1px solid #C6A664;
  color: #C6A664;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}
.btn-safari:hover {
  background-color: #C6A664;
  color: #ffffff;
}
.btn-outline-light {
  position: relative;
  overflow: hidden;
}
.btn-outline-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-outline-light:hover::before {
  left: 130%;
}
.btn-outline-light:hover {
  background-color: #C6A664;
  color: #ffffff !important;
  border-color: #C6A664;
}

/* === Typography === */
h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #C6A664;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* === Fancy Title Section === */
.fancy-title-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1rem;
}
.fancy-title-line {
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, #C6A664, transparent);
  border-radius: 2px;
  animation: growLine 1.2s ease forwards;
  animation-delay: 0.3s;

}
@keyframes growLine {
  from { height: 0; }
  to { height: 80px; }
}
.fancy-title-text {
  text-align: center;
}
.fancy-title-heading {
  font-size: 2.8rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  color: #3b3b3b;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  text-transform: none;
}
.fancy-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  color: #6c5c3f;
  font-style: italic;
  opacity: 0.85;
  margin-top: 0.5rem;
}
.normal-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 2.5rem;
}

/* === Tiles === */
.tile-wrapper {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #e0dccc;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
}
.tile-hover {
  transition: transform 0.6s ease, filter 0.6s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile-wrapper:hover .tile-hover {
  transform: scale(1.05);
  filter: brightness(1.08);
}
.tile-wrapper:hover {
  box-shadow: 0 8px 24px rgba(198, 166, 100, 0.4);
}

/* === Package Cards === */
.package-card {
  border: 2px solid #C6A664;
  border-radius: 50px;
  width: 100%;
  height: 370px;
  max-height: 400px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.package-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.package-card:hover img {
  transform: scale(1.1);
}
.package-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}


/* === Section Background === */
.luxury-section {
  background: linear-gradient(to bottom right, #f9f6f0, #f3eede);
  position: relative;
  overflow: hidden;
}
.luxury-section::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: url('/static/safariweb/images/background-luxury.jpg') center/cover no-repeat;
  opacity: 0.05;
  animation: slowZoom 60s linear infinite alternate;
  z-index: 0;
}
@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

/* === Fade-up Animation === */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}
[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* === WhatsApp Floating Button === */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background-color: #d79f54;
  color: white;
  font-size: 28px;
  padding: 14px 16px;
  border-radius: 50%;
  z-index: 1050;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  animation: float 2s infinite ease-in-out;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
  text-decoration: none;
}
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@keyframes growLine {
  from { height: 0; }
  to { height: 80px; }
}


.highlighted-text {
  font-family: 'Playfair Display', serif;
  color: #C6A664;
  font-style: italic;
  font-weight: 600;
  font-size: 2.8rem;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.15);
}

/* PACKAGE PAGES STYLES */
  .hero-banner {
  background-image: url("../images/serengeti-banner.jpg");
  background-size: cover;
  background-position: center;
  height: 60vh;
  position: relative;
}
 .hero-banner::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

  .hero-banner .content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 120px 20px 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  html {
    scroll-behavior: smooth;}

  .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #C6A664;
    border-bottom: 2px solid #e0dccc;
    display: inline-block;
    padding-bottom: 8px;
  }

  .card:hover {
    transform: translateY(-5px);
  }

  .card-title {
    color: #C6A664;
  }

  .btn-book {
    background-color: #C6A664;
    color: white;
    border: none;
  }

  .btn-book:hover {
    background-color: #b5964f;
  }

  .price {
    font-weight: bold;
    color: #4a4a4a;
  }

  .dates {
    font-size: 0.95rem;
    color: #777;
  }

  section.bg-light {
  background-image: url("{% static 'safariweb/images/texture.png' %}");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
  @keyframes fadeInUpSoft {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUpSoft 1.2s ease-out both;
}

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

.card-animate {
  animation: fadeInUpCard 0.8s ease-out forwards;
  opacity: 0;
}

  .card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.card-img-top {
  transition: transform 0.4s ease;
}

.card:hover .card-img-top {
  transform: scale(1.03);
}
.btn-book {
  background-color: #C6A664;
  color: white;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(198, 166, 100, 0.3);
}

.btn-book:hover {
  background-color: #b5964f;
  box-shadow: 0 8px 16px rgba(198, 166, 100, 0.5);
  transform: translateY(-2px);
}

/* SECTIONS STYLE*/
section.hero-section {
  background: linear-gradient(135deg, #fdfcf9, #f4f1e8);
}

.hero-section .top-svg,
.hero-section .bottom-svg {
  z-index: 0;
}

.hero-section .content-container {
  z-index: 1;
}

.hero-section h2.title {
  letter-spacing: 2px;
}

.hero-section p.subtitle {
  max-width: 700px;
  margin: auto;
  font-style: italic;
}

.hero-section hr.decorative-line {
  width: 80px;
  height: 3px;
  background-color: #C6A664;
  border: none;
}
.no-image-placeholder {
  height: 220px;
  background-color: #6c757d; /* Bootstrap secondary */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem; /* Bootstrap .rounded */
}

.custom-progress {
  height: 20px;
}

/* Progress bar colors by percentage */
.progress-bar-warning {
  background-color: #ffc107 !important;
}

.progress-bar-info {
  background-color: #0dcaf0 !important;
}

.progress-bar-success {
  background-color: #198754 !important;
}

.nature-section {
  background: linear-gradient(135deg, #fdfcf9, #f4f1e8);
}

.top-leaf-svg {
  width: 100px;
  height: 100px;
  fill: #C6A664;
  z-index: 0;
}

.bottom-curve-svg {
  z-index: 0;
}

.content-wrapper {
  z-index: 1;
}

.section-heading {
  letter-spacing: 2px;
}

.section-subtitle {
  max-width: 700px;
  margin: auto;
  font-style: italic;
}

.decorative-divider {
  width: 80px;
  height: 3px;
  background-color: #C6A664;
  border: none;
}

/* Optional dynamic widths (only works if not templated in-line) */
.progress-bar-dynamic {
  transition: width 0.4s ease;
}

/*GALLERY STYLE*/

  .luxury-hover img {
    transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
    filter: blur(5px);
    opacity: 0.6;
  }

  .luxury-hover img[src] {
    filter: blur(0);
    opacity: 1;
  }

  .luxury-hover:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
  }

  .luxury-hover {
    transition: box-shadow 0.3s ease;
    border: 1px solid #2c2c2c;
  }

  .luxury-hover:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  }

  .overlay-caption {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .luxury-hover:hover .overlay-caption {
    opacity: 1;
  }

  /* Gallery Item */
  .gallery-item {
    display: block;
    margin-bottom: 15px;
  }

  /* Filter Buttons */
  .filter-btn {
    cursor: pointer;
  }


