@charset "UTF-8";
/*=============== FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600&family=Poppins:wght@400;500&display=swap");
@font-face {
  font-family: "FlipboardJNL";
  src: url("../extra-fonts/Flipboard%20JNL.woff2") format("woff2"), url("../extra-fonts/Flipboard%20JNL.woff") format("woff"), url("../extra-fonts/Flipboard%20JNL.ttf") format("truetype"), url("../extra-fonts/Flipboard%20JNL.svg") format("svg");
  font-weight: normal;
  font-style: normal;
}
/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --title-color: hsl(0, 0%, 95%);
  --text-color: hsl(0, 0%, 70%);
  --text-color-light: hsl(0, 0%, 60%);
  --body-color: hsl(0, 0%, 0%);
  --container-color: hsl(0, 0%, 8%);
  --accent-color: #0ca9ca;
  --shadow-gradient: linear-gradient(180deg,
                   hsla(0, 0%, 0%, 0) 50%,
                   hsl(0, 0%, 0%) 125%);
  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --second-font: "Montserrat", sans-serif;
  /* Using CSS clamp() for smooth, responsive scaling */
  --biggest-font-size: clamp(5.5rem, 9vw, 8.5rem);
  --h1-font-size: clamp(2rem, 4vw, 2.25rem);
  --h2-font-size: clamp(1.6rem, 3.3vw, 1.8rem);
  --h2var-font-size: clamp(1.4rem, 3vw, 1.6rem);
  --h3-font-size: clamp(1rem, 2.5vw, 1.25rem);
  --normal-font-size: clamp(0.875rem, 2vw, 1rem);
  --small-font-size: clamp(0.75rem, 1.8vw, 0.875rem);
  --smaller-font-size: clamp(0.688rem, 1.5vw, 0.75rem);
  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*=============== CUSTOM POINTER NOT USED BECAUSE OF POOR PERFORMANCE

@media (hover: none), (pointer: coarse) {
	.custom-pointer {
	  display: none !important;
	}
  }

  @media (hover: hover) and (pointer: fine) {
	.custom-pointer {
	  position: fixed;
	  --pointer-size: 12px;
	  width: var(--pointer-size);
	  height: var(--pointer-size);
	  border: 2px solid var(--cursor-color, #fff);
	  background-color: rgba(0, 0, 0, 0.3);
	  border-radius: 50%;
	  pointer-events: none;
	  transform: translate3d(0, 0, 0);
	  z-index: 9999;
	  will-change: transform;
	  top: 0;  
	  left: 0; 
	  display: block;
	}

	@media (min-width: 768px) {
	  .custom-pointer {
		--pointer-size: 16px;
	  }
	}

	@media (min-width: 1024px) {
	  .custom-pointer {
		--pointer-size: 20px;
		border-width: 2px;
	  }
	}
  } ===============*/
/*=============== BASE ELEMENTS ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--text-color);
}

body {
  background-color: var(--body-color);
}

button,
input {
  outline: none;
  border: none;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

.section {
  padding-block: 5rem 1rem;
}
.section__title {
  text-align: center;
  font-size: var(--h1-font-size);
  margin-bottom: 1.5rem;
  position: relative;
  padding: 0.5rem 0;
  background: linear-gradient(45deg, var(--title-color) 30%, hsl(0, 0%, 85%) 50%, var(--title-color) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}
.section__title:hover {
  transform: scale(1.02);
  text-shadow: 0 0 15px hsla(0, 0%, 100%, 0.2);
}

.main {
  overflow: hidden; /* For animation ScrollReveal */
}

.email__link {
  color: var(--primary-color);
  text-decoration: none;
  padding: 0.2rem 0.4rem;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: 0.2s ease;
}
.email__link:hover, .email__link:focus {
  color: var(--hover-color);
  border-color: var(--hover-color);
  background-color: rgba(0, 0, 0, 0.02);
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  width: 100%;
  background-color: transparent;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
}

/*=============== BLUR HEADER BASE STATE (to make the transition work) ===============*/
.header::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-bottom-left-radius: 30px; /* Adjust radius as needed */
  border-bottom-right-radius: 30px; /* Adjust radius as needed */
  background-color: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  top: 0;
  left: 0;
  z-index: -1;
  transition: backdrop-filter 0.3s ease-in-out, background-color 0.8s ease-in-out;
}

/*=============== BLUR HEADER ===============*/
.blur-header::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-bottom-left-radius: 30px; /* Adjust radius as needed */
  border-bottom-right-radius: 30px; /* Adjust radius as needed */
  background-color: hsla(0, 0%, 0%, 0.5); /* Reduced opacity from 0.5 to 0.3 */
  backdrop-filter: blur(30px); /* Reduced blur from 30px to 16px */
  -webkit-backdrop-filter: blur(30px); /* Reduced blur from 30px to 16px */
  top: 0;
  left: 0;
  z-index: -1;
  transition: backdrop-filter 0.5s ease-in-out, background-color 0.5s ease-in-out;
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  color: var(--title-color);
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
  transition: transform 0.3s ease;
}
.nav__logo img {
  max-width: clamp(80px, 4.5vw + 80px, 150px);
  height: auto;
}
.nav__logo:hover {
  transform: scale(1.05);
}

.nav__toggle,
.nav__close {
  display: flex;
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1023px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    background-color: hsla(0, 0%, 0%, 0.85);
    width: 100%;
    border-bottom-left-radius: 30px; /* Adjust radius as needed */
    border-bottom-right-radius: 30px; /* Adjust radius as needed */
    padding-block: 4rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: top 0.4s;
  }
}
.nav__list {
  text-align: center;
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
}

.nav__link {
  position: relative;
  color: var(--title-color);
  font-family: var(--second-font);
  font-weight: var(--font-medium);
}

.nav__link::after {
  content: "";
  width: 0;
  height: 2px;
  background-color: var(--title-color);
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  transition: width 0.3s;
}

.nav__link:hover::after {
  width: 70%;
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

/* Show menu */
.show-menu {
  top: 0;
}

/* Active link */
.active-link::after {
  width: 70%;
}

/*============================================================
   HOME SECTION STYLES
   - Main container for the home section
   - Includes background, overlay, and content components============================================================*/
.home {
  position: relative;
  min-height: 100vh;
  /*------------------------------------------------------------
     BACKGROUND IMAGE COMPONENT
     - Full-width background image with optimized performance
     - Set up for parallax scrolling effects
  ------------------------------------------------------------*/
  /*------------------------------------------------------------
     CONTENT CONTAINER
     - Holds all section content
     - Provides spacing and layout structure
  ------------------------------------------------------------*/
  /*------------------------------------------------------------
     TEXT CONTENT STYLING
     - Includes subtitle, title, and description
     - Features interactive animations and effects
  ------------------------------------------------------------*/
  /*------------------------------------------------------------
     SUBTITLE STYLING
     - Custom font with pill-shaped background
     - Larger text size with decorative elements
     - Features lowercase transformation and letter spacing
  ------------------------------------------------------------*/
  /*------------------------------------------------------------
     CARDS GRID LAYOUT
     - Responsive grid for feature cards
     - Centered layout with specific dimensions
  ------------------------------------------------------------*/
  /*------------------------------------------------------------
     CARD COMPONENT STYLING
     - Interactive cards with hover effects
     - Includes image, title, and animations
  ------------------------------------------------------------*/
}
.home__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  /* Performance Optimization Properties */
  transform: translateZ(0);
  transform-origin: top center;
  will-change: transform, filter;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  perspective: 1000;
  -webkit-perspective: 1000;
}
.home__container {
  position: relative;
  padding-top: 1rem;
  row-gap: 3rem;
}
.home__data {
  text-align: center;
  padding: 1.5rem 2rem;
  border-radius: 2rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.221);
  width: fit-content;
  margin-top: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.home__data:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.4);
}
.home__subtitle {
  font-size: var(--h2-font-size);
  margin-bottom: 0;
  display: inline-block;
  letter-spacing: 0.15em;
  position: relative;
  color: #fff;
}
.home__title {
  font-size: var(--biggest-font-size);
  margin-bottom: 1rem;
  margin-top: 0rem;
  display: inline-block;
  position: relative;
  margin-inline: auto;
  text-shadow: none;
}
.home__description {
  margin-bottom: 2rem;
  color: var(--title-color);
}
.home__cards {
  grid-template-columns: 240px;
  justify-content: center;
  margin-top: 15rem;
}
@media (min-height: 900px) {
  .home__cards {
    margin-top: 25rem;
  }
}
@media (min-height: 1200px) {
  .home__cards {
    margin-top: 30rem;
  }
}
@media (min-height: 1700px) {
  .home__cards {
    margin-top: 60rem;
  }
}
.home__card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.home__card-img {
  border-radius: inherit;
}
.home__card-title {
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: inline-block;
  font-size: var(--h3-font-size);
  z-index: 5;
  color: #fff;
  background: transparent;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  box-sizing: border-box;
  overflow: hidden;
}

/*=============== BUTTON ===============*/
.button {
  background-color: hsla(0, 0%, 100%, 0.2);
  padding: 1.25rem 1.5rem;
  color: var(--title-color);
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: none;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.button i {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  font-weight: initial;
}
.button:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.button:hover i {
  transform: translateX(0.2rem);
}
.button:hover::before {
  opacity: 0.3;
  transform: translate(-50%, -50%) scale(1);
}
.button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

/*=============== BUTTON (Home Variation with Black Text & Brighter White Background) ===============*/
.button--home {
  background-color: hsla(0, 0%, 100%, 0.9);
  padding: 1.25rem 1.5rem;
  color: #000;
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: none;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.button--home i {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  font-weight: initial;
}
.button--home:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.button--home:hover i {
  transform: translateX(0.2rem);
}
.button--home:hover::before {
  opacity: 0.3;
  transform: translate(-50%, -50%) scale(1);
}
.button--home::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

/*=============== ABOUT ===============*/
.about {
  display: block;
  /* Grid container spacing */
  /* Description text spacing */
  /* Image container styling with overflow control */
  /* Main image styling with transition effects */
  /* Overlay shadow effect for images */
  /* Zoom effect on image hover */
}
.about__container {
  display: grid;
  row-gap: 3rem;
  padding: 1rem;
  text-align: center;
}
.about__container__data {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.about__description {
  margin-bottom: 2rem;
}
.about__image {
  position: relative;
  justify-self: center;
  overflow: hidden;
  border-radius: 30px;
}
.about__img {
  width: 300px;
  transition: transform 0.4s;
  border-radius: 30px;
}
.about__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--shadow-gradient);
  border-radius: 30px;
}
.about__image:hover .about__img {
  transform: scale(1.2);
}

.tours__container {
  padding-top: 1.5rem;
  grid-template-columns: 240px;
  justify-content: center;
  row-gap: 2.5rem;
}
.tours__image {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: 1rem;
}
.tours__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.tours__image:hover .tours__img {
  transform: scale(1.2);
}
.tours__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--shadow-gradient);
}
.tours__title {
  font-size: var(--h3-font-size);
  margin-bottom: 0.5rem;
}
.tours__location {
  display: inline-flex;
  align-items: center;
  column-gap: 0.25rem;
  font-size: var(--small-font-size);
  font-family: var(--second-font);
  font-weight: 500;
}
.tours__location i {
  font-size: 1rem;
}

/*=============== EXPLORE ===============*/
.explore {
  position: relative;
}
.explore__image {
  position: absolute;
  overflow: hidden;
  width: 100%;
  z-index: -1;
}
.explore__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.explore__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, hsl(0, 0%, 0%) 5%, hsla(0, 0%, 0%, 0) 40%, hsla(0, 0%, 0%, 0) 60%, hsl(0, 0%, 0%) 92%);
}
.explore__data {
  position: relative;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  padding: 2rem;
  z-index: 1;
}
.explore__content {
  position: relative;
  padding-top: 16rem;
  text-align: center;
  row-gap: 2.5rem;
}
.explore__title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.explore__description {
  font-size: 1rem;
  margin-top: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.explore__description:hover {
  filter: brightness(1.05);
  transform: scale(1.03);
}
.explore__user {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
}
.explore__perfil {
  width: 30px;
  border-radius: 50%;
}
.explore__name {
  font-size: var(--small-font-size);
  color: var(--title-color);
}

/*=============== JOIN ===============*/
.join__container {
  row-gap: clamp(2rem, 1rem + 2vw, 3rem);
  padding-bottom: clamp(2rem, 1.5rem + 1vw, 2.5rem);
}
.join__data {
  text-align: center;
  padding: clamp(2rem, 4vw, 4rem) clamp(2rem, 4vw, 4rem);
}
.join__description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: #ddd;
  margin: 0 0 1rem 0;
}
.join__divider {
  width: 100%;
  height: clamp(1px, 0.5px + 0.5vw, 2px);
  background-color: #ddd;
  margin: clamp(0.25rem, 0.25rem + 0.5vw, 0.5rem) 0;
}
.join__form {
  display: grid;
  row-gap: 1rem;
  grid-template-columns: 1fr;
}
.join__input, .join__textarea {
  width: 100%;
  padding: 0.5rem;
  background-color: var(--container-color);
  border: 1px solid #ccc;
  border-radius: 0.4rem;
  font: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: none;
}
.join__input:focus, .join__textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2.5px var(--accent-color);
  outline: none;
}
.join__response {
  font-size: 1rem;
  margin-top: 2rem;
  text-align: center;
  padding: 0.5rem;
  border-radius: 0.4rem;
  transition: opacity 0.3s, transform 0.3s;
}
.join__response--success {
  background-color: rgba(40, 167, 69, 0.1);
  color: #2ecc71;
  border-left: 3px solid #2ecc71;
}
.join__response--error {
  background-color: rgba(220, 53, 69, 0.1);
  color: #e74c3c;
  border-left: 3px solid #e74c3c;
}
.join__button {
  cursor: pointer;
  background-color: #fff;
  color: #000;
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 50px;
  transition: background-color 0.3s, color 0.3s, transform 0.1s;
  text-align: center;
}
.join__button:hover {
  background-color: var(--accent-color);
  color: #fff;
}
.join__button:active {
  transform: scale(0.95);
}
.join__image {
  position: relative;
  justify-self: center;
  overflow: hidden;
  border-radius: 1rem;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}
.join__img {
  width: 100%;
  height: auto;
  transition: transform 0.4s;
  border-radius: 1rem;
}
.join__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--shadow-gradient);
}
.join__image:hover .join__img {
  transform: scale(1.3);
}

/*=============== FOOTER ===============*/
.footer {
  padding-block: 2rem;
  background-color: black;
}
.footer__content {
  row-gap: 3.5rem;
}
.footer__logo {
  display: inline-block;
  color: var(--title-color);
  font-size: var(--h2-font-size);
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1rem;
}
.footer__data {
  grid-template-columns: repeat(2, max-content);
  gap: 2.5rem 3.5rem;
}
.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}
.footer__links {
  display: grid;
  row-gap: 0.75rem;
}
.footer__link {
  color: var(--text-color);
  transition: color 0.4s;
}
.footer__link:hover {
  color: var(--title-color);
}
.footer__group, .footer__social {
  display: flex;
}
.footer__group {
  margin-top: 5rem;
  flex-direction: column;
  align-items: center;
  row-gap: 2rem;
}
.footer__social {
  column-gap: 1.5rem;
}
.footer__social-link {
  color: var(--text-color);
  font-size: 1.25rem;
  transition: color 0.4s, transform 0.4s;
}
.footer__social-link:hover {
  color: var(--title-color);
  transform: translateY(-0.25rem);
}
.footer__copy {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
  text-align: center;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
  border-radius: 0.5rem;
  background-color: hsl(0, 0%, 10%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(0, 0%, 20%);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(0, 0%, 30%);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: hsla(0, 0%, 100%, 0.1);
  padding: 6px;
  display: inline-flex;
  color: var(--title-color);
  font-size: 1.25rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); /* For safari */
  z-index: var(--z-tooltip);
  transition: bottom 0.4s, transform 0.4s;
}

.scrollup:hover {
  transform: translateY(-0.25rem);
}

/* Show Scroll Up */
.show-scroll {
  bottom: 3rem;
}

/*-----------------------------------------------------  
  BREAKPOINTS: Very Small Devices (max-width: 390px)  
-----------------------------------------------------*/
@media screen and (min-width: 300px) {
  /* Modify footer layout: data, logo, and description are stacked (grid single column) */
  .footer__data,
  .footer__logo,
  .footer__description {
    grid-template-columns: max-content;
    margin-left: 3rem;
  }
  /* Center home container and manage gaps and maximum width */
  .home__container {
    margin: 0 auto;
    row-gap: clamp(1.5rem, 1.5rem + 1vw, 2.5rem);
    max-width: clamp(300px, 320px + 10vw, 360px);
  }
  /* Center the text in the Home Data section */
  .home__data {
    text-align: center;
  }
  /* Spacing and centering for home title */
  .home__title {
    margin: clamp(0.2rem, 0.2rem + 0.5vw, 0.8rem) auto clamp(0.6rem, 0.6rem + 0.5vw, 1.5rem);
  }
  /* Spacing and responsive font sizing for home subtitle */
  .home__subtitle {
    margin: 0 auto clamp(1rem, 1rem + 0.5vw, 2rem);
    font-size: clamp(0.8rem, 0.8rem + 0.5vw, 1.2rem);
  }
  .join__data {
    padding: 2rem 2.5rem;
  }
  .join__container {
    grid-template-columns: 380px;
    justify-content: center;
    margin: 0 auto;
    padding-inline: clamp(1rem, 1rem + 1vw, 2rem);
  }
  .join__image {
    order: -1;
    margin-bottom: 1rem;
  }
}
/*-----------------------------------------------------
  Breakpoints: Medium Devices (min-width: 576px)
-----------------------------------------------------*/
@media screen and (min-width: 576px) {
  /********************************************
    Section: Home Data
    Description: Centers the home data text.
  ********************************************/
  .home__data {
    text-align: center;
  }
  /********************************************
    Section: Containers for Home, About, Explore, Join
    Description: Sets grid settings, center alignment,
                 and horizontal padding for containers.
  ********************************************/
  .home__container,
  .about__container,
  .explore__content,
  .join__container {
    grid-template-columns: 380px;
    justify-content: center;
    margin: 0 auto;
    padding-inline: clamp(1rem, 1rem + 1vw, 2rem);
  }
  .home__cards {
    grid-template-columns: repeat(2, 240px);
  }
  /********************************************
    Section: Home Title
    Description: Sets the top and bottom margins for the home title.
  ********************************************/
  .home__title {
    margin-top: clamp(0.5rem, 0.5rem + 0.5vw, 1rem);
    margin-bottom: clamp(0.2rem, 0.2rem + 0.5vw, 1rem);
  }
  /********************************************
    Section: Home Subtitle
    Description: Sets the margins and font size for the home subtitle.
  ********************************************/
  .home__subtitle {
    margin-top: clamp(0rem, 0rem + 0.3vw, 0.5rem);
    margin-bottom: clamp(0.8rem, 0.8rem + 0.3vw, 1.5rem);
    font-size: clamp(1rem, 1rem + 0.5vw, 1.5rem);
  }
  /********************************************
    Section: Footer Data
    Description: Configures the footer data grid layout and spacing.
  ********************************************/
  .footer__data {
    grid-template-columns: repeat(3, max-content);
    justify-content: center;
    column-gap: clamp(1rem, 1rem + 2vw, 3rem);
  }
}
/*-----------------------------------------------------
  Breakpoints: Tablets (min-width: 768px)
-----------------------------------------------------*/
@media screen and (min-width: 768px) {
  /*-----------------------------------------------
    Home Data Section:
    - Centers the home data text.
  -----------------------------------------------*/
  .home__data {
    text-align: center;
  }
  /*-----------------------------------------------
    Home Title Section:
    - Sets top and bottom margins for the home title.
  -----------------------------------------------*/
  .home__title {
    margin-top: calc(0.5rem + 0.4vw);
    margin-bottom: calc(0.4rem + 0.2vw);
  }
  /*-----------------------------------------------
    Home Subtitle Section:
    - Sets top and bottom margins for the home subtitle.
  -----------------------------------------------*/
  .home__subtitle {
    margin-top: calc(0.8rem + 0.2vw);
    margin-bottom: calc(0.8rem + 0.1vw);
  }
  /*-----------------------------------------------
    Home Cards Section:
    - Configures grid layout for home cards.
  -----------------------------------------------*/
  .home__cards {
    grid-template-columns: repeat(2, 240px);
  }
  /*-----------------------------------------------
    About & Join Containers Section:
    - Configures grid layout and alignment for About and Join containers.
  -----------------------------------------------*/
  .about__container,
  .join__container {
    grid-template-columns: repeat(2, 350px);
    align-items: center;
  }
  /*-----------------------------------------------
    About and Join Data Alignment Section:
    - Adjusts text alignment for data and their titles.
  -----------------------------------------------*/
  .about__data,
  .about__data .section__title,
  .join__data,
  .join__data .section__title {
    text-align: initial;
  }
  /*-----------------------------------------------
    Tours Container Section:
    - Configures grid layout for tours.
  -----------------------------------------------*/
  .tours__container {
    grid-template-columns: repeat(2, 240px);
  }
  /*-----------------------------------------------
    Explore & Join Images Section:
    - Adjusts the width of explore image and orders join image.
  -----------------------------------------------*/
  .explore__img {
    width: 100vw;
  }
  .join__image {
    order: -1;
  }
  /*-----------------------------------------------
    Footer Section:
    - Adjusts layout and ordering for footer elements.
  -----------------------------------------------*/
  .footer__content {
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
  }
  .footer__group {
    flex-direction: row;
    justify-content: space-between;
  }
  .footer__copy {
    order: -1;
  }
}
/*-----------------------------------------------------
  Breakpoints: Large Devices (min-width: 1024px)
-----------------------------------------------------*/
@media screen and (min-width: 1024px) {
  /*-----------------------------------------------------
    Navigation Styles
      - Hide toggle controls.
      - Arrange navigation list items in a row.
  -----------------------------------------------------*/
  .nav__close,
  .nav__toggle {
    display: none;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 4rem;
  }
  /*-----------------------------------------------------
    Tours Container
      - Define a three-column grid layout.
  -----------------------------------------------------*/
  .tours__container {
    grid-template-columns: repeat(3, 240px);
  }
  /*-----------------------------------------------------
    Footer Data
      - Establish a four-column grid layout.
      - Set a consistent column gap.
  -----------------------------------------------------*/
  .footer__data {
    grid-template-columns: repeat(4, max-content);
    column-gap: 4.5rem;
  }
}
/*-----------------------------------------------------
  Breakpoints: Extra Large Devices (min-width: 1152px)
-----------------------------------------------------*/
@media screen and (min-width: 1152px) {
  /*-----------------------------------------------
    General Container and Section Spacing
  -----------------------------------------------*/
  .container {
    margin-inline: auto;
  }
  .section {
    padding-block: 7rem 2rem;
  }
  /*-----------------------------------------------
    Navigation & Header Adjustments
  -----------------------------------------------*/
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .blur-header::after {
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
  }
  /*-----------------------------------------------
    Home Container and Data Adjustments
  -----------------------------------------------*/
  .home__container {
    grid-template-columns: initial;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    row-gap: 5rem;
    padding-top: 6.5rem;
  }
  .home__data {
    text-align: center;
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
  }
  /*-----------------------------------------------
    Home Cards Layout
      - Center the cards grid.
  -----------------------------------------------*/
  .home__cards {
    justify-content: center;
    grid-template-columns: repeat(4, 260px);
  }
  .home__card-title {
    left: 1.5rem;
    bottom: 1.5rem;
  }
  /*-----------------------------------------------
    Button Layout
  -----------------------------------------------*/
  .button {
    column-gap: 1.5rem;
  }
  /*-----------------------------------------------
    About Section Styles
  -----------------------------------------------*/
  .about__container {
    grid-template-columns: 400px 460px;
    column-gap: 8.5rem;
    padding-block: 1rem;
  }
  .about__description {
    margin-bottom: 3rem;
  }
  .about__img {
    width: 460px;
  }
  /*-----------------------------------------------
    Tours Section Styling
  -----------------------------------------------*/
  .tours__container {
    grid-template-columns: repeat(3, 300px);
    column-gap: 3rem;
    padding-top: 4rem;
  }
  .tours__title {
    font-size: var(--h2-font-size);
  }
  .tours__location {
    font-size: var(--normal-font-size);
  }
  /*-----------------------------------------------
    Explore Section Styling
  -----------------------------------------------*/
  .explore__img {
    height: 600px;
  }
  .explore__content {
    padding-top: 28rem;
    grid-template-columns: 670px 1fr;
  }
  .explore__data,
  .explore__data .section__title {
    text-align: initial;
  }
  .explore__user {
    justify-content: flex-end;
    align-self: flex-end;
    margin-bottom: 1.25rem;
  }
  /*-----------------------------------------------
    Join Section Styling
  -----------------------------------------------*/
  .join__container {
    grid-template-columns: 460px 340px;
    column-gap: 1rem;
    padding-block: 1rem 5rem;
  }
  .join__img {
    width: 460px;
  }
  .join__description {
    margin-bottom: 3rem;
  }
  /*-----------------------------------------------
    Footer Section Styling
  -----------------------------------------------*/
  .footer {
    padding-block: 5rem 3rem;
  }
  .footer__title {
    margin-bottom: 1.5rem;
  }
  .footer__group {
    margin-top: 7rem;
  }
  .footer__social {
    column-gap: 2rem;
  }
  .footer__social-link {
    font-size: 1.5rem;
  }
  /*-----------------------------------------------
    Scrollup Button Styling
  -----------------------------------------------*/
  .scrollup {
    right: 3rem;
  }
}
/*-----------------------------------------------------
  Breakpoint: Extra Extra Large Devices (min-width: 1440px)
-----------------------------------------------------*/
@media screen and (min-width: 1440px) {
  /* Center overall container with expanded max-width */
  .container {
    margin-inline: auto;
  }
  /* Enlarge home container and adjust spacing */
  .home__container {
    width: 90%;
    max-width: 900px;
    row-gap: clamp(3rem, 3rem + 1vw, 4rem);
    padding-top: clamp(8rem, 8rem + 1vw, 9rem);
    margin: 0 auto;
  }
  /* Widen home data block for better readability */
  .home__data {
    width: clamp(700px, 750px + 1vw, 800px);
    margin: 0 auto;
  }
  /* Broaden layout for about and join sections */
  .about__container,
  .join__container {
    column-gap: clamp(8rem, 8rem + 1vw, 10rem);
    padding-block: clamp(2rem, 2rem + 0.5vw, 2.5rem);
  }
  /* Refine footer data spacing */
  .footer__data {
    grid-template-columns: repeat(4, max-content);
    column-gap: clamp(4rem, 4rem + 1vw, 5rem);
  }
}
/*-----------------------------------------------------
  Breakpoint: Ultra HD Devices (min-width: 2560px)
-----------------------------------------------------*/
@media screen and (min-width: 2560px) {
  /* Ensure container remains centered with ample max-width */
  .container {
    margin-inline: auto;
  }
  /* Expand the home data area and center it */
  .home__data {
    width: clamp(1000px, 1050px + 1vw, 1100px);
    margin: 0 auto;
  }
  /* Enhance layout for about and join containers and center them */
  .about__container {
    margin: 0 auto;
    column-gap: clamp(10rem, 10rem + 1vw, 12rem);
    padding-block: clamp(3rem, 3rem + 0.5vw, 3.5rem);
  }
  .join {
    margin-top: 50rem;
  }
  .join .join__container {
    grid-template-columns: 500px 400px;
    column-gap: clamp(2rem, 2rem + 1vw, 3rem);
    padding-inline: clamp(1rem, 1rem + 1vw, 2rem);
  }
  .join .join__data {
    padding: clamp(2rem, 2rem + 1vw, 3rem) clamp(2rem, 2rem + 1vw, 2rem);
    text-align: initial;
  }
  .join .join__img {
    width: clamp(460px, 460px + 1vw, 500px);
  }
  /* Increase footer spacing for better visual balance and center footer data */
  .footer__data {
    margin: 0 auto;
    grid-template-columns: repeat(4, max-content);
    column-gap: clamp(5rem, 5rem + 1vw, 6rem);
  }
}
/*============================================================
  Offers Section Styles - Modern & Refined
============================================================*/
.offers-showcase {
  padding: clamp(3rem, 8vw, 6rem) clamp(2rem, 4vw, 3rem);
  margin: 0 auto;
  background-image: url("../img/offers-bg.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.offers-showcase .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}
.offers-showcase .offers__header {
  margin-top: clamp(0.75rem, 2vw, 1.5rem);
  position: relative;
  text-align: center;
  min-height: clamp(300px, 40vw, 400px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.offers-showcase .offers__header > * {
  position: relative;
  z-index: 1;
  margin: 0.5rem 0;
}
.offers-showcase .offers__pill-button {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #000;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  margin: 1rem 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(5px);
}
.offers-showcase .offers__pill-button:hover {
  background-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}
@media screen and (max-width: 480px) {
  .offers-showcase .offers__pill-button {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    margin: 0.75rem 0.5rem;
  }
}
.offers-showcase .offers__title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.2;
  /* Enhance readability with a subtle text shadow */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.offers-showcase .offers__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.01em;
  font-family: "Montserrat", sans-serif;
  max-width: 800px;
  padding: 0 1rem;
  /* Sleek white gradient underline */
  position: relative;
}
.offers-showcase .offers__subtitle::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0));
}
.offers-showcase .offers__header-description {
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.5;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  font-weight: 300;
  max-width: 600px;
  margin: 1rem auto;
  font-family: "Montserrat", sans-serif;
  background-color: rgba(0, 0, 0, 0.3);
}
.offers-showcase__grid {
  display: grid;
  margin: 2rem auto;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/*============================================================
  CLOCK COMPONENT
============================================================*/
.clock {
  font-size: clamp(0.9rem, 1.5vw, 1.5rem);
  font-family: "Montserrat", sans-serif;
  color: #000000;
  display: inline-block;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(0.35rem, 0.8vw, 0.5rem) clamp(0.8rem, 1.5vw, 1.2rem);
  border-radius: 30px;
  backdrop-filter: blur(5px);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.25s ease;
  margin: clamp(1rem, 2vw, 1.5rem) auto; /* Reduced margin */
}
.clock:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.clock span {
  display: inline-block;
  text-transform: lowercase;
  will-change: opacity, transform;
}

/*============================================================
  Offers Card Component - Performance Optimized
============================================================*/
/* Transition Variables */
/* Base Offers Card Styles */
.offers-card {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(8px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  min-height: clamp(250px, 50vh, 300px);
  border-radius: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: left;
  text-align: left;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1);
  will-change: transform;
  transform-origin: center center;
  /* Image Container */
  /* Card Image */
  /* Content Container - forces consistent vertical spacing regardless of content length */
  /* Card Title */
  /* Price 
  &__price {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 0, 0, 0.75); 
    color: rgba(255, 255, 255, 0.95); 
    border-radius: 16px; 
    font-size: clamp(0.65rem, 1.2vw, 0.75rem); 
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em; 
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease-out;

    // Hide in expanded state
    .expanded & {
      display: none;
    }
  } */
  /* Description */
  /* Hover State (Subtle Lift) */
  /* Expanded State */
}
.offers-card .expanded-content {
  display: none;
}
.offers-card__image {
  position: relative;
  overflow: hidden;
  border-radius: inherit;
  width: 100%;
  height: 200px;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
  background-color: rgba(0, 0, 0, 0.1);
}
.offers-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}
.offers-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
  transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  will-change: transform;
  max-height: 100%;
  max-width: 100%;
}
.offers-card__content {
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem;
  flex: 1;
}
.offers-card__title {
  font-size: clamp(2rem, 2.5vw, 2.6rem);
  max-width: 100%;
  overflow-wrap: break-word;
  margin-bottom: clamp(0.75rem, 2vw, 0.8rem);
  color: #fff;
  font-family: var(--second-font);
  font-weight: var(--font-bold);
  line-height: 1.2;
  display: block;
  text-align: left;
}
@media screen and (max-width: 480px) {
  .offers-card__title {
    font-size: clamp(1.5rem, 5vw, var(--h1-font-size));
    margin-bottom: clamp(0.5rem, 2vw, 0.7rem);
  }
}
.expanded .offers-card__title {
  display: none;
}
.offers-card .book-now {
  /* margin-top: auto; removed to let the flex container distribute space evenly */
  display: inline-flex;
  align-items: center;
  padding: clamp(0.7rem, 1.5vw, 0.9rem) clamp(1.3rem, 2.5vw, 1.8rem);
  background: rgba(255, 255, 255, 0.95);
  color: #000000;
  border-radius: 50px;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.offers-card .book-now:hover {
  transform: translateY(-2px);
  background: rgb(255, 255, 255);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
@media screen and (max-width: 480px) {
  .offers-card .book-now {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
  }
}
.offers-card__description {
  font-size: clamp(0.875rem, 2vw, var(--normal-font-size));
  color: rgb(255, 255, 255);
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
}
.expanded .offers-card__description {
  display: none;
}
.offers-card:hover:not(.expanded) {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}
.offers-card:hover:not(.expanded) .offers-card__img {
  transform: scale(1.05);
}
.offers-card:hover:not(.expanded) .offers-card__image::after {
  opacity: 0.2;
}
.offers-card:hover:not(.expanded) .offers-card__price {
  transform: translateY(-2px);
}
.offers-card.expanded {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(90vw, 1000px);
  height: min(90vh, 800px);
  transform: translate(-50%, -50%);
  z-index: 1000;
  /* Default expanded background */
  background: url("../img/card-bg.webp") center/cover no-repeat;
  /* Card-specific backgrounds using data attributes */
  /*
    &[data-bg="variantFjord"] {
      background: 
      linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)),
      url('../img/card-bg-.webp') center/cover no-repeat;
    }

    &[data-bg="variantPolaria"] {
      background: 
      linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)),
      url('../img/card-bg-.webp') center/cover no-repeat;
    }

    &[data-bg="variantArcticHistory"] {
      background: 
      linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)),
      url('../img/card-bg-.webp') center/cover no-repeat;
    }
  */
  /* Support custom background via CSS variable */
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.221);
  overflow-y: auto;
  transition: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transform-origin: center center;
  will-change: transform, opacity;
  contain: layout paint;
  /* Preexisting Content Centering */
  /* Image Collage Styling */
  /* Expanded Title - Enhanced Visibility & Impact */
  /* Price Badge - Refined & Minimal */
  /* Description - Airy & Elegant */
  /* Improved Exit Button with Better Responsiveness */
}
.offers-card.expanded[data-bg=variantNLC] {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), url("../img/card-bg-variantNLC.webp") center/cover no-repeat;
}
.offers-card.expanded[data-bg=variantBestOf] {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), url("../img/card-bg-variantBestOf.webp") center/cover no-repeat;
}
.offers-card.expanded[data-bg=variantCustom] {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), url("../img/card-bg-variantCustom.webp") center/cover no-repeat;
}
.offers-card.expanded[data-bg-custom=true] {
  background: var(--custom-bg-url) center/cover no-repeat;
}
.offers-card.expanded .offers-card__image {
  display: none;
}
.offers-card.expanded .offers-card__content {
  padding: 1.5rem 1.5rem 2rem;
  border-radius: 1rem;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* Reserve minimal space for dynamic content to avoid layout shifts */
  min-height: 100px;
}
.offers-card.expanded .offers-card__image-collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 0.5rem;
  margin: 3rem;
  width: 100%;
  max-width: clamp(250px, 80vw, 600px);
  position: relative;
  align-self: center;
  justify-self: center;
}
.offers-card.expanded .offers-card__image-collage img {
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Feature image configuration with a responsive height */
  /* All other images keep the same ratio (115/240) relative to the feature image */
  /* Positioning for each image in the collage */
}
.offers-card.expanded .offers-card__image-collage img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 2;
}
.offers-card.expanded .offers-card__image-collage img:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  height: clamp(200px, 10vw, 240px) !important;
  width: 100%;
}
.offers-card.expanded .offers-card__image-collage img:nth-child(n+2) {
  height: calc(clamp(200px, 10vw, 240px) * 0.47917) !important;
  width: 100%;
}
.offers-card.expanded .offers-card__image-collage img:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}
.offers-card.expanded .offers-card__image-collage img:nth-child(3) {
  grid-column: 4;
  grid-row: 1;
}
.offers-card.expanded .offers-card__image-collage img:nth-child(4) {
  grid-column: 3/span 2;
  grid-row: 2;
}
.offers-card.expanded .offers-card__title-open {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: clamp(2rem, 5vw, 3rem) auto clamp(1.5rem, 3vw, 2rem); /* Responsive margins */
  color: #fff;
  font-family: var(--second-font);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-transform: capitalize;
  max-width: 90%; /* Stretched text slightly more */
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: fadeIn 0.3s ease-out;
}
.expanded .offers-card.expanded .offers-card__title-open {
  display: flex;
}
.offers-card.expanded .offers-card__title-open::after {
  content: "";
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgb(255, 255, 255), rgba(255, 255, 255, 0));
}
.offers-card.expanded .offers-card__button-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1.5rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  border: 2px solid transparent;
  border-radius: 50px;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 2rem;
}
.offers-card.expanded .offers-card__button-open:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.offers-card.expanded .offers-card__price-open {
  display: inline-flex;
  align-items: center;
  padding: clamp(0.5rem, 1vw, 0.8rem) clamp(1rem, 2vw, 1.5rem); /* Responsive padding */
  background: rgba(255, 255, 255, 0.92);
  color: #000;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0 auto clamp(1rem, 2vw, 1.5rem); /* Responsive margin-bottom */
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.expanded .offers-card.expanded .offers-card__price-open {
  display: inline-flex;
}
.offers-card.expanded .offers-card__description-open {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  margin: clamp(1rem, 2.5vw, 1.5rem) auto clamp(1.5rem, 3vw, 2rem); /* Responsive margins */
  max-width: 65ch;
  padding: 0 clamp(1rem, 2vw, 1.5rem); /* Responsive horizontal padding */
  text-align: center;
  font-weight: 300;
  width: 100%;
  display: block;
}
.offers-card.expanded .expanded-content {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 1rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.offers-card.expanded .expanded-content p {
  color: #fff;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}
.offers-card.expanded .expanded-content p strong {
  color: #fff;
  font-weight: 500;
}
.offers-card.expanded .expanded-content h4 {
  color: #fff;
  font-size: 1.8rem;
  margin: 2rem 0 2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  display: inline-block;
}
.offers-card.expanded .expanded-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.offers-card.expanded .expanded-content ul li {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.offers-card.expanded .expanded-content ul li::before {
  content: "•";
  color: #fff;
  margin-right: 0.75rem;
}
.offers-card.expanded .offers-card__exit {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1rem);
  right: clamp(0.75rem, 2vw, 1rem);
  z-index: 101;
  cursor: pointer;
  width: clamp(2rem, 5vw, 2.5rem);
  height: clamp(2rem, 5vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--title-color);
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  /* Improve touch target on mobile */
}
@media screen and (max-width: 480px) {
  .offers-card.expanded .offers-card__exit {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 1rem;
    top: 0.6rem;
    right: 0.6rem;
  }
}
.offers-card.expanded .offers-card__exit:hover {
  transform: rotate(90deg);
  background: rgba(255, 255, 255, 0.3);
}

/* Overlay for Expanded Offers Card */
.offers-card-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.893);
  opacity: 0;
  visibility: hidden;
  z-index: 900;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.offers-card-overlay.active {
  opacity: 1;
  visibility: visible;
}

/*============================================================
  RESPONSIVE BREAKPOINTS
  --- Ensuring cards stack properly and content aligns well across devices ---
============================================================*/
/* Extra Small Screens (< 480px) */
@media screen and (max-width: 479px) {
  .offers-showcase {
    padding: clamp(1rem, 4vw, 2rem);
  }
}
/* Small Screens (480px - 767px) */
@media screen and (min-width: 480px) and (max-width: 767px) {
  .offers-showcase {
    padding: clamp(1.5rem, 5vw, 3rem);
  }
}
/* Normal Screens (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .offers-showcase {
    padding: clamp(2.5rem, 6vw, 4rem);
  }
}
/* Desktop Screens (1024px - 1279px) */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .offers-showcase {
    padding: clamp(3rem, 7vw, 5rem);
  }
}
/* Large Screens (1280px - 1535px) */
@media screen and (min-width: 1280px) and (max-width: 1535px) {
  .offers-showcase {
    padding: clamp(4rem, 8vw, 6rem);
  }
}
/* Extra Large Screens (≥ 1536px) */
@media screen and (min-width: 1536px) {
  .offers-showcase {
    padding: clamp(5rem, 10vw, 8rem);
  }
}
.privacy-policy,
.terms-of-service {
  background: linear-gradient(135deg, #202020, #282828);
  padding: 3rem 2rem;
  margin-top: 10rem;
  text-align: center;
  border-radius: 0.75rem;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-family: "Lato", sans-serif;
}
.privacy-policy:hover,
.terms-of-service:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}
.privacy-policy__title,
.terms-of-service__title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #fefefe;
  letter-spacing: 0.07rem;
  transition: color 0.3s ease;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.privacy-policy__description,
.terms-of-service__description {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: #b0b0b0;
  font-weight: 300;
}

.privacy-policy .policy__content {
  margin-top: 2rem;
  text-align: center;
}
.privacy-policy .policy__content h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #0095f2;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  transition: color 0.3s ease;
  font-weight: 600;
}
.privacy-policy .policy__content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #cacaca;
  margin-bottom: 1.25rem;
}

.terms-of-service {
  border-top: 1px solid #666;
}
.terms-of-service .terms__content {
  margin-top: 2rem;
  text-align: center;
}
.terms-of-service .terms__content h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #0095f2;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  transition: color 0.3s ease;
  font-weight: 600;
}
.terms-of-service .terms__content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #cacaca;
  margin-bottom: 1.25rem;
}

@media screen and (max-width: 768px) {
  .privacy-policy,
  .terms-of-service {
    padding: 2rem 1.5rem;
    margin-top: 8rem;
  }
  .privacy-policy__title,
  .terms-of-service__title {
    font-size: 2.5rem;
  }
  .privacy-policy__description,
  .terms-of-service__description {
    font-size: 1.125rem;
  }
  .privacy-policy .policy__content h2 {
    font-size: 1.35rem;
  }
  .privacy-policy .policy__content p {
    font-size: 1rem;
  }
  .terms-of-service .terms__content h2 {
    font-size: 1.35rem;
  }
  .terms-of-service .terms__content p {
    font-size: 1rem;
  }
}/*# sourceMappingURL=styles.css.map */