/* ===== ROOT VARIABLES ===== */
:root {
  --primary-orange: #e28c3a;
  --dark-orange: #c9772e;
  --main-brown: #77421b;
  --text-gray: #444;
  --white: #fff;
  --transition: 0.4s ease;
  --radius: 10px;
  --section-padding: 60px;
  --ff-primary: "Poppins", sans-serif;
}

/* ===== HERO ===== */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: white;
  opacity: 0;
  transition: opacity 1.5s ease 0.5s;
  text-align: center;    /* center all children */
  white-space: nowrap;   /* force everything on one line */
  display: flex;
  flex-direction: column;
  align-items: center;   /* ensures <h1> and <p> are centered as a block */
}

.hero1.loaded .hero-text {
  opacity: 1;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.hero-text p {
  font-size: 1rem;
  margin: 0;
  white-space: nowrap;  /* force breadcrumb on one line */
}

.hero-text p a {
  color: white;
  text-decoration: underline;
  margin: 0 5px;
}

/* ===== TOUR HEADER ===== */
.tour-header {
  padding: 40px 0 10px;
}

.tour-header h2 {
  font-weight: 700;
  font-size: 2.2rem;
}

.tour-price {
  color: var(--primary-orange);
  font-weight: 600;
  font-size: 1.2rem;
}

/* ===== HERO IMAGE + THUMBNAILS ===== */
.tour-hero img {
  width: 100%;
  border-radius: var(--radius);
  height: 420px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tour-hero img:hover {
  transform: scale(1.05);
}

.thumbnail img {
  width: 120px;
  height: 80px;
  border-radius: calc(var(--radius)/2);
  margin-top: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
}

.thumbnail img:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* ===== TABS ===== */
.tour-tabs .nav-link {
  font-weight: 500;
  color: var(--main-brown);
  transition: all 0.3s ease;
}

.tour-tabs .nav-link.active {
  background: var(--primary-orange);
  color: #fff;
  border-radius: var(--radius);
}

.tab-content {
  margin-top: 20px;
  border-radius: var(--radius);
  box-shadow: 0 5px 20px rgba(197, 86, 35, 0.3);
  padding: 20px;
}

/* ===== ACCORDION ===== */
.accordion-button {
  font-weight: 500;
  background: #f9f9f9;
  transition: background 0.3s ease, color 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-orange);
  color: #fff;
}

.accordion-button:focus {
  box-shadow: none;
}

/* ===== BOOKING CARD ===== */
.booking-card {
  background: #fff;
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: 0 5px 20px rgba(197, 86, 35, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.booking-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.btn-orange {
  background: var(--primary-orange);
  color: #fff;
  transition: background 0.3s ease;
}

.btn-orange:hover {
  background: var(--dark-orange);
  color: #fff;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== DAY IMAGE HIGHLIGHTS ===== */
.day-image {
  position: relative;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
}

.day-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.day-image:hover img {
  transform: scale(1.05);
}

.day-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
}

.day-overlay small {
  font-size: 0.9rem;
}

.day-overlay h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}





/* MAIN IMAGE FIXED SIZE */
.main-image {
    width: 100%;
    height: 450px;  /* Change height if needed */
    overflow: hidden;
    border-radius: 12px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* This crops big images properly */
}

/* THUMBNAILS */
.thumbSwiper {
    width: 100%;
}

.thumbSwiper .swiper-slide {
    width: 140px;  /* Thumbnail size */
    height: 100px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.thumbSwiper .swiper-slide img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}










/* FLOATING INPUT STYLE */
.floating-group {
    position: relative;
    margin-bottom: 20px;
}

.floating-group input,
.floating-group select,
.floating-group textarea {
    width: 100%;
    height: 55px;
    padding: 18px 12px 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

/* TEXTAREA FIX */
.floating-group textarea {
    height: auto;
    padding-top: 20px;
}

/* LABEL */
.floating-group label {
    position: absolute;
    top: 16px;
    left: 12px;
    font-size: 14px;
    color: #777;
    pointer-events: none;
    background: #fff;
    padding: 0 5px;
    transition: 0.3s ease;
}

/* WHEN ACTIVE */
.floating-group input:focus + label,
.floating-group input:not(:placeholder-shown) + label,
.floating-group select:focus + label,
.floating-group select:valid + label,
.floating-group textarea:focus + label,
.floating-group textarea:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 12px;
    color: #ff7a00;
}

/* FOCUS BORDER */
.floating-group input:focus,
.floating-group select:focus,
.floating-group textarea:focus {
    border-color: #ff7a00;
}

/* REMOVE DEFAULT SELECT STYLE ISSUE */
.floating-group select {
    appearance: none;
}












/* HORIZONTAL BLOG CARD */
.blog-card.horizontal {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.blog-card.horizontal:hover {
    transform: translateY(-5px);
}

/* IMAGE SIDE */
.blog-image {
    flex: 0 0 35%;
    max-width: 35%;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CONTENT SIDE */
.blog-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TEXT */
.blog-date {
    color: #999;
    font-size: 13px;
}

.blog-content h3 {
    margin: 10px 0;
}

.blog-content p {
    color: #555;
}

/* READ MORE */
.read-more {
    margin-top: 10px;
    color: #ff7a00;
    text-decoration: none;
    font-weight: 500;
}

.blog-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .blog-card.horizontal {
        flex-direction: column;
    }

    .blog-image {
        max-width: 100%;
    }

    .blog-image img {
        height: 220px;
    }
}