/* full_styles.css */

/* 1. FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400&family=Montserrat:wght@400;700&display=swap');

/* 2. VARIABLES */
:root {
    --bg-color: #1e1e1e; 
    --text-color: gainsboro; 
    --headline-color: #ffffff; 
    --accent-gold: #cfac60; 
    --accent-grey: #888888;
    --content-width: 900px;
}


* {
    box-sizing: border-box;
}



body {
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    overflow: hidden; 
}


.fixed-nav-pill {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999; /* Ensure it stays above everything */
    
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.7rem 1.4rem;
    border-radius: 100px;
    
    /* THE GLASS PHYSICS */
    background: rgba(255, 255, 255, 0.04); 
    backdrop-filter: blur(15px) saturate(150%) brightness(110%);
    -webkit-backdrop-filter: blur(15px) saturate(150%) brightness(110%);
    
    /* THE VISIBILITY EDGE */
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    
    transition: transform 0.3s ease, border 0.3s ease;
}

.fixed-nav-pill:hover {
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.pill-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.pill-link img {
    width: 20px; /* Adjust based on your SVG size */
    height: 20px;
    /* This makes dark SVGs look light/gold if they aren't already */
    filter: brightness(0) invert(1) opacity(0.8); 
}

.pill-link:hover img {
    filter: brightness(0) invert(75%) sepia(30%) saturate(600%) hue-rotate(5deg);
    opacity: 1;
}



/* RESPONSIVE: Move to bottom on mobile for better thumb reach */
@media (max-width: 600px) {
    .fixed-nav-pill {
        top: auto;
        bottom: 2rem;
        right: 50%;
        transform: translateX(50%);
    }
    .fixed-nav-pill:hover {
        transform: translateX(50%) translateY(-2px);
    }
}




.background-fixed {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* Use your image path */
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('../images/RB_studio_tall_grain_square_tiny_edit_91.webp');
    background-size: cover;
    background-position: center;
    filter: blur(0.6px);
    z-index: -5; /* Send it to the very back */
}

.parallax-wrapper {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    perspective: 2px; 
    background: transparent;
    scroll-behavior: smooth;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    pointer-events: none;
    background: transparent;
}

.name-layer {
    position: absolute;
    /* This creates the floating effect */
    transform: translateZ(-1.8px) translateY(10vh) scale(1.5);
    z-index: 1;
    text-align: center;
    width: 100%;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);

}

.hero-name {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 10vw, 8rem); 
    color: rgba(253, 246, 242, 0.95); 
    margin: 0;
}

.hero-subtitles {
    color: rgba(255, 255, 255, 0.8); /* Leicht transparent für mehr Tiefe */
    text-transform: uppercase;
    color: rgba(253, 246, 242, 0.95); 
}

.subtitle-services {
    font-size: clamp(1rem, 3.5vw, 4rem);
    margin: 0rem;
}

.subtitle-location {
    margin: 0.5rem;
    font-size: clamp(1rem, 2vw, 3rem);
    letter-spacing: 0.5em;
}

.container-dark {
    position: relative;
    display: flow-root;
    padding-top: 8rem;
    z-index: 10;
    background-color: var(--bg-color);
    width: 100%;
    transform: translateZ(0);
    box-shadow: 0px -11px 20px 8px hsl(0deg 0% 7.37% / 51%);
}

.container-photo {
    position: relative;
    display: flow-root;
    z-index: 9;
    background-color: var(--bg-color);
    background-image: url(../images/RBMS_cropped_bw_tiny_80.webp);
    background-size: cover;
    background-position: top;
    /* background-blend-mode: soft-light; */
    width: 100%;
    transform: translateZ(0);
    box-shadow: 0px -11px 20px 8px hsl(0deg 0% 7.37% / 51%);
}

.container-photo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse, transparent 20%, rgb(61 61 61 / 40%) 25%, hsl(0deg 0% 8.29%) 88%);
    /* background-blend-mode: soft light; */
    pointer-events: none;
    z-index: -1;
    /* backdrop-filter: blur(1px); */
}




.manifesto, .profile-grid, .cta, .contact-wrap {
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}



/* TYPOGRAPHY & SECTIONS */
h1, h2, h3, .outcome, .role, .contact-links a {
    font-family: 'Montserrat', sans-serif;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 400;
    color: var(--accent-gold);
    margin-bottom: 3rem;
    letter-spacing: 0.01em;
}

p, .service-text p, .bio-text p, .bio-list li {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: -0.02rem;
}

li::marker {
  content: "// ";
}





.outcome {
    font-size: 1.3rem; 
    font-weight: 700; 
    margin-top: 3rem;
    line-height: 1.4;
}






/* SERVICES */
.services-section {
    margin: 12rem auto;
    padding: 0 4rem;
    max-width: 1200px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem; /* Wide gap instead of borders */
}

.service-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);  
}

.service-block {
    border-left: 1px solid #484848;
    padding-left: 1.2rem;
}


/* RESPONSIVE: The Mobile Column */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 5rem; /* Spacing between stacked blocks */
    }
    
    .services-section {
        margin: 8rem auto;
        padding-top: 4rem;
    }

    .service-title {
        margin-bottom: 1rem;
    }
}





/* CTA */
.cta {
    margin-bottom: 12rem;
}

.contact-links {
    display: flex;
    gap: 4rem;
}

.contact-links a {
    text-decoration: none;
    font-weight: 700;
    color: var(--headline-color);
    border-bottom: 1px solid var(--headline-color);
}







/* CONTACT FORM */
.contact-wrap {
    max-width: 800px;
    margin: 20rem auto;
    padding: 0 40px;
    font-family: 'Inter', sans-serif;
}

#form-ui {
    padding: 30px;
    background-color: hsl(0deg 0% 13% / 96%);
    border: 1px solid #333;
    border-radius: 10px;
    box-shadow: 1px 1px 20px 18px hsl(0deg 0% 7.37% / 21%);
    backdrop-filter: blur(4px);
}

.contact-title {
    font-family: 'Montserrat', sans-serif;
    color: #cfac60;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

.input-row {
    display: flex;
    gap: 30px;
}

.field-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666; /* Subtle label */
    margin: 0px 0px 8px 8px;
    display: none;
}

input, textarea {
    background-color: var(--bg-color);
    border: 1px solid #333;
    border-radius: 10px;
    color: #fff;
    padding: 15px;
    font-size: 1.1rem; /* Your requested size */
    font-weight: 300; /* Inter 300 */
    line-height: 1.5;
    outline: none;
    resize: none;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    border-color: #cfac60;
    background: rgba(207, 172, 96, 0.02);
}

.hp-check {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

#submit-btn {
    background: var(--accent-gold);
    color: var(--bg-color);
    border: none;
    border-radius: 10px;
    padding: 18px 45px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.4s ease;
}

#submit-btn:hover {
    filter: brightness(1.1);
}

#success-ui p {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.6;
    color: #999;
}

.success-text { color: #cfac60; }




/* PROFILE SECTION */
.profile-grid {
    display: grid;
    grid-template-columns: 4fr 9fr;
    gap: 5rem;
    margin-top: 2rem;
}

.profile-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50%;
    box-shadow: 2px 4px 20px -9px rgba(0, 0, 0, 0.21);
}

.bio-text h2 {
    margin: 0;
    color: var(--accent-gold);
}






/* PORTFOLIO */

.portfolio-grid {
    display: grid;
    /* Use '1fr' so the columns are flexible and stay inside the box */
    grid-template-columns: repeat(4, 1fr); 
    gap: 1rem;
    
    /* Constraint Logic */
    width: 90%;            /* Keeps a margin on the sides */
    max-width: 1100px;     /* Prevents images from getting too big on huge screens */
    margin: 12rem auto 4rem auto;     /* Centers the whole grid on the page */
}

.cover-art {
    aspect-ratio: 1/1;
}

.portfolio-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #000; /* Fallback for loading */
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* THE GRADIENT OVERLAY */
.portfolio-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(
        to top, 
        rgb(0 0 0 / 91%) 0%, 
        rgb(0 0 0 / 80%) 19%, 
        rgba(0, 0, 0, 0.41) 35%, 
        rgba(0, 0, 0, 0.2) 48%, 
        rgb(0 0 0 / 6%) 64%, 
        rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

/* THE TEXT INSIDE */
.credit-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.6rem;
    z-index: 2; /* Sits above the gradient */
}

.artist-name {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

.project-title {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.my-role {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: var(--accent-gold);
}






/* RESPONSIVE */
@media (max-width: 850px) {
    .profile-grid { grid-template-columns: 1fr; }
    .input-row { flex-direction: column; gap: 0; }
}


@media (max-width: 768px) {
    .portfolio-grid {
        /* Switch to 2 columns */
        grid-template-columns: repeat(2, 1fr); 
    }

