/* 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;
}


/* ─────────────────────────────────────────────────────
   BOLD FONT SWAP — Bootstrap sets `font-weight: bolder`
   on <b>/<strong>, but soehne-buch has no bold weight.
   Swap to soehne-halbfett for true bold rendering.
   ───────────────────────────────────────────────────── */

b, strong {
    font-family: 'soehne-halbfett', sans-serif;
    font-weight: normal;
}


/* ─────────────────────────────────────────────────────
   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 {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

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

.form-control.no-border {
    border: none;
}

#content-main {
    min-height: calc(100vh - 4.125rem);
}

.dropdown-menu {
    text-transform: capitalize;
}


/* ─────────────────────────────────────────────────────
   DISCOVERY MODE STYLES
   ───────────────────────────────────────────────────── */

.discovery-mode-title {
    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;
}

.discovery-mode-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
}
.discovery-mode-item {
    height: 2rem;
    border-radius: .5rem;
    border: 2px solid white;
    flex: 1;
    text-align: center;
    background: transparent;
    line-height: 1;
    color:white;
    transition: all 400ms ease-out;
    cursor: pointer;
    align-content: center;
}
.discovery-mode-item .dm-label {
    display: block;
    font-family: 'soehne-fett', sans-serif;
    text-transform: uppercase;
    font-size: .7rem;
    letter-spacing: 0.2rem;
}
.discovery-mode-item .dm-subtitle {
    display: block;
    font-family: 'soehne-buch', sans-serif;
    font-size: .6rem;
    letter-spacing: 0.05rem;
    opacity: 0.7;
    margin-top: .15rem;
}

.discovery-mode-item.dm-experiences {
    border-top-right-radius:0;
    border-bottom-right-radius:0;
    border-right-width: 1px;
}
.discovery-mode-item.dm-services {
    border-top-left-radius:0;
    border-bottom-left-radius:0;
    border-left-width: 1px;
}
.discovery-mode-item.dm-experiences.dm-active {
    background-color:white;
    color: var(--primary-color);
    box-shadow: inset 0 0 1rem rgba(44, 117, 222, 0.25);
}
.discovery-mode-item.dm-services.dm-active {
    background-color:white;
    color: var(--warn-color);
    box-shadow: inset 0 0 1rem rgba(145, 109, 246, 0.25);
}
@media (hover: hover) {
    .discovery-mode-item.dm-experiences:hover {
        background-color:white;
        color: var(--primary-color);
        box-shadow: inset 0 0 1rem rgba(44, 117, 222, 0.25);
    }
    .discovery-mode-item.dm-services:hover {
        background-color:white;
        color: var(--warn-color);
        box-shadow: inset 0 0 1rem rgba(145, 109, 246, 0.25);
    }
}

/* Discovery mode — hero text visibility (outside stage) */
.dm-hero { display: none; }
.dm-hero.dm-visible { display: block; }

/* Discovery mode — hero stage (grid stacking, no height management needed) */
.dm-hero-stage {
    display: grid;
    width: 100%;
    overflow: visible;
    align-items: start;
}
/* All heroes overlap in the same grid cell */
.dm-hero-stage > .dm-hero {
    grid-area: 1 / 1;
    visibility: hidden;
    pointer-events: none;
    display: block;
}
.dm-hero-stage > .dm-hero.dm-explainer {
    display: flex;
}
.dm-hero-stage > .dm-hero.dm-visible {
    visibility: visible;
    pointer-events: auto;
}

/* Discovery mode — category visibility */
.dm-cat { display: none; }
.dm-cat.dm-visible { display: flex; }

/* Discovery mode — tile visibility */
.dm-tile { display: none; }
.dm-tile.dm-visible { display: block; }

/* Discovery mode — explainer cards (unset state) */
.dm-explainer {
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    padding: 0;
}
.dm-explainer-card-container {
    flex: 1;
}
.dm-explainer-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: saturate(180%) blur(20px) brightness(0.35);
    border-radius: .75rem;
    padding: 3rem .5rem .5rem .5rem;
    color: white;
    cursor: pointer;
    transition: all 400ms cubic-bezier(0.77, 0, 0, 1);
    text-align: center;
    /* aspect-ratio: 1 / 1.2; */
    margin-top: -2rem;
}
.dm-explainer-experiences {
    transform: rotate(-2deg);
}
.dm-explainer-services {
    transform: rotate(2deg);
}
.dm-explainer-card:active {
    transform: scale(0.97);
}
.dm-explainer-card .dm-explainer-icon {
    font-size: 2rem;
    margin-bottom: .75rem;
    opacity: 0.8;
}
.dm-explainer-card h3 {
    font-family: 'soehne-fett', sans-serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: .5rem;
}
.dm-exploreItem .dm-explainer-headline {
    font-family: 'soehne-halbfett', sans-serif;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.3;
    margin-bottom: .5rem;
}
.dm-exploreItem .dm-explainer-headline span {
    color: white;
    display: block;
}
.dm-explainer-card .dm-explainer-desc {
    font-size: .75rem;
    line-height: 1.4;
    margin-bottom: .75rem;
}
.dm-explainer-card .dm-explainer-cta {
    display: inline-block;
    font-family: 'soehne-halbfett', sans-serif;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: opacity 300ms ease;
}

.dm-exploreItem {
    width: calc(100% - 1rem);
    min-height: 5rem;
    background-color: rgba(255, 255, 255, .2);
    outline: 4px solid rgba(255, 255, 255, .5);
    border-radius: 10px;
    box-shadow: var(--box-shadow-cont-small);
    transition: all 800ms cubic-bezier(0.77, 0, 0, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: saturate(180%) blur(20px);
    background: center center;
    background-size: cover;
    aspect-ratio: 1 / 1.2;
    align-content: center;
    padding: 0 1rem;
}

.dm-exploreItem>div:nth-child(1) {
    display: flex;
    flex-direction: column;
    align-self: center;
    text-align: center;
    justify-content: center;
    i {
        font-size: 4rem;
        margin: 1rem 0;
        align-self: center;
    }
}

#Routes-Tile {
    background: linear-gradient(-20deg, var(--primary-color-dk) 0%, var(--primary-color) 100%);
    outline-color: var(--primary-color-lt);
    transform: rotate(-2deg);
    margin-left: .75rem;
    z-index:10;
}
#Roots-Tile {
    background: linear-gradient(-20deg, var(--warn-color-dk) 0%, var(--warn-color) 100%);
    outline-color: var(--warn-color-lt);
    transform: rotate(2deg);
    margin-left: .25rem;
    z-index:10;
}
/* ─────────────────────────────────────────────────────
   HOME PAGE STYLES
   ───────────────────────────────────────────────────── */

.home-sections {
    min-height: calc(100vh - 4.125rem - 5rem);
}
.home-section-1 {
    position: relative;
}
.home-section-1-content {
    min-height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}
.home-section-1-scroll-to-explore {
    position: absolute;
    bottom: 1rem;
    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);
}


/* 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); */
    background: transparent;
}


/* ─────────────────────────────────────────────────────
   CARDS PAGE — Services Category Panel
   ───────────────────────────────────────────────────── */

.services-category-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background:rgba(0, 0, 10, .65);
    backdrop-filter: blur(5px);
    animation: scp-fade-in 400ms cubic-bezier(0.77, 0, 0, 1) both;
}

@keyframes scp-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.scp-inner {
    width: 100%;
    max-width: 360px;
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    padding: 1.5rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: saturate(180%) blur(20px);
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scp-inner::-webkit-scrollbar {
    display: none;
}

.cat-show-all {
    display: block;
    width: 100%;
    padding: .6rem 1rem;
    margin-bottom: 1rem;
    border-radius: .5rem;
    border: 2px solid rgba(0, 0, 0, 0.4);
    background: transparent;
    color: var(--warn-color);
    font-family: 'soehne-halbfett', sans-serif;
    font-size: .85rem;
    letter-spacing: .05em;
    text-align: center;
    cursor: pointer;
    transition: all 300ms ease;
}
.cat-show-all.active {
    background: var(--warn-color-lt);
    color: var(--warn-color-dk);
    border-color: var(--warn-color-dk);
}

.cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
    margin-bottom: 1.25rem;
}

.cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .75rem .5rem;
    border-radius: .6rem;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
    font-family: 'soehne-buch', sans-serif;
    font-size: .7rem;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: all 300ms ease;
}
.cat-tile i {
    font-size: 1.4rem;
    transition: color 300ms ease;
}
.cat-tile span {
    display: block;
}
.cat-tile.selected {
    border-color: var(--warn-color-dk);
    background: var(--warn-color-lt);
    color: var(--warn-color-dk);
}
.cat-tile.selected i {
    color: var(--warn-color-dk);
}

.cat-confirm-btn {
    display: block;
    width: 100%;
    padding: .75rem 1rem;
    border-radius: 2rem;
    border: none;
    background: var(--warn-color-dk);
    color: var(--warn-color-lt);
    font-family: 'soehne-halbfett', sans-serif;
    font-size: .95rem;
    letter-spacing: .05em;
    text-align: center;
    cursor: pointer;
    transition: transform 200ms ease, opacity 200ms ease;
}
.cat-confirm-btn:active {
    transform: scale(0.97);
    opacity: .85;
}

/* ─────────────────────────────────────────────────────
   CARDS PAGE — Services Preference Cards (gradient BGs)
   ───────────────────────────────────────────────────── */

.tinder--card[data-id="Opt-Urgency"] .tinder--img {
    background: linear-gradient(-20deg, #1a3a5c 0%, #2c75de 50%, #69e2e1 100%) !important;
}
.tinder--card[data-id="Opt-Location"] .tinder--img {
    background: linear-gradient(-20deg, #4a1942 0%, #916df6 50%, #eb5d8f 100%) !important;
}
.tinder--card[data-id="Opt-Loading-Services"] .tinder--img {
    background: linear-gradient(-20deg, var(--warn-color-dk) 0%, var(--warn-color) 100%) !important;
}
