/* ====================================================
   GLOBAL
==================================================== */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #fff;
    background: url("mountain-bg.png") center bottom / cover no-repeat fixed;
    overflow-x: hidden;
}

/* ====================================================
   SEASON BACKGROUNDS
==================================================== */
body.winter-mode {
    background: url("winter-bg.png") center bottom / cover no-repeat fixed;
}

body.spring-mode {
    background: url("spring-bg.png") center bottom / cover no-repeat fixed;
}

body.summer-mode {
    background: url("spring-bg.png") center bottom / cover no-repeat fixed;
}

body.fall-mode {
    background: url("mountain-bg.png") center bottom / cover no-repeat fixed;
}

/* ====================================================
   HERO
==================================================== */
.hero-fade {
    padding: 60px 0 12px; /* tightened to remove dead space */
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.35),
        rgba(0,0,0,0)
    );
}

.hero {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 26px;
    border: 4px solid rgba(255,255,255,0.95);
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

.hero h1 {
    margin-top: 22px;
    font-size: 46px;
}

.hero p {
    margin-top: 10px;
    margin-bottom: 6px;
    opacity: 0.9;
}

/* ====================================================
   CHRISTMAS MESSAGE — MATCHES PEOPLE CARDS
==================================================== */
.christmas-message {
    margin: 14px auto 46px; /* pulls card up, removes gap */
    width: 460px;
    max-width: calc(100% - 40px);

    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(7px);
    border-radius: 22px;

    padding: 24px 22px;
    text-align: center;

    position: relative;
    z-index: 2;
}

.christmas-line-1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #fff4df;
    text-shadow: 0 2px 14px rgba(0,0,0,0.75);
}

.christmas-line-2 {
    margin-top: 8px;
    font-size: 16px;
    letter-spacing: 0.12em;
    text-transform: lowercase;
    color: #f0e6d6;
    opacity: 0.95;
    text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}

/* ====================================================
   SECTION SPACING
==================================================== */
#trio {
    margin: 36px 0 28px;
}

/* ====================================================
   CARDS (PEOPLE)
==================================================== */
h2 {
    text-align: center;
    font-size: 32px;
    position: relative;
    z-index: 2;
}

.card-container {
    display: flex;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
    padding: 10px 20px 50px;
    position: relative;
    z-index: 2;
}

.card {
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(7px);
    width: 300px;
    padding: 26px;
    border-radius: 22px;
    text-align: center;
}

/* ====================================================
   SOCIAL LINKS
==================================================== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    color: #fff;
    text-decoration: none;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
    background: rgba(255,255,255,0.35);
    transform: translateY(-2px);
}

/* ====================================================
   FOOTER
==================================================== */
.site-footer {
    text-align: center;
    padding: 40px 0 26px;
    font-size: 14px;
    opacity: 0.85;
    position: relative;
    z-index: 2;
}

/* ====================================================
   PARTICLES — SNOW PRESERVED
==================================================== */
#leaf-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    isolation: isolate;
    z-index: 2147483647;
}

.leaf,
.snowflake,
.petal {
    position: fixed;
    top: -80px;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    animation: particleFall linear infinite;
}

@keyframes particleFall {
    to {
        transform: translate3d(var(--drift, 0px), 120vh, 0) rotate(360deg);
    }
}

/* ====================================================
   SNOWFLAKES
==================================================== */
.snowflake {
    width: 22px;
    height: 22px;
    filter:
        drop-shadow(0 0 10px rgba(255,255,255,1))
        drop-shadow(0 0 24px rgba(255,255,255,0.8));
}

.snowflake.flake1 {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path fill='%23e8f6ff' d='M50 5l6 20 19-6-6 19 20 6-20 6 6 19-19-6-6 20-6-20-19 6 6-19-20-6 20-6-6-19 19 6z'/></svg>");
}

.snowflake.flake2 {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='6' fill='%23ffffff'/><g stroke='%23bfe6ff' stroke-width='6'><line x1='50' y1='5' x2='50' y2='95'/><line x1='5' y1='50' x2='95' y2='50'/><line x1='15' y1='15' x2='85' y2='85'/><line x1='85' y1='15' x2='15' y2='85'/></g></svg>");
}

.snowflake.flake3 {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path fill='%23eef8ff' d='M50 10l8 18 18 8-18 8-8 18-8-18-18-8 18-8z'/></svg>");
}

/* ====================================================
   MOBILE
==================================================== */
@media (max-width: 768px) {
    .hero img {
        width: 240px;
        height: 240px;
    }

    .christmas-message {
        width: 90%;
        padding: 22px 18px;
    }

    .christmas-line-1 {
        font-size: 32px;
    }

    .christmas-line-2 {
        font-size: 14px;
    }

    h2 {
        font-size: 26px;
    }

    .card {
        width: 90%;
    }
}
