/* =================================================================
   homepage.css - Homepage styles
   The Rogers Daisy Airgun Museum
   ================================================================= */
/* HERO */
  .hero {
    position: relative;
    height: 92vh;
    min-height: 540px;
    overflow: hidden;
  }
  .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    animation: heroZoom 18s ease-in-out infinite alternate;
  }
  @keyframes heroZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.04); }
  }
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(13,27,42,0.90) 0%, rgba(13,27,42,0.70) 38%, rgba(13,27,42,0.25) 65%, rgba(13,27,42,0.05) 100%);
  }
  .hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 80px 0;
    max-width: 700px;
  }
  .hero-eyebrow {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 18px;
    animation: fadeUp 1s ease 0.2s both;
  }
  .hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.07;
    margin-bottom: 22px;
    animation: fadeUp 1s ease 0.4s both;
  }
  .hero-title em { font-style: italic; color: var(--gold-light); }
  .hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    color: rgba(245,240,232,0.88);
    line-height: 1.65;
    margin-bottom: 36px;
    animation: fadeUp 1s ease 0.6s both;
    max-width: 460px;
  }
  .hero-btns { display: flex; gap: 14px; animation: fadeUp 1s ease 0.8s both; }
  .btn-primary {
    background: var(--gold);
    color: var(--navy);
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 34px;
    border-radius: 2px;
    transition: background 0.2s, transform 0.15s;
    display: inline-block;
  }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
  .btn-outline {
    border: 2px solid rgba(255,255,255,0.55);
    color: #fff;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 13px 32px;
    border-radius: 2px;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
  }
  .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); }
  .hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeUp 1s ease 1.1s both;
  }
  .hero-scroll span {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
  }
  .scroll-line {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
    animation: scrollPulse 2s ease infinite;
  }
  @keyframes scrollPulse {
    0%,100% { opacity: 0.4; }
    50% { opacity: 1; }
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* HOURS STRIP */
  .hours-strip {
    background: var(--gold);
    padding: 12px 40px;
    display: flex;
    justify-content: center;
    gap: 44px;
    align-items: center;
    flex-wrap: wrap;
  }
  .hours-item {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* WELCOME — tightened */
  .welcome-wrap {
    background: var(--cream);
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 48px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: start;
  }
  .section-label {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
  }
  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.7rem, 2.8vw, 2.5rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 14px;
  }
  .section-body {
    font-size: 1.08rem;
    color: var(--text-mid);
    line-height: 1.75;
    max-width: 620px;
  }
  .accent-bar { width: 48px; height: 3px; background: var(--gold); margin: 14px 0 20px; }

  /* STATS: horizontal row under text */
  .welcome-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-top: 32px;
  }
  .stat { background: var(--navy); padding: 20px 16px; text-align: center; }
  .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gold-light);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
  }
  .stat-label {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245,240,232,0.6);
  }

  /* QUOTE box — right column, flush */
  .welcome-quote {
    background: var(--navy);
    padding: 40px 44px;
    position: relative;
    height: 100%;
  }
  .welcome-quote::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 7rem;
    color: var(--gold);
    opacity: 0.2;
    position: absolute;
    top: -8px; left: 24px;
    line-height: 1;
  }
  .welcome-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.22rem;
    font-style: italic;
    line-height: 1.62;
    color: var(--cream);
    position: relative;
    z-index: 1;
  }
  .welcome-quote cite {
    display: block;
    margin-top: 18px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.67rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    font-style: normal;
  }

  /* WELCOME RIGHT COLUMN */
  .welcome-right {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .quote-block {
    background: var(--navy);
    padding: 36px 40px 32px;
  }
  .quote-block::before {
    content: '\201C\201C';
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--gold);
    line-height: 1;
    display: block;
    margin-bottom: 12px;
    letter-spacing: -0.1em;
  }
  .quote-block blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--cream);
    line-height: 1.65;
    margin-bottom: 20px;
  }
  .quote-block cite {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-light);
    font-style: normal;
  }

  /* FEATURE CARDS */
  .features { background: var(--navy); padding: 72px 40px; }
  .features-header { text-align: center; max-width: 560px; margin: 0 auto 48px; }
  .features-header .section-title { color: var(--cream); }
  .features-header .section-body { color: rgba(245,240,232,0.65); margin: 0 auto; }
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    max-width: 1280px;
    margin: 0 auto;
  }
  .card {
    background: var(--navy-light);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    transition: background 0.25s, transform 0.2s;
    text-decoration: none;
    color: inherit;
  }
  .card:hover { background: var(--gold); transform: translateY(-4px); }
  .card:hover .card-title, .card:hover .card-body, .card:hover .card-icon { color: var(--navy); }
  .card:hover .card-link { color: var(--navy); border-bottom-color: var(--navy); }
  .card-icon { font-size: 1.9rem; color: var(--gold-light); margin-bottom: 20px; transition: color 0.25s; }
  .card-title { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; color: var(--cream); margin-bottom: 10px; transition: color 0.25s; }
  .card-body { font-size: 0.96rem; color: rgba(245,240,232,0.58); line-height: 1.62; flex: 1; transition: color 0.25s; }
  .card-link { margin-top: 22px; font-family: 'Josefin Sans', sans-serif; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); border-bottom: 1px solid var(--gold-light); padding-bottom: 3px; align-self: flex-start; transition: color 0.25s, border-color 0.25s; }

  /* FREEDOM GUN */
  .freedom-wrap {
    background: #fff;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 64px;
  }
  .freedom-img {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 48px;
  }
  .freedom-img img {
    width: 100%;
    max-width: 520px;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
  }
  .freedom-text { padding-left: 16px; }
  .freedom-sub {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 1.4vw, 1.22rem);
    font-style: italic;
    color: var(--text-mid);
    margin: -8px 0 18px;
    line-height: 1.5;
  }
  .freedom-sub sup { font-size: 0.65em; vertical-align: super; }
  .btn-freedom {
    display: inline-block;
    margin-top: 28px;
    background: #C8102E;
    color: #fff;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 2px;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-freedom:hover { background: #9e0c24; transform: translateY(-2px); }

  /* VINTAGE HISTORY */
  .vintage-strip { background: var(--navy); display: grid; grid-template-columns: 1fr 1.4fr; min-height: 400px; }
  .vintage-img { overflow: hidden; position: relative; }
  .vintage-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%); opacity: 0.82; transition: transform 0.5s, opacity 0.4s; display: block; }
  .vintage-img:hover img { transform: scale(1.04); opacity: 1; }
  .vintage-text { padding: 64px 72px; display: flex; flex-direction: column; justify-content: center; }
  .vintage-text .section-title { color: var(--cream); }
  .vintage-text .section-body { color: rgba(245,240,232,0.7); }

  /* MASCOT CALLOUT */
  .mascot-callout { background: var(--gold); display: flex; align-items: center; justify-content: center; gap: 52px; padding: 48px; flex-wrap: wrap; }
  .mascot-callout img { height: 150px; width: auto; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.22)); }
  .mascot-text { max-width: 500px; }
  .mascot-text h3 { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
  .mascot-text p { font-size: 1.08rem; color: var(--navy); opacity: 0.78; line-height: 1.7; margin-bottom: 22px; }
  .btn-navy { background: var(--navy); color: var(--cream); font-family: 'Josefin Sans', sans-serif; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; padding: 14px 32px; border-radius: 2px; display: inline-block; transition: background 0.2s, transform 0.15s; }
  .btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); }

  /* EVALUATE */
  .evaluate { background: #C8102E; padding: 64px 40px; text-align: center; }
  .evaluate .section-label { color: rgba(245,240,232,0.6); }
  .evaluate .section-title { color: #fff; margin: 0 auto 14px; max-width: 680px; }
  .evaluate .section-body { color: rgba(255,255,255,0.85); margin: 0 auto 32px; text-align: center; }
  .evaluate .btn-primary { background: #fff; color: #C8102E; }
  .evaluate .btn-primary:hover { background: var(--cream); }

  /* NEWS */
  .news-outer { background: var(--cream); padding: 72px 48px; }
  .news-inner { max-width: 1280px; margin: 0 auto; }
  .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
  .news-card { border-top: 3px solid var(--gold); padding-top: 24px; }
  .news-date { font-family: 'Josefin Sans', sans-serif; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; font-weight: 600; }
  .news-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--navy); line-height: 1.32; margin-bottom: 10px; }
  .news-excerpt { font-size: 0.98rem; color: var(--text-mid); line-height: 1.62; }

  

  @media (max-width: 900px) {
    .freedom-wrap { grid-template-columns: 1fr; padding: 48px 24px; gap: 32px; }
    .freedom-img { padding-right: 0; }
    .freedom-img img { max-width: 90%; }
  }

  @media (max-width: 768px) {
    /* Fix 3: hide gold hours strip */
    .hours-strip { display: none; }
    /* Hero content padding for mobile */
    .hero-content { padding: 0 24px; max-width: 100%; }
    .hero-title { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  }
