/* ================================================================
   Landing-page redesign (2026-05-06)
   - Widens layout to 1200px max
   - Switches red header from background-image to flat #510a0a so it
     stretches edge-to-edge of the wider container
   - Pins logo far left, sets a comfy ~110px header height
   - Right side of header: LOGIN/REGISTER buttons sit to the LEFT of
     the address block (per user request)
   - Defines .tile-grid (category tiles) + .cta-row (bottom buttons)

   This file is linked from index.html only. Other pages keep their
   existing 960px layout for now.
   ================================================================ */

/* ---------- Full-width red strip / centered header content ---------- */

#wrapper, #header-wrapper, #main-wrapper { width: 100%; }

/* Header spans the full width of the red ribbon. Inset is done via
   horizontal padding so logo + tagline below it line up at the same
   left edge (~160px from the page edge). */
#header {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

#main,
#main-inner,
#main-menu,
#footer-inner,
#copyright {
  width: auto !important;
  max-width: 1400px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Slideshow: keep its native ~940px size but force-center it inside the wider
   container. The original /core.css has #homepage .slideshow-wrapper rules
   (specificity 0,1,1) that beat any single-id selector — we use a chained
   id+class selector (0,2,0) plus !important to win cleanly. */
#homepage-slideshow.slideshow-wrapper {
  margin: 0 auto 20px auto !important;
  max-width: 940px;
  width: 100%;
}
/* Hide the legacy 960px-sprite chrome (top/middle/bottom borders) — they're
   slices of an old sprite that misaligns at the new width. The slides
   themselves are the visible content. */
#homepage-slideshow .slideshow-top,
#homepage-slideshow .slideshow-middle,
#homepage-slideshow .slideshow-bottom {
  background-image: none !important;
  background-color: transparent !important;
}
#homepage-slideshow .slideshow-middle { padding: 0 !important; }
#homepage-slideshow .slideshow-top { display: none !important; }
#homepage-slideshow .slideshow,
#homepage-slideshow .slideshow .slide {
  width: 940px !important;
  margin: 0 auto;
}
#homepage-slideshow .slide img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ---------- Red strip — restored gradient that mimics the original sprite -----
   The legacy /layout/css/skin/vert-red.css paints the body and #wrapper red;
   we override that with !important so only #header-wrapper shows the red. */

body { background: #fff !important; }
#wrapper { background: none !important; }
#header-wrapper {
  background: #6b0e0e;
  background-image: linear-gradient(180deg, #7a1414 0%, #611010 55%, #4a0808 100%);
}

/* ---------- Header layout: logo left | login/address right ---------- */

#header {
  background: transparent;
  padding: 0 160px;         /* logo 160px in from left, address 160px in from right */
  min-height: 170px;        /* taller red ribbon */
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

#header-left {
  display: flex;
  align-items: center;
  padding: 14px 0;
}
#logo {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block;
}
#logo img {
  display: block;
  height: 130px;
  width: auto;
}

/* Tagline sits inline on the main page below the ribbon — no separate
   ribbon look (no border, no contrasting background). Same horizontal
   inset (160px) as the logo above it so they share the same left edge. */
#header-tagline-strip {
  background: transparent;
  border: none;
  padding: 14px 160px 4px 160px;
  text-align: left;
  max-width: none;
  margin: 0;
}
.header-tagline {
  font-family: 'Bodoni Moda', Didot, 'Times New Roman', serif;
  font-size: 22px;
  font-style: italic;
  color: #555;
  letter-spacing: 0.6px;
}

/* Right cluster: stacked LOGIN/REGISTER pillar + address. */
#header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* LOGIN above REGISTER (vertical stack). */
#header-cta {
  clear: none !important;
  padding: 0 !important;
  margin: 0;
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  min-width: 130px;
}
#header-cta a {
  margin: 0 !important;       /* drop the inline margin-right that pushed Login next to Register */
  text-align: center;
}

/* Address block — bigger type, kept on the right. */
.social-icons {
  position: static !important;
  top: auto !important;
  right: auto !important;
  padding: 12px 0 !important;
  height: auto !important;
  text-align: right;
}
.social-icons ul { color: #fff; margin: 0; padding: 0; list-style: none; }
.social-icons ul li {
  color: #fff;
  line-height: 1.45;
  font-size: 16px;
  display: block;
  vertical-align: middle;
}
.social-icons .divider {
  display: block;
  height: 1px;
  background: rgba(255,255,255,0.4);
  margin: 6px 0;
}

/* ---------- Value props (replaces the old centered tagline) ---------- */

.value-props {
  text-align: center;
  padding: 50px 30px 30px 30px;
  max-width: 1500px;        /* widened so 4 bullets fit in 1 row */
  margin: 0 auto;
}
.value-props h2 {
  font-family: 'Bodoni Moda', Didot, 'Times New Roman', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 65px;          /* +20% from 54px per user request */
  color: #510a0a;
  margin: 0 0 28px 0;
  letter-spacing: 0.5px;
  line-height: 1.15;
}
.value-props ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;        /* force all bullets onto one line on desktop */
  justify-content: center;
  gap: 10px 44px;
}
.value-props ul li {
  font-family: 'Bodoni Moda', Didot, 'Times New Roman', serif;
  font-size: 22px;
  font-weight: 400;
  color: #333;
  letter-spacing: 0.3px;
  position: relative;
  padding-left: 22px;
}
.value-props ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  background: #b30000;
  border-radius: 50%;
  transform: translateY(-50%);
}

/* ---------- Category tile grid ---------- */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 80px;
  padding: 40px 60px 70px 60px;
  max-width: 1500px;
  margin: 0 auto;
}
.tile-grid a.tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;                 /* matches the 500x500 frame photos exactly */
  background-color: transparent;
  background-position: center center;
  background-size: cover;              /* tile == image, so cover shows full image w/ no whitespace */
  background-repeat: no-repeat;
  color: #fff !important;
  text-decoration: none;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  border: none;
}
.tile-grid a.tile:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.tile-grid a.tile span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  font-family: 'Bodoni Moda', Didot, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
}

@media (max-width: 1280px) {
  #header { padding: 0 60px; }
  #header-tagline-strip { padding: 14px 60px 4px 60px; }
}
@media (max-width: 1100px) {
  /* Bullets wrap when there isn't enough room for all 4 in a row. */
  .value-props ul { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; padding: 30px 30px 50px 30px; }
  #header { flex-wrap: wrap; padding: 0 30px; min-height: 0; }
  #header-tagline-strip { padding: 12px 30px 4px 30px; }
  #logo img { height: 72px; }
  .value-props h2 { font-size: 44px; }
  .value-props ul li { font-size: 18px; }
}
@media (max-width: 560px) {
  .tile-grid { grid-template-columns: 1fr; gap: 24px; }
  .scriptFont { font-size: 38px !important; }
  #header-right { flex-direction: column; align-items: flex-end; gap: 8px; }
  .value-props h2 { font-size: 30px; }
}

/* ---------- Bottom CTA row ---------- */

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 32px 30px;
  max-width: 1140px;
  margin: 0 auto;
}
.cta-row a {
  display: inline-block;
  padding: 12px 28px;
  min-width: 160px;
  text-align: center;
  background: #510a0a;
  color: #fff !important;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: background 0.15s ease;
}
.cta-row a:hover { background: #820707; }

/* ---------- Contact form heading ---------- */

#contact-form {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

/* Hide the (commented) main-menu fully — the menu is unused on the landing. */
#main-menu, #main-top { display: none !important; }

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

/* Hide the legacy decorative sprite chrome (gray bars) above + below #footer
   and below #main. They were 960px-wide sprites that don't tile well at 1400px. */
#main-bottom,
#footer-top,
#footer-bottom {
  display: none !important;
}

/* Clean off the ridged sprite background on #footer itself, replace with a
   subtle warm-paper neutral. */
#footer {
  background: #f7f3ed !important;
  border-top: 1px solid #e3dccd;
}
#footer-inner {
  background: none !important;
  padding: 30px 40px !important;
  text-align: center;
}
.footer-clean p {
  font-family: 'Bodoni Moda', Didot, 'Times New Roman', serif;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}
.footer-clean a {
  color: #510a0a;
  text-decoration: none;
  border-bottom: 1px solid rgba(81, 10, 10, 0.25);
}
.footer-clean a:hover { color: #820707; border-bottom-color: #820707; }

/* Copyright row: clean type, no sprite chrome. */
#copyright {
  background: #fff !important;
  padding: 16px 40px !important;
  font-size: 12px;
  border-top: 1px solid #eee;
}
#copyright p,
#copyright .menu a {
  font-family: 'Bodoni Moda', Didot, 'Times New Roman', serif;
  color: #777;
}
#copyright .menu a:hover { color: #510a0a; }
#copyright .alignleft p { margin: 0; }
#copyright .menu li { margin-left: 14px; }

/* ---------- Email-icon overlap fix (sitewide-safe) ----------
   The original .email-light <a> uses text-indent: -9999px to hide the "Email"
   label and show only the icon. Some pages had the text leaking through; this
   selector locks the icon-only behavior in. */
#header .social-icons .email-light,
#header .social-icons .email-dark {
  display: inline-block !important;
  text-indent: -9999px !important;
  width: 39px !important;
  height: 38px !important;
  vertical-align: middle;
}

/* Hide the duplicate <h2 id="register"> + scroll anchor that linger from
   pre-redesign HTML, just in case. */
#register, #contact-form { scroll-margin-top: 130px; }
