* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-box-svg-spring: linear-gradient(#4ad4ff, #fff);
  --bg-box-svg-summer: linear-gradient(#64b5f6, #e3f2fd);
  --bg-box-svg-autumn: linear-gradient(#f3ba89, #f9eca9);
  --bg-box-svg-winter: linear-gradient(#a2b6c0, #ecdcbc);

  --bd-spring: linear-gradient(180deg, #e6f4ef 0%, #faf8f5 100%);
  --bd-summer: linear-gradient(180deg, #fde2e4 0%, #faf8f5 100%);
  --bd-autumn: linear-gradient(180deg, #fbe3d2 0%, #faf8f5 100%);
  --bd-winter: linear-gradient(180deg, #ece9f8 0%, #faf8f5 100%);
}

body {
  /* display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw; */
  /* height: 100vh; */
  /* font-family: -apple-system, BlinkMacSystemFont, sans-serif; */
}

.background,
.middleground,
.foreground {
  position: absolute;
  scale: 0;
}

.season-bg {
  position: absolute;
  width: 500px;
  height: 350px;
  border-radius: 30px;
  margin-bottom: 100px;
  margin-left: 100px;
}

/* -- Spring -- */

#spring-bg {
  background: var(--bg-box-svg-spring);
  opacity: 0;
}

#spring-bg>.background {
  top: 182px;
  left: -30px;
}

#spring-bg>.middleground {
  top: 66px;
  left: -39px;
}

#spring-bg>.foreground {
  top: -10px;
  left: 46px;
}

/* -- Summer -- */

#summer-bg {
  background: var(--bg-box-svg-summer);
  opacity: 0;
}

#summer-bg>.background {
  top: 217px;
  left: -87px;
}

#summer-bg>.middleground {
  top: 133px;
  left: 58px;
}

#summer-bg>.foreground {
  top: -42px;
  left: -134px;
}

/* -- Autumn -- */

#autumn-bg {
  background: var(--bg-box-svg-autumn);
  opacity: 0;
}

#autumn-bg>.background {
  top: 152px;
  left: 16px;
}

#autumn-bg>.middleground {
  top: 78px;
  left: -44px;
}

#autumn-bg>.foreground {
  top: -35px;
  left: 47px;
}

/* -- Winter -- */

#winter-bg {
  background: var(--bg-box-svg-winter);
  opacity: 0;
}

#winter-bg>.background {
  top: 164px;
  left: -35px;
}

#winter-bg>.middleground {
  top: 105px;
  left: 66px;
}

#winter-bg>.foreground {
  top: 39px;
  left: -118px;
}

/* -- Menu -- */

#menu-button {
  position: absolute;
  width: 110px;
  height: 50px;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 50;
  transition: 200ms ease;
}

#menu-button:hover {
  color: black;
  background: white;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
}

#menu-button:active {
  color: white;
  background: black;
  scale: 0.9;
}

#menu-season {
  position: absolute;
  padding: 6px;
  bottom: 60px;
  border-radius: 10px;
  gap: 4px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background: black;
  scale: 0;
}

#menu-season>button {
  width: 70px;
  height: 30px;
  border-radius: 5px;
  border: none;
  background: transparent;
  font-weight: bold;
  color: white;
  transition: 400ms ease;
  cursor: pointer;
}

#menu-season>button:active,
#menu-season>.selected {
  background: white;
  color: black;
}

/* ========= Start seasons.html page css ===========*/
body {
  transition: background-color 1s ease;
}

body {
  transition: background 0.8s ease;
}

body.spring {
  background: var(--bd-spring);
  background-attachment: fixed;
}

body.summer {
  background: var(--bd-summer);
  background-attachment: fixed;
}

body.autumn {
  background: var(--bd-autumn);
  background-attachment: fixed;
}

body.winter {
  background: var(--bd-winter);
  background-attachment: fixed;
}


.parallax_seasons {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 80px);
  position: relative;
  padding-top: 50px;
}

.tabs_seasons {
  position: relative;
  height: 400px;
}

/* ==================================================
   SEASON TABS
================================================== */


/* ==================================================
   SPRING CONTENT
================================================== */
.spring-section {
  padding-bottom: 100px;
}

.spring-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 24px;
}

.slogan {
  font-size: var(--desk-40);
  margin-bottom: 22px;
  color: var(--text);
}

.spring-description {
  color: var(--muted);
  line-height: 1.4;
}

.season-tab-content {
  display: none;
}

.season-tab-content.active {
  display: block;
}

/* ==================================================
   CARD GRID
================================================== */
:root {
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --radius: 24px;
  --spring-card-init: #c7de6b;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, .65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--radius);
  padding: 36px;
  cursor: pointer;
  transition:
    transform .8s var(--ease),
    box-shadow .8s var(--ease),
    background .8s var(--ease);
  z-index: 1;
}

.card .icon_img {
  width: 18px;
}

.card .img_center {
  margin-bottom: 20px;
  text-align: center;
  font-size: 16px;
}

/* --- HỆ THỐNG HOA XUÂN ẨN DƯỚI CARD --- */
.flower-bloom {
  position: absolute;
  bottom: -10px;
  /* Đặt hoa ở góc dưới */
  right: -10px;
  width: 120px;
  /* Kích thước cụm hoa */
  height: 120px;
  pointer-events: none;
  /* Để không bị lỗi khi rê chuột trúng hoa */
  z-index: 1;
  /* Nằm trên nền card nhưng dưới chữ của Card (card__header, card__content có z-index: 2) */
  opacity: 0;
  transform: scale(0.6) rotate(-15deg);
  /* Thu nhỏ và hơi nghiêng khi ẩn */
  transform-origin: bottom right;
  /* Hoa mọc từ góc dưới bên phải mọc lên */
  transition:
    transform 1.2s var(--ease),
    opacity 0.8s var(--ease);
}

/* Các chi tiết nhỏ bên trong cụm hoa (nhụy, cánh hoa) */
.flower-bloom .petal {
  transform: scale(0);
  transform-origin: center;
  transition: transform 1s var(--ease);
  transition-delay: 0.2s;
  /* Cánh hoa nở sau khi cành mọc lên */
}

/* --- HIỆU ỨNG HOVER --- */
.card:hover {
  background: rgba(255, 245, 247, 0.8);
  /* Chuyển nhẹ sang tone hồng xuân */
  transform: translateY(-6px);
  box-shadow: 0 20px 4px rgba(232, 180, 184, 0.08);
  /* Đổ bóng màu hồng hạt mầm rất nhẹ */
}

/* Khi hover vào card -> Kích hoạt hoa mọc và nở */
.card:hover .flower-bloom {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  /* Vươn kích thước thật và thẳng dậy */
}

.card:hover .flower-bloom .petal {
  transform: scale(1);
  /* Cánh hoa nở bung */
}

.card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, .06);
}

.card h3 {
  margin-bottom: 12px;
  line-height: 1.2;
}

.card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.card .card_feature_desc {
  padding: 24px 15px;
}


/* ///////////// */
* {
  border: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --hue: 27;
  --sat: 69%;
  --white: hsl(0, 0%, 100%);
  --primary100: hsl(var(--hue), var(--sat), 87%);
  --primary900: hsl(var(--hue), var(--sat), 7%);
  --trans-dur: 0.3s;
  color-scheme: light dark;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
}

body {
  background-color: light-dark(var(--primary100), var(--primary900));
  color: light-dark(var(--primary900), var(--primary100));
  /* display: grid;
  font: 1em/1.5 Inter, sans-serif;
  height: 100vh; */
  place-items: center;
  transition: background-color var(--trans-dur), color var(--trans-dur);
}

.icon {
  display: block;
  width: 1em;
  height: auto;
}

.card {
  aspect-ratio: 1/1;
  border-radius: 1.25em;
  font-weight: 300;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 0;
  width: 100%;
  max-width: 100%;
  background: var(--spring-card-init);
}

.card_story img {
  width: 100%;
}

/* 4 Seasonal Card Background Color Themes */
#spring .card,
.spring .card {
  background: #c7de6b;
}

#summer .card,
.summer .card {
  /* background: #ffd175; */
  background: #d5a864;
}

#autumn .card,
.autumn .card {
  background: #f4a261;
}

#winter .card,
.winter .card {
  background: #90caf9;
}

.card,
.card__header,
.card__content {
  display: flex;
  position: relative;
}

.card__header,
.card__content {
  color: var(--white);
  z-index: 2;
}

.card__header {
  gap: 0.75em;
  justify-content: space-between;
}

.card__content {
  flex-direction: column;
}

.card__bg {
  color: currentColor;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

.card__label {
  font-size: 1.25em;
}

.card__category {
  flex-shrink: 0;
  position: relative;
  /* height: 3.755em; */
  /* width: 3.755em; */
}

.card__category img {
  width: 15px;
}

.card__category-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30%;
  transform: translate(-50%, -50%);
}

.card__category .icon {
  width: 100%;
}

.card__title,
.card__description {
  --clamp-title: 1;
  --clamp-desc: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card__title {
  font-weight: 400;
  font-size: 15px;
  margin: 0 0 0.25em;
  line-height: 1.2;
}

.card__title.pin {
  -webkit-line-clamp: var(--clamp-title);
  line-clamp: var(--clamp-title);
}

.card__description {
  font-size: 12px;
  -webkit-line-clamp: var(--clamp-desc);
  line-clamp: var(--clamp-desc);
  line-height: 1.2;
  margin-bottom: 1.6em;
  opacity: 0.9;
  min-height: calc(2 * 12px * 1.2);
}

.card__stats,
.card__rating,
.card__completion {
  display: flex;
  align-items: center;
}

.card__stats {
  gap: 16px;
}

.card__rating,
.card__completion {
  font-weight: 400;
  gap: 2px;
  font-size: 10px;
}

.card-grid {
  display: grid;
  gap: 0.5em;
  padding: 0.75em;
  max-width: 54em;
}

.card_basic {
  position: relative;
}

.card_basic .posAbs {
  position: absolute;
  right: 0;
  right: 0;
  top: 50%;
  transform: translate(0%, -50%);
  height: 80%;
  object-fit: contain;
  z-index: -1;
}

.card_basic .text_col {
  line-height: 1.5;
  color: #111111;
}

.card_basic .card__title,
.card_basic p {
  color: #4367e7;
}

/* Tablet */
@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {

  .card:nth-child(4n+1),
  .card:nth-child(4n+2) {
    font-size: 0.5em;
  }

  .card:nth-child(3) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .card:nth-child(4) {
    grid-column: 1/span 2;
    grid-row: 2/span 2;
  }

  .card:nth-child(6) {
    grid-column: 4;
    grid-row: 3;
  }

  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ==================================================
   MODAL
================================================== */
:root {
  --gap-modal-season: 20px;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(58, 53, 48, .18);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: .6s var(--ease);
  z-index: 9999;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: min(760px, 100%);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 50px;
  transform: translateY(30px);
  transition: .7s var(--ease);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, .08);

}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-flex {
  width: 100%;
  max-width: 992px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--gap-modal-season);
}

.modal-content .content_text {
  width: 60%;
  max-height: 62vh;
  overflow-y: auto;
}

.modal-content .content_img {
  width: calc(40% - var(--gap-modal-season));
}

.modal-content .content_img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.modal-title {
  /* font-family:'Playfair Display', serif; */
  font-size: var(--fs-title--level-3);
  margin-bottom: 24px;
  line-height: 1.2;
  font-weight: 600;
}

.modal-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
  padding-right: 15px;
}

.foot_modal {
  width: 100%;
  text-align: right;
  margin-top: 10px;
}

.close-btn {
  margin-top: 24px;
  border: none;
  background: linear-gradient(135deg,
      var(--accent),
      var(--accent-light));
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: .5s var(--ease);
}

.close-btn:hover {
  transform: translateY(-2px);
}

/* ==================================================
   MOBILE
================================================== */
@media(max-width:768px) {

  .hero {
    padding-top: 90px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 28px;
  }

  .modal-content {
    padding: 32px;
  }

  .modal-title {
    font-size: 1.6rem;
  }
}

/* ========= End seasons.html page css ===========*/
.cover_img_blur img {
  -webkit-mask-box-image: url('/images/seasons/vignette-mask.png');
  width: 100%;
}

/* //card spring */
.card.card_specials {
  padding: 0;
  background: transparent;
}

.card__specials {
  /* min-height: 100vh;
  padding: 12px;
  color: #222; */
  /* background-color: #ececec; */
  width: 100%;
  font-family: "Space Grotesk", sans-serif;
  font-smoothing: antialiased;

  display: flex;
  justify-content: center;
  align-items: center;
}

.card__specials svg {
  width: 0;
  height: 0;
}

.card_specials_wrapper {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  box-shadow: 2px 2px 12px #0002;

  position: relative;
}

.card_specials_header {
  width: 110%;
  height: 110%;
  translate: -5% -5%;

  filter: url('#noise');

  --color-1: #eafaf1;
  --color-2: #52be80;
  --color-3: #a9dfbf;
  background: radial-gradient(circle at 50% 100%, var(--color-1) 20%, var(--color-2) 40% 50%, var(--color-3) 55%) no-repeat center / auto;

  font-size: 100px;
}

/* 4 Seasonal Card Special Themes */
/* Mùa Xuân - Xanh lá cây */
#spring .card_specials_header,
.spring .card_specials_header {
  --color-1: #eafaf1;
  --color-2: #52be80;
  --color-3: #a9dfbf;
}

#spring .card_specials_title,
.spring .card_specials_title {
  color: #1e8449;
}

/* Mùa Hè - Vàng cam */
#summer .card_specials_header,
.summer .card_specials_header {
  --color-1: #fff8e7;
  --color-2: #f39c12;
  --color-3: #f8c471;
}

#summer .card_specials_title,
.summer .card_specials_title {
  color: #d35400;
}

/* Mùa Thu - Tím */
#autumn .card_specials_header,
.autumn .card_specials_header {
  --color-1: #fdf5ff;
  --color-2: #9b59b6;
  --color-3: #d7bde2;
}

#autumn .card_specials_title,
.autumn .card_specials_title {
  color: #7d3c98;
}

/* Mùa Đông - Xanh biển */
#winter .card_specials_header,
.winter .card_specials_header {
  --color-1: #ebf5fb;
  --color-2: #3498db;
  --color-3: #a9cce3;
}

#winter .card_specials_title,
.winter .card_specials_title {
  color: #1f618d;
}

.card_specials_title {
  position: absolute;
  top: 10%;
  left: 10%;
  line-height: 1.2;
  font-size: 24px;
  font-weight: 600;
  color: #1e8449;
}

.card_specials_desc {
  position: absolute;
  bottom: 27%;
  left: 50%;
  translate: -50% 0;

  color: #fcfcfc;
  font-size: 14px;
  font-weight: 300;
  text-align: center;
  /* white-space: nowrap; */
  line-height: 1.5;
  width: 80%;
}

/* card feature */
.card_feature {
  position: relative;
}

.card_feature .feature_img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.high_rise {
  position: relative;
  z-index: 2;
}

.card_feature_title {
  color: #93c7e2;
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  font-family: 'Alluring';
}

.card_feature_desc {
  font-size: 14px;
  font-weight: 300;
  text-align: center;
  line-height: 1.5;
}

/* ==================================================
   RESPONSIVE PARALLAX SEASONS TREE (Flex 50/50 Desktop, Wrap Mobile)
================================================== */
.parallax_seasons {
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  padding: 40px 0;
}

.parallax_seasons .landing_dflex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  flex-wrap: nowrap;
}

.parallax_seasons .landing_left.txt {
  flex: 1;
  width: 50%;
  max-width: 50%;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.parallax_seasons .landing_right.pictures {
  flex: 1;
  width: 50%;
  max-width: 50%;
  background: transparent !important;
  height: auto !important;
  min-height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0;
  overflow: visible;
  box-sizing: border-box;
}

.parallax_seasons .tabs_seasons {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 380px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: center center;
}

.parallax_seasons .season-bg {
  position: absolute;
  width: 100%;
  max-width: 500px;
  height: 350px;
  margin: 0 auto !important;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  box-sizing: border-box;
  transform-origin: center center;
}

/* Scaling Breakpoints & Mobile/Tablet Dropdown Wrap */
@media (max-width: 1200px) {
  .parallax_seasons .tabs_seasons {
    transform: scale(0.85);
  }
}

@media (max-width: 991px) {
  .parallax_seasons .landing_dflex {
    flex-direction: column !important;
    flex-wrap: wrap !important;
    align-items: center;
    gap: 30px;
  }

  .parallax_seasons .landing_left.txt,
  .parallax_seasons .landing_right.pictures {
    width: 100% !important;
    max-width: 100% !important;
    flex: none;
    text-align: center;
  }

  .parallax_seasons .tabs_seasons {
    transform: scale(0.8);
    height: 330px;
    margin: 20px auto;
  }
}

@media (max-width: 768px) {
  .parallax_seasons .tabs_seasons {
    transform: scale(0.68);
    height: 280px;
  }

  .parallax_seasons #menu-button {
    bottom: auto !important;
    top: -80px !important;
  }

  .parallax_seasons #menu-season {
    bottom: auto !important;
    top: -80px !important;
  }
}

@media (max-width: 480px) {
  .parallax_seasons .tabs_seasons {
    transform: scale(0.55);
    height: 230px;
  }

  .parallax_seasons #menu-button {
    bottom: auto !important;
    top: -80px !important;
  }

  .parallax_seasons #menu-season {
    bottom: auto !important;
    top: -80px !important;
  }
}