/* ======================================================
   TrioState Memorial – style.css
   ====================================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #fffafa;
    font-family: "Nunito Sans", serif;
    font-weight: 400;
    font-style: normal;
}

html, body {
    position: relative;
    scroll-behavior: smooth;
    background-color: rgb(24, 24, 27);
    width: 100%;
    height: 100%;
}

body * { user-select: none; }

a {
    text-decoration: none;
    color: rgb(255, 103, 91);
    transition: color 0.3s;
}
a:hover { color: rgb(200, 20, 5); cursor: pointer; }

::selection { background-color: rgb(255, 103, 91); color: #fff; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 8px; background: transparent; }
::-webkit-scrollbar-track { background: transparent; border-radius: 10px; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(70,70,70,.3), rgba(80,80,80,.28), rgba(45,45,45,.55), rgba(255,103,91,.25));
    backdrop-filter: blur(25px);
    border-radius: 10px;
    border: 1.5px solid rgba(138,138,138,.4);
    background-clip: content-box;
}

/* ---- Background ---- */
.bg-image {
    filter: blur(10px) brightness(0.7);
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1;
    object-fit: cover;
    object-position: center;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* ---- Navigation ---- */
nav {
    display: flex;
    align-items: center;
    padding: 0 30px;
    height: 90px;
    background-color: rgba(24, 24, 27, 0.5);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 10000;
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: default;
    text-decoration: none;
}

.nav-logo img { width: 55px; height: 55px; }

.nav-brandname {
    font-family: "Oxanium", serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: rgb(200, 20, 5);
    letter-spacing: .05em;
}

.nav-badge {
    margin-left: auto;
    padding: 6px 16px;
    background-color: rgba(108, 18, 11, 0.6);
    border: 1px solid rgba(200, 20, 5, 0.4);
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 600;
    color: rgb(255, 103, 91);
    letter-spacing: .03em;
}

/* ---- Content wrapper ---- */
.content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

/* ================================================================
   HERO
   ================================================================ */

@keyframes pulse_glow {
    0%   { text-shadow: 0 0 30px rgba(108,18,11,.9), 0 0 60px rgba(108,18,11,.4); }
    50%  { text-shadow: 0 0 60px rgba(200,20,5,1),   0 0 120px rgba(200,20,5,.5); }
    100% { text-shadow: 0 0 30px rgba(108,18,11,.9), 0 0 60px rgba(108,18,11,.4); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollLine {
    0%   { transform: translateY(-100%); opacity: 1; }
    80%  { opacity: 1; }
    100% { transform: translateY(200%); opacity: 0; }
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* Radial vignette */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,.55) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Bottom fade – merges directly into the memorial section, no visible seam */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    background: linear-gradient(to bottom, transparent, rgb(24, 18, 28));
    pointer-events: none;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    width: 70vw;
    max-width: 900px;
    height: 40vh;
    background: radial-gradient(ellipse at center, rgba(200,20,5,.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-eyebrow {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: clamp(.65rem, 1.2vw, .78rem);
    font-weight: 700;
    letter-spacing: .45em;
    text-transform: uppercase;
    color: rgb(255, 103, 91);
    margin-bottom: 22px;
    opacity: 0;
    animation: fadeInUp .9s ease forwards .1s;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: clamp(30px, 5vw, 60px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgb(255,103,91));
    opacity: .7;
}
.hero-eyebrow::after {
    content: '';
    display: block;
    width: clamp(30px, 5vw, 60px);
    height: 1px;
    background: linear-gradient(270deg, transparent, rgb(255,103,91));
    opacity: .7;
}

.hero-brandname {
    position: relative;
    z-index: 1;
    font-family: "Oxanium", serif;
    font-weight: 800;
    color: rgb(200, 20, 5);
    animation: pulse_glow 3s ease-in-out infinite, fadeInUp .9s ease forwards .3s;
    line-height: 1;
    opacity: 0;
}

.hero-brandname .big   { font-size: clamp(5rem, 13.5vw, 13rem); }
.hero-brandname .small { font-size: clamp(4rem, 10.5vw, 10.5rem); }

.hero-divider {
    position: relative;
    z-index: 1;
    width: clamp(80px, 12vw, 160px);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgb(200,20,5), transparent);
    box-shadow: 0 0 14px rgba(200,20,5,.8);
    margin: 28px auto 24px;
    opacity: 0;
    animation: fadeInUp .9s ease forwards .5s;
}

.hero-slogan {
    position: relative;
    z-index: 1;
    color: rgb(188, 188, 192);
    font-size: clamp(.95rem, 2.1vw, 1.55rem);
    font-weight: 500;
    font-family: "Oxanium", serif;
    letter-spacing: .04em;
    opacity: 0;
    animation: fadeInUp .9s ease forwards .65s;
}

.hero-years {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    padding: 7px 24px;
    border: 1px solid rgba(127,127,133,.35);
    border-radius: 30px;
    background: rgba(24,24,27,.35);
    backdrop-filter: blur(8px);
    color: rgb(127, 127, 133);
    font-size: clamp(.8rem, 1.4vw, 1rem);
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp .9s ease forwards .85s;
}

/* z-index: 3 keeps the scroll indicator above the ::after bottom fade */
.hero-scroll {
    position: absolute;
    bottom: 38px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeInUp .9s ease forwards 1.2s;
}

.hero-scroll-label {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: rgb(127, 127, 133);
}

.hero-scroll-line {
    width: 1px;
    height: 54px;
    background: rgba(127,127,133,.25);
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, rgb(255,103,91), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

/* ================================================================
   MEMORIAL SECTION
   ================================================================ */

.memorial {
    background-color: rgb(24, 18, 28);
    padding: 60px 20px 80px;
}

.memorial-inner {
    max-width: 820px;
    margin: 0 auto;
}

.memorial-eyebrow {
    font-family: "Courgette", sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    text-align: center;
    text-shadow: 0 0 4px #fff;
    margin-bottom: 40px;
}

.memorial-text {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.85;
    color: rgb(188, 188, 192);
    user-select: text;
}

.memorial-text p            { color: rgb(188, 188, 192); margin-bottom: 1.4rem; }
.memorial-text p:last-child { margin-bottom: 0; }
.memorial-text strong       { color: #fffafa; font-weight: 700; }

.memorial-gta6 {
    color: rgb(255, 103, 91) !important;
    font-style: italic;
    margin-top: 2rem !important;
    font-size: 1rem !important;
    opacity: .85;
}

.memorial-signature {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(62,62,68,.6);
    font-family: "Courgette", sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: rgb(174, 174, 178);
    text-align: right;
}

/* ================================================================
   FOOTER
   ================================================================ */

.footer-gradient {
    background: linear-gradient(180deg, transparent, rgb(24,24,27));
    background-color: rgb(24, 18, 28);
    width: 100%;
    height: 100px;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px 24px;
    background-color: rgb(24, 24, 27);
    width: 100%;
    position: relative;
    z-index: 10;
}

.footer-branding { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-branding img { width: 60px; height: 60px; }
.footer-brandname { font-family: "Oxanium", serif; font-weight: 800; font-size: 1.4rem; }

.footer-divider-line {
    width: 40%;
    max-width: 300px;
    height: 1px;
    background-color: rgb(62,62,68);
    margin: 16px 0;
}

.footer-links       { display: flex; gap: 20px; margin-bottom: 12px; }
.footer-links a     { font-size: .9rem; color: rgb(127,127,133); transition: color .3s; }
.footer-links a:hover { color: rgb(255,103,91); }
.footer-copyright   { font-size: .9rem; opacity: .4; text-align: center; }

/* ================================================================
   IMPRINT PAGE
   ================================================================ */

.page-wrapper {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.imprint-main {
    flex: 1;
    padding: 130px 20px 80px;
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
}

.imprint-header {
    font-family: "Oxanium", serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: rgb(200, 20, 5);
    letter-spacing: .05em;
    margin-bottom: 10px;
}

.imprint-subheader { font-size: 1rem; color: rgb(127, 127, 133); margin-bottom: 50px; }

.imprint-card {
    background: linear-gradient(135deg, rgba(34,34,37,.7), rgba(24,18,28,.85));
    border: 1px solid rgb(62,62,68);
    border-radius: 16px;
    padding: 40px 44px;
    backdrop-filter: blur(20px);
}

.imprint-section           { margin-bottom: 36px; }
.imprint-section:last-child { margin-bottom: 0; }

.imprint-section-title {
    font-family: "Courgette", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: rgb(255, 103, 91);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgb(62,62,68);
}

.imprint-section-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgb(174, 174, 178);
    user-select: text;
}

.imprint-section-text strong { color: #fffafa; font-weight: 700; }
.imprint-section-text a      { color: rgb(255, 103, 91); }

.page-wrapper footer          { padding: 40px 20px 24px; }
.page-wrapper .footer-branding img { width: 50px; height: 50px; }
.page-wrapper .footer-brandname    { font-size: 1.2rem; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 576px) {
    nav                { height: 70px; padding: 0 18px; }
    .nav-logo img      { width: 42px; height: 42px; }
    .nav-brandname     { font-size: 1.2rem; }
    .hero-eyebrow      { gap: 10px; }
    .memorial          { padding: 40px 16px 60px; }
    .imprint-card      { padding: 28px 20px; }
    .imprint-main      { padding-top: 100px; }
}
