
/* =========================================
   WEXGROWTHTEAM WEBSITE
   Main Stylesheet
========================================= */


/* COLOUR VARIABLES */

:root {
  --forest: #183d25;
  --forest-soft: #315b38;

  --gold: #c99d37;
  --gold-light: #e5c879;

  --cream: #fbf8f0;

  --ink: #27352b;
  --muted: #687166;
}


/* GENERAL RESET */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
  overflow-x: hidden;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
}

a {
  -webkit-tap-highlight-color: transparent;
}


/* =========================================
   HEADER
========================================= */

.site-header {
  min-height: 125px;
  padding: 10px 5.2%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  background: rgba(255, 253, 248, 0.98);
  border-bottom: 1px solid var(--gold-light);

  position: relative;
  z-index: 10;
}


/* WEX LOGO */

.brand {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
  text-decoration: none;
}

.brand img {
  display: block;

  width: 115px;
  height: 105px;

  object-fit: contain;

  background: transparent;
}


/* NAVIGATION */

.main-nav {
  display: flex;
  align-items: center;

  gap: clamp(20px, 3vw, 46px);
}

.main-nav a {
  color: var(--forest);

  text-decoration: none;

  font-size: 16px;
  font-weight: 500;

  white-space: nowrap;

  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover {
  color: var(--gold);
}

.main-nav a.active {
  color: white;

  background: var(--forest);

  padding: 13px 32px;

  border-radius: 40px;
}


/* MOBILE MENU BUTTON */

.menu-toggle {
  display: none;
}


/* =========================================
   HERO SECTION
========================================= */

.hero {
  min-height: 760px;

  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: flex;
  align-items: center;

  padding: 65px 6.1% 100px;

  background: #f7f2e7;
}


/* STANDALONE COUPLE IMAGE */

.hero-photo {
  position: absolute;

  z-index: -2;

  inset: 0 0 0 35%;

  background-image: url("assets/hero-couple.jpg");

  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}


/* SOFT IMAGE OVERLAY */

.hero::before {
  content: "";

  position: absolute;

  z-index: -1;

  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(255, 253, 248, 0.99) 0%,
    rgba(255, 253, 248, 0.96) 31%,
    rgba(255, 253, 248, 0.72) 43%,
    rgba(255, 253, 248, 0.08) 61%,
    rgba(255, 253, 248, 0) 100%
  );
}


/* HERO CONTENT */

.hero-content {
  width: min(620px, 52%);

  position: relative;
  z-index: 1;

  padding-bottom: 12px;
}


/* SMALL INTRO TEXT */

.eyebrow {
  margin: 0 0 16px;

  color: var(--forest-soft);

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.18em;
  text-transform: uppercase;
}


/* MAIN HEADING */

.hero h1 {
  margin: 0;

  color: var(--forest);

  font-size: clamp(42px, 4.7vw, 68px);

  line-height: 1.08;
  font-weight: 700;

  letter-spacing: -0.035em;
}

.hero h1 span {
  color: var(--gold);

  font-style: italic;

  letter-spacing: 0.015em;
}


/* GOLD DECORATIVE LINE */

.gold-rule {
  width: 125px;
  height: 5px;

  margin: 22px 0 25px;

  background: var(--gold);

  border-radius: 8px;
}


/* HERO DESCRIPTION */

.hero-copy {
  max-width: 590px;

  margin: 0;

  color: #303b33;

  font-family: "Playfair Display", Georgia, serif;

  font-size: clamp(18px, 1.7vw, 24px);

  line-height: 1.48;
}


/* =========================================
   CONTACT BUTTONS
========================================= */

.contact-links {
  display: flex;
  align-items: center;

  flex-wrap: wrap;

  gap: 16px;

  margin-top: 48px;
}

.contact-card {
  width: 145px;
  min-height: 96px;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 6px;

  border: 1.5px solid var(--gold);
  border-radius: 22px;

  background: rgba(255, 253, 248, 0.95);

  color: var(--forest);

  text-decoration: none;

  font-size: 16px;
  font-weight: 500;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);

  box-shadow: 0 8px 22px rgba(44, 61, 39, 0.12);
}


/* CONTACT ICONS */

.icon {
  width: 37px;
  height: 37px;

  flex-shrink: 0;
}


/* WHATSAPP */

.whatsapp {
  fill: #20b95a;
}

.whatsapp .icon-cutout {
  fill: white;
}


/* TELEGRAM */

.telegram circle {
  fill: #168bd0;
}

.telegram path {
  fill: white;
}


/* =========================================
   HERO BOTTOM WAVE
========================================= */

.hero-wave {
  position: absolute;

  z-index: 2;

  height: 80px;

  left: -3%;
  right: -3%;

  bottom: -39px;

  background: var(--cream);

  border-top: 10px solid rgba(222, 190, 104, 0.58);

  border-radius: 48% 52% 0 0 / 38% 42% 0 0;

  transform: rotate(-0.5deg);

  pointer-events: none;
}


/* =========================================
   ABOUT SECTION
========================================= */

.intro-section,
.commitment-section {
  text-align: center;

  padding: 78px 22px;
}

.intro-section {
  max-width: 850px;

  margin: 0 auto;
}

.section-kicker {
  color: var(--gold);

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.2em;
}

.intro-section h2,
.commitment-section h2 {
  color: var(--forest);

  font-size: clamp(30px, 4vw, 44px);

  margin: 12px 0;
}

.intro-section p:not(.section-kicker),
.commitment-section > p {
  color: var(--muted);

  font-size: 17px;

  line-height: 1.7;
}


/* =========================================
   COMMITMENT SECTION
========================================= */

.commitment-section {
  background: #f1eedf;
}

.leaf-mark {
  color: var(--gold);

  font-size: 30px;
}

.commitment-section .disclaimer {
  max-width: 760px;

  margin: 28px auto 0;

  font-size: 13px;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
  min-height: 105px;

  padding: 24px 6%;

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

  gap: 30px;

  color: var(--forest);

  background: var(--cream);
}

.site-footer p {
  margin: 0;

  font-family: "Playfair Display", Georgia, serif;

  font-size: clamp(15px, 2vw, 23px);

  font-style: italic;

  letter-spacing: 0.12em;

  text-align: center;
}

.footer-line {
  width: min(150px, 12vw);

  height: 1px;

  background: var(--gold);

  flex-shrink: 0;
}

.footer-leaf {
  color: var(--forest-soft);

  font-size: 42px;
  line-height: 1;

  flex-shrink: 0;
}


/* =========================================
   TABLET RESPONSIVENESS
========================================= */

@media (max-width: 900px) {

  .site-header {
    min-height: 105px;

    padding: 10px 4%;
    gap: 15px;
  }

  .brand img {
    width: 90px;
    height: 85px;
  }

  .main-nav {
    gap: 15px;
  }

  .main-nav a {
    font-size: 13px;
  }

  .main-nav a.active {
    padding: 11px 20px;
  }

  .hero {
    min-height: 720px;

    padding-left: 5%;
  }

  .hero-content {
    width: 57%;
  }

  .hero-photo {
    left: 32%;
  }

  .contact-links {
    gap: 12px;

    margin-top: 38px;
  }

  .contact-card {
    width: 125px;
    min-height: 88px;

    font-size: 15px;
  }

}


/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 650px) {

  /* MOBILE HEADER */

  .site-header {
    min-height: 82px;

    padding: 7px 5%;
  }

  .brand img {
    width: 72px;
    height: 68px;
  }


  /* MOBILE MENU BUTTON */

  .menu-toggle {
    width: 42px;
    height: 42px;

    padding: 9px;

    display: flex;
    flex-direction: column;

    justify-content: center;

    gap: 5px;

    border: 1px solid #d8c58f;
    border-radius: 50%;

    background: transparent;

    cursor: pointer;
  }

  .menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    background: var(--forest);
  }


  /* MOBILE NAVIGATION */

  .main-nav {
    display: none;

    position: absolute;

    top: 100%;

    left: 0;
    right: 0;

    padding: 15px 5% 20px;

    flex-direction: column;
    align-items: stretch;

    gap: 5px;

    background: var(--cream);

    border-bottom: 1px solid var(--gold-light);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 14px;

    border-radius: 10px;

    font-size: 15px;
  }

  .main-nav a.active {
    text-align: center;
  }


  /* MOBILE HERO */

  .hero {
    min-height: 900px;

    align-items: flex-start;

    padding: 48px 6% 100px;
  }

  .hero-content {
    width: 100%;
  }

  .hero-photo {
    inset: 430px 0 0 0;

    background-position: center 35%;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(255, 253, 248, 1) 0%,
      rgba(255, 253, 248, 0.98) 37%,
      rgba(255, 253, 248, 0.65) 52%,
      rgba(255, 253, 248, 0.05) 76%,
      rgba(255, 253, 248, 0) 100%
    );
  }


  /* MOBILE HERO TEXT */

  .eyebrow {
    font-size: 10px;

    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 48px);

    line-height: 1.12;
  }

  .gold-rule {
    width: 100px;

    margin: 17px 0 19px;
  }

  .hero-copy {
    max-width: 520px;

    font-size: 17px;

    line-height: 1.5;
  }


  /* MOBILE CONTACT BUTTONS */

  .contact-links {
    gap: 10px;

    margin-top: 25px;
  }

  .contact-card {
    width: calc(50% - 5px);

    min-height: 75px;

    flex-direction: row;

    gap: 9px;

    border-radius: 15px;

    font-size: 14px;
  }

  .icon {
    width: 29px;
    height: 29px;
  }


  /* MOBILE HERO WAVE */

  .hero-wave {
    height: 55px;

    bottom: -30px;
  }


  /* MOBILE CONTENT SECTIONS */

  .intro-section,
  .commitment-section {
    padding: 58px 22px;
  }

  .intro-section h2,
  .commitment-section h2 {
    font-size: 32px;
  }


  /* MOBILE FOOTER */

  .site-footer {
    gap: 12px;

    padding: 22px 5%;
  }

  .footer-line {
    width: 20px;
  }

  .footer-leaf {
    font-size: 30px;
  }

  .site-footer p {
    font-size: 15px;

    letter-spacing: 0.04em;

    line-height: 1.5;
  }

}


/* =========================================
   VERY SMALL MOBILE SCREENS
========================================= */

@media (max-width: 380px) {

  .hero h1 {
    font-size: 33px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .contact-card {
    font-size: 13px;
    gap: 6px;
  }

}
