:root{
  --accent:#906b54; 
  --dark:#4a3021;
  --muted:#9aa6b2;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  color:#000000;
  background:linear-gradient(180deg,#d5d5d5 0%, #e7e8ea 100%);
  -webkit-font-smoothing:antialiased;
}

.card img{object-fit:cover;height:350px}
.card .card-text{color:#000000 !important}

.navbar{
  background:linear-gradient(90deg,var(--dark),#081018 60%);
  border-bottom:1px solid rgba(255,255,255,0.03);
}
.navbar-brand img{
  width:60px;
  height:60px;
  object-fit:cover;
}

.navbar-brand .brand-text{
  color:#ffffff !important;
  font-weight:900px;
  margin-left:8px;
}

/* Ensure brand text (bootstrap utility classes) inside navbar shows white */
.navbar-brand .fw-bold, .navbar-brand .brand-text {
  color: #ffffff !important;
}

.navbar-nav .nav-link{
  color:rgba(230,238,246,0.85);
}

.navbar-nav .nav-link.active{
  color:var(--accent);
  font-weight:600px;
}

section.text-light.bg-dark{
  background:linear-gradient(180deg, rgba(7,18,33,0.6), rgba(4,9,13,0.4));
}

.display-4{
  font-weight:700px;
}

.card{
  background:rgba(135, 115, 81, 0.03);
  border:none;
}

.card h5{
  color:var(--accent);
}

.card h3, .card h4{
  color: #c59f87 !important;
}

.card img{
  object-fit:cover;
  height:350px;
}

.carousel .carousel-inner{
  border-radius:8px;
  overflow:hidden;
}

.carousel img{
  width:100%;
  height:120vh;
  object-fit:cover;
}

.reveal{
  opacity:0;
  transform:translateY(16px);transition:all 600ms cubic-bezier(.2,.9,.3,1);
}

.reveal.active{
  opacity:1;
  transform:none;
}

form.bg-dark{
  background:linear-gradient(180deg,#d5d5d5 0%, #e7e8ea 100%);
  border:1px solid rgba(129, 126, 126, 0.03);
}

label.form-label{
  color:black;
}

input.form-control, textarea.form-control{
  background:white;
  border:1px solid black;
  color:black;
}

input.form-control::placeholder, textarea.form-control::placeholder{
  color:black;
}

footer{
  font-size:0.95rem;
  background:transparent;
  border-top:1px solid rgba(255,255,255,0.03);
}

.text-warning{color:var(--accent) !important}

.welcome-title {
  color: #906b54;
}
.welcome-image {
  max-width: 480px;
  width: 100%;
  height: auto;
}
/* Team / Admin photo styling */
.admin {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 0.25rem;
  padding: 0.25rem 0;
}
.admin .staff-photo {
  width: 280px;
  max-width: 60%;
  height: auto;
  border-radius: 5px;
  display: block;
  object-fit: cover;
  margin-bottom: 0.4rem;
  box-shadow: 0 18px 48px rgba(0,0,0,0.28);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.admin .staff-photo:hover {
  box-shadow: 0 28px 64px rgba(0,0,0,0.32);
  transform: translateY(-6px);
}
.admin .lead { text-align: center; }

@media (max-width: 576px) {
  .admin .staff-photo { width: 60%; max-width: 240px; }
}

.btn-book-now {
  background: linear-gradient(135deg, #8B7355 0%, #A0826D 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 28px;
  border: none;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(139, 115, 85, 0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-book-now.btn-sm {
  font-size: 0.75rem;
  padding: 6px 16px;
  letter-spacing: 0.5px;
}

.btn-book-now::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
  transition: left 0.5s ease;
}

.btn-book-now:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(139, 115, 85, 0.6);
  color: #fff;
}

.btn-book-now:hover::before {
  left: 100%;
}

.btn-book-now:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 115, 85, 0.5);
}

.btn-outline-warning {
  border: 2px solid #A0826D;
  color: #A0826D;
  background: transparent;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-warning:hover {
  background: linear-gradient(135deg, #8B7355 0%, #A0826D 100%);
  color: #fff;
  border-color: #A0826D;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 115, 85, 0.4);
}

/* Terms page styles */
.terms-icon {
  font-size: 2rem;
}

.terms-list {
  list-style-position: inside;
  text-align: center;
}

.terms-last-updated {
  font-size: 0.85rem;
  padding: 0.75rem;
  max-width: 600px;
  background-color: #4a3728;
  border: 1px solid #6b5444;
  color: #ffffff;
}

/* Tour detail page styles */
.tour-questions {
  color: #000000;
}

/* Pricing / Accommodation table styling - white background with black text */
/* Base table */
.table.pricing, table.pricing {
  background-color: #9aa6b2 !important;
  color: #000000 !important;
  border: 1px solid #737373;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 8px;
  overflow: hidden;
}

/* Ensure headers, body and footers are white with black text (override Bootstrap .table-dark/.table-striped) */
.table.pricing thead th,
.table.pricing tbody th,
.table.pricing tbody td,
.table.pricing tfoot td,
.table.pricing caption,
.table.pricing a,
.table.pricing p,
.table.pricing li {
  color: #000000 !important;
  background-color: #d3d3d2 !important;
}

/* Remove stripe effect from Bootstrap's .table-striped */
.table.pricing tbody tr:nth-child(odd),
.table.pricing tbody tr:nth-child(even) {
  background-color: #ffffff !important;
}

/* Hover state */
.table.pricing tbody tr:hover {
  background-color: #ffffff !important; /* subtle hover */
}

.table.pricing th, .table.pricing td {
  border-color: rgba(0,0,0,0.06) !important;
  padding: 0.85rem 1rem !important;
  vertical-align: middle;
}

.table.pricing a { color: #000000 !important; text-decoration: underline; }
.table.pricing .text-muted, .table.pricing .muted { color: rgba(0,0,0,0.6) !important; }

/* Optional wrapper for a card-like presentation */
.pricing-card {
  background: #ffffff;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.pricing-caption {
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}


@media (max-width:768px){
  .carousel img{height:40vh}
  .card img{height:200px}
}

@media (max-width:480px){
  .navbar-brand .brand-text{display:none}
}

.shadow{box-shadow:0 6px 18px rgba(2,6,23,0.6)}

/* Component Wrapper */
.rotating-slideshow {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
    overflow: hidden;
}

.rotating-slideshow:last-of-type {
    padding-bottom: 80px;
}

/* Title */
.rotating-slideshow .rs-title h1 {
    font-size: 60px;
    color: #906b54;
}

.rotating-slideshow .rs-title small {
    font-size: 25px;
    color: white;
}

/* Main Layout */
.rotating-slideshow .rs-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 70px;
    height: 200px;
}

/* Buttons */
.rotating-slideshow .rs-btn {
    background: linear-gradient(135deg, #4a3021 0%, #906b54 100%);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    position: relative;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(240, 111, 6, 0.4);
}

.rotating-slideshow .rs-btn:hover {
    background: linear-gradient(135deg, #eebb6e 0%, #4a3021 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(240, 111, 6, 0.429);
}

#rs-prev, #rs-prev-2 { margin-left: 30px; }
#rs-next, #rs-next-2 { margin-right: 30px; }

/* Gallery Divider */
.gallery-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 20px;
    gap: 30px;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    max-width: 300px;
}

.divider-content {
    text-align: center;
    color: white;
}

.divider-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a3021 0%, #906b54 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    color: white;
    box-shadow: 0 8px 25px rgba(240, 111, 6, 0.4);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.divider-title {
    font-size: 1.8rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 10px;
}

.divider-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* 3D Image Cylinder */
.rotating-slideshow .rs-image-container {
    width: 200px;
    height: 150px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.7s;
    transform: perspective(1200px) rotateY(0deg);
}

.rotating-slideshow .rs-image-container span {
    position: absolute;
    width: 200px;
    height: 150px;
    left: 0;
    top: 0;
    transform: rotateY(calc(var(--i) * 36deg)) translateZ(450px);
    transition: transform 0.4s;
}

/* Images */
.rotating-slideshow .rs-image-container img {
    width: 200px;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

/*  Hover Overlay */
.rotating-slideshow .rs-overlay {
    position: absolute;
    bottom: 0;
    width: 200px;
    height: 150px;
    border-radius: 8px;

    background: rgba(0, 0, 0, 0.65);
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 10px;

    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    pointer-events: none;
}

/* Overlay Text Styles */
.rotating-slideshow .rs-overlay h3 {
    margin-bottom: 5px;
    font-size: 16px;
}

.rotating-slideshow .rs-overlay p {
    font-size: 12px;
    opacity: 0.9;
}

/* Show overlay on hover */
.rotating-slideshow .rs-image-container span:hover .rs-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Safari Card Hover Effects */
.safari-card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.safari-card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px #44342a !important;
}

.safari-card-hover img {
  transition: transform 0.5s ease, margin-bottom 0.3s ease;
}

.safari-card-hover:hover img {
  transform: scale(1.08);
  margin-bottom: 15px;
}

.safari-card-hover .card-body {
  transition: padding-top 0.3s ease;
}

.safari-card-hover:hover .card-body {
  padding-top: 1.5rem;
}

/* Custom Notification Inline */
.custom-notification-inline {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, margin 0.5s ease;
  margin-top: 0;
}

.custom-notification-inline.show {
  max-height: 100px;
  margin-top: 10px;
}

.notification-content {
  background: linear-gradient(135deg, #906b54 0%, #4a3021 100%);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(240, 111, 6, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: translateY(-20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

.notification-content span {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
}

.notification-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.notification-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Contact Information Section */
.contact-info-section {
  text-align: center;
}

.contact-info-section h5 {
  font-size: 1.1rem;
  font-weight: 700;
}

.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

.contact-info-item {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 15px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(240, 111, 6, 0.2);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #715646 0%, #906b54 100%);
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
  color: rgb(0, 0, 0);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-text {
  text-align: left;
  flex: 1;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 2px;
  font-weight: 600;
}

.contact-value {
  font-size: 0.9rem;
  color: #000000;
  margin-bottom: 0;
  font-weight: 500;
}

/* Contact form color overrides (contact page only) */
.contact-section form.bg-dark {
  background: #ffffff !important; /* white card */
  color: #000000 !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
}
.contact-section form.bg-dark label.form-label {
  color: var(--accent) !important;
  font-weight: 700;
}
.contact-section form.bg-dark input.form-control,
.contact-section form.bg-dark textarea.form-control {
  background: #ffffff !important;
  border: 1px solid #e6e6e6 !important;
  color: #000000 !important;
}
.contact-section form.bg-dark input.form-control::placeholder,
.contact-section form.bg-dark textarea.form-control::placeholder {
  color: rgba(0,0,0,0.45) !important;
}
.contact-section form.bg-dark input.form-control:focus,
.contact-section form.bg-dark textarea.form-control:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 0.18rem rgba(144,107,84,0.12) !important;
  outline: none !important;
}

/* Contact button style */
.btn-contact {
  background: linear-gradient(135deg, var(--accent) 0%, #4a3021 100%);
  color: #fff !important;
  border: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-contact:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(74,48,33,0.12); }

/* Keep notification readable on white form */
.contact-section .notification-content { color: #fff; background: linear-gradient(135deg, var(--accent), #4a3021); }


.card p, .card li {
  color: #000000 !important;
}

.card ul {
  color: #000000;
}

/* Accordion Styles */
.accordion-item {
  background: #d3d3d2 !important;
  border: 1px solid white !important;
}

.accordion-button {
  background: #d3d3d2 !important;
  color: #000000 !important;
  font-weight: 600 !important;
}

.accordion-button:not(.collapsed) {
  background: #906b54 !important;
  color: #000000 !important;
}

/* Remove default blue focus ring while preserving a subtle accessible ring */
.accordion-button:focus,
.accordion-button:active {
  outline: none !important;
  box-shadow: none !important;
}

.accordion-button:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 0.22rem rgba(144,107,84,0.14) !important; /* subtle site-accent focus */
}

.accordion-body {
  color: #000000 !important;
}

/* Table Styles */
.table-dark {
  color: #ffffff !important;
}

.table-dark td, .table-dark th {
  color: #ffffff !important;
}

.table-dark tbody tr td {
  background-color: rgba(255,255,255,0.03) !important;
}

.table-dark tbody tr:hover td {
  background-color: rgba(205, 41, 41, 0.08) !important;
}

.table-dark .text-muted {
  color: rgba(255,255,255,0.6) !important;
}

/* Social Media Links */
.social-links {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-links p {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.social-links > div {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: 0 10px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: linear-gradient(135deg, #715646 0%, #906b54 100%);
  color: white;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(240, 111, 6, 0.4);
}

/* Footer Social Icons */

.footer-social .social-icon {
  width: 40px;
  height: 40px;
  margin: 0;
}

.