/*
Theme Name: necessary-v3
Version: 1.0.0
*/

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

:root {
    --bg: #161616;
    --accent: #FF0055;
    --text: #ffffff;
    --text-muted: #888888;
    --font-primary: 'Karla', sans-serif;
    --font-display: 'Permanent Marker', cursive;
    --font-friends: "Gabriel Weiss' Friends Font", sans-serif;
}

@font-face {
    font-family: "Gabriel Weiss' Friends Font";
    src: url('assets/fonts/GABRWFFR.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.page-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.site-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: transparent;
    background-image: url('assets/images/nav bar/navigation bar.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center left;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.site-menu.scrolled {
    opacity: 1;
    visibility: visible;
}

.site-menu .us-bold {
    font-size: 36px !important;

}

.site-menu a {
    color: var(--accent);
    text-decoration: none;
    font-size: 32px;
    font-weight: 400;
    margin-right: 30px;
    transition: transform 0.3s, font-weight 0.3s;
    text-transform: lowercase;
}

.site-menu a:last-child {
    margin-right: 0;
}

.site-menu a.active {
    font-weight: 800;
    transform: scale(1.05);
}

.brand-header {
    padding-top: 100px;
    margin-bottom: 40px;
    scroll-margin-top: 100px;
}

.brand-question {
    font-size: 64px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.brand-subtitle {
    font-size: 32px;
    font-weight: 700;
    margin-top: -20px;
    color: #aaaaaa;
}

.hero-section {
    position: relative;
    text-align: center;
    padding: 60px 0 120px;
}

.hero-logo {
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-logo img {
    width: 100%;
    height: auto;
}

.hero-tagline {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.scroll-indicator.visible {
    opacity: 1;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--accent);
    clip-path: polygon(80% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 80%, 80% 80%);
    transform: rotate(45deg) scale(0);
    transform-origin: center;
    opacity: 0;
}

.scroll-indicator.visible::after {
    animation: chevron-grow 0.5s ease-out forwards;
}

@keyframes chevron-grow {
    0% {
        transform: rotate(45deg) scale(0);
        opacity: 0;
    }

    100% {
        transform: rotate(45deg) scale(1);
        opacity: 1;
    }
}

.intro-section {
    padding: 60px 0;
}

.intro-text {
    font-size: 32px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
}

.intro-text.small {
    font-size: 32px;
    color: var(--text-muted);
}

.identity-section {
    padding: 50px 0 0px;
    text-align: center;
}

.identity-image {
    max-width: 455px;
    /* Increased by 30% from 350px */
    width: 100%;
    margin: 0 auto 30px;
}

.identity-image img {
    width: 100%;
    height: auto;
}

.identity-text {
    font-size: 24px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.manifest-section {
    position: relative;
    padding: 80px 0;
    scroll-margin-top: 100px;
}

.manifest-snap-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.manifest-snap {
    height: 100vh;
    scroll-snap-align: start;
}

.manifest-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.manifest-track {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.manifest-slide {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.manifest-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}



.manifest-content {
    flex: 0.9;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 40px;
}

.manifest-content-lvl2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.manifest-text-block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.manifest-title-wrap {
    position: relative;
    width: fit-content;
    margin-bottom: 20px;
}

.manifest-image {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.manifest-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.manifest-image img {
    width: 100%;
    max-width: 500px;
    max-height: 500px;
    height: auto;
    object-fit: contain;
}

.manifest-caption {
    margin-top: 10px;
    font-style: italic;
    font-size: 40px;
    color: var(--text);
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.manifest-caption-notop {
    margin-top: 0;
    font-style: italic;
    font-size: 20px;
    color: var(--text);
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.manifest-caption-strikethrough {
    margin-top: 10px;
    font-style: italic;
    font-size: 20px;
    color: var(--text);
    text-align: center;
    width: 100%;
    max-width: 600px;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.manifest-label {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-style: italic;
    white-space: nowrap;
}

.manifest-title {
    font-family: 'Karla', sans-serif;
    font-weight: 800;
    font-size: 64px;
    color: var(--accent);
    margin: 0;
    letter-spacing: -2px;
    line-height: 1.1;
    text-align: center;
}

.manifest-text {
    font-size: 24px;
    color: var(--text);
    line-height: 1.6;
    max-width: 600px;
    text-align: center;
}

.manifest-text-spaced {
    margin-top: 15px;
    font-size: 24px;
    color: var(--text);
    line-height: 1.6;
    max-width: 600px;
    text-align: center;
}

.manifest-progress {
    display: none;
}

#us,
#manifest-start {
    scroll-margin-top: 80px;
}

.collection-section {
    padding: 60px 0;
    scroll-margin-top: 20px;
}

.collection-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.collection-image {
    width: 520px;
    margin-bottom: 20px;
}

.collection-image img {
    width: 100%;
    height: auto;
    display: block;
}

.collection-caption {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--accent);
}

.marquee-section {
    padding: 40px 0;
    overflow: hidden;
    background: var(--bg);
}

.marquee-wrapper {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
}

.marquee-item {
    font-family: var(--font-friends);
    font-size: 66px;
    color: var(--text);
    letter-spacing: 2px;
    padding: 0 40px;
    white-space: nowrap;
    text-transform: lowercase;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* CONTACT */
.contact-section {
    padding: 40px 0;
    text-align: center;
    scroll-margin-top: 90px;
}

.contact-intro {
    font-size: 24px;
    color: var(--text);
    margin-bottom: 15px;
}

.contact-email {
    font-size: 24px;
    color: var(--accent);
    font-weight: bold;
    text-decoration: underline;
    display: block;
    margin-bottom: 50px;
    text-align: center;
}

.business-details h4 {
    font-size: 24px;
    font-weight: bold;
    color: var(--font);
    margin-bottom: 10px;
    text-align: center;
}

.business-details {
    font-size: 18px;
    color: var(--text);
}

.site-footer {
    padding: 40px 0 25vh;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-values {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-value {
    font-family: 'Karla', sans-serif;
    font-size: 18px;
    color: var(--text-muted);
}

.footer-copyright {
    font-size: 11px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .brand-header {
        padding-top: 40px;
        margin-bottom: 20px;
    }

    .brand-question {
        font-size: 48px;
    }

    .brand-subtitle {
        font-size: 24px;
    }

    .hero-tagline {
        font-size: 24px;
    }

    .site-menu {
        height: 60px;
        padding: 0 20px;
        background: linear-gradient(to bottom, #000000 50px, transparent 60px);
        justify-content: space-between;
    }

    .site-menu a {
        font-size: 20px;
        margin-right: 0;
    }

    .site-menu .us-bold {
        font-size: 20px !important;
    }

    .manifest-slide {
        padding: 15px;
    }

    .manifest-card {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .manifest-content,
    .manifest-image {
        flex: none;
        width: 100%;
        padding: 0;
    }

    .manifest-title-wrap {
        margin-bottom: 10px;
    }

    .manifest-title {
        font-size: 32px;
    }

    .manifest-label {
        font-size: 12px;
        margin-bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
    }

    .manifest-text,
    .manifest-text-spaced {
        font-size: 20px;
    }

    .manifest-text-spaced {
        margin-top: 8px;
    }

    .manifest-image img {
        width: auto;
        max-width: 100%;
        max-height: 27.5vh;
        /* Limit height to preserve vertical space */
        object-fit: contain;
    }

    .manifest-caption,
    .manifest-caption-notop,
    .manifest-caption-strikethrough {
        font-size: 16px;
        margin-top: 5px;
    }

    .collection-image {
        width: 100%;
        max-width: 400px;
    }
}