/* ================= GLOBAL ================= */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  color: #222;
  background: #fff;
}

#custom-homepage {
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3 {
  font-weight: 600;
  margin-bottom: 10px;
}

p {
  line-height: 1.6;
  color: #555;
}

a {
  text-decoration: none;
  color: inherit;
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #0077ff, #00c6ff);
  color: #fff;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #005fcc, #0099ff);
  transform: translateY(-3px);
}

/* ================= HERO SLIDER ================= */
/* Force hero section to stay isolated */


.hero-banner {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.heroSwiper {
  height: 100%;
}

.hero-slide {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.3));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff !important;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #fff !important;
  text-shadow: 0 4px 12px rgba(0,0,0,0.9);
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 25px;
  color: #f1f1f1 !important;
  text-shadow: 0 3px 8px rgba(0,0,0,0.8);
}
/* Primary Button Fix for Visibility */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: #ffcc00 !important;   /* Bright Yellow */
  color: #cc0000 !important;        /* Bold Red Text */
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #ffdb4d !important;   /* Slightly lighter yellow on hover */
  color: #990000 !important;        /* Darker red on hover */
  transform: translateY(-3px);
}


/* Swiper Arrows */
.swiper-button-next,
.swiper-button-prev {
  color: #fff !important;
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  transition: background 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0,0,0,0.8);
}

/* Swiper Pagination Dots */
.swiper-pagination-bullet {
  background: #fff !important;
  opacity: 0.7 !important;
}

.swiper-pagination-bullet-active {
  background: #007bff !important;
  opacity: 1 !important;
}

/* Featured Trips Carousel Fix */

/* Featured Trips Section */
#featured-trips {
  position: relative;
  padding: 80px 20px 100px;
  background: url('/wp-content/themes/traveltour-child/assets/images/feature-background.png')
              center center/cover no-repeat;
}

/* Section Heading */
#featured-trips .section-heading {
  text-align: center;
  margin-bottom: 50px;
}

#featured-trips .section-heading h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

#featured-trips .section-heading p {
  font-size: 1.2rem;
  color: #ffcc00;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* Trip Card */
.trip-card {
  position: relative;
  display: block;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trip-card {
  position: relative;
  display: block;
  border-radius: 15px;
  overflow: hidden;
}

.trip-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1; /* image baseline */
}


.trip-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  z-index: 2; /* under price */
}

/* Premium More Info Button */
.trip-overlay .trip-link {
  display: inline-block;
  background: #ffcc00;
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.trip-overlay .trip-link:hover {
  background: #ffd633;
  color: #111;
  transform: translateY(-3px);
}



/* ================= TRIP CATEGORIES ================= */
/* Trip Categories Section */
#trip-categories {
  position: relative;
  padding: 80px 20px;
  background: url('/wp-content/themes/traveltour-child/assets/images/trip-category-section.png') no-repeat center center/cover;
  color: #fff;
  text-align: center;
}

/* Section Heading */
#trip-categories .section-heading h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

#trip-categories .section-heading p {
  font-size: 1.1rem;
  color: #d1d1d1;
  margin-bottom: 50px;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Category Card */
.category-card {
  display: block;
  text-decoration: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.35);
}

.card-img {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Square */
  background-size: cover;
  background-position: center;
}

/* Overlay */
.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  color: #fff;
  text-align: left;
}

.card-overlay h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  font-weight: 700;
}

.card-overlay p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: #eaeaea;
}

/* Responsive */
@media (max-width: 992px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= WHY US ================= */
/* Section Styling */
#why-us {
  padding: 100px 20px;
  background: linear-gradient(135deg, #0a0f2c 0%, #1a2a6c 100%);
  color: #fff;
  text-align: center;
}

/* Heading */
#why-us .section-heading h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

#why-us .section-heading p {
  font-size: 1.2rem;
  color: #ffcc00;
  margin-bottom: 60px;
  font-weight: 500;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Feature Card */
.feature-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 40px 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

/* Icon */
.feature-card img {
  width: 60px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1); /* makes black icons white */
}

/* Text */
.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* ================= STORIES ================= */
.stories {
  padding: 80px 0;
  background: #f8f8f8;
  text-align: center;
}

.stories h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.story-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

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

.story-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.story-card h3 {
  padding: 15px;
  font-size: 1.2rem;
}

.story-card p {
  padding: 0 15px 20px;
  font-size: 0.95rem;
  color: #666;
}

/* ================= CTA ================= */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0077ff, #00c6ff);
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f5f5f5;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-content p {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    height: 80vh;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}




/* events page */
/* events page */

/* =========================
   EVENTS PAGE — GLOBAL SCOPE
   ========================= */
body.page-events .events-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;   /* added edge spacing */
  box-sizing: border-box;
}

/* Section spacing */
body.page-events .event-block {
  margin-bottom: 60px;
}

/* Trip card hover effect */
body.page-events .trip-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
body.page-events .trip-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,.3);
}

/* Overlay link button */
body.page-events .trip-link:hover {
  background: #ffd633; /* slightly brighter yellow */
  text-decoration: none;
}

/* Hide any leftover GoodLayers title cover on Events page */
body.page-events .gdlr-core-page-title-wrap,
body.page-events .tourmaster-page-title-wrap { display:none !important; }

/* Swiper pagination dots */
.events-page .swiper-pagination {
  position: relative;
  margin-top: 12px;
  text-align: center;    /* center align dots */
}

/* Portrait feel for cards */
body.page-events .swiper-slide .trip-card {
  aspect-ratio: 250 / 432;
  border-radius: 18px;
  overflow: hidden;
}
