/* ================= EVENTS HERO ================= */
.eventsHero {
  position: relative;
  height: 440px;
  margin-top: 64px;
  overflow: hidden;
  background: var(--bg-soft); 
}

.eventsHero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eventsHero h1 {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Cormorant", serif;
  font-size: 76px;
  font-style: italic;
  font-weight: 500;
  color: #fff;
}
/* ================= EVENTS INTRO ================= */
.eventsIntroSection {
  padding: 90px 8% 65px;

  background:
  radial-gradient(circle at 10% 80%, rgba(255, 189, 135, 0.55), transparent 20%),
  radial-gradient(circle at 68% 60%, rgba(255, 153, 102, 0.45), transparent 15%),
    var(--bg-soft);

  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 70px;
  align-items: center;
  overflow: hidden;
}

.eventsIntroText {
  justify-self: center;
}

.eventsIntroText h2 {
  font-family: "Cormorant", serif;
font-size: var(--title-md);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 10px;
}

.eventsIntroText h2 span {
  font-style: italic;
}

.eventsIntroText p {
  font-size: var(--text-md);
  font-weight: 500;
}

.eventsIntroGallery {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 22px;
  height: 350px;
}

/* base card style */
.eventsIntroImg {
  width: 180px;
  height: 260px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 14px 28px rgba(110, 55, 27, 0.18);

  flex-shrink: 0;
}

.floatSlow {
  animation: floatUpDown 5.5s ease-in-out infinite;
}

.delay1 {
  animation-delay: 0.8s;
}

.delay2 {
  animation-delay: 1.5s;
}
.eventsIntroImg:nth-child(1) {
  animation: float1 5.5s ease-in-out infinite;
}

.eventsIntroImg:nth-child(2) {
  animation: float2 5.5s ease-in-out infinite;
}

.eventsIntroImg:nth-child(3) {
  animation: float3 5.5s ease-in-out infinite;
}
@keyframes float1 {
  0%, 100% { transform: translateY(20px); }
  50% { transform: translateY(5px); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(-35px); }
  50% { transform: translateY(-20px); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(25px); }
  50% { transform: translateY(10px); }
}
/* ================= GRAND OPENING ================= */
.grandOpeningSection {
  padding: 82px 8%;
  background: var(--bg-light);

  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ===== 4 IMAGE GRID ===== */
.grandOpeningCarousel {
  display: grid;

  /* 2 columns, equal width */
  grid-template-columns: repeat(2, 1fr);

  /* 2 rows, equal height */
  grid-auto-rows: 200px;

  gap: 14px;

  width: 100%;
  max-width: 580px;
  justify-self: end;
}

/* IMPORTANT: override global img rule */
.grandOpeningCarousel img {
  width: 100% !important;
  height: 100% !important;

  object-fit: cover;
  border-radius: var(--radius-main);

  display: block;
  transition: transform 0.4s ease;
}

.grandOpeningCarousel img:hover {
  transform: scale(1.03);
}

/* optional: keeps naming clean, but NOT required */
.grandOpeningCarousel .img1,
.grandOpeningCarousel .img2,
.grandOpeningCarousel .img3,
.grandOpeningCarousel .img4 {
  width: 100%;
  height: 100%;
}

/* ===== TEXT SIDE ===== */
.grandOpeningText {
  text-align: center;
}

.grandOpeningText h2 {
  font-family: "Cormorant", serif;
    font-size: var(--title-md);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.grandOpeningText p {
  font-size: var(--text-sm);
  line-height: 1.45;
  max-width: 430px;
  margin: 0 auto 14px;
}

.grandOpeningText a {
  margin-top: 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 34px;

  border-radius: var(--btn-radius);
  border: 2px solid var(--btn-orange);

  background: var(--btn-orange);
  color: var(--btn-orange-text);

  font-size: var(--text-xs);
  font-weight: 700;
  text-decoration: none;
}

.grandOpeningText a {
  margin-top: 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 34px;

  border-radius: var(--btn-radius);
  border: 3px solid var(--btn-orange);

  background: var(--btn-orange);
  color: var(--btn-orange-text);

  font-size: var(--text-xs);
  font-weight: 700;
  text-decoration: none;

  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* solid → hollow */
.grandOpeningText a:hover {
  background: transparent;
  color: var(--btn-orange);
  border: 3px solid var(--btn-orange);
}

/* ================= EVENT TABS ================= */
/* ================= WRAPPER ================= */
.eventsSection {
  background: var(--bg-soft);
  position: relative;
  isolation: isolate;
}

/* ================= TABS ================= */
.eventsTabsSection {
  padding: 58px 8% 36px;
  position: relative;
  z-index: 10;
  background: transparent;
}

.eventsTabsScroller {
  max-width: 780px;
  margin: 0 auto 18px;
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
}

.eventsTabsScroller::-webkit-scrollbar {
  display: none;
}

.eventsTabs {
  display: flex;
  justify-content: center;
  gap: 38px;
  width: max-content;
  min-width: 100%;
}

.eventsTab {
  padding: 12px 28px;
  border-radius: var(--btn-radius);
  border: 3px solid var(--btn-green);

  background: transparent;
  color: var(--btn-green);

  font-size: var(--text-xs);
  font-weight: 700;

  white-space: nowrap;
  cursor: pointer;
  transition: 0.25s ease;
}

.eventsTab:hover:not(.disabled),
.eventsTab.active {
  background: var(--btn-green);
  color: var(--btn-green-text);
}

.eventsTab.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* underline */
.eventsTabLine {
  max-width: 780px;
  height: 4px;
  background: rgba(93,88,28,0.25);
  margin: 0 auto;
  border-radius: 999px;
  overflow: hidden;
}

.eventsTabLine span {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--btn-green);
  transition: transform 0.35s ease;
}

/* move underline */
.eventsTabsSection[data-active-tab="rooftop"] .eventsTabLine span {
  transform: translateX(100%);
}

/* ================= PANELS ================= */
.eventsPanels {
  position: relative;
  z-index: 1;
}

.eventPanel {
  display: none;
}

.eventPanel.active {
  display: block;
}

/* ================= MOVING AREA ================= */
.eventMovePanel {
  overflow: hidden;
  padding: 120px 0 80px;
  background:
    radial-gradient(circle at 30% 50%, rgba(255, 189, 135, 0.6), transparent 20%),
    var(--bg-soft);
}

/* IMPORTANT: prevents click blocking bugs */
.eventMovingTrack {
  display: flex;
  align-items: center;
  gap: 42px;
  width: max-content;

  animation: moveLeft 38s linear infinite;
}

.eventMovingTrack:hover {
  animation-play-state: paused;
}

.eventMovingImg {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 28px;
  flex-shrink: 0;

  animation: floatUpDown 5.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
  100% {
    transform: translateY(0);
  }
}
/* text */
.eventMovingText {
  width: 360px;
  text-align: center;
  flex-shrink: 0;
}

/* animation */
@keyframes moveLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================= COMMUNITY ================= */
.eventsCommunitySection {
  padding: 70px 0 115px;

  background:
    radial-gradient(circle at 50% 85%, rgba(255,153,102,0.7), transparent 38%),
    var(--bg-soft);

  text-align: center;
  overflow: hidden;
}

/* heading */
.eventsCommunitySection h2 {
  font-family: "Cormorant", serif;
    font-size: var(--title-md);
  font-weight: 500;
  margin-bottom: 6px;
}

.eventsCommunitySection h2 span {
  font-style: italic;
}

/* subtitle */
.eventsCommunitySection > p {
  font-size: var(--text-md);
  margin-bottom: 60px;
}

/* ================= DESKTOP LAYOUT ================= */
.communityPhones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 70px;
  padding: 0 40px;
}

/* links */
.communityPhones a {
  display: block;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

/* hover lift */
.communityPhones a:hover {
  transform: translateY(-12px);
}

/* images */
.communityPhones img {
  width: 260px;
  height: 520px;
  object-fit: contain;
}

/* stagger effect */
.communityPhones a:nth-child(2),
.communityPhones a:nth-child(4) {
  margin-top: 90px;
}

/* ================= TABLET (PRETTY SWIPE CAROUSEL) ================= */
@media screen and (max-width: 1100px) {

  .communityPhones {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;

    overflow-x: auto;
    padding: 0 40px 20px;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .communityPhones::-webkit-scrollbar {
    display: none;
  }

  .communityPhones a {
    scroll-snap-align: center;
  }

  .communityPhones img {
    width: 200px;
    height: auto;
  }

  /* optional nicer spacing effect */
  .communityPhones a:nth-child(2),
  .communityPhones a:nth-child(4) {
    margin-top: 50px;
  }
}

/* ================= MOBILE (ONLY 3RD IMAGE CENTERED FIXED) ================= */
@media screen and (max-width: 600px) {

  .eventsCommunitySection {
    padding: 52px 0 66px;
  }

  .eventsCommunitySection h2 {
    font-size: 30px;
  }

  .eventsCommunitySection > p {
    font-size: 9px;
    margin-bottom: 34px;
  }

  .communityPhones {
    display: flex;
    justify-content: center;
    align-items: center;

    overflow: visible;
    padding: 0;
  }

  /* hide all */
  .communityPhones a {
    display: none;
  }

  /* show ONLY 3rd and CENTER IT PROPERLY */
  .communityPhones a:nth-child(3) {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
  }

  .communityPhones a:nth-child(3) img {
    width: 220px;
    height: auto;

    display: block;
    margin: 0 auto;
  }
}

/* ================= PARTNERED BRANDS ================= */
.partneredBrandsSection {
  padding: 50px 8%;
  background:
    radial-gradient(circle at 5% 85%, rgba(255,153,102,0.20), transparent 40%),
    radial-gradient(circle at 80% 40%, rgba(242,207,178,0.55), transparent 25%),
    var(--bg-light);
  text-align: center;
}

/* heading */
.partneredBrandsSection h2 {
  font-family: "Cormorant", serif;
    font-size: var(--title-md);
  font-weight: 500;
  margin-bottom: 14px;
}

.partneredBrandsSection h2 span {
  font-style: italic;
}

/* description text */
.partneredBrandsSection p,
.partnerCollabText {
  font-size: var(--text-sm);
  line-height: 1.5;
}

/* ================= LOGO ROW (NEW LAYOUT) ================= */
.partnerLogoRow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;

  margin: 40px 0 26px;
  flex-wrap: wrap;
}

/* logos */
.partnerLogoRow img {
  width: 140px;
  height: auto;
  object-fit: contain;

  opacity: 0.85;
  transition: transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
}

/* text under logos */
.partnerCollabText {
  margin-bottom: 24px;
}

/* button */
.partnerCollabBtn {
  display: inline-flex;
  padding: 12px 30px;

  border-radius: var(--btn-radius);
  border: 3px solid var(--btn-orange);

  background: var(--btn-orange);
  color: var(--btn-orange-text);

  font-size: var(--text-xs);
  font-weight: 700;
  text-decoration: none;

  transition: all 0.3s ease;
}

.partnerCollabBtn:hover {
  background: transparent;
  color: var(--btn-orange);
}

/* ================= PARTY CTA ================= */
.partyCtaSection {
  padding: 80px 8%;
  background: var(--bg-soft);
  text-align: center;
}

.partyCtaSection h2 {
  font-family: "Cormorant", serif;
  font-size: 46px;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 24px;
}

.partyCtaSection h2 span {
  font-style: italic;
}

.partyButtons {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.partyButtons a {
  min-width: 150px;
  padding: 11px 28px;

  border-radius: var(--btn-radius);
  border: 3px solid var(--btn-orange);

  font-size: var(--text-xs);
  font-weight: 700;
  text-decoration: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s ease;
}

.partyButtons a.primary {
  background: var(--btn-orange);
  color: var(--btn-orange-text);
}

.partyButtons a.secondary {
  background: transparent;
  color: var(--btn-orange);
}

.partyButtons a.primary:hover {
  background: transparent;
  color: var(--btn-orange);
}
.partyButtons a.secondary:hover {
  background: var(--btn-orange);
  color: var(--btn-orange-text);
}

/* ================= FOOTER ================= */
.eventsFooter {
  background: var(--brown-main);
  padding-top: 90px;
}


/* ================= TABLET ================= */
@media screen and (max-width: 1100px) {
  .eventsHero {
    height: 300px;
  }

  .eventsIntroSection,
  .grandOpeningSection {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .eventsIntroText {
    justify-self: center;
  }

  .eventsIntroGallery {
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
  }

  .grandOpeningCarousel {
    justify-self: center;
  }

  .eventsTabs {
    justify-content: flex-start;
  }

  .communityPhones {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 40px 12px;
  }
}


/* ================= MOBILE ================= */
@media screen and (max-width: 600px) {
  .eventsHero {
    height: 190px;
    margin-top: 0;
  }

  .eventsHero h1 {
    font-size: 42px;
  }

  .eventsHero::after {
    height: 45px;
  }

  .eventsIntroSection {
    padding: 42px 26px 44px;
    grid-template-columns: 1fr;
    gap: 0px;
    text-align: left;
  }

  .eventsIntroText {
    justify-self: start;
  }

  .eventsIntroText h2 {
    font-size: 32px;
  }

  .eventsIntroText p {
    font-size: 15px;
  }

  .eventsIntroGallery {
    height: 200px;
  }

  .eventsIntroImg {
    border-radius: 18px;
  }

  .eventsIntroImg1 {
    width: 88px;
    height: 140px;
    left: 0;
  }

  .eventsIntroImg2 {
    width: 88px;
    height: 140px;
    left: 36%;
  }

  .eventsIntroImg3 {
    width: 92px;
    height: 145px;
    right: 0;
  }

  .grandOpeningSection {
    padding: 44px 26px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .grandOpeningCarousel {
    height: 210px;
    width: 100%;
    border-radius: 24px;
  }

  .grandOpeningText h2 {
    font-size: 32px;
  }

  .grandOpeningText p {
    font-size: 15px;
  }

  .grandOpeningText a {
    padding: 9px 24px;
    font-size: 15px;
  }

  .eventsTabsSection {
    padding: 30px 26px 24px;
  }

  .eventsTabs {
    gap: 10px;
  }

  .eventsTab {
    padding: 8px 14px;
    font-size: 15px;
  }

  .eventsTabLine {
    height: 2px;
  }

  .eventMovePanel {
    padding: 0px;
  }

  .eventMovingTrack {
    gap: 22px;
    animation-duration: 30s;
  }

  .eventMovingImg {
    width: 130px;
    height: 130px;
    border-radius: 18px;
  }

  .eventMovingText {
    width: 220px;
  }

  .eventMovingText h2 {
    font-size: 32px;
  }

  .eventMovingText p {
    font-size: 15px;
  }

  .eventsCommunitySection {
    padding: 52px 0 66px;
  }

  .eventsCommunitySection h2 {
    font-size: 32px;
  }

  .eventsCommunitySection > p {
    font-size: 15px;
    margin-bottom: 34px;
  }

  .communityPhones {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 22px;
    padding: 0 26px 12px;
  }

  .communityPhones img {
    width: 110px;
    height: 225px;
  }

  .communityPhones a:nth-child(2),
  .communityPhones a:nth-child(4) {
    margin-top: 42px;
  }

  .partneredBrandsSection {
    padding: 55px 26px;
  }

  .partneredBrandsSection h2 {
      font-size: 32px;
  }

  .partnerLogoBox {
    width: 130px;
    height: 130px;
    padding: 22px;
  }

  .partneredBrandsSection p,
  .partnerCollabText {
    font-size: 15px;
  }

  .partyCtaSection {
    padding: 52px 26px;
  }

  .partyCtaSection h2 {
      font-size: 32px;
  }

  .partyButtons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .partyButtons a {
    min-width: 140px;
    padding: 9px 20px;
    font-size: 15px;
  }

  .eventsFooter {
    padding-top: 60px;
  }
}
/* ================= GRAND OPENING RESPONSIVE ================= */

/* Base styling: hide all images except .img2 */
.grandOpeningCarousel img {
  display: none;
}

.grandOpeningCarousel .img2, .grandOpeningCarousel .img3{
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-main);
}

/* Section layout */
.grandOpeningSection {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 60px 8%;
  background: var(--bg-light);
  text-align: center;
}

.grandOpeningText h2 {
  font-family: "Cormorant", serif;
  font-size: var(--title-md);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 16px;
}

.grandOpeningText p {
  font-size: var(--text-sm);
  line-height: 1.55;
  max-width: 480px;
  margin: 0 auto 12px;
  color: var(--text-brown);
}

.grandOpeningText a {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 34px;
  border-radius: var(--btn-radius);
  border: 3px solid var(--btn-orange);
  background: var(--btn-orange);
  color: var(--btn-orange-text);
  font-size: var(--text-xs);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.grandOpeningText a:hover {
  background: transparent;
  color: var(--btn-orange);
}

/* Tablet adjustments */
@media screen and (max-width: 768px) {
  .grandOpeningSection {
    padding: 40px 24px;
    gap: 24px;
  }

  .grandOpeningCarousel .img2 {
    max-width: 100%;
    border-radius: 20px;
  }

  .grandOpeningText h2 {
    font-size: 32px;
  }

  .grandOpeningText p {
    font-size: 14px;
    max-width: 320px;
  }

  .grandOpeningText a {
    padding: 10px 28px;
    font-size: 13px;
  }
}

/* Mobile adjustments */
@media screen and (max-width: 480px) {
  .grandOpeningSection {
    padding: 32px 16px;
    gap: 20px;
  }

  .grandOpeningCarousel .img2 {
    width: 100%;
    height: auto;
    border-radius: 16px;
  }

  .grandOpeningText h2 {
    font-size: 28px;
  }

  .grandOpeningText p {
    font-size: 13px;
    max-width: 280px;
  }

  .grandOpeningText a {
    padding: 8px 24px;
    font-size: 12px;
  }
}