:root {
    --bg-color: #f5f2ed;
    --text-color: #000000;
    --accent-color: #808080;
    --font-serif: "Times New Roman", Times, serif;
    --font-sans: Helvetica, Arial, sans-serif;
    --section-spacing: 65vh;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.4;
    overflow-x: hidden;
    text-decoration: none;
}

a {
    text-decoration: underline;
    color: inherit;
}

nav, footer {
    position: fixed;
    width: 100%;
    left: 0;
    z-index: 1000;
    background-color: rgba(245, 242, 237, 0.85);
    backdrop-filter: blur(15px);
}

nav {
    top: 0;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
}

.logo a {
    color: inherit;
    text-decoration: none;
}

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

.nav-links a {
    font-size: 1rem;
    font-weight: normal;
    color: inherit;
    text-decoration: none;
}

footer {
    bottom: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    text-align: center;
}

footer p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.8;
}

.fullscreen-section {
    min-height: var(--section-spacing);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.content-wrapper {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
    background-color: var(--bg-color);
    box-shadow: 0 0 35px 25px var(--bg-color);
}

.elevating-zin {
    margin-top: calc((100vh - var(--section-spacing))/2);
}

.elevating-zin h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 20px;
}

.elevating-zin .subtitle {
    font-size: clamp(1rem, 2vw, 1.375rem);
    text-align: center;
    opacity: 0.7;
}

.freelance-stuk {
    margin-top: 20vh;
}

.freelance-stuk .highlight-text {
    font-style: italic;
    font-size: calc(100% + 1px);
    display: inline;
}

.freelance-stuk p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    text-align: left;
    align-self: flex-end;
    max-width: 80%;
    line-height: 1.5;
    margin-bottom: 40px;
}

.service-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    cursor: pointer;
}

.service-header h3 {
    font-size: 18px;
    font-weight: normal;
    color: #000000;
    margin-bottom: 0;
}

.toggle-icon {
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s ease;
}

.service-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.service-content p {
    margin-bottom: 20px;
    padding-right: 30px;
}

.service-item.active .service-content {
    max-height: 250px;
    opacity: 1;
}

.service-item.active .toggle-icon {
    transform: rotate(45deg);
}

.represented-talent {
    margin-top: 25vh;
}

.services-blok h2, .represented-talent h2 {
    font-size: 22px;
    font-weight: bold;
    color: #808080;
    margin-bottom: 40px;
}

.represented-talent .talent-list {
    list-style: none;
    padding-top: 25px;
}

.represented-talent .talent-list li {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 25px;
}

.represented-talent .view-link {
    font-family: var(--font-sans);
    font-size: 1rem;
    text-decoration: underline;
    font-style: normal;
    display: inline-block;
    color: inherit;
    animation: ademen 3s ease-in-out infinite;
}

@keyframes ademen {
    0% { opacity: 0.3; }
    50% { opacity: 0.8; }
    100% { opacity: 0.3; }
}

.talent-split {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
}

.talent-text {
    flex: 1;
    min-width: 300px;
}

.talent-visual {
    flex: 1.5;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.rotating-gallery {
    position: relative;
    width: 100%;
    max-width: 550px;
    height: 65vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rotating-gallery img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    pointer-events: none;
}

.rotating-gallery img.active {
    opacity: 1;
}

.lets-produce-blok {
    text-align: center;
    margin-bottom: calc((100vh - var(--section-spacing))/2);
}

.lets-produce-blok .contact-content p {
    font-size: 20px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

.lets-produce-blok h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 30px;
    font-weight: bold;
}

.contact-cta {
    margin-top: 30px;
}


#arrow-path {
    position: fixed;
    top: 65vh;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 60px;
    pointer-events: none;
    opacity: 0.4;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    animation: arrow-float 5s ease-in-out infinite alternate;
    transition: top 0.1s linear, opacity 0.3s ease;
}

@keyframes arrow-float {
    0% { transform: translateX(calc(-50% - 40px)) rotate(-10deg); }
    100% { transform: translateX(calc(-50% + 40px)) rotate(10deg); }
}

#arrow-svg {
    width: 100%;
    height: 100%;
}

#path {
    stroke: #000000;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.projects-feed {
    padding-top: 150px;
    padding-bottom: 200px;
}

.project-entry {
    margin-bottom: 150px;
    padding-left: 40px;
}

.project-header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 20px;
}

.project-header-info .project-title {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: normal;
    color: var(--text-color);
}

.project-header-info .talent-name {
    font-size: 1rem;
    font-weight: normal;
    opacity: 0.7;
    letter-spacing: 0.5px;
}

/* Container for the gallery and navigation buttons */
.gallery-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Edge navigation buttons */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--bg-color);
    border: none;
    color: var(--text-color);
    font-family: var(--font-sans);
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0.6;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.gallery-nav:hover {
    opacity: 1;
    background-color: #e8e4dc;
}

.gallery-nav.prev {
    left: -20px;
}

.gallery-nav.next {
    right: 20px;
}

.project-gallery {
    display: flex;
    align-items: center;
    overflow-x: auto;
    gap: 160px;
    padding-right: 40px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.project-gallery::-webkit-scrollbar {
    display: none;
}

.image-wrapper {
    flex-shrink: 0;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper img, .image-wrapper video {
    height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
}

.image-wrapper iframe {
    height: 100%;
    width: calc(70vh * (16 / 9));
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
    background-color: #000000;
}

.image-wrapper iframe.portrait-video {
    width: calc(70vh * (9 / 16));
    aspect-ratio: 9 / 16;
}

.image-wrapper iframe.square-video {
    width: 70vh;
    aspect-ratio: 1 / 1;
}

.projects-page footer {
    position: relative;
    padding: 20px 20px;
    background-color: var(--bg-color);
}

.contact-split-layout {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.contact-visual-side {
    flex: 0.8;
    height: 100%;
    position: relative;
    background-color: var(--bg-color);
}

.contact-gallery {
    width: 100%;
    height: 100%;
    position: relative;
    background-blend-mode: multiply;
}

.contact-gallery img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    padding-left: 100px;
    padding-right: 100px;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    filter: grayscale(100%);
}

.contact-gallery img.active {
    opacity: 0.9 !important;
}

.contact-text-side {
    flex: 1.0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--bg-color);
}

.contact-inner-content {
    max-width: 400px;
    text-align: left;
}

.contact-inner-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-details p {
    font-size: 1.125rem;
}

.contact-details .email-link {
    color: #000;
    text-decoration: underline;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.contact-details .email-link:hover {
    opacity: 1;
}

.contact-socials {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 10px;
}

.contact-socials a {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.contact-socials a:hover {
    opacity: 0.5;
}

.social-icon {
    width: 24px;
    height: auto;
    display: block;
}

.faq-main {
    padding-top: 150px;
    min-height: 80vh;
    display: flex;
    justify-content: center;
}

.faq-section {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    padding: 60px 40px 100px 40px;
    background-color: var(--bg-color);
    position: relative;
    z-index: 10;
}

.faq-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: left;
}

.faq-content-wrapper {
    margin-top: 0;
    padding-left: 0;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.faq-item summary {
    cursor: pointer;
    font-size: 1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.9;
}

.faq-item summary::after {
    content: '+';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.7;
    padding-right: 40px;
}

.footer-content p {
    margin: 5px 0;
}

.credits {
    font-size: 0.8rem;
    opacity: 0.5;
    margin-top: 15px !important;
    letter-spacing: 0.5px;
}

.instagram-cta {
    padding: 60px 20px 100px 20px;
    text-align: center;
}

.instagram-cta a {
    text-decoration: none;
    color: var(--text-color);
    display: inline-block;
    transition: opacity 0.3s ease;
}

.instagram-cta a:hover {
    opacity: 0.6;
}

.instagram-cta h2 {
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: normal;
    margin-bottom: 15px;
}

.insta-link-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.insta-icon {
    width: 20px;
    height: auto;
    display: block;
}

.fade-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    nav, footer { padding: 10px 20px; }
    footer p { font-size: 0.8rem; }
    .nav-links { gap: 15px; }
    .fullscreen-section { padding: 0 20px; }
    .freelance-stuk p { text-align: left; max-width: 100%; }
    
    .project-entry {
        padding-left: 20px;
        margin-bottom: 80px;
    }
    .talent-split { flex-direction: column; align-items: flex-start; gap: 40px; }
    .talent-visual { justify-content: center; width: 100%; }
    .rotating-gallery { height: 45vh; }
    
    .project-gallery {
        gap: 40px;
        display: flex;
        overflow-x: auto;
    }
    .image-wrapper {
        height: auto;
        max-height: 60vh;
        width: auto;
    }
    .image-wrapper img,
    .image-wrapper video,
    .image-wrapper iframe {
        width: auto;
        max-width: 85vw;
        height: auto;
        max-height: 60vh;
        display: block;
        object-fit: contain;
    }
    .contact-split-layout {
        flex-direction: column;
        height: auto;
    }
    .contact-visual-side {
        height: 50vh;
        flex: none;
    }
    .contact-text-side {
        padding: 60px 20px;
        flex: none;
        justify-content: flex-start;
    }
}