/* ============================================================
   PREPPY PRESS — style.css
   One file for everything. Easy to edit.
   ============================================================ */


/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
}

body {
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

body {
  font-family: 'Libre Baskerville', Georgia, "Times New Roman", serif;
  font-size: 17px;
  color: #111a3f;
  background-color: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.1;
  padding-bottom: 10px;
  color: #333;
}

a {
  text-decoration: none;
}


/* ============================================================
   ACCESSIBILITY UTILITY
   Hides text visually but keeps it for screen readers and SEO.
   ============================================================ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ============================================================
   HERO / PAGE HEADER
   Full-viewport background image with button near middle.
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  flex: 1;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

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

/* Desktop background (≥981px) */
.hero {
  background-image: url('images/hero-desktop-2-scaled.jpg');
  background-position: center center;
}

.hero-content {
  position: absolute;
  top: 63%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}


/* ============================================================
   BUTTON
   Grosgrain ribbon texture, dark navy border/text.
   Hover: text turns light cream.
   ============================================================ */

.btn {
  display: inline-block;
  font-family: 'Libre Baskerville', Georgia, "Times New Roman", serif;
  font-size: inherit;
  color: #121d3f;
  border: 3px solid #121d3f;
  border-radius: 4px;
  padding: 0.3em 1.5em;

  /* Grosgrain ribbon texture */
  background-image: url('images/Preppy-Press-grosgrain-button-pink-2.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: normal;

  box-shadow: 4px 4px 12px 0px rgba(0, 0, 0, 0.3);
  transform: scaleX(1.04) scaleY(1.04);
  transition: transform 300ms ease, color 300ms ease, background-color 300ms ease;
}

.btn:hover {
  color: #faf9f7;
  transform: scaleX(1.02) scaleY(1.02);
}


/* ============================================================
   FOOTER
   Dark navy bar, small Montserrat text.
   ============================================================ */

.footer {
  background-color: #121d3f;
  padding: 6px 0;
  text-align: center;
}

.footer p {
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #595959;
  padding: 0;
  margin: 0;
}

/* By default show full text, hide short text */
.footer-short {
  display: none;
}


/* ============================================================
   RESPONSIVE — TABLET (768px–980px)
   Switch to mobile hero image, hide full footer text.
   ============================================================ */

@media only screen and (min-width: 768px) and (max-width: 980px) {
  .hero {
    background-image: url('images/hero-mobile-2.jpg');
    background-size: cover;
    background-position: center center;
  }

  .hero-content {
    position: absolute;
    top: 66%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
  }

  .footer-full { display: none; }
  .footer-short { display: block; }
}


/* ============================================================
   RESPONSIVE — MOBILE (≤767px)
   Mobile hero image, shorter footer, smaller button text.
   ============================================================ */

@media only screen and (max-width: 767px) {
  .hero {
    background-image: url('images/hero-mobile-2.jpg');
    background-size: cover;
    background-position: center center;
  }

  .hero-content {
    position: absolute;
    top: 66%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
  }

  .btn {
    font-size: 16px;
  }

  .footer-full { display: none; }
  .footer-short { display: block; }

  .footer p {
    font-size: 12px;
  }
}


/* ============================================================
   RESPONSIVE — LARGE SCREENS (≥1350px)
   Slight extra padding on large displays (mirrors original).
   ============================================================ */

@media only screen and (min-width: 1350px) {
  .hero-content {
    top: 63%;
  }
}
