/* TYPOGRAPHY */
.heading-font {
  font-family: "bebas-neue-semirounded", sans-serif;
  font-weight: 400;
  font-style: normal;
}


/* GLOBAL BUTTON HOVER EFFECT */
.hero-btn,
.nav-join-btn,
.small-section-btn {
  transition: 
    background 0.25s ease,
    color 0.25s ease,
    border 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    font-weight 0.25s ease;
  border: 2px solid var(--green);
}

.hero-btn:hover,
.nav-join-btn:hover,
.small-section-btn:hover {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(58, 39, 25, 0.18);
  font-weight: 700;
}


/* WHERE + BEST buttons — override hover */
.where-section .small-section-btn:hover,
.best-section .small-section-btn:hover {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);

  transform: none;          
  box-shadow: none;         
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: #f3ede4;
}

/* COLORS */
:root {
  --brown: #3a2719;
  --green: #a3bd4e;
  --dark-green: #6b7334;
  --cream: #f3ede4;
  --tan: #e5d3ad;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 12px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, padding 0.35s ease;
}

.nav.scrolled {
  background: rgba(58, 39, 25, 0.65);
  backdrop-filter: blur(8px);
  padding: 10px 40px;
}

.logo {
  width: 125px;
}

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

.nav-join-btn {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  background: var(--green);
  color: black;
  text-decoration: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-weight: 600;
  letter-spacing: 3px;
  font-size: 12px;
}

.nav-join-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* remove or ignore old .cta styles */
.cta {
  display: none;
}

/* HAMBURGER */
.hamburger {
  width: 30px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background: var(--cream); 
  margin: 6px 0;
  border-radius: 3px; 
}

/* HERO */
.hero {
  height: 100vh;
  background: url('../images/hero-img.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--cream);
}

.hero h1 {
  font-family: "bebas-neue-semirounded", sans-serif;
  font-weight: 400;
  font-size: 140px;
  line-height: 0.9;
  letter-spacing: 2px;
}

.hero p {
  margin-top: 20px;
  font-size: 25px;
  letter-spacing: 1px;
}

.hero-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 30px;
  background: var(--green);
  color: black;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 3px;
}

.hero-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  display: block;
  z-index: 2;
}

/* MENU PANEL */
.menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 33%;
  height: 100%;
  background: url('../images/hamburger-panel.jpg');
  background-size: cover;
  transition: 0.4s ease;
  padding: 80px 40px;
  z-index: 20;

  box-shadow: -20px 0 40px rgba(0, 0, 0, 0.35);
}

.menu.active {
  right: 0;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 15;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.menu nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-left: 20px;
}

.menu a {
  font-family: "bebas-neue-semirounded", sans-serif;
  font-weight: 400;
  color: var(--cream); 
  text-decoration: none;
  font-size: 32px; 
  letter-spacing: 2px; 
  padding: 4px 0; 
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* SPACER (temporary) */
.spacer {
  height: 100vh;
}



/* WHAT IS IT */
.what-section {
  background: var(--cream);
  padding: 110px 40px 70px;
}

.what-container {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.what-image-wrap {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(58, 39, 25, 0.18);
}

.what-image {
  width: 100%;
  display: block;
}

.what-text h2 {
  font-family: "bebas-neue-semirounded", sans-serif;
  font-weight: 400;
  color: var(--brown);
  font-size: 42px;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.what-text p {
  color: var(--brown);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 18px;
}


/* WHERE SECTION */
.where-section {
  background: var(--cream);
  padding: 70px 0 90px;
  overflow: hidden;
}

.section-heading {
  text-align: center;
  margin-bottom: 45px;
  padding: 0 24px;
}

.section-heading h2 {
  font-family: "bebas-neue-semirounded", sans-serif;
  font-weight: 400;
  color: var(--brown);
  font-size: 44px;
  letter-spacing: 1px;
}

.where-slider-wrap {
  position: relative;
  width: 100%;
}

.where-slider {
  display: flex;
  gap: 34px;
  overflow-x: auto;
  scroll-behavior: smooth;

  padding: 10px 40px 40px; 
  background: transparent; 

  scrollbar-width: none;
}

.where-slider::-webkit-scrollbar {
  display: none;
}

.where-card {
  flex: 0 0 270px;
  background: var(--cream);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(58, 39, 25, 0.14);
}

.where-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.where-card-text {
  min-height: 155px;
  padding: 26px 20px 28px;
  text-align: center;
  background: var(--cream);
}

.where-card h3 {
  font-family: "bebas-neue-semirounded", sans-serif;
  font-weight: 400;
  color: var(--brown);
  font-size: 25px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.where-card p {
  color: #1f1f1f;
  font-size: 16px;
  line-height: 1.55;
}

.where-cta-wrap {
  text-align: center;
  margin-top: 0;
}

.small-section-btn {
  display: inline-block;
  background: var(--green);
  color: black;
  text-decoration: none;
  border-radius: 5px;
  padding: 9px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
}


/* HOW SECTION */
.how-section {
  background: var(--cream);
  padding: 95px 0 110px;
  overflow: hidden;
}

.how-section h2 {
  font-family: "bebas-neue-semirounded", sans-serif;
  font-weight: 400;
  color: var(--brown);
  font-size: 52px;
  text-align: center;
  margin-bottom: 85px;
}

.how-row {
  position: relative;
  height: 230px;
  margin-bottom: 80px;
}

.how-row:last-child {
  margin-bottom: 0;
}

.how-img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 250px; 
  width: auto;
  max-width: none;
}

.how-copy {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  max-width: 360px;
}

.row-one .how-copy,
.row-three .how-copy {
  left: 37%;
}

.row-two .how-copy,
.row-four .how-copy {
  left: 60%;
}

.how-copy h3 {
  font-family: "bebas-neue-semirounded", sans-serif;
  font-weight: 400;
  color: var(--brown);
  font-size: 30px;
  margin-bottom: 14px;
}

.how-copy p {
  font-size: 16px;
  line-height: 1.7;
  color: #1f1f1f;
}


/* BEST PRACTICES */
.best-section {
  background: var(--cream);
  padding: 95px 40px 100px;
  text-align: center;
}

.best-section h2 {
  font-family: "bebas-neue-semirounded", sans-serif;
  font-weight: 400;
  color: var(--brown);
  font-size: 52px;
  letter-spacing: 1px;
  margin-bottom: 75px;
}

.best-grid {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 85px;
  align-items: start;
}

.best-card {
  text-align: center;
}

.best-icon {
  height: 240px;
  width: auto;
  margin-bottom: 5px;
}

.best-card h3 {
  font-family: "bebas-neue-semirounded", sans-serif;
  font-weight: 400;
  color: var(--brown);
  font-size: 30px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.best-card p {
  color: #1f1f1f;
  font-size: 17px;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

.best-btn-wrap {
  margin-top: 85px;
}




/* HOTSPOTS */
.hotspots-section {
  background: var(--cream);
  padding: 95px 40px 105px;
  text-align: center;
  overflow: hidden;
}

.hotspots-section h2 {
  font-family: "bebas-neue-semirounded", sans-serif;
  font-weight: 400;
  color: var(--brown);
  font-size: 52px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.hotspots-subtitle {
  color: var(--brown);
  font-size: 20px;
  margin-bottom: 45px;
}

.mobile-subtitle {
  display: none;
}

.desktop-subtitle {
  display: inline;
}

.map-wrap {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

.map-img {
  width: 100%;
  display: block;
}

.map-pin {
  position: absolute;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 38px;
  padding: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, filter 0.25s ease;
  z-index: 3;
}

.map-pin img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 8px 12px rgba(58, 39, 25, 0.35));
}

.map-pin:hover,
.map-pin.active {
  transform: translate(-50%, -50%) scale(1.35);
  filter: drop-shadow(0 8px 12px rgba(58, 39, 25, 0.25));
}

/* Pin placement */
.pin-la {
  left: 17%;
  top: 43%;
}

.pin-nyc {
  left: 28%;
  top: 41%;
}

.pin-london {
  left: 48%;
  top: 43%;
}

.pin-barcelona {
  left: 53%;
  top: 37%;
}

.pin-sydney {
  left: 84%;
  top: 75%;
}

/* Desktop bubble */
.desktop-map-bubble {
  position: absolute;
  left: 80%;
  top: 62%;
  background: #e6e983;
  color: black;
  padding: 18px 24px;
  border-radius: 6px;
  text-align: left;
  box-shadow: 0 12px 28px rgba(58, 39, 25, 0.28);
  min-width: 245px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 4;
}

.desktop-map-bubble::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 52px;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 16px solid #e6e983;
}

.desktop-map-bubble.visible {
  opacity: 1;
  transform: translateY(0);
}

.desktop-map-bubble strong,
.mobile-map-card strong {
  display: block;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 5px;
}

.desktop-map-bubble span,
.mobile-map-card span {
  display: block;
  font-size: 15px;
}

.mobile-map-card {
  display: none;
}





/* JOIN SECTION */
.join-section {
  background: var(--cream);
  padding: 30px 40px 0;
  position: relative;
}

/* Card */
.join-card {
  max-width: 1200px;
  margin: 0 auto;
  background: #d8c59f;
  border-radius: 22px;
  padding: 70px 60px 240px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(58, 39, 25, 0.25);
}

/* Title */
.join-card h2 {
  font-family: "bebas-neue-semirounded", sans-serif;
  font-weight: 400;
  font-size: 56px;
  letter-spacing: 1px;
  color: var(--brown);
  margin-bottom: 16px;
}

/* Subtitle */
.join-card p {
  font-size: 16px;
  color: var(--brown);
  margin-bottom: 40px;
}

/* Form */
.join-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* Input */
.join-form input {
  width: 100%;
  max-width: 640px;
  padding: 20px 24px;
  border-radius: 6px;
  border: 2px solid var(--brown);
  background: transparent;
  font-size: 18px;
  outline: none;
}

/* Button */
.primary-btn {
  background: transparent;
  color: #6f7c3a;
  padding: 16px 46px;
  border-radius: 8px;
  border: 3px solid #6f7c3a;
  font-size: 16px;
  font-family: "montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: default;
  transition: all 0.25s ease;
  opacity: 1;
}

.primary-btn.active {
  background: #6f7c3a;
  color: white;
  cursor: pointer;
}

.primary-btn.active:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(58, 39, 25, 0.25);
}


/* FOOTER */
.footer {
  background: url("../images/soil_footer.png") top center no-repeat;
  background-size: 100% auto; 
  
  min-height: 520px; 
  color: var(--cream);
  position: relative;

  margin-top: -100px; 
  padding-top: 140px;
}

.footer-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 70px 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  position: relative;
  width: 240px;
  height: 240px;
}

.footer-logo-circle,
.footer-logo-gorilla {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.footer-logo-circle {
  animation: spinLogo 28s linear infinite;
}

.footer-logo-gorilla {
  animation: none;
  position: absolute;
  inset: 0;
  width: 50%;   
  height: 50%;
  margin: auto; 
  padding-bottom: 10px;
}

@keyframes spinLogo {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  column-gap: 110px;
  row-gap: 32px;
}

.footer-nav a {
  font-family: "bebas-neue-semirounded", sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--tan);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-copyright {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: rgba(243, 237, 228, 0.5);
}



/* -----CONFETTI ANIMATION-----*/
.confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 999;
}

.confetti-piece {
  position: fixed;
  width: 10px;
  height: 16px;
  background: var(--green);
  pointer-events: none;
  z-index: 9999;
  animation: confettiBurst 3.8s ease-out forwards;
}

@keyframes confettiBurst {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 1;
  }

  25% {
    transform: translate(var(--x), var(--y)) rotate(540deg);
    opacity: 1;
  }

  100% {
    transform: translate(var(--x), 110vh) rotate(900deg);
    opacity: 0;
  }
}

.join-card.success h2 {
  font-size: 50px;
}

.join-card.success p {
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}



/* MOBILE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 90px; /* bigger, more impact */
  }

  .hero p {
    font-size: 22px;
    margin-top: 16px;
    letter-spacing: 1px;
  }

  .hero-btn {
    padding: 12px 28px;
    font-size: 15px;
    letter-spacing: 2.5px;
    margin-top: 26px;
  }

  .hero-content {
    padding: 0 20px;
  }

  .menu {
    width: 66%;
  }

  .what-section {
    padding: 80px 28px 55px;
  }

  .what-container {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .what-image-wrap {
    border-radius: 10px;
  }

  .what-text h2 {
    font-size: 50px;
    margin-bottom: 20px;
  }

  .what-text p {
    font-size: 18px;
    line-height: 1.75;
  }

  .where-section {
    padding: 55px 0 70px;
  }

  .section-heading h2 {
    font-size: 42px;
  }

  .where-slider {
    gap: 18px;
    padding: 5px 24px 28px;
  }

  .where-card {
    flex: 0 0 230px;
  }

  .where-card img {
    height: 135px;
  }

  .where-card-text {
    min-height: 145px;
    padding: 22px 18px 24px;
  }

  .where-card h3 {
    font-size: 28px;
  }

  .where-card p {
    font-size: 15px;
  }

  .slider-btn {
    display: none;
  }

  .small-section-btn {
    padding: 8px 22px;
    font-size: 11px;
    letter-spacing: 2.5px;
  }

  .how-section {
    padding: 70px 0 80px;
  }

  .how-section h2 {
    font-size: 48px;
    margin-bottom: 55px;
  }

.how-row {
    display: flex;
    flex-direction: column;
    align-items: center; 
    height: auto;
    margin-bottom: 75px;
  }

  .how-row picture {
    width: 100%;
    display: block;
    margin-bottom: 24px;
  }

  .how-img {
    position: relative;
    left: 0;
    top: auto;
    transform: none;
    width: 75%; 
    height: auto;
    display: block;
    margin: 0; 
  }

  .how-copy,
  .row-one .how-copy,
  .row-two .how-copy,
  .row-three .how-copy,
  .row-four .how-copy {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;

    width: 100%;
    max-width: 340px;
    margin: 0 auto; 

    text-align: center; 
  }

  .how-copy h3 {
    font-size: 32px;
    margin-bottom: 14px;
  }

  .how-copy p {
    font-size: 17px;
    line-height: 1.7;
  }

  .best-section {
    padding: 75px 28px 85px;
  }

  .best-section h2 {
    font-size: 48px;
    margin-bottom: 60px;
  }

  .best-grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .best-icon {
    height: 260px;
    width: auto;
    margin-bottom: 18px;
  }

  .best-card h3 {
    font-size: 32px;
    margin-bottom: 14px;
  }

  .best-card p {
    font-size: 17px;
    max-width: 320px;
  }

  .best-btn-wrap {
    margin-top: 65px;
  }

  .hotspots-section {
    padding: 75px 0 85px;
  }

  .hotspots-section h2 {
    font-size: 58px;
    line-height: 1;
    padding: 0 28px;
    margin-bottom: 24px;
  }

  .hotspots-subtitle {
    font-size: 22px;
    line-height: 1.45;
    padding: 0 34px;
    margin-bottom: 45px;
  }

  .desktop-subtitle {
    display: none;
  }

  .mobile-subtitle {
    display: inline;
  }

  .map-wrap {
    width: 125%;
    margin-left: -18%;
  }

  .map-pin {
    width: 34px;
  }

  .desktop-map-bubble {
    display: none;
  }

  .mobile-map-card {
    display: none;
    background: #e6e983;
    color: black;
    text-align: left;
    border-radius: 8px;
    padding: 24px 32px;
    width: calc(100% - 56px);
    margin: 40px auto 0;
  }

  .mobile-map-card.visible {
    display: block;
  }

  .mobile-map-card strong {
    font-size: 24px;
  }

  .mobile-map-card span {
    font-size: 22px;
  }

  .join-section {
    padding: 90px 20px 0;
  }

  .join-card {
    padding: 60px 28px 175px;
  }

  .join-card h2 {
    font-size: 64px;
    line-height: 1;
    margin-bottom: 18px;
  }

  .join-card p {
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 35px;
  }

  .join-form input {
    font-size: 20px;
    padding: 22px;
  }

  .join-form input:focus {
    border-color: #6f7c3a;
    box-shadow: 0 0 0 3px rgba(111, 124, 58, 0.15);
  }

  .primary-btn {
    width: 100%;
    font-size: 18px;
    padding: 20px;
  }

  .footer {
    margin-top: -70px;
    padding-top: 130px;
    background-image: url("../images/soil_footer.png");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 1900px auto; 
  }


  .footer-content {
    padding: 0 28px 70px;
    flex-direction: column;
    gap: 65px;
  }

  .footer-logo {
    width: 220px;
    height: 220px;
  }

  .footer-nav {
    width: 100%;
    max-width: 420px;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 27px;
    row-gap: 32px;
    text-align: left;
  }

  .footer-nav a {
    font-size: 30px;
  }

  .footer-bottom {
    padding: 10px 10px;
  }

  .footer-bottom p {
    font-size: 8px;
    line-height: 1.4;
  }
}
