/* ============================================================
   Footer.module.css — Redesign Footer PPT Adventure
   Modern Dark Forest Green Outdoor Adventure Design System
   ============================================================ */

.footer {
  background-color: #103E35;
  color: #FFFFFF;
  margin-top: auto;
  position: relative;
  z-index: 10;
}

/* ── 1. MAIN FOOTER (Dark Forest Green) ─────────────────────── */

.mainFooter {
  background-color: #103E35;
  background-image: linear-gradient(180deg, #123F35 0%, #0D352E 100%);
  padding-top: 68px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

/* Subtle Mountain & Pine Trees Silhouette (Bottom Left) */
.bgSilhouetteWrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 440px;
  height: 180px;
  pointer-events: none;
  z-index: 0;
}

.bgSilhouetteSvg {
  width: 100%;
  height: 100%;
}

.treeBadge {
  position: absolute;
  left: 36px;
  bottom: 24px;
  transform: rotate(-7deg);
}

.treeBadgeText {
  font-family: var(--font-family-handwritten, 'Caveat', cursive, sans-serif);
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.15;
  display: block;
}

.treeBadgeLine {
  width: 95px;
  height: 12px;
  margin-top: -3px;
  display: block;
}

/* 5-Column Grid */
.mainFooterInner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr 1.2fr;
  gap: 44px;
}

/* Column 1: Brand */
.brandCol {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brandLogo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brandLogoImg {
  height: 48px;
  width: auto;
  max-width: 62px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform var(--transition-base, 200ms ease);
}

.brandLogo:hover .brandLogoImg {
  transform: scale(1.05);
}

.brandLogoText {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.brandLogoAccent {
  color: var(--ppt-primary, #269436);
}

.brandDesc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  max-width: 310px;
}

.socialRow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.socialBtn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background-color: transparent;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 200ms ease;
}

.socialBtn:hover {
  background-color: var(--ppt-primary, #269436);
  border-color: var(--ppt-primary, #269436);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Columns 2 & 3: Nav & Open Trip */
.navCol {
  display: flex;
  flex-direction: column;
}

.colHeader {
  margin-bottom: 20px;
}

.colTitle {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 6px 0;
}

.colUnderline {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--ppt-primary, #269436);
  border-radius: 999px;
}

.linkList {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.navLink {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 180ms ease;
  display: inline-block;
}

.navLink:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

/* Column 4: Informasi */
.infoCol {
  display: flex;
  flex-direction: column;
}

.infoList {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.infoItem {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.infoIcon {
  color: var(--ppt-primary, #269436);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Column 5: Quote & Compass Area */
.quoteCol {
  display: flex;
  position: relative;
  padding-left: 32px;
}

.quoteVerticalDivider {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.14);
}

.quoteContent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.compassWrapper {
  color: rgba(255, 255, 255, 0.7);
}

.quoteText {
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.quoteUnderline {
  width: 90px;
  height: 10px;
}

/* ── 3. BOTTOM BAR ─────────────────────────────────────────── */

.bottomBar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background-color: #0A2B24;
  padding: 20px 0;
}

.bottomBarInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.copyright {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.bottomRight {
  display: flex;
  align-items: center;
  gap: 24px;
}

.legalLinks {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.legalLink {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 180ms ease;
}

.legalLink:hover {
  color: #FFFFFF;
}

.legalDivider {
  color: rgba(255, 255, 255, 0.25);
}

.scrollTopBtn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms ease;
}

.scrollTopBtn:hover {
  background-color: var(--ppt-primary, #269436);
  border-color: var(--ppt-primary, #269436);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ── Responsive Media Queries ──────────────────────────────── */

/* Large Tablet / Small Desktop (768px – 1199px) */
@media (max-width: 1199px) {
  .mainFooterInner {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 32px;
  }

  .quoteCol {
    display: none;
  }
}

/* Medium Tablet (< 960px) */
@media (max-width: 960px) {
  .mainFooterInner {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
  .mainFooter {
    padding-top: 48px;
    padding-bottom: 44px;
  }

  .bgSilhouetteWrap {
    display: none;
  }

  .mainFooterInner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .quoteCol {
    display: none;
  }

  .bottomBarInner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .bottomRight {
    flex-direction: column-reverse;
    gap: 16px;
  }
}
