/* =========================================================
   GIFTNETAPP PREMIUM FOOTER REDESIGN (Matches Design Image 2)
   ========================================================= */

:root {
  --gn-dark-green: #07382a;
  --gn-dark-green-deep: #04241b;
  --gn-dark-green-light: #0d4a37;
  --gn-sage-light: #e1f1e8;
  --gn-sage-wave: #daede3;
  --gn-cream-bg: #f8faf8;
  --gn-gold: #e2ad3b;
  --gn-gold-dark: #b8831b;
  --gn-gold-light: #fbecc7;
  --gn-text-dark: #123628;
  --gn-text-muted: #536b5f;
  --gn-text-light: #cde1d6;
  --gn-border-color: #d6e8de;
}

.gn-footer-section {
  position: relative;
  background-color: var(--gn-cream-bg);
  color: var(--gn-text-dark);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow: hidden;
  border-top: 1px solid rgba(13, 74, 55, 0.08);
  padding: 0;
}

/* Background wavy curves */
.gn-footer-bg-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Outer layout container */
.gn-footer-container {
  max-width: 1560px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: row;
  min-height: 430px;
  z-index: 2;
}

/* Left dark green section */
.gn-footer-left {
  position: relative;
  width: 310px;
  min-width: 290px;
  color: #ffffff;
  padding: 44px 32px 36px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 3;
}

/* Translucent botanical leaf illustration overlay in green section */
.gn-footer-leaves-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.14;
  overflow: hidden;
  z-index: 0;
}

.gn-footer-left-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Brand Logo */
.gn-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 20px;
}

.gn-brand-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 6px rgba(226, 173, 59, 0.45));
}

.gn-brand-text {
  display: flex;
  flex-direction: column;
}

.gn-brand-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: #ffffff;
  line-height: 1.15;
  margin: 0;
}

.gn-brand-subtitle {
  font-size: 12px;
  font-weight: 500;
  color: #e5f0ea;
  letter-spacing: 0.2px;
  margin-top: 2px;
}

/* Mission / Tagline */
.gn-footer-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gn-text-light);
  margin-bottom: 26px;
  font-weight: 400;
  max-width: 240px;
}

/* Contact List */
.gn-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.gn-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
}

.gn-contact-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  font-size: 16px;
  transition: all 0.25s ease;
}

.gn-contact-item:hover .gn-contact-badge {
  background: var(--gn-gold);
  border-color: var(--gn-gold);
  color: var(--gn-dark-green-deep);
  transform: translateY(-2px);
}

.gn-contact-text {
  font-size: 13px;
  line-height: 1.45;
  color: #ffffff;
  font-weight: 400;
}

.gn-contact-text a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.gn-contact-text a:hover {
  color: var(--gn-gold);
}

/* Script phrase on bottom left */
.gn-footer-left-script {
  margin-top: auto;
  padding-top: 14px;
  font-family: 'Caveat', cursive;
  font-size: 24px;
  font-weight: 600;
  color: #f7d594;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Main body containing columns, newsletter & graphics */
.gn-footer-main {
  flex: 1;
  position: relative;
  padding: 44px 36px 30px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.gn-footer-columns {
  display: grid;
  grid-template-columns: 145px 155px 155px 205px 1fr;
  gap: 28px;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

/* Column titles */
.gn-col-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--gn-text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}

/* Link lists */
.gn-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.gn-link-item a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 13.5px;
  color: var(--gn-text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 400;
}

.gn-link-chevron {
  font-size: 13px;
  color: #92a89d;
  transition: transform 0.2s ease, color 0.2s ease;
  margin-left: 8px;
}

.gn-link-item a:hover {
  color: var(--gn-dark-green);
  font-weight: 600;
  transform: translateX(2px);
}

.gn-link-item a:hover .gn-link-chevron {
  color: var(--gn-gold);
  transform: translateX(3px);
}

/* Shop on the Go column */
.gn-app-subtitle {
  font-size: 12.5px;
  color: var(--gn-text-muted);
  margin-top: -10px;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* Google Play Store Badge */
.gn-google-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #000000;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  width: fit-content;
}

.gn-google-play-btn:hover {
  background-color: #1a1a1a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.gn-play-icon {
  width: 22px;
  height: 24px;
  flex-shrink: 0;
}

.gn-play-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.gn-play-sub {
  font-size: 8.5px;
  text-transform: uppercase;
  color: #cccccc;
  letter-spacing: 0.5px;
}

.gn-play-main {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

/* Follow Us Section */
.gn-follow-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--gn-text-dark);
  margin-top: 22px;
  margin-bottom: 5px;
}

.gn-follow-line {
  width: 28px;
  height: 3px;
  background: var(--gn-gold);
  border-radius: 2px;
  margin-bottom: 14px;
}

.gn-social-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.gn-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--gn-sage-light);
  color: var(--gn-dark-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid rgba(13, 74, 55, 0.08);
}

.gn-social-btn:hover {
  background-color: var(--gn-dark-green);
  color: #ffffff;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 4px 10px rgba(7, 56, 42, 0.25);
}

/* Newsletter Box */
.gn-newsletter-card {
  position: relative;
  background: rgba(234, 246, 240, 0.82);
  border: 1px solid var(--gn-border-color);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 6px 20px rgba(7, 56, 42, 0.04);
  max-width: 390px;
  margin-left: auto;
  z-index: 2;
}

/* Eucalyptus leaves draping on top right of newsletter */
.gn-eucalyptus-top {
  position: absolute;
  top: -24px;
  right: -24px;
  width: 100px;
  height: 100px;
  pointer-events: none;
  z-index: 4;
}

.gn-newsletter-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.gn-newsletter-icon-wrap {
  width: 42px;
  height: 42px;
  background: #fdf3de;
  border-radius: 10px;
  border: 1px solid #f6deb3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #c98818;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(201, 136, 24, 0.15);
}

.gn-newsletter-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--gn-text-dark);
  margin: 0 0 3px 0;
  line-height: 1.25;
}

.gn-newsletter-sub {
  font-size: 11.5px;
  color: var(--gn-text-muted);
  line-height: 1.4;
  margin: 0;
}

.gn-newsletter-form {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cce0d4;
  border-radius: 30px;
  padding: 3px 4px 3px 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gn-newsletter-form:focus-within {
  border-color: var(--gn-dark-green);
  box-shadow: 0 0 0 3px rgba(7, 56, 42, 0.12);
}

.gn-newsletter-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 12.5px;
  color: var(--gn-text-dark);
  flex: 1;
  padding: 7px 0;
}

.gn-newsletter-input::placeholder {
  color: #9cb1a6;
}

.gn-newsletter-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gn-dark-green);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.gn-newsletter-btn:hover {
  background: var(--gn-dark-green-deep);
  transform: scale(1.05);
}

/* Bottom right section: Script quote + 3D Gift Box visual */
.gn-footer-visual-area {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: 14px;
  min-height: 140px;
  z-index: 2;
}

.gn-footer-quote-wrap {
  margin-right: 28px;
  margin-bottom: 24px;
  text-align: right;
  z-index: 3;
}

.gn-footer-quote {
  font-family: 'Caveat', cursive;
  font-size: 30px;
  font-weight: 700;
  color: #1a4939;
  line-height: 1.15;
  transform: rotate(-3deg);
  display: inline-block;
  letter-spacing: 0.3px;
}

.gn-footer-gift-image {
  max-width: 260px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 2;
  transition: transform 0.4s ease;
}

/* =========================================================
   BOTTOM BAR (Matches Design Image 2)
   ========================================================= */

.gn-bottom-bar {
  background-color: #ffffff;
  border-top: 1px solid #e5eee8;
  padding: 16px 0;
  font-size: 13px;
  color: var(--gn-text-muted);
  position: relative;
  z-index: 10;
}

.gn-bottom-inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.gn-bottom-copy {
  color: #61776c;
  font-size: 13px;
  margin: 0;
}

.gn-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gn-bottom-link {
  color: #556c60;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.gn-bottom-link:hover {
  color: var(--gn-dark-green);
  text-decoration: underline;
}

.gn-bottom-divider {
  color: #b9ccc1;
  font-size: 12px;
}

.gn-bottom-gold-line {
  color: var(--gn-gold);
  font-weight: bold;
  margin-left: 6px;
}

.gn-bottom-payments {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.gn-accept-label {
  font-size: 12.5px;
  color: #5d7568;
  font-weight: 500;
  margin-right: 4px;
}

.gn-payment-pill {
  height: 24px;
  padding: 2px 10px;
  background: #000000;
  color: #ffffff;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.gn-payment-visa {
  background: #ffffff;
  border: 1px solid #d2ded7;
  color: #1a1f71;
  font-weight: 900;
  font-style: italic;
  font-size: 13px;
}

.gn-payment-mastercard {
  background: #ffffff;
  border: 1px solid #d2ded7;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.gn-payment-discover {
  background: #ffffff;
  border: 1px solid #d2ded7;
  color: #f76800;
  font-weight: 800;
  font-size: 11px;
}

.gn-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid #bcdbca;
  background-color: #f1f8f4;
  color: #0f4e39;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  margin-left: 6px;
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 1280px) {
  .gn-footer-columns {
    grid-template-columns: 130px 140px 140px 180px 1fr;
    gap: 20px;
  }
  .gn-footer-left {
    width: 280px;
    min-width: 270px;
    padding: 36px 24px;
  }
}

@media (max-width: 1080px) {
  .gn-footer-container {
    flex-direction: column;
  }
  .gn-footer-left {
    width: 100%;
    border-radius: 0 0 40px 40px;
    background: linear-gradient(165deg, var(--gn-dark-green) 0%, var(--gn-dark-green-deep) 100%);
    min-height: auto;
  }
  .gn-footer-bg-waves {
    display: none;
  }
  .gn-footer-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .gn-newsletter-card {
    grid-column: span 3;
    max-width: 100%;
    margin-top: 20px;
  }
  .gn-footer-visual-area {
    justify-content: space-between;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .gn-footer-columns {
    grid-template-columns: 1fr 1fr;
  }
  .gn-newsletter-card {
    grid-column: span 2;
  }
  .gn-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .gn-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .gn-bottom-payments {
    justify-content: center;
  }
  .gn-footer-main {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .gn-footer-columns {
    grid-template-columns: 1fr;
  }
  .gn-newsletter-card {
    grid-column: span 1;
  }
  .gn-footer-visual-area {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .gn-footer-quote-wrap {
    margin-right: 0;
    margin-bottom: 14px;
    text-align: center;
  }
}
