@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  font-family: "Playfair Display", serif;
}

img {
  max-width: 100%;
  display: block;
}

:root {
  --maroon: #520807;
  --dark-maroon: #390605;
  --cream: #f8f0eb;
  --gold: #e3b361;
  --light-gold: #f0d7ae;
  --white: #ffffff;
}

.mobile-navbar {
  display: none;
}

.mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero {
  position: relative;

  width: 100%;

  aspect-ratio: 1350 / 600;

  height: auto;
  min-height: 0;

  color: var(--white);

  background-image: url("./assets/images/banner-1.png");
  background-repeat: no-repeat;

  /* DO NOT USE cover */
  background-size: 100% 100%;

  background-position: center center;

  overflow: hidden;
}

/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
  position: absolute;
  top: 4%;
  right: 3%;
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}

.nav li {
  display: flex;
  align-items: center;
  list-style: none;

  padding: 0 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;

  font-family: "Lato", sans-serif;
  font-size: 11px;
  font-weight: 400;

  letter-spacing: 4px;
  line-height: 1;
  white-space: nowrap;
}

.nav li:last-child {
  border-right: none;
  padding-right: 0;
}

.nav li:first-child {
  padding-left: 0;
}

/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
  position: absolute;

  z-index: 10;

  left: 13%;
  top: 5%;

  width: 36%;

  margin: 0;
  padding: 0;
}

/* =========================================================
   HERO COPY
========================================================= */

.hero-copy {
  width: 100%;
}

.hero-copy img {
  width: 55%;
}

.hero-copy h2 {
  font-size: clamp(38px, 3.8vw, 62px);

  font-weight: 400;

  line-height: 1.05;

  letter-spacing: -1px;

  color: var(--white);
  margin: 14px 0px;
}

.hero-copy h2 span {
  color: var(--gold);
}

/* =========================================================
   GOLD LINE
========================================================= */

.gold-line {
  width: 50px;
  height: 3px;

  background: var(--gold);

  margin: 10px 0;

  border-radius: 2px;
}

/* =========================================================
   HERO SUBTITLE
========================================================= */

.hero-copy h3 {
  font-size: clamp(16px, 1.5vw, 24px);

  font-weight: 400;

  margin: 8px 0;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.description {
  width: 77%;
  max-width: 470px;

  font-size: clamp(12px, 1.1vw, 15px);

  line-height: 1.2;

  color: rgba(255, 255, 255, 0.88);

  margin-bottom: 20px;
}

/* =========================================================
   EMAIL FORM
========================================================= */

.mail-box {
  width: 90%;

  height: 38px;

  display: flex;

  align-items: stretch;

  border: 1px solid var(--gold);

  border-radius: 6px;

  overflow: hidden;

  background: rgba(50, 0, 0, 0.2);
}

.mail-box input {
  flex: 1;

  min-width: 0;

  width: 100%;

  border: none;
  outline: none;

  padding: 0 17px;

  background: transparent;

  color: white;

  font-family: "Playfair Display", serif;

  font-size: 12px;
}

.mail-box input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.mail-box button {
  flex-shrink: 0;

  border: none;

  background: var(--gold);

  color: #3f0907;

  padding: 0 22px;

  cursor: pointer;

  font-family: "Playfair Display", serif;

  font-size: 14px;

  transition: background 0.2s ease;
}

.mail-box button:hover {
  background: #efc477;
}

.mail-box button i {
  margin-left: 8px;
}

/* =========================================================
   SMALL PARA
========================================================= */

.small-para {
  margin-top: 0px;

  font-size: 12px;

  color: rgba(255, 255, 255, 0.7);

  line-height: 1.4;
}

/* =========================================================
   VALUES SECTION
========================================================= */

.values {
  width: 100%;

  min-height: 165px;

  padding: 17px 5%;

  background: var(--cream);

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  align-items: center;
}

.value {
  min-width: 0;

  min-height: 110px;

  padding: 5px 30px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  text-align: center;

  border-right: 1px solid #e1d2c3;
}

.value:last-child {
  border-right: none;
}

.value img {
  width: 62px;
  height: 62px;

  object-fit: contain;

  margin-bottom: 8px;
}

.value h4 {
  font-size: 16px;

  font-weight: 500;

  line-height: 1.2;

  margin-bottom: 5px;
}

.value p {
  font-size: 13px;

  color: #333;

  line-height: 1.3;
}

/* =========================================================
   FOOTER
========================================================= */

footer {
  width: 100%;

  min-height: 70px;

  padding: 18px 3%;

  background: var(--maroon);

  color: white;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;
}

.footer-brand {
  font-size: 11px;

  letter-spacing: 5px;

  white-space: nowrap;
}

.footer-line {
  width: 10%;

  height: 1px;

  background: var(--gold);

  opacity: 0.8;
}

.footer-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;

  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  display: flex;
  align-items: center;

  padding: 0 12px;

  border-right: 1px solid rgba(255, 255, 255, 0.8);
}

.footer-nav li:first-child {
  padding-left: 0;
}

.footer-nav li:last-child {
  padding-right: 0;
  border-right: none;
}

.footer-nav a {
  color: #fff;

  text-decoration: none;
  text-transform: uppercase;

  font-family: "Lato", sans-serif;

  font-size: 10px;
  font-weight: 400;

  letter-spacing: 3px;
  line-height: 1;

  white-space: nowrap;
}

.social-icons {
  display: flex;

  align-items: center;
  gap: 15px;
}

.social-icons a {
  color: white;

  font-size: 19px;

  text-decoration: none;
}

.hashtag {
  font-family: "Playfair Display", sans-serif;
  border-left: 1px solid rgba(255, 255, 255, 0.8);
  padding-left: 20px;
  font-size: 12px;

  white-space: nowrap;
}

/* =========================================================
   LARGE TABLETS / SMALL LAPTOPS
========================================================= */

@media (max-width: 1200px) {
  .hero-content {
    left: 8%;
    width: 40%;
  }

  .hero-copy h2 {
    font-size: clamp(36px, 4vw, 52px);
  }

  .description {
    width: 82%;
  }

  .footer-line {
    width: 8%;
  }

  .footer-nav li {
    padding: 0 9px;
  }

  .footer-nav li:first-child {
    padding-left: 0;
  }

  .footer-nav li:last-child {
    padding-right: 0;
  }

  .footer-nav a {
    font-size: 9px;
    letter-spacing: 2px;
  }
}

@media (max-width: 1200px) and (min-width: 901px) {
  .hero-content {
    left: 13%;
    top: 3%;
  }
  .hero-copy img {
    width: 45%;
  }
  .hero-copy h2 {
    font-size: clamp(28px, 3.3vw, 52px);
    line-height: 1.05;
  }

  .gold-line {
    width: 48px;
    margin: 11px 0;
  }

  .hero-copy h3 {
    font-size: clamp(18px, 1.8vw, 24px);
  }

  .description {
    width: 77%;
    max-width: 410px;
    font-size: clamp(12px, 1.1vw, 15px);
    line-height: 1.25;
  }

  .mail-box {
    width: 80%;
  }

  .small-para {
    font-size: 10px;
  }
}

/* =========================================================
   TABLET
   USE MOBILE IMAGE: 417 x 540
========================================================= */

@media (max-width: 900px) {
  .hero {
    /* IMPORTANT:
           Mobile/tablet image is 417 x 540.
           Therefore the hero keeps this exact ratio.
        */
    aspect-ratio: 417 / 540;

    height: auto;

    background-image: url("./assets/images/ms-1.png");

    /* no cropping */
    background-size: 100% 100%;

    background-position: center center;

    background-repeat: no-repeat;

    background-color: #650707;
  }

  /* ---------------------------------------------
       NAV
    --------------------------------------------- */
  .navbar {
    top: 2%;
    right: 3%;
  }

  .nav li {
    padding: 0 12px;
  }

  .nav a {
    /* font-size: 8px; */
    letter-spacing: 2px;
  }

  /* ---------------------------------------------
       HERO CONTENT
    --------------------------------------------- */

  .hero-content {
    position: absolute;

    left: 7%;
    right: 7%;
    text-align: center;
    top: 2%;

    width: auto;

    margin: 0;
    padding: 0;
  }

  .hero-copy {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-copy img {
    width: 55%;
    margin: 16px;
  }

  .hero-copy h2 {
    font-size: clamp(34px, 6vw, 48px);

    line-height: 1.04;

    letter-spacing: -0.5px;
  }

  .gold-line {
    width: 45px;

    height: 2px;

    margin: 16px auto;
  }

  .hero-copy h3 {
    font-size: clamp(18px, 3vw, 23px);

    line-height: 1.25;

    margin-bottom: 12px;
  }

  .description {
    width: 100%;
    max-width: 500px;

    font-size: 14px;

    line-height: 1.45;

    margin: 18px auto;
  }

  .mail-box {
    width: 90%;

    height: 45px;
  }

  .mail-box input {
    padding: 0 10px;

    font-size: 12px;
  }

  .mail-box button {
    padding: 0 24px;

    font-size: 12px;
    font-weight: 600;
  }

  .small-para {
    font-size: 12px;

    margin-top: 6px;
  }

  /* ---------------------------------------------
       VALUES
    --------------------------------------------- */

  .values {
    grid-template-columns: repeat(2, 1fr);

    padding: 20px 4%;

    row-gap: 0px;
  }
  .value {
    min-height: 120px;
    border-right: 1px solid #e1d2c3;
    border-top: none;
  }
  /* Right column — remove vertical border */
  .value:nth-child(2),
  .value:nth-child(4) {
    border-right: none;
  }

  /* Bottom row — add horizontal border */
  .value:nth-child(3),
  .value:nth-child(4) {
    border-top: 1px solid #e1d2c3;
    padding-top: 20px;
  }

  /* ---------------------------------------------
       FOOTER
    --------------------------------------------- */

  footer {
    flex-wrap: wrap;

    justify-content: center;

    padding: 22px 5%;

    gap: 18px 30px;
  }

  .footer-line {
    display: none;
  }
  .hashtag {
    border-left: none;
    padding-left: 0;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
  /* =====================================================
       NAVIGATION
    ===================================================== */

  .navbar {
    display: none;
  }

  .mobile-navbar {
    display: flex;
    width: 100%;
    height: 32px;
    align-items: center;
    justify-content: center;
    background: var(--maroon);
    position: relative;
  }

  .mobile-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-nav li {
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.8);
  }

  .mobile-nav li:last-child {
    border-right: none;
  }

  .mobile-nav li {
    color: #fff;

    text-decoration: none;
    text-transform: uppercase;

    font-family: "Lato", sans-serif;

    font-size: 8px;
    font-weight: 400;

    letter-spacing: 2px;

    line-height: 1;
    white-space: nowrap;
  }

  /* =====================================================
       HERO CONTENT

       The content stays ON TOP of the image.

       h2/h3/description = top part
       form/small-para = bottom part
    ===================================================== */

  /* Hero content overlays the image */
  .hero-content {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0 24px;
    margin: 0;
    z-index: 10;
  }

  .hero-copy {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* =====================================================
       TOP CONTENT
    ===================================================== */

  .hero-copy img {
    width: 60%;
  }

  .hero-copy h2 {
    width: 100%;

    margin-top: 2%;

    font-size: clamp(30px, 9vw, 40px);

    line-height: 1.04;

    letter-spacing: -0.5px;
  }

  .gold-line {
    align-self: center;

    width: 42px;

    height: 2px;

    margin: 0px;
  }

  .hero-copy h3 {
    width: 100%;

    font-size: clamp(17px, 5vw, 21px);

    line-height: 1.2;
    margin-bottom: 10px;
  }

  .description {
    width: 100%;

    max-width: 360px;

    font-size: 12px;

    line-height: 1.4;

    margin: 0 auto;
  }

  /* =====================================================
       BOTTOM CONTENT
    ===================================================== */

  .mail-box {
    width: 100%;

    height: 43px;

    margin-top: auto;

    margin-bottom: 7px;

    flex-shrink: 0;
  }

  .mail-box input {
    min-width: 0;
    width: 100%;

    padding: 0 10px;

    font-size: 11px;
  }

  .mail-box button {
    flex-shrink: 0;

    padding: 0 12px;

    font-size: 10px;
  }

  .mail-box button i {
    margin-left: 5px;
  }

  .small-para {
    width: 100%;

    margin: 0 0 3%;

    font-size: 10px;

    line-height: 1.3;

    text-align: center;

    flex-shrink: 0;
  }

  /* =====================================================
       VALUES
    ===================================================== */

  .values {
    width: 100%;

    grid-template-columns: repeat(2, 1fr);

    padding: 12px 8px;

    gap: 0;
  }

  .value {
    min-height: 125px;

    padding: 10px 6px;

    border-right: 1px solid #e1d2c3;
  }

  .value:nth-child(2),
  .value:nth-child(4) {
    border-right: none;
  }

  .value:nth-child(3),
  .value:nth-child(4) {
    border-top: 1px solid #e1d2c3;
  }

  .value img {
    width: 46px;

    height: 46px;

    margin-bottom: 6px;
  }

  .value h4 {
    font-size: 11px;

    line-height: 1.2;
  }

  .value p {
    font-size: 8px;

    line-height: 1.35;
  }

  /* =====================================================
       FOOTER
    ===================================================== */

  footer {
    min-height: 0;

    padding: 20px 15px;

    flex-direction: column;

    text-align: center;

    gap: 14px;
  }

  .footer-brand {
    font-size: 12px;

    letter-spacing: 3px;
  }

  .footer-line {
    display: none;
  }

  .footer-tagline {
    width: 100%;
    justify-content: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-nav li {
    padding: 0 7px;
  }

  .footer-nav a {
    font-size: 8px;
    letter-spacing: 2px;
  }

  .social-icons {
    gap: 17px;
  }

  .social-icons a {
    font-size: 17px;
  }

  .hashtag {
    font-size: 8px;

    white-space: normal;
  }
}

/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 380px) {
  .hero-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-copy img {
    width: 65%;
    margin: 8px;
  }

  .hero-copy h2 {
    margin-top: 2%;

    font-size: 30px;
  }

  .gold-line {
    width: 38px;
    margin: 0px auto;
  }

  .hero-copy h3 {
    font-size: 16px;
  }

  .description {
    font-size: 11px;
    margin-top: 0px;
    max-width: 320px;
  }

  .mail-box {
    height: 40px;
  }

  .mail-box input {
    font-size: 10px;

    padding: 0 8px;
  }

  .mail-box button {
    padding: 0 9px;

    font-size: 9px;
  }

  .small-para {
    font-size: 9px;
  }

  .value {
    min-height: 120px;
  }

  .value h4 {
    font-size: 10px;
  }

  .value p {
    font-size: 8px;
  }
}

/* Notify form wrapper */
.notify-wrapper {
  width: 90%;
}

/* mail-box already gets width from wrapper */
.notify-wrapper .mail-box {
  width: 100%;
}

/* Message does NOT affect layout */
#formMessage {
  width: 100%;
  min-height: 14px;

  margin: 4px 0 0;

  font-family: "Lato", sans-serif;
  font-size: 10px;
  line-height: 1.2;
}

/* Success */

#formMessage.success-message {
  color: #e3b361;
}

/* Error */

#formMessage.error-message {
  color: #ffffff;
}

@media (max-width: 900px) {
  .notify-wrapper {
    width: 90%;
  }
}

@media (max-width: 600px) {
  .notify-wrapper {
    width: 100%;
    margin-top: auto;
  }

  .notify-wrapper .mail-box {
    width: 100%;
    margin: 0;
  }

  #formMessage {
    min-height: 12px;
    margin-top: 3px;

    font-size: 9px;
    text-align: center;
  }

  .small-para {
    margin: 2px 0 3%;
  }
}
