/* =================================
   GLOBAL STYLES & CSS VARIABLES
   ================================= */
:root {
  --color-primary: #005b5b; /* Deep Teal */
  --color-secondary: #b85c38; /* Terracotta */
  --color-accent: #fd8d14; /* Marigold Orange */
  --color-background: #fdf6e3; /* Sand / Off-White */
  --color-text-dark: #2d2a26; /* Charcoal */
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Lato", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-background);
  overflow-x: hidden;
}

.container {
  max-width: 85vw; /* This makes the container 80% of the viewport width */
  margin: 0 auto; /* This automatically centers it, leaving 10vw on each side */
  padding: 0 2rem; /* Keeps a safe inner padding */
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
}

.section-subtitle {
  max-width: 900px;
  margin: -1.5rem auto 3rem; /* Adjusted margin for better spacing */
  font-size: 1.1rem;
  text-align: center; /* Ensures text is always centered */
  line-height: 1.7;
}
/* =================================
   HEADER & NAVIGATION
   ================================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 0;
  transition: background-color 0.3s ease;
}

.main-header.header-scrolled {
  background-color: #3cb3ab; /* A deep indigo blue */
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  padding: 0.5rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* =================================
   BUTTON STYLES
   ================================= */
.btn {
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-text-dark);
}

.btn-primary:hover {
  background-color: #ff9f2c;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(253, 141, 20, 0.2);
  color: var(--color-text-dark);
}

/* =======================================================
   DEFINITIVE FIX FOR "START YOUR TOUR" BUTTON STYLING
   ======================================================= */
.main-nav .btn-primary {
  padding: 0.6em 1.6em;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: nowrap;
}

.main-nav a.btn-primary::after {
  display: none;
}

/* =================================
   HERO SECTION
   ================================= */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  transition: opacity 1.5s ease-in-out;
}

#video-1 {
  opacity: 1;
}

#video-2 {
  opacity: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* =================================
   OUR TOURISM TYPE & CARD STYLING (FIXED)
   ================================= */
/* =================================
   CORRECTED: OUR TOURISM TYPE & CARD STYLING (3-COLUMN)
   ================================= */
/* =================================
   OUR TOURISM TYPE & CARD STYLING (FIXED)
   ================================= */
.tourism-styles {
  background-color: #e5e4e2;
  padding: 6rem 0;
}
.difference,
.testimonials,
.journal,
.interactive-map,
.reviews {
  background-color: #fdf6e3;
  padding: 6rem 0;
}
.responsibility {
  background-color: #e5e4e2;
  padding: 6rem 0;
}
.styles-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.tourism-type-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%; /* Full width on mobile */
}

/* 2 columns for tablets */
@media (min-width: 768px) {
  .tourism-type-card {
    width: calc(50% - 1.25rem);
  }
}

/* 3 columns for desktops */
@media (min-width: 1024px) {
  .tourism-type-card {
    width: calc(33.333% - 1.7rem);
  }
}

.tourism-type-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.tourism-image-container {
  position: relative;
}

.tourism-image-container img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1; /* This makes the card a perfect square, appearing much taller */
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-secondary);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 10;
}

.tourism-card-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
}

.tourism-card-content h3 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 1.5rem;
  margin: 0;
}

.btn-explore {
  background-color: var(--color-accent);
  color: var(--color-text-dark);
  text-decoration: none;
  padding: 0.6em 1.5em;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 50px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn-explore:hover {
  background-color: #ff9f2c;
  transform: scale(1.05);
}

.coming-soon-button {
  background-color: #ccc;
  color: #888;
  cursor: not-allowed;
}

.coming-soon-button:hover {
  background-color: #ccc;
  transform: none;
}
/* =================================
   FEATURED TOURS SECTION
   ================================= */
.featured-tours {
  background-color: var(--color-background);
  padding: 6rem 0;
}

.tours-grid {
  display: grid;
  grid-template-columns: 1fr; /* 1 column for mobile */
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .tours-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
  }
}

@media (min-width: 1024px) {
  .tours-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
  }
}

.tour-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tour-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.tour-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* This makes the card content fill available space */
}

.tour-card-content h3 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.tour-meta {
  display: flex;
  gap: 1.5rem;
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.tour-meta i {
  margin-right: 0.5rem;
  color: var(--color-primary);
}

.tour-footer {
  margin-top: auto; /* Pushes this to the bottom of the card */
  padding-top: 1rem;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tour-price {
  font-weight: 700;
  color: var(--color-text-dark);
}
/* =================================
   ABOUT US SECTION
   ================================= */
/* =================================
   ABOUT US SECTION (LIGHT THEME)
   ================================= */
.about-us {
  padding: 6rem 0;
  background-color: #f3dfbf; /* A clean white background */

  margin-top: 6rem;
}

.about-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .about-us-grid {
    grid-template-columns: 1.2fr 0.8fr; /* Gives more space to text, making image smaller */
    align-items: center;
    gap: 5rem;
  }
}

.about-us-text .sub-title {
  font-weight: 800;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: justify;
}

.about-us-text .section-title {
  color: #005b5b;
  text-align: center; /* Changed from left to center */
  font-size: 2.8rem;
  margin-bottom: 2rem;
  line-height: 1.2;
  font-weight: bolder;
}

.about-us-text p {
  color: #777; /* Changed to a standard dark grey */
  font-size: 1.3rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  text-align: justify; /* This line justifies the text */
}

.about-us-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
/* =================================
   INTERACTIVE MAP STYLES
   ================================= */
.interactive-map {
  background-color: #fff;
}

.map-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: none;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

.filter-btn.active {
  background: var(--color-primary);
  color: #fff;
}

.map-container {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.map-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.map-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  border-radius: 50%;
  border: 3px solid #fff;
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0 rgba(253, 141, 20, 1);
  animation: pulse 2s infinite;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.map-dot.is-hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(253, 141, 20, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(253, 141, 20, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(253, 141, 20, 0);
  }
}
#map-tooltip {
  position: absolute;
  background: var(--color-text-dark);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -150%);
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  z-index: 10;
}
#map-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
}
/* =================================
   THE INDI-TOURISM DIFFERENCE
   ================================= */
.difference {
  background-color: var(--color-background);
}
.difference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  text-align: center;
}
.diff-card i {
  font-size: 3rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}
.diff-card h3 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* =================================
   TESTIMONIALS
   ================================= */
.testimonials {
  background-color: var(--color-secondary);
}
.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  color: var(--color-text-dark);
  padding: 3rem;
  border-radius: 10px;
  text-align: center;
}
.testimonial-card blockquote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 2rem;
  border: none;
}
.traveler-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.traveler-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary);
}
.traveler-info cite {
  font-weight: 700;
  font-style: normal;
}

/* =================================
   REVIEWS SECTION
   ================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.review-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}
.star-rating {
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.review-card h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.review-card p {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}
.reviewer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
}
.reviewer-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.reviewer-info span {
  font-weight: 700;
  font-size: 0.9rem;
}

/* =================================
   TRAVEL JOURNAL
   ================================= */
.journal {
  background: #fff;
}
.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.journal-card {
  text-decoration: none;
  color: var(--color-text-dark);
  background: var(--color-background);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.journal-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.journal-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.journal-content {
  padding: 1.5rem;
  flex-grow: 1;
}
.journal-category {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-text-dark);
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.journal-content h3 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

/* =================================
   RESPONSIBLE JOURNEYS
   ================================= */
.responsibility-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.responsibility-text h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}
.responsibility-image img {
  width: 100%;
  border-radius: 10px;
}
.btn-link {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  margin-top: 1.5rem;
  position: relative;
}
.btn-link i {
  transition: transform 0.3s ease;
}
.btn-link:hover i {
  transform: translateX(5px);
}

/* =================================
   FOOTER
   ================================= */
.main-footer {
  background: var(--color-text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-column h4 {
  font-family: var(--font-heading);
  color: #fff;
  margin-bottom: 1rem;
}
.footer-column p {
  margin-bottom: 1rem;
}
.footer-column ul {
  list-style: none;
}
.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}
.footer-column a:hover {
  color: var(--color-accent);
}
.social-links a {
  display: inline-block;
  margin-right: 1rem;
  font-size: 1.2rem;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  font-size: 0.9rem;
}

/* =================================
   ANIMATIONS & MODAL
   ================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: var(--color-background);
  padding: 3rem;
  border-radius: 10px;
  max-width: 500px;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.modal-overlay.is-visible .modal-content {
  transform: scale(1);
}
.modal-content h3 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.modal-content p {
  margin-bottom: 1.5rem;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--color-text-dark);
  cursor: pointer;
  background: none;
  border: none;
}
.email-form input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 1rem;
}

/* =================================
   RESPONSIVE DESIGN
   ================================= */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .main-nav {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .responsibility-content {
    grid-template-columns: 1fr;
  }
  .responsibility-image {
    grid-row: 1;
    margin-bottom: 2rem;
  }
}
/* =================================
   DARK CARD THEME OVERRIDE
   ================================= */

/* This targets all major cards on the site */
.tourism-type-card,
.tour-card,
.review-card,
.testimonial-card,
.journal-card {
  background-color: var(--color-text-dark); /* Dark charcoal background */
  color: var(--color-background); /* Light sand text color */
  border: 1px solid #444; /* Adds a subtle border */
}

/* Update text colors inside the cards */
.tourism-type-card h3,
.tour-card-content h3,
.review-card h4,
.review-card p,
.journal-content h3,
.journal-content p,
.testimonial-card blockquote,
.testimonial-card cite {
  color: var(--color-background);
}

/* Update metadata and secondary text colors */
.tour-meta,
.reviewer-info span {
  color: #ccc;
}

/* Update icon colors */
.tour-meta i,
.star-rating {
  color: var(--color-accent);
}

/* Update border/divider colors inside cards */
.tour-footer,
.reviewer-info {
  border-top-color: #444;
}

/* Ensure price text is light */
.tour-price {
  color: var(--color-background);
}

/* Journal category button already looks good, but we can ensure its text is dark */
.journal-category {
  color: var(--color-text-dark) !important;
}
/* =================================
  QUICK LINKS SECTION (NEW)
  ================================= */
/* =================================
  QUICK LINKS SECTION (MODIFIED)
  ================================= */
/* =================================
  QUICK LINKS SECTION (MODIFIED)
  ================================= */
/* =================================
  QUICK LINKS SECTION (MODIFIED)
  ================================= */
/* =================================
  QUICK LINKS SECTION (MODIFIED)
  ================================= */
.quick-links {
  background-color: #e5e4e2;
  padding: 6rem 0;
  text-align: center;
}

.quick-links .section-title {
  color: var(--color-primary);
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.quick-link-card {
  position: relative;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  color: var(--color-text-dark);
  font-family: var(--font-heading);
  text-align: center;
  min-height: 250px;
}

.quick-link-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

/* CORRECTED: Specific style for the tall card */
.quick-link-card.card-tall {
  grid-row: span 2;
  height: 100%;
  padding: 0; /* Remove padding to allow slideshow to fill the card */
}

/* Card Colors */
.card-blue {
  background-color: #d1e2f4;
  color: #3b5998;
}
.card-purple {
  background-color: #d8c7e3;
  color: #6a4c93;
}
/* ... other card colors remain unchanged ... */

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Reset the tall card for a 2-column layout */
  .quick-link-card.card-tall {
    grid-row: auto;
  }
}
/* Styles for background images inside quick link cards */
.quick-link-card .card-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* This makes the image cover the area without distortion */
  z-index: 1; /* Place it behind the text */
  border-radius: 20px; /* Match the card's border radius */
  filter: brightness(0.7); /* Slightly darken the image for text readability */
}

/* Adjust h3 when there is a background image */
.quick-link-card:has(.card-bg-image) h3 {
  position: relative;
  z-index: 2; /* Ensure text is on top of the image */
  color: #fff; /* Make text white for better contrast */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); /* Add a shadow to make it pop */
  padding: 0 1rem; /* Add some horizontal padding */
  justify-content: flex-end;
}
.quick-link-card.has-bg-image {
  justify-content: flex-end;
}

/* This styles the background image itself */
.quick-link-card .card-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: 20px;
  filter: brightness(0.7);
}

/* This styles the text to make it readable on top of the image */
.quick-link-card.has-bg-image h3 {
  position: relative;
  z-index: 2;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  padding: 0 1rem;
}
@media (max-width: 576px) {
  .quick-links-grid {
    grid-template-columns: 1fr;
  }
}
/* =================================
  SLIDESHOW STYLES FOR QUICK LINK CARD
  ================================= */
.quick-link-card .slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.slideshow-container .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slideshow-container .slide.active {
  opacity: 1;
}
/* Card Colors */
.card-blue {
  background-color: #d1e2f4;
  color: #3b5998;
}
.card-purple {
  background-color: #d8c7e3;
  color: #6a4c93;
}
.card-gold {
  background-color: #c9a759;
  color: #4a3e2e;
}
.card-orange {
  background-color: #f78c52;
  color: #3f2a1e;
}
.card-orange-dark {
  background-color: #f78c52;
  color: #3f2a1e;
}
.card-light-blue {
  background-color: #d1e2f4;
  color: #3b5998;
}
.card-tan {
  background-color: #f0e6d6;
  color: #6d5b4a;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Reset the tall card for a 2-column layout to avoid awkward empty space */
  .quick-link-card.card-tall {
    grid-row: auto;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .quick-links-grid {
    grid-template-columns: 1fr;
  }
}
/* New styles for the two-column footer layout */
.footer-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* Give more space to the text content */
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem; /* Space before the copyright line */
}

.footer-image-column img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Make sure the existing footer grid adapts */
.main-footer .footer-grid {
  margin-bottom: 0; /* Remove original margin */
}

/* Add this to your main responsive section */
@media (max-width: 768px) {
  .footer-layout {
    grid-template-columns: 1fr; /* Stack the image and content on smaller screens */
    text-align: center;
  }

  .footer-grid {
    text-align: left; /* Keep grid text left-aligned */
  }
}
/* =================================
  SUMMER DEALS PROMO SECTION
  ================================= */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.deal-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deal-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.deal-image {
  position: relative;
  height: 250px;
}

.deal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.deal-overlay-text {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: #fff;
  z-index: 2;
}

.deal-overlay-text h3 {
  font-family: var(--font-heading);
  margin: 0 0 0.25rem 0;
  font-size: 1.7rem;
}

.deal-overlay-text span {
  font-size: 1rem;
}

.deal-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Ensures cards in a row have the same height */
}

.deal-content ul {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.deal-content ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
}

.deal-content ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.deal-content .btn {
  width: 100%;
  text-align: center;
}

/* Responsive adjustments for deals section */
@media (max-width: 992px) {
  .deals-grid {
    grid-template-columns: 1fr;
  }
}
/* =================================
   MOBILE NAVIGATION & HAMBURGER
   ================================= */
.hamburger-menu {
  display: none; /* Hidden by default */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 101; /* Ensure it's above the header */
}

.hamburger-bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    45,
    42,
    38,
    0.95
  ); /* Dark Charcoal with transparency */
  backdrop-filter: blur(10px);
  z-index: 100;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.3s ease-in-out;
}

.mobile-nav.is-open {
  display: flex; /* Show the menu */
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.mobile-nav ul li {
  margin-bottom: 2rem;
}

.mobile-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.mobile-nav .btn-primary {
  padding: 0.8rem 2rem;
}

/* Toggled state for the hamburger icon (turns into an 'X') */
.hamburger-menu.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Media query to show hamburger and hide desktop nav */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }
}
