/* ===================================
   bada.studio - Avant-Garde Fashion Lookbook
   Palette: #0a0a0a (Abyss) / #0077b6 (Ocean) / #f5f5f5 (Foam) /
            #2a2a2a (Storm) / #ff3366 (Coral)
   Fonts: Bebas Neue (display) / Syne (body) / Space Grotesk (accent)
   =================================== */

/* --- RESET & BASE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: #0a0a0a;
}

body {
    background: #0a0a0a;
    color: #f5f5f5;
    font-family: 'Syne', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0077b6;
}

ul {
    list-style: none;
}

/* --- UTILITY: SECTION TITLE --- */
.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 0.9;
    color: #f5f5f5;
}

/* --- BLUE STREAKS --- */
.blue-streak {
    position: absolute;
    height: 3px;
    background: #0077b6;
    width: 0;
    transition: width 0.6s ease-out;
    z-index: 5;
    pointer-events: none;
}

.blue-streak.animate {
    width: 100%;
}

.streak-1 { top: 30%; left: 0; max-width: 100%; }
.streak-2 { top: 70%; right: 0; left: auto; max-width: 60%; }
.streak-3 { bottom: 12%; left: 5%; max-width: 60%; }
.streak-4 { top: 55%; left: 0; max-width: 100%; }
.streak-5 { top: 25%; left: 0; max-width: 80%; }
.streak-6 { top: 75%; left: 20%; max-width: 50%; }
.streak-7 { bottom: 10%; left: 0; max-width: 70%; }
.streak-8 { top: 20%; left: 10%; max-width: 40%; }

/* --- TOP NAV --- */
#top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 4vw;
    z-index: 100;
    background: linear-gradient(180deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0) 100%);
    mix-blend-mode: difference;
}

.nav-mark {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.02em;
    color: #f5f5f5;
}

.nav-mark-dot {
    color: #0077b6;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #f5f5f5;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #0077b6;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-coords {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #f5f5f5;
    opacity: 0.6;
}

/* ===================================
   HERO - THE STATEMENT
   =================================== */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5vw;
    padding-right: 5vw;
    background: linear-gradient(170deg, #0a0a0a 0%, #2a2a2a 55%, #0a0a0a 100%);
    overflow: hidden;
}

#hero::before {
    content: 'BADA';
    position: absolute;
    top: -8%;
    right: -12%;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32vw;
    color: #1a1a1a;
    letter-spacing: -0.04em;
    line-height: 0.85;
    pointer-events: none;
    user-select: none;
    transform: rotate(8deg);
    z-index: 0;
}

.hero-streak {
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 4px;
    background: #0077b6;
    transform: rotate(-5deg);
    z-index: 1;
    box-shadow: 0 0 24px rgba(0, 119, 182, 0.45);
}

.hero-streak-2 {
    top: 72%;
    height: 2px;
    transform: rotate(-7deg);
    background: #ff3366;
    opacity: 0.7;
    box-shadow: 0 0 18px rgba(255, 51, 102, 0.4);
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 18vw, 18rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 0.85;
    color: #f5f5f5;
    mix-blend-mode: difference;
    position: relative;
}

.hero-subtitle {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(0.8rem, 1.6vw, 1.2rem);
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #f5f5f5;
    margin-top: 1.2rem;
    padding-left: 0.2em;
    opacity: 0.85;
}

.hero-meta {
    position: absolute;
    right: 5vw;
    bottom: 8vh;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: right;
    z-index: 3;
}

.meta-line {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #f5f5f5;
    opacity: 0.7;
}

.meta-line:first-child {
    color: #0077b6;
    opacity: 1;
}

.hero-scroll-cue {
    position: absolute;
    left: 5vw;
    bottom: 4vh;
    z-index: 3;
}

.hero-scroll-cue span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #f5f5f5;
    opacity: 0.6;
    animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* ===================================
   TYPOGRAPHY INSTALLATIONS
   =================================== */
.typo-installation {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    border-top: 1px solid #161616;
    border-bottom: 1px solid #161616;
}

.typo-bg-word {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(6rem, 22vw, 24rem);
    font-weight: 400;
    color: #2a2a2a;
    letter-spacing: -0.04em;
    line-height: 1;
    user-select: none;
    transform: rotate(-8deg);
    white-space: nowrap;
    transition: transform 0.6s ease, color 0.6s ease;
}

.typo-caption {
    position: absolute;
    bottom: 8%;
    right: 6%;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #f5f5f5;
    opacity: 0.65;
    z-index: 4;
}

#typo-depth .typo-bg-word {
    transform: rotate(-12deg) translateX(-5%);
    color: #2a2a2a;
}

#typo-current {
    background: #0a0a0a;
}

#typo-current .typo-bg-word {
    transform: rotate(5deg) translateX(10%);
    color: rgba(0, 119, 182, 0.18);
    font-size: clamp(5rem, 20vw, 22rem);
    -webkit-text-stroke: 1px rgba(0, 119, 182, 0.45);
}

#typo-surge .typo-bg-word {
    transform: rotate(-3deg) translateX(-8%);
    color: #2a2a2a;
}

#typo-surge .typo-caption {
    color: #ff3366;
    opacity: 0.85;
}

/* ===================================
   PORTFOLIO CASCADE
   =================================== */
#portfolio {
    position: relative;
    padding: 14vh 4vw 16vh;
    overflow: hidden;
}

.portfolio-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 6vh;
    flex-wrap: wrap;
    gap: 2rem;
}

#portfolio .section-title {
    transform: rotate(-2deg);
    transform-origin: left center;
}

.portfolio-counter {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #0077b6;
    padding-bottom: 1rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(260px, auto);
    gap: 2vw;
    position: relative;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #0a0a0a;
    will-change: transform;
}

.portfolio-item .item-image {
    width: 100%;
    height: 100%;
    min-height: 320px;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: saturate(1.05) contrast(1.05);
}

.portfolio-item .item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 119, 182, 0.6);
    mix-blend-mode: multiply;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.portfolio-item:hover .item-overlay {
    opacity: 1;
}

.portfolio-item:hover .item-image {
    transform: scale(1.06);
    filter: saturate(1.2) contrast(1.1);
}

.item-label {
    position: absolute;
    bottom: 1.4rem;
    left: 1.4rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #f5f5f5;
    z-index: 3;
    mix-blend-mode: difference;
}

.item-tag {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #f5f5f5;
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(245, 245, 245, 0.25);
    padding: 0.35rem 0.7rem;
    z-index: 3;
}

/* Image data backgrounds */
.item-image[data-img="tidal"] {
    background:
        linear-gradient(135deg, rgba(10,10,10,0) 0%, rgba(10,10,10,0.6) 100%),
        linear-gradient(150deg, #0a0a0a 0%, #0077b6 55%, #2a2a2a 100%);
}
.item-image[data-img="riptide"] {
    background:
        radial-gradient(ellipse at 30% 70%, rgba(0,119,182,0.7) 0%, transparent 60%),
        linear-gradient(220deg, #2a2a2a 0%, #0a0a0a 60%, #0077b6 100%);
}
.item-image[data-img="coral"] {
    background:
        linear-gradient(160deg, #0a0a0a 0%, #ff3366 35%, #0077b6 70%, #0a0a0a 100%);
}
.item-image[data-img="undercurrent"] {
    background:
        linear-gradient(255deg, #0077b6 0%, #0a0a0a 55%, #2a2a2a 100%),
        repeating-linear-gradient(45deg, rgba(0,0,0,0.1) 0 4px, transparent 4px 8px);
    background-blend-mode: multiply;
}
.item-image[data-img="saltbloom"] {
    background:
        radial-gradient(circle at 70% 30%, rgba(245,245,245,0.15) 0%, transparent 50%),
        linear-gradient(180deg, #2a2a2a 0%, #0077b6 50%, #ff3366 100%);
}
.item-image[data-img="storm"] {
    background:
        linear-gradient(300deg, #0a0a0a 0%, #0077b6 80%, #2a2a2a 100%),
        repeating-linear-gradient(-15deg, rgba(245,245,245,0.04) 0 2px, transparent 2px 12px);
    background-blend-mode: screen;
}

/* Broken-grid overlapping & rotation */
.item-1 {
    grid-column: span 2;
    grid-row: span 2;
    transform: rotate(-2deg) translateX(-3%);
    z-index: 2;
}
.item-1:hover { transform: rotate(0) translateX(0); }

.item-2 {
    transform: rotate(1.5deg) translateY(-8%);
    z-index: 1;
}
.item-2:hover { transform: rotate(0) translateY(0); }

.item-3 {
    transform: rotate(-1deg) translateX(5%);
    margin-top: -10%;
    z-index: 3;
}
.item-3:hover { transform: rotate(0) translateX(0); }

.item-4 {
    grid-column: span 2;
    transform: rotate(2deg) translateX(-2%);
    z-index: 1;
}
.item-4:hover { transform: rotate(0) translateX(0); }

.item-5 {
    transform: rotate(-3deg) translateY(5%);
    z-index: 2;
}
.item-5:hover { transform: rotate(0) translateY(0); }

.item-6 {
    grid-column: span 2;
    transform: rotate(1deg) translateX(3%);
    margin-top: -5%;
    z-index: 1;
}
.item-6:hover { transform: rotate(0) translateX(0); }

/* ===================================
   MANIFESTO STRIP (MARQUEE)
   =================================== */
#manifesto {
    width: 100%;
    background: #0077b6;
    padding: 2.4rem 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
    border-top: 1px solid #005f93;
    border-bottom: 1px solid #005f93;
}

#manifesto::before,
#manifesto::after {
    content: '';
    position: absolute;
    top: 0;
    width: 12vw;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

#manifesto::before {
    left: 0;
    background: linear-gradient(90deg, #0077b6 0%, transparent 100%);
}

#manifesto::after {
    right: 0;
    background: linear-gradient(-90deg, #0077b6 0%, transparent 100%);
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2.6rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #f5f5f5;
    flex-shrink: 0;
    padding-right: 0;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===================================
   ABOUT / STUDIO
   =================================== */
#about {
    position: relative;
    padding: 14vh 4vw 16vh;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6vw;
    align-items: center;
}

.about-eyebrow {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #0077b6;
    margin-bottom: 1.5rem;
}

.about-text-block .section-title {
    margin-bottom: 3rem;
    transform: rotate(-1deg);
    transform-origin: left center;
}

.about-body {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.7;
    color: #f5f5f5;
    max-width: 620px;
    margin-bottom: 1.6rem;
}

.about-body-2 {
    color: rgba(245, 245, 245, 0.75);
    margin-bottom: 2.4rem;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border-top: 1px solid #2a2a2a;
    padding-top: 1.6rem;
    max-width: 480px;
}

.about-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #1a1a1a;
}

.list-key {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #0077b6;
}

.list-val {
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem;
    color: #f5f5f5;
    text-align: right;
}

.about-accent-block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 2.4rem;
}

.accent-diagonal {
    position: absolute;
    top: -20%;
    left: 0;
    width: 3px;
    height: 140%;
    background: #0077b6;
    transform: rotate(15deg);
    transform-origin: top left;
}

.accent-word {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 11vw, 11rem);
    font-weight: 400;
    color: rgba(0, 119, 182, 0.35);
    line-height: 0.85;
    letter-spacing: -0.03em;
    -webkit-text-stroke: 1px rgba(0, 119, 182, 0.6);
}

.accent-meaning {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #f5f5f5;
    margin-top: 1rem;
    opacity: 0.7;
}

.accent-quote {
    margin-top: 2.4rem;
    font-family: 'Syne', sans-serif;
    font-style: italic;
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    color: #ff3366;
    line-height: 1.4;
    max-width: 320px;
    border-left: 2px solid #ff3366;
    padding-left: 1rem;
}

/* ===================================
   DIAGONAL DIVIDER
   =================================== */
.diagonal-divider {
    width: 100%;
    height: 10vh;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diagonal-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5%;
    width: 110%;
    height: 100%;
    background: #2a2a2a;
    transform: skewY(-3deg);
    transform-origin: top left;
    z-index: 1;
}

.diagonal-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 2px;
    background: #0077b6;
    transform: rotate(-3deg);
    z-index: 2;
}

.divider-mark {
    position: relative;
    z-index: 3;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #f5f5f5;
    background: #2a2a2a;
    padding: 0.4rem 1rem;
}

/* ===================================
   CONTACT / FOOTER
   =================================== */
#contact {
    position: relative;
    padding: 12vh 4vw 6vh;
    background: #0a0a0a;
    overflow: hidden;
}

#contact::before {
    content: 'BADA';
    position: absolute;
    bottom: -12%;
    right: -8%;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28vw;
    color: #141414;
    letter-spacing: -0.04em;
    line-height: 0.85;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.contact-inner {
    position: relative;
    z-index: 2;
}

.contact-eyebrow {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #0077b6;
    margin-bottom: 1.5rem;
}

.contact-inner .section-title {
    margin-bottom: 3rem;
    font-size: clamp(2.5rem, 7vw, 7rem);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 8vh;
}

.contact-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #0077b6;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.contact-link:hover {
    color: #ff3366;
    transform: translateX(8px);
}

.contact-link-secondary {
    color: #f5f5f5;
    font-size: clamp(0.95rem, 1.6vw, 1.2rem);
    opacity: 0.85;
}

.contact-location {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #f5f5f5;
    opacity: 0.5;
    margin-top: 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid #1a1a1a;
    padding-top: 3rem;
    margin-bottom: 4rem;
    max-width: 700px;
}

.footer-block {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #0077b6;
}

.footer-value {
    font-family: 'Syne', sans-serif;
    font-size: 0.9rem;
    color: #f5f5f5;
    opacity: 0.85;
}

.footer-mark {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-top: 4vh;
    border-top: 1px solid #1a1a1a;
    padding-top: 2rem;
    flex-wrap: wrap;
}

.footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 5rem);
    font-weight: 400;
    color: #2a2a2a;
    letter-spacing: -0.03em;
}

.footer-year {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #2a2a2a;
}

/* ===================================
   SCROLL REVEAL
   =================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 900px) {
    #top-nav {
        padding: 1rem 4vw;
    }

    .nav-coords {
        display: none;
    }

    .nav-links {
        gap: 1.4rem;
    }

    .hero-meta {
        bottom: 12vh;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 3vh;
    }

    .item-1, .item-4, .item-6 {
        grid-column: span 1;
    }

    .item-1 {
        grid-row: span 1;
    }

    .portfolio-item {
        transform: none !important;
        margin-top: 0 !important;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 6vh;
    }

    .about-accent-block {
        padding-left: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-meta {
        right: 4vw;
        bottom: 14vh;
    }
}

@media (max-width: 540px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: clamp(4.5rem, 22vw, 8rem);
    }

    .typo-installation {
        height: 40vh;
        min-height: 280px;
    }
}
