/* TAE TRAX — home.css
   Loaded after style.css. Lets the page scroll (style.css locked it to one screen)
   and styles the sections below the hero in the same look: Rubik 900, dark, yellow. */

:root {
    --dark-1: #0d0b0d;
    --dark-2: #161316;
    --dark-3: #221E22;
    --line: rgba(255, 255, 255, .1);
    --muted: rgba(240, 240, 240, .65);
}

/* ── Unlock scrolling; keep the hero to one screen */
body,
html {
    overflow-x: hidden;
    overflow-y: auto;
    background-color: var(--dark-1);
    scroll-behavior: smooth;
}

.container {
    position: relative;   /* overlay, PLAY MUSIC, social icons now sit inside the hero */
    overflow: hidden;     /* the slides that hang off the right edge are clipped here, not by the body */
}

.sci {
    position: absolute;
}

.nav {
    transition: background-color .3s ease-in-out;
}

.nav.scrolled {
    background-color: rgba(13, 11, 13, .92);
    backdrop-filter: blur(6px);
}

.cart,
.cart:visited {
    color: #fff;
    text-decoration: none;
}

.sci a {
    color: inherit;
    text-decoration: none;
}

/* ── Scroll cue replaces the old arrow button */
.scroll-cue {
    z-index: 98;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.scroll-cue i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 26px;
    animation: cue-bob 2s ease-in-out infinite;
}

.scroll-cue:hover i {
    background-color: #fff;
    color: #000;
}

@keyframes cue-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ── Sections */
.sec {
    padding: 100px 80px;
    color: var(--bg-color);
    background-color: var(--dark-1);
    scroll-margin-top: 70px;
}

.sec.alt {
    background-color: var(--dark-2);
}

.sec-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.sec-label {
    color: var(--yellow);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.sec-title {
    font-size: clamp(40px, 7vw, 90px);
    font-weight: 900;
    line-height: .95;
    text-transform: uppercase;
}

.sec-title span,
.y {
    color: var(--yellow);
}

.sec-sub {
    max-width: 640px;
    margin-top: 20px;
    color: var(--muted);
    line-height: 1.7;
}

/* ── Stats strip (numbers come from the db later) */
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background-color: var(--dark-3);
    border-top: 3px solid var(--yellow);
}

.stat {
    padding: 28px 20px;
    text-align: center;
    color: var(--bg-color);
    border-right: 1px solid var(--line);
}

.stat:last-child {
    border-right: none;
}

.stat b {
    display: block;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    color: var(--yellow);
}

.stat span {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}

/* ── Card grids */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 18px;
    margin-top: 50px;
}

.card {
    position: relative;
    padding: 30px 26px;
    background-color: rgba(255, 255, 255, .03);
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: border-color .3s ease-in-out, transform .3s ease-in-out;
}

.card:hover {
    border-color: var(--yellow);
    transform: translateY(-4px);
}

.card i {
    font-size: 34px;
    color: var(--yellow);
}

.card h3 {
    margin: 16px 0 10px;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
}

.card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* What-we-do cards use a photo */
.card.photo {
    padding: 0;
    overflow: hidden;
}

.card.photo .pic {
    height: 200px;
    background-position: top;
    background-size: cover;
}

.card.photo .body {
    padding: 24px 26px 30px;
}

/* ── Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 50px;
}

.step {
    padding: 30px 26px;
    border-top: 3px solid var(--yellow);
    background-color: rgba(255, 255, 255, .03);
}

.step-num {
    font-size: 70px;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--yellow);
}

.step h3 {
    margin: 14px 0 10px;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
}

.step p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 15px;
}

/* ── Explore options (same places index.php links to) */
a.option {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--bg-color);
    text-decoration: none;
}

a.option .go {
    margin-top: auto;
    color: var(--yellow);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ── Buttons, in the hero's pill style */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 34px;
    border: 2px solid #fff;
    border-radius: 30px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .3s ease-in-out, color .3s ease-in-out;
}

.pill:hover {
    background-color: #fff;
    color: #000;
}

.pill.gold {
    background-color: var(--yellow);
    border-color: var(--yellow);
    color: #000;
}

.pill.gold:hover {
    background-color: #fff;
    border-color: #fff;
}

/* ── Call to action */
.cta {
    position: relative;
    padding: 120px 80px;
    text-align: center;
    color: var(--bg-color);
    background-position: center;
    background-size: cover;
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .8);
}

.cta > * {
    position: relative;
}

.cta .sec-title {
    font-size: clamp(34px, 6vw, 72px);
}

.cta p {
    margin: 22px auto 34px;
    max-width: 560px;
    color: var(--muted);
    line-height: 1.7;
}

.cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Footer */
.foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 40px 80px;
    background-color: #000;
    color: var(--muted);
    font-size: 13px;
}

.foot-logo {
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.foot-links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.foot a {
    color: var(--muted);
    text-decoration: none;
}

.foot a:hover {
    color: var(--yellow);
}

/* ── Smaller screens */
@media only screen and (max-width: 900px) {
    .sec,
    .cta {
        padding: 70px 24px;
    }

    .foot {
        padding: 30px 24px;
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .steps {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media only screen and (max-width: 600px) {
    .sec,
    .cta {
        padding: 60px 16px;
    }

    .foot {
        padding: 28px 16px;
    }

    .scroll-cue {
        bottom: 12px;
    }

    .scroll-cue span {
        display: none;
    }
}

/* ── Hero: a little smaller headline (was 150px), bigger images */
.info h1 {
    font-size: 118px;
    line-height: 110px;
}

.col-7 {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.slider {
    width: 86%;
    height: 74%;
    padding: 0;
    margin-top: 50px;
    transform: none;
}

/* ── Loader bar + Play/Next under the front image */
.slide-ui {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 86%;
    margin-top: 18px;
}

.slide-btn {
    flex: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: background-color .3s ease-in-out, color .3s ease-in-out;
}

.slide-btn:hover,
.slide-btn:focus-visible {
    background-color: #fff;
    color: #000;
    outline: none;
}

.slide-bar {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .25);
    overflow: hidden;
}

.slide-bar i {
    display: block;
    height: 100%;
    width: 0;
    background: var(--yellow);
}

.slide-bar i.run {
    animation: slide-load 7s linear forwards;
}

@keyframes slide-load {
    from { width: 0; }
    to { width: 100%; }
}

/* ── Side menu: always fits the screen, scrolls when it can't */
.nav-overlay,
.nav-overlay.active {
    height: calc(100% - 60px);
}

.nav-overlay {
    overflow-y: auto;
    overscroll-behavior: contain;
}

.nav-sec {
    overflow: visible;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.nav-sec__list-and-legal {
    height: auto;
    flex: 1;
    gap: 24px;
    padding-bottom: 24px;
}

.nav-sec__list {
    margin-top: 8px;
}

.nav-sec__item {
    padding: clamp(6px, 1.4vh, 16px) 2rem;
    margin-bottom: clamp(2px, .8vh, 16px);
}

.nav-overlay .nav-sec__item a {
    font-size: clamp(17px, 3vh, 25px);
    white-space: nowrap;
}

html.menu-open,
html.menu-open body {
    overflow: hidden;
}

/* ── Footer rights bodies */
.foot-rights {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.foot-rights span {
    margin-right: 6px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.foot-rights a {
    padding: 4px 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    font-weight: 600;
}

.foot-rights a:hover {
    border-color: var(--yellow);
}

@media only screen and (max-width: 1440px) {
    .info h1 {
        font-size: 104px;
        line-height: 98px;
    }
}

@media only screen and (max-width: 1024px) {
    .info h1 {
        font-size: 84px;
        line-height: 80px;
    }
}

@media only screen and (max-width: 768px) {
    .info h1 {
        font-size: 62px;
        line-height: 60px;
    }
}

@media only screen and (max-width: 600px) {
    .info h1 {
        font-size: 34px;
        line-height: 34px;
    }

    .col-7 {
        align-items: center;
    }

    .slider {
        width: 84%;
        height: 72%;
        margin-top: 70px;
    }

    .slide-ui {
        width: 84%;
        margin-top: 12px;
    }

    .slide-btn {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
}

/* Scroll cue sits under the text column so it never covers Play/Next */
@media only screen and (min-width: 601px) {
    .scroll-cue {
        left: 80px;
        transform: none;
    }
}

/* ── Listen now (home.php) */
.songs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
    gap: 18px;
    margin-top: 40px;
}

.song-art {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, #2a2013, var(--dark-3));
    padding: 0;
}

.song-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease-in-out;
}

.song-art:hover img {
    transform: scale(1.05);
}

.song-code {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 900;
    color: var(--yellow);
}

.song-play {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow);
    color: #000;
    font-size: 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .5);
}

.song-art.on .song-play {
    background: #fff;
}

.song-t {
    margin-top: 12px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-a {
    margin-top: 2px;
    font-size: 13px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-a a {
    text-decoration: none;
}

.song-a a:hover,
.song-m a:hover {
    color: var(--yellow);
}

.song-m {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 6px;
    font-size: 13px;
}

.song-m span {
    color: var(--yellow);
    font-weight: 700;
}

.song-m small {
    color: var(--muted);
    font-weight: 400;
}

.song-m a {
    color: var(--muted);
    text-decoration: none;
}

/* ── Wishlists (home.php) */
.wish {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wish-top {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.wish-av {
    width: 52px;
    height: 52px;
    flex: none;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-3);
    border: 2px solid var(--yellow);
    color: var(--yellow);
    font-weight: 900;
}

.wish-av img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wish-who {
    min-width: 0;
}

.wish-who a {
    display: block;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wish-who a:hover {
    color: var(--yellow);
}

.wish-who span {
    font-size: 12px;
    color: var(--muted);
}

.wish-list {
    list-style: none;
    display: grid;
    gap: 8px;
}

.wish-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    min-width: 0;
}

.wish-ico {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .06);
}

.wish-t {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wish-list b {
    color: var(--yellow);
    white-space: nowrap;
}

.wish-more {
    color: var(--muted);
    font-size: 12px !important;
    padding-left: 40px;
}

.wish-aim {
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(226, 159, 1, .08);
    border: 1px solid rgba(226, 159, 1, .3);
    font-size: 13px;
    line-height: 1.5;
}

.wish-aim-l {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 4px;
}

.wish-aim b {
    color: var(--yellow);
}

.wish-bar {
    height: 4px;
    margin-top: 8px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .12);
    overflow: hidden;
}

.wish-bar i {
    display: block;
    height: 100%;
    background: var(--yellow);
}

.wish-foot {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
}

.wish-foot b {
    color: #fff;
}

.wish-foot a {
    color: var(--yellow);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.empty-note {
    margin-top: 40px;
    padding: 40px 24px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, .2);
    border-radius: 10px;
    color: var(--muted);
}

.empty-note i {
    font-size: 44px;
    color: var(--yellow);
}

.empty-note p {
    max-width: 520px;
    margin: 12px auto 22px;
    line-height: 1.7;
}

.empty-note b {
    color: #fff;
}
