/* -------------------------------------------------------------
   Tropical Dark Theme (clean rebuild, no duplicates)
------------------------------------------------------------- */

/* Global */
/* -------------------------------------------------
   Starfield Background - Kauai Celestial Drift
   ------------------------------------------------- */

/* Page base */
body {
    background-color: #070f1a;
    position: relative;
}

/* Base sky layer */
#sky {
    position: fixed;
    inset: 0;
    background-image: url("/img/starfield-hawaii.svg");
    background-repeat: repeat;
    background-size: 1024px 1024px;
    z-index: -2;

    /* Slow celestial drift */
    animation: star-drift 360s linear infinite alternate;
    will-change: background-position;
}

/* Parallax layer (deeper stars) */
#sky::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/img/starfield-hawaii.svg");
    background-repeat: repeat;
    background-size: 1024px 1024px;
    opacity: 0.25;

    /* Slower counter-drift */
    animation: star-drift-slow 720s linear infinite alternate;
}

/* Keyframes - long arc, rare reversal */
@keyframes star-drift {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -768px 768px;
    }
}

@keyframes star-drift-slow {
    from {
        background-position: 384px -384px;
    }
    to {
        background-position: -384px 384px;
    }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    #sky,
    #sky::before {
        animation: none;
    }
}




/* Accent colors */
:root {
    --aqua-strong: #8fffe0;
    --aqua-medium: #7fffe9;
    --aqua-soft: #b3ffe6;
    --coral: #ff6f5e;
    --coral-soft: #ffb3a8;
}

/* Headings */
h1, h2, h3 {
    margin-top: 30px;
    font-weight: 600;
}

/* Coral title */
h1 {
    color: var(--coral);
    font-size: 2.4rem;
    letter-spacing: 1px;
    text-shadow: 0 0 12px rgba(255, 111, 94, 0.35);
}

/* Section heading with coral underline */
h2 {
    color: var(--coral-soft);
    font-size: 1.9rem;
    position: relative;
    padding-bottom: 6px;
}

h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 2px;
    background: var(--coral);
    opacity: 0.6;
    border-radius: 2px;
}

/* Subcategory headings (your h3 subheads) */
h3 {
    font-size: 1.4rem;
    color: var(--aqua-medium);
}

/* Explicit class for your generated subheads */
.subhead {
    margin-left: 20px;
    color: var(--aqua-strong);
    font-weight: 600;
}

/* Sub-lists */
.sublist {
    margin-left: 40px;
}

/* Text */
p, li {
    color: #d9fff5;
}

ul {
    list-style-type: disc;
    padding-left: 25px;
}

/* Accent bullets */
ul li::marker {
    color: var(--coral-soft);
}

/* Links */
a, a:visited {
    color: #70ffd1;
    font-weight: 500;
    text-decoration: none;
}

a:hover {
    color: var(--coral);
    text-shadow: 0 0 6px rgba(255, 111, 94, 0.25);
    text-decoration: underline;
}

/* Tag styling */
.tags {
    color: var(--aqua-strong);
    opacity: 0.7;
}

.tags:hover {
    color: var(--coral);
    opacity: 1;
}

/* -------------------------------------------------------------
   Column Styling (no layout changes, only visuals)
------------------------------------------------------------- */

#left-col,
#right-col {
    backdrop-filter: blur(3px);
    color: #d9fff5;
}

/* Tropical left column */
#left-col {
    position: relative;
    background: linear-gradient(
        90deg,
        rgba(0, 40, 40, 0.55),
        rgba(0, 40, 40, 0.45)
    );
    border-right: 2px solid rgba(255, 111, 94, 0.15);
}

/* Soft bottom fade */
#left-col::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.4) 100%
    );
    pointer-events: none;
}

/* Right column subtle border */
#right-col {
    border-left: 2px solid rgba(255, 111, 94, 0.12);
}

/* -------------------------------------------------------------
   Slideshow visual enhancement only
------------------------------------------------------------- */

#slideshow {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 255, 170, 0.2);
}

#slideshow img {
    width: 100%;
    display: block;
    border-radius: 12px;
}
