:root {
    --rainbow: linear-gradient(to right, #29aae1, #8ac76f, #fbed21, #f16b4e, #ea088b);
    --bg-black: #000;
    --text-white: #fff;
    --text-gray: #9e9e9e;
    --transition: 0.3s ease;
}

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

body {
    font-family: 'aktiv-grotesk', sans-serif;
    background: var(--bg-black);
    color: var(--text-white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.gradient-border-bottom {
    border-bottom: 2px solid transparent;
    border-image: var(--rainbow) 1;
}

.logo {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    padding: 10px 5px;
    margin: 0 10px;
    font-weight: bold;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.nav-links a.active {
    color: var(--text-white);
    border-image: var(--rainbow) 1;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-white);
}

/* HERO */
.case-header {
    text-align: center;
    padding: 100px 8% 40px;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
}

.case-intro {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
}

/* CASE SECTIONS */
.case-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    max-width: 1300px;
    margin: auto;
    padding: 80px 8%;
}

.case-section.reverse .image-container { 
    grid-column: 1; 
    grid-row: 1;
}

.case-section.reverse .text { 
    grid-column: 2; 
}

.text h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.text p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.image-container img, .image-stack img, #visualstrategy img {
    width: 100%;
    border-radius: 16px;
    display: block;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.image-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* VISUAL STRATEGY */
#visualstrategy {
    max-width: 1300px;
    margin: auto;
    padding: 80px 8%;
}

#visualstrategy h2 { margin-bottom: 25px; font-size: 2.2rem; }
#visualstrategy p { color: var(--text-gray); margin-bottom: 40px; max-width: 800px; }

/* FOOTER */
.site-footer {
    background: #000;
    padding: 80px 20px 40px;
    text-align: center;
    position: relative;
}

.gradient-border-top {
    border-top: 2px solid transparent;
    border-image: var(--rainbow) 1;
}

.footer-container { display: flex; flex-direction: column; gap: 25px; }
.footer-links, .social-icons { display: flex; justify-content: center; gap: 25px; }
.footer-links a, .social-icons a { color: white; text-decoration: none; transition: var(--transition); }

#backToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #444;
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

#backToTop:hover { background: white; color: black; }

/* MOBILE RESPONSIVE */
@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background: var(--bg-black);
        flex-direction: column;
        width: 250px;
        height: 100vh;
        padding: 40px;
        transition: 0.4s;
    }
    .nav-links.show { right: 0; }
    .case-section, .case-section.reverse {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .case-section.reverse .image-container { grid-column: auto; }
}