/* RedTulip v2 — Overrides & Additions
   Everything else (page transitions, gradient canvas, loading screen,
   spinner, etc.) comes from v1's style.css.
   This file loads LAST to patch font paths and add v2-only utilities. */


/* ─────────────────────────────────────────────────────
   FONT FACES — v2 path override
   v1's style.css declares these with url('fonts/...') relative to css/.
   The fonts also exist at assets/fonts/ for the playground.
   ───────────────────────────────────────────────────── */

@font-face {
    font-family: 'soehne-buch';
    src: url('../fonts/soehne-buch.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'soehne-halbfett';
    src: url('../fonts/soehne-halbfett.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'soehne-fett';
    src: url('../fonts/soehne-fett.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'soehne-mono';
    src: url('../fonts/soehne-mono-buch.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


/* ─────────────────────────────────────────────────────
   GRADIENT UTILITIES (v2 additions)
   ───────────────────────────────────────────────────── */

.bg-gradient-primary {
    background: linear-gradient(10deg, #1D4E91 0%, #2c75de 100%);
}

.bg-gradient-brand {
    background: linear-gradient(10deg, #b22d5a 0%, #eb5d8f 100%);
}

.bg-gradient-keeper {
    background: linear-gradient(10deg, #6b38d7 0%, #916df6 100%);
}


/* ─────────────────────────────────────────────────────
   UTILITY — Scrollbar hide (horizontal scroll sections)
   ───────────────────────────────────────────────────── */

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}



/* ─────────────────────────────────────────────────────
   HOME PAGE STYLES
   ───────────────────────────────────────────────────── */

.home-sections {
    min-height: calc(100vh - 4.125rem - 5rem);
}
.home-section-1 {
    position: relative;
}
.home-section-1-content {
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.home-section-1-scroll-to-explore {
    position: absolute;
    bottom: calc(5.5rem + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    animation: home-section-1-scroll-to-explore-bounce 2s infinite;
    transition: opacity 400ms cubic-bezier(0.77, 0, 0, 1);
}
.home-section-1-scroll-to-explore.inactive {
    opacity: 0;
    animation: none;
    pointer-events: none;
}
@keyframes home-section-1-scroll-to-explore-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    40% { transform: translateX(-50%) translateY(-10px); opacity: 0.25; }
    60% { transform: translateX(-50%) translateY(-5px); opacity: 0.75; }
}


.home-section-2-bg {
    background: linear-gradient(10deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,.7) 100%) !important;
    backdrop-filter: saturate(180%) blur(20px);
}
.explore-title-container h2 {
    font-size: 3.6rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    color: white;
}

.home-section-2 .exploreItem {
    width: calc(50% - 1rem);
    min-height: 5rem;
    background-color: rgba(255, 255, 255, .2);
    outline: 4px solid rgba(255, 255, 255, .5);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow-cont-small);
    transition: all 800ms cubic-bezier(0.77, 0, 0, 1);
    position: relative;
    overflow: hidden;
    float: left;
    margin-right: 2rem;
    backdrop-filter: saturate(180%) blur(20px);
}

.home-section-2 .exploreItem.even {
    transform: rotate(-2deg);
}

.home-section-2 .exploreItem.odd {
    transform: translateY(20%) rotate(2deg);
    margin-right: 0;
}

.home-section-2 .exploreItem>div:nth-child(1) {
    background: center center;
    background-size: cover;
    width: 100%;
    aspect-ratio: 1 / 1.2;
}

.home-section-2 .exploreItem>div:nth-child(2) {
    background: transparent;
    bottom: .75rem;
    position: absolute;
    left: 0;
    right: 0;
    padding: 2rem .5rem .5rem .5rem;
    align-self: center;
}

.home-section-2 .exploreItem>div:nth-child(3) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -75%);
    font-size: 4rem;
}

.home-section-2 #Search-BTN {
    background: linear-gradient(-20deg, var(--brand-color-dk) 0%, var(--brand-color) 100%);
    outline-color: var(--brand-color-lt);
}

.home-section-2 #Swipe-BTN {
    background: linear-gradient(-20deg, var(--primary-color-dk) 0%, var(--primary-color) 100%);
    outline-color: var(--primary-color-lt);
}

.home-section-2 #Nearby-BTN {
    background: linear-gradient(-20deg, var(--accent-color-dk) 0%, var(--accent-color) 100%);
    outline-color: var(--accent-color-lt);
}

.home-section-2 #Live-BTN {
    background: linear-gradient(-20deg, var(--warn-color-dk) 0%, var(--warn-color) 100%);
    outline-color: var(--warn-color-lt);
}

.home-section-3 {}

/* Horizontal-scroll snap — modifier classes for .rbox / .row */
.rbox-hscroll {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.rbox-hscroll::-webkit-scrollbar {
    display: none;
}
.row-hscroll {
    flex-wrap: nowrap;
}
.row-hscroll > .col-12 {
    flex: 0 0 100%;
    scroll-snap-align: center;
    margin-right: 1rem;
}
.hscroll-dots {
    display: flex;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 0;
    margin-top: -2rem;
}
.hscroll-dots .dot {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: rgba(0,0,0,.15);
    transition: background 300ms ease, transform 300ms ease;
    z-index: 1;
}
.hscroll-dots .dot.active {
    background: var(--brand-color);
    transform: scale(1.25);
}

.home-section-4 {
    min-height: auto;
}

.home-section-3-bg,
.home-section-5-bg {
    background: linear-gradient(10deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,.7) 100%) !important;
    backdrop-filter: saturate(180%) blur(20px);
}