/*
 Theme Name: Jessa Harmon GP Child
 Theme URI: https://jessaharmon.com/
 Description: GeneratePress child theme for Jessa Harmon.
 Author: Jessica Harn
 Template: generatepress
 Version: 0.1.0
 Text Domain: jessa-harmon-gp-child
*/

:root {
  --jh-dark-green: #2b352f;
  --jh-dark-gray: #1f2a24;
  --jh-gold: #c6a46a;
  --jh-creamy-taupe: #9f9a8f;
  --jh-white: #ffffff;
  --jh-soft-cream: #f4efe4;

  --jh-heading-font: 'Cormorant Garamond', serif;
  --jh-body-font: 'Montserrat', sans-serif;
}

body {
  background: var(--jh-dark-gray);
  color: var(--jh-soft-cream);
  font-family: var(--jh-body-font);
}

h1, h2, h3, h4, h5, h6,
.site-title,
.entry-title {
  font-family: var(--jh-heading-font);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.main-navigation,
.main-navigation a,
button,
.button,
.wp-block-button__link,
input[type='submit'] {
  font-family: var(--jh-body-font);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

a {
  color: var(--jh-gold);
}

a:hover,
a:focus {
  color: var(--jh-soft-cream);
}

.button,
.wp-block-button__link,
input[type='submit'] {
  background: var(--jh-gold);
  color: var(--jh-dark-gray);
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  border: 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.button:hover,
.wp-block-button__link:hover,
input[type='submit']:hover {
  background: var(--jh-soft-cream);
  color: var(--jh-dark-gray);
}

/* Hide GeneratePress chrome on holding page */
.page-id-1292 #masthead,
.page-id-1292 .site-header,
.page-id-1292 #site-navigation,
.page-id-1292 .main-navigation,
.page-id-1292 #right-sidebar,
.page-id-1292 #left-sidebar,
.page-id-1292 .site-footer,
.page-id-1292 #colophon,
.page-id-1292 .footer-widgets,
.page-id-1292 .inside-footer-widgets,
.page-id-1292 .entry-header {
  display: none !important;
}

/* Remove GeneratePress spacing on holding page */
.page-id-1292 .site-content,
.page-id-1292 .inside-article,
.page-id-1292 .entry-content,
.page-id-1292 .content-area,
.page-id-1292 .site-main {
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
  max-width: 100%;
}

.page-id-1292 .site,
.page-id-1292 .grid-container,
.page-id-1292 .container,
.page-id-1292 .separate-containers .inside-article {
  max-width: none !important;
}

/* Holding page */

.jh-holding-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(rgba(31, 42, 36, 0.76), rgba(31, 42, 36, 0.9)),
    radial-gradient(circle at top right, rgba(198, 164, 106, 0.18), transparent 34%),
    radial-gradient(circle at bottom left, rgba(43, 53, 47, 0.95), transparent 45%),
    var(--jh-dark-gray);
  color: var(--jh-soft-cream);
  display: flex;
  flex-direction: column;
}

/* Optional texture overlay */
.jh-holding-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(43, 53, 47, 0.55), rgba(43, 53, 47, 0.55));
  opacity: 0.5;
  pointer-events: none;
}

.jh-holding-nav {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.jh-holding-logo {
  font-family: var(--jh-heading-font);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.8;
  color: var(--jh-gold);
  text-decoration: none;
}

.jh-holding-menu {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jh-holding-menu a {
  color: var(--jh-soft-cream);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.jh-holding-menu a:hover,
.jh-holding-menu a:focus {
  color: var(--jh-gold);
}

.jh-holding-hero {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 3rem));
  margin: auto;
  padding: 4rem 0 7rem;
  text-align: center;
}

.jh-holding-kicker {
  color: var(--jh-gold);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.jh-holding-title {
  color: var(--jh-soft-cream);
  font-family: var(--jh-heading-font);
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.86;
  margin: 0 0 1.5rem;
}

.jh-holding-copy {
  color: var(--jh-soft-cream);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.jh-holding-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.jh-button,
.jh-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  background: var(--jh-gold);
  color: var(--jh-dark-gray);
  border: 2px solid var(--jh-gold);
  border-radius: 999px;
  padding: 1rem 1.8rem;
  font-family: var(--jh-body-font);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.jh-button:hover,
.jh-button:focus {
  background: var(--jh-soft-cream);
  border-color: var(--jh-soft-cream);
  color: var(--jh-dark-gray);
}

.jh-button--ghost,
.jh-button--ghost:visited {
  background: transparent;
  color: var(--jh-gold);
}

.jh-button--ghost:hover,
.jh-button--ghost:focus {
  background: var(--jh-gold);
  border-color: var(--jh-gold);
  color: var(--jh-dark-gray);
}

@media (max-width: 720px) {
  .jh-holding-nav {
    width: min(100% - 2rem, 1180px);
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding-top: 1.5rem;
  }

  .jh-holding-menu {
    justify-content: center;
    gap: 1.25rem;
  }

  .jh-holding-hero {
    width: min(100% - 2rem, 920px);
    padding: 3rem 0 5rem;
  }

  .jh-holding-title {
    font-size: clamp(3rem, 16vw, 5rem);
  }
}

/* Remove GeneratePress stuff on about page */
.page-id-316 #masthead,
.page-id-316 .site-header,
.page-id-316 #site-navigation,
.page-id-316 .main-navigation,
.page-id-316 #right-sidebar,
.page-id-316 #left-sidebar,
.page-id-316 .site-footer,
.page-id-316 #colophon,
.page-id-316 .footer-widgets,
.page-id-316 .inside-footer-widgets,
.page-id-316 .entry-header {
  display: none !important;
}

.page-id-316 .site-content,
.page-id-316 .inside-article,
.page-id-316 .entry-content,
.page-id-316 .content-area,
.page-id-316 .site-main {
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
  max-width: 100%;
}

.page-id-316 .site,
.page-id-316 .grid-container,
.page-id-316 .container,
.page-id-316 .separate-containers .inside-article {
  max-width: none !important;
}