
/* ==========================================================================
   JolyGood Elf — Site Styles
   File: assets/css/styles.css
   ========================================================================== */

/* ------------------------------
   CSS Reset & Base
------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol";
  color: #1d1d1f;
  background-color: #ffffff;
  line-height: 1.6;
}

/* Remove default list/heading spacing quirks */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  line-height: 1.2;
  color: #0f0f10;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em 1.1em; }

/* Links */
a {
  color: #0a6cff;
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* Images */
img, svg, picture, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Focus */
:focus-visible {
  outline: 3px solid #0a6cff;
  outline-offset: 2px;
}

/* ------------------------------
   Design Tokens (CSS Variables)
------------------------------ */

:root{
  --brand-red: #C8102E;
  --brand-red-dark: #9c0d22;
  --brand-green: #0FA958;
  --ink-900: #0f0f10;
  --ink-700: #232325;
  --ink-600: #3a3a3c;
  --ink-400: #6e6e73;
  --ink-200: #d2d2d7;
  --paper: #ffffff;
  --paper-2: #f7f7f9;

  --radius-md: 12px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 6px 18px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 34px rgba(0,0,0,.14);

  --container: 1140px;

  --hero-height: 560px;   /* Adjust height to taste */
  --nav-height: 80px;     /* Your header height (used to overlap hero) */
}

/* ------------------------------
   Layout Helpers
------------------------------ */

.container{
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section{
  padding: 56px 0;
}

.grid{
  display: grid;
  gap: 24px;
}

/* ------------------------------
   Header / Nav
------------------------------ */

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.site-header .inner{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: .2px;
}

.nav{
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a{
  color: var(--ink-700);
  font-weight: 600;
  letter-spacing: .2px;
}
.nav a:hover{ color: var(--ink-900); }

/* ------------------------------
   Buttons
------------------------------ */

.btn{
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: .2px;
  text-decoration: none;
  transition: all .2s ease;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
}

.btn-primary{
  background: var(--brand-red);
  color: #fff;
}
.btn-primary:hover{
  background: var(--brand-red-dark);
  text-decoration: none;
}

.btn-secondary{
  background: #fff;
  color: var(--brand-red);
  border-color: var(--brand-red);
}
.btn-secondary:hover{
  background: var(--brand-red);
  color: #fff;
  text-decoration: none;
}

/* ------------------------------
   HERO
------------------------------ */

/* HERO */
.hero-banner{
  /* If your file is PNG, change .jpg to .png below */
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.20) 100%),
    url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: 420px;         /* adjust as you like */
  display: grid;
  place-items: center;
  border-radius: 0 0 22px 22px;
}

.hero-overlay{ /* keep if you’re using this wrapper */
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 72px 16px;
}

.hero-text{
  text-align: center;
  color: #111;
}

.hero-text h1{
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 12px 0;
  color: #1b1b1f;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

.hero-text p{
  max-width: 780px;
  margin: 0 auto 20px;
  font-size: clamp(16px, 2.4vw, 18px);
  color: #2d2d33;
}

.hero-buttons{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
/* ------------------------------
   General Sections
------------------------------ */

.lede{
  color: var(--ink-600);
  font-size: 1.05rem;
}

.card{
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.card.elevated{
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

/* About block image/text alignment helpers */
.split{
  display: grid;
  gap: 28px;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
}
.split.reverse{
  grid-template-columns: .95fr 1.05fr;
}

/* ------------------------------
   Reviews (Etsy widget or manual cards)
------------------------------ */

.reviews{
  background: var(--paper-2);
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
}

.review-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review{
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.review .stars{
  color: #ffaa00;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.review .byline{
  color: var(--ink-400);
  font-size: 0.9rem;
  margin-top: 10px;
}

/* ------------------------------
   Footer
------------------------------ */

.site-footer{
  padding: 36px 0 48px;
  color: var(--ink-400);
  text-align: center;
  border-top: 1px solid var(--ink-200);
}

/* ------------------------------
   Utilities
------------------------------ */

.center { text-align: center; }
.m0 { margin: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }

/* ------------------------------
   Responsive
------------------------------ */

@media (max-width: 980px){
  :root{
    --hero-height: 520px;
  }

  .split,
  .split.reverse{
    grid-template-columns: 1fr;
  }

  .review-grid{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px){
  :root{
    --hero-height: 460px;
    --nav-height: 72px;
  }

  .nav{ display: none; } /* Keep it simple for a pure-HTML site; optional */

  .hero-text h1{
    letter-spacing: .1px;
  }

  .hero-buttons{
    gap: 12px;
  }

  .review-grid{
    grid-template-columns: 1fr;
  }
}

/* End of file */
