.day-section {
  height: 800px;
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 1) 5%,
      transparent
    ),
    url('https://toursite.link/pinnacle/wp-content/uploads/2025/05/shutterstock_1587768199-1-1.png');
  background-size: cover;
  background-position: center 140px;
  background-repeat: no-repeat;
  position: relative;
  color: white;
  text-align: center;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.day {
  position: absolute;
  top: 170px;
  left: 30px;
  z-index: 2;
}

.day-img {
  transform: scale(0.6);
  transform-origin: bottom left;
  transition: transform 0.5s ease;
}

.day-section:hover .day-img {
  transform: scale(1);
}

.day-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 230px;
  height: 500px;
  background-image: url('https://toursite.link/pinnacle/wp-content/uploads/2025/05/vecteezy_green-gnarled-tree-branch-isolated-on-transparent_45357457-1.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: 1;
  z-index: 1;
}

.day-content {
  position: relative;
  margin-left: 480px;
  padding: 40px 30px;
  width: 800px;
  color: black;
  text-align: left;
}

/* ⬇ FLEX ROW REVERSED ON DESKTOP */
.day-content1 {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-direction: row; /* reverse order desktop */
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s ease;
}

/* On hover of day-section, slide up and show */
.day-section:hover .day-content1 {
  transform: translateY(0);
  opacity: 1;
}

.day-content2 h1 {
  font-size: 2rem;
  margin: 0;
  line-height: 1.2;
}

.day-content2 h2 {
  font-size: 50px;
  margin-bottom: 10px;
  color: #F6931D;
  font-weight: 700;
  font-family: 'Philosopher', sans-serif;
}

.day-content2 h3 {
  font-size: 50px;
  margin: 20px 0 10px;
  color: #1E6E47;
  font-weight: 275;
  font-family: 'Poppins', sans-serif;
}

.day-content2 p {
  color: #1E1E1E;
  line-height: 1.6;
  font-size: 20px;
  font-family: 'Poppins', sans-serif;
  margin-top: 10px;
  font-weight: normal;
}

.two-box {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 20px;
  justify-content: flex-start;
}

.d2-box {
  width: 220px;
  height: 270px;
  background-size: cover;
  background-position: center;
}

.day-box {
  margin-top: 70px;
  width: 280px;
  height: 600px;
  background-image: url('https://toursite.link/pinnacle/wp-content/uploads/2025/05/shutterstock_790657894-1.png');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
  overflow: hidden;
}

.overlay-content {
  z-index: 91;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.day-btn {
  opacity: 0;
  padding: 9px 35px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  background-color: transparent;
  transition: opacity 0.8s ease, transform 0.5s ease;
  position: relative;
}

.day-btn:hover {
  background-color: #f6931d;
  color: white;
  border-color: #f6931d;
}

.overlay-heading {
  color: white;
  font-size: 20px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  line-height: 26px;
}

/* expanding radial green overlay */
.day-box::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background-color: #1E6E47;
  border-radius: 50%;
  opacity: 0.4;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.7s ease-out;
  z-index: 1;
}

.day-box:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

/* show CTA button on hover (desktop) */
.day-box:hover .day-btn {
  display: block;
  opacity: 1;
}

.d2-box {
  width: 220px;
  height: 270px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
}

/* expanding radial overlay for small cards */
.d2-box::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background-color: #1E6E47;
  border-radius: 50%;
  opacity: 0.4;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.7s ease-out;
  z-index: 1;
}

.d2-box:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.d2-box .overlay-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.d2-box .day-btn {
  opacity: 0;
  visibility: hidden;
  padding: 9px 35px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  background-color: transparent;
  transition: opacity 0.8s ease,
              visibility 0s linear 0.8s,
              transform 0.5s ease;
  position: relative;
}

.d2-box:hover .day-btn {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.d2-box .day-btn:hover{
  background-color: #f6931d;
  color: white;
  border-color: #f6931d;
}

.d2-box .overlay-content h2 {
  color: white;
  font-size: 20px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  line-height: 26px;
}

/* ------------------------------------------------ */
/* TABLET ≤1024px                                   */
/* ------------------------------------------------ */
@media screen and (max-width: 1024px) {
	
	.day-img{
		display:none;
	}

	
  .day-section {
    height: initial;
    min-height: 700px;
    padding: 60px 20px 40px;
    background-position: center top;
    background-size: cover;
    background-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.6) 40%,
        rgba(255, 255, 255, 0) 100%
      ),
      url('https://toursite.link/pinnacle/wp-content/uploads/2025/05/shutterstock_1587768199-1-1.png');
  }

  .day {
    position: relative;
    top: 0;
    left: 0;
    text-align: center;
    margin-bottom: 20px;
    z-index: 2;
  }

  .day-img {
    transform: scale(0.8);
    transform-origin: bottom center;
  }

  .day-section:hover .day-img {
    transform: scale(0.8); /* disable hover zoom on touch */
  }

  .day-section::after {
    width: 180px;
    height: 360px;
    opacity: 0.7;
  }

  .day-content {
    margin-left: 0;
    width: 100%;
    max-width: 900px;
    padding: 0 10px;
    color: #1E1E1E;
    text-align: center;
    margin: 0 auto;
  }

  /* stack content vertically, but keep reversed order:
     .day-content2 ABOVE .day-box */
  .day-content1 {
    flex-direction: column-reverse;
    align-items: center;
    transform: none;
    opacity: 1;
    text-align: center;
    gap: 24px;
  }

  /* kill hover requirement for visibility */
  .day-section:hover .day-content1 {
    transform: none;
    opacity: 1;
  }

  /* SAME SIZE for .day-box and .d2-box */
  .day-box,
  .d2-box {
    width: 40vw;
    height: 260px;
  }

  .day-box {
    margin-top: 0;
  }

  .overlay-heading {
    font-size: 18px;
    line-height: 24px;
  }

  /* always show CTAs on tablet */
  .day-btn,
  .d2-box .day-btn {
    opacity: 1;
    visibility: visible;
    display: inline-block;
  }

  .day-content2 h2 {
    font-size: 40px;
    text-align: center;
  }

  .day-content2 h3 {
    font-size: 32px;
    text-align: center;
    line-height: 1.3;
  }

  .day-content2 p {
    font-size: 18px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  .two-box {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .d2-box {
    /* already 260x260 above */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .d2-box .overlay-content h2 {
    font-size: 18px;
    line-height: 24px;
  }
}

/* ------------------------------------------------ */
/* MOBILE ≤767px                                    */
/* ------------------------------------------------ */
@media screen and (max-width: 767px) {
  .day-section {
    padding: 40px 16px 30px;
    min-height: unset;
    background-image: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 100%
      ),
      url('https://toursite.link/pinnacle/wp-content/uploads/2025/05/shutterstock_1587768199-1-1.png');
    background-position: center top;
  }

  .day {
    margin-bottom: 16px;
  }

  .day-img {
    transform: scale(0.9);
    max-width: 260px;
    width: 100%;
  }

  .day-section:hover .day-img {
    transform: scale(0.9);
  }

  .day-section::after {
    width: 140px;
    height: 260px;
    opacity: 0.5;
  }

  .day-content {
    padding: 0;
    text-align: center;
  }

  /* keep reversed order on mobile:
     text (day-content2) then box */
  .day-content1 {
    flex-direction: column-reverse;
    align-items: center;
    gap: 24px;
  }

  /* SAME SIZE for .day-box and .d2-box (mobile) */
  .day-box,
  .d2-box {
    width: 90vw;
    height: 240px;
  }

  .day-box {
    margin-top: 0;
  }

  .overlay-heading {
    font-size: 18px;
    line-height: 24px;
  }

  .day-btn,
  .d2-box .day-btn {
    font-size: 14px;
    padding: 8px 24px;
    opacity: 1;
    visibility: visible;
    display: inline-block;
  }

  .day-content2 h2 {
    font-size: 32px;
    margin-bottom: 8px;
    text-align: center;
    line-height: 1.2;
  }

  .day-content2 h3 {
    font-size: 22px;
    margin: 12px 0 10px;
    line-height: 1.3;
    text-align: center;
  }

  .day-content2 p {
    font-size: 16px;
    line-height: 1.5;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  /* two-box becomes vertical stack */
  .two-box {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .d2-box {
    /* already 240x240 above */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .d2-box .overlay-content h2 {
    font-size: 18px;
    line-height: 24px;
  }
}
