:root {
    --bg-light: #ffffff;
    --bg-dark: #1b1e23;
    --text-dark: #1b1e23;
    --text-light: #ffffff;
    --text-muted: #888888;
    --accent: #FF5A36;
    /* The orange brand color based on the screenshot */
    --font-main: 'Montserrat', sans-serif;
    --transition: 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1400px;
    /* Wide container */
    margin: 0 auto;
    padding: 0 4rem;
}

.bg-dark {
    background-color: var(--bg-dark);
}

.bg-light {
    background-color: var(--bg-light);
}

.text-light {
    color: var(--text-light);
}

.text-dark {
    color: var(--text-dark);
}

.text-accent {
    color: var(--accent);
}

.text-center {
    text-align: center;
}

/* Navbar */
.navbar {
    padding: 2.5rem 0;
    width: 100%;
    background-color: var(--bg-light);
    position: relative;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 0.9rem;
    line-height: 1.2;
    letter-spacing: 1px;
}

.nav-logo strong {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-logo span {
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-location {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1000;
}

.hamburger .line {
    width: 30px;
    height: 3px;
    border-radius: 2px;
    background-color: var(--text-dark);
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.hamburger.active .line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: #fff;
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: #fff;
}

.nav-links.mobile-active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* Button */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-dark {
    background-color: var(--text-dark);
    color: var(--text-light);
}

.btn-dark:hover {
    background-color: var(--accent);
    color: var(--text-light);
}

.btn-arrow span {
    margin-left: 10px;
    font-size: 1.1rem;
}

.hero {
    padding: 10rem 0 12rem;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.6;
}

.hero-content {
    max-width: 1400px;
    display: flex;
    justify-content: center;
}

.hero-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 3rem;
    letter-spacing: -2px;
}

/* ===========================
   GALLERY — CLEAN VERSION
   =========================== */

.gallery-main {
    margin-top: 4rem;
}

/* Wrapper */
.gallery-wrapper,
.gallery-main .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

@media (max-width: 1024px) {

    .gallery-wrapper,
    .gallery-main .container {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {

    .gallery-wrapper,
    .gallery-main .container {
        padding: 0 1.5rem;
    }
}

/* GRID */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 2rem;
}

/* LEFT HALF */
.half-grid-left {
    grid-column: 1 / span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-content: start;
}

/* RIGHT HALF */
.half-grid-right {
    grid-column: 3 / span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-content: start;
}

/* RUBRIK — exakt linjerad med vänsterkolumnens första bild */
.gallery-heading-right {
    grid-column: 3 / span 2;
    text-align: right;
    font-size: 4rem;
    /* samma som tidigare */
    font-weight: 500;
    letter-spacing: -1px;
    line-height: 1;
    margin: 0 0 2rem 0;
}

.gallery-dot {
    color: var(--accent);
}

.gallery-dot {
    color: var(--accent);
}

/* MASONRY GALLERY */
.gallery-masonry {
    column-count: 3;
    column-gap: 2rem;
    padding-bottom: 4rem;
}

@media (max-width: 1024px) {
    .gallery-masonry {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .gallery-masonry {
        column-count: 1;
    }
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

/* ITEMS */
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.item-span-2 {
    grid-column: 1 / span 2;
}

/* PHOTO STACK */
.photo-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 9999;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* MOBILE */
@media (max-width: 768px) {
    .grid-layout {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .half-grid-left,
    .half-grid-right {
        grid-template-columns: 1fr;
    }

    .item-span-2 {
        grid-column: span 1;
    }

    .photo-stack {
        gap: 1.5rem;
    }
}




.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 9999;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 4px;
}

/* Video Carousel */
.video-preview-list {
    width: 100%;
    overflow: hidden;
    padding-bottom: 6rem;
    /* Added luft to .video-preview-list */
    background-color: var(--bg-light);
}

.video-track {
    display: flex;
    gap: 15px;
    padding: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
    flex-wrap: nowrap;
    /* Tvingar alla filmer på en rad */
    align-items: center;
    cursor: grab;
}

.video-track:active {
    cursor: grabbing;
}

.video-track::-webkit-scrollbar {
    display: none;
}

.video-item {
    min-width: 480px;
    height: 260px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.4s ease;
    border-radius: 4px;
    flex-shrink: 0;
    /* Förhindra att de kläms ihop */
}

.video-item:hover {
    transform: scale(1.25);
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.play-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    padding-left: 3px;
    /* visual center for play icon */
    pointer-events: none;
}

/* Section Styling */
.section {
    padding: 8rem 0;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.section-heading-center {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 4rem;
    text-align: center;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 4rem;
    max-width: 800px;
    font-weight: 300;
}

.stats-row {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaaaaa;
    line-height: 1.4;
}

/* Marquee */
.marquee-container {
    padding: 1.5rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #888888;
}

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

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

/* Clients */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem 2rem;
    align-items: center;
    margin-bottom: 4rem;
}

.client-logo {
    opacity: 0.6;
    transition: var(--transition);
    font-size: 1rem;
    text-align: center;
    color: #666;
}

.client-logo:hover {
    opacity: 1;
    color: var(--text-dark);
}

.link-solid {
    font-size: 0.8rem;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    font-weight: 600;
    color: var(--text-dark);
}

.link-solid:hover {
    color: var(--accent);
}

/* Contact Banner */
.contact-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nyfiken-shift {
    grid-column: 2 / span 3;
    margin-left: 9rem;
}

.giant-heading {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
}

.contact-banner-right p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.border-top-subtle {
    border-top: 1px solid #eeeeee;
}

/* Footer */
.footer {
    padding: 3rem 0 1rem;
}

.footer-huge-title {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 400;
    text-align: center;
    line-height: 1;
    margin-bottom: 4rem;
    letter-spacing: -2px;
}

.footer-split {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 2rem;
    font-size: 0.8rem;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.footer-link:hover {
    color: var(--accent);
}

.align-right {
    text-align: right;
}

.to-top-btn {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1rem;
}

.footer-icons .icon-link i {
    font-size: 1.8rem;
    color: var(--text-light);
    /* vit */
    transition: 0.3s ease;
}

.footer-icons .icon-link i:hover {
    color: var(--accent);
    /* orange hover */
    transform: scale(1.15);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    /* centrerar hela raden */
    padding: 0 5%;
    /* 5% från båda kanterna */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
    color: #666;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 1rem;
}


.footer-bottom div {
    flex: 1;
}

.footer-left {
    text-align: left;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
}


/* Page Setup Specifics */
.page-container {
    padding: 4rem 0 8rem;
}

.half-grid-left {
    grid-column: 1 / span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
    row-gap: 2rem;
    padding-right: 1rem;
    align-content: start;
}

.half-grid-right {
    grid-column: 3 / span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
    row-gap: 2rem;
    padding-left: 1rem;
    align-content: start;
}

.item-span-2 {
    grid-column: 1 / span 2;
}

.photo-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Specific spacing tweaks for standard gallery */

.mt-xl {
    margin-top: 6rem;
}

.mt-lg {
    margin-top: 4rem;
}

/* Responsive */
@media (max-width: 1024px) {

    .container,
    .hero-content,
    .nav-container {
        padding: 0 2rem;
    }


    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .half-grid-left,
    .half-grid-right {
        padding: 0;
        column-gap: 1.5rem;
        row-gap: 1.5rem;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-location {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .stats-row {
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 1.5rem;
        flex-wrap: wrap;
        width: 100%;
    }

    .contact-banner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

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

    .align-right.flex-end-mobile {
        text-align: left;
    }

    .half-grid-left,
    .half-grid-right {
        grid-template-columns: 1fr;
    }

    .item-span-2 {
        grid-column: span 1;
    }

    .mt-xl,
    .mt-lg {
        margin-top: 0;
    }

    .photo-stack {
        gap: 1.5rem;
    }
}

/* ====== 4-COLUMN GRID SYSTEM ====== */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    overflow: hidden;
}

.grid-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.grid-line {
    width: 1px;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.2);
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

.col-1 {
    grid-column: 1;
}

.col-2 {
    grid-column: 2;
}

.col-3 {
    grid-column: 3;
}

.col-4 {
    grid-column: 4;
}

.col-hero {
    grid-column: 2 / span 3;
}

/* Spans from 2 to end */
.col-hero-right {
    grid-column: 3 / span 2;
}

/* Spans from 3 to end */
.col-1-2 {
    grid-column: 1 / span 2;
}

/* Adjustments for the structure */
.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-flex {
    display: flex;
    gap: 3rem;
}

.nav-center-props {
    grid-column: 2 / span 2;
    justify-content: center;
    gap: 3rem;
}

.text-right {
    text-align: right;
}

.align-center {
    align-items: center;
}

.pl-0 {
    padding-left: 0;
}

.grid-sub-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

/* Redesigning components to fit grid */
.about-grid {
    gap: 0;
}

.stats-row {
    gap: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.accent-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    margin-right: 5px;
}

.clients-grid {
    gap: 4rem 0;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.py-contact {
    padding: 4rem 0 8rem;
}

.footer-split {
    font-size: 0.8rem;
}

@media (max-width: 768px) {

    .grid-layout,
    .grid-sub-3,
    .clients-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .grid-overlay {
        display: none;
    }

    .nav-flex,
    .col-2,
    .col-4 {
        display: none;
    }

    .nav-center-props.mobile-active {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        flex-direction: column;
        background-color: rgba(20, 20, 20, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 0;
        justify-content: center;
        gap: 3rem;
        z-index: 999;
        align-items: center;
    }

    .nav-center-props.mobile-active .nav-link {
        font-size: 2.5rem;
        color: #fff;
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: 2rem;
        top: 2.5rem;
    }

    /* Mobile specific layout fixes */
    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .nyfiken-shift {
        margin-left: 0;
    }

    .giant-heading {
        font-size: 2.5rem;
    }

    .gallery-heading-right {
        font-size: 2.2rem;
        text-align: left;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .grid-sub-3.stats-row {
        flex-direction: row;
        justify-content: space-between;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
}

/* GDPR Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 90%;
    max-width: 600px;
    background-color: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    font-size: 0.85rem;
    color: #f0f0f0;
    margin: 0;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons .btn {
    padding: 0.8rem 1.5rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .cookie-banner {
        bottom: 1rem;
        width: 95%;
        padding: 1.5rem;
    }
}

.navbar .nav-container {
    display: none;
}

/* remove old layout */
.hero-content {
    display: none;
}

/* remove old */

/* ====== CONTACT MODAL & FORM ====== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-light);
    width: 90%;
    max-width: 500px;
    padding: 3rem;
    border-radius: 8px;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
}

.video-modal-content {
    max-width: 900px;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
    background-color: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent);
}

.modal-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.1);
}

.w-100 {
    width: 100%;
}

.form-success {
    text-align: center;
    padding: 2rem 0;
}

.form-success.hidden {
    display: none;
}

.form-success h3 {
    color: #4CAF50;
    margin-bottom: 1rem;
}

.carousel-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.6;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeIn 1.2s ease;
}

.carousel-hint .hint-arrow {
    font-size: 1.2rem;
    animation: arrowMove 1.8s infinite ease-in-out;
}

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

    50% {
        transform: translateX(6px);
    }

    100% {
        transform: translateX(0);
    }
}

.hint-arrow-left,
.hint-arrow-right {
    font-size: 1.2rem;
    animation: arrowMove 1.8s infinite ease-in-out;
}

.hint-arrow-left {
    animation-direction: reverse;
    /* gör att den rör sig åt vänster */
}

/* ===== SCROLL STORY ===== */

.scroll-story-block {
    margin: 8rem 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 2rem;
}

.scroll-text-left {
    grid-column: 1 / span 2;
    padding-right: 2rem;
}

.scroll-text-right {
    grid-column: 3 / span 2;
    padding-left: 2rem;
    text-align: right;
}

.scroll-image-left {
    grid-column: 1 / span 2;
}

.scroll-image-right {
    grid-column: 3 / span 2;
}

.scroll-image-full {
    grid-column: 1 / span 4;
}

.scroll-story-block img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

/* ===== NEW VIDEOPROJEKT GRID ===== */
.video-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.vp-item {
    display: flex;
    flex-direction: column;
}

/* Image Wrapper with Play Button (Reuses play-btn visually) */
.vp-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.4s ease;
    margin-bottom: 1.5rem;
}

.vp-image-wrapper:hover {
    transform: scale(1.02);
}

.vp-image-wrapper .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    font-size: 1rem;
}

/* Text Below Image */
.vp-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.vp-subtitle {
    font-size: 0.85rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 0.2rem;
}

.vp-roles {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grid Span Utilities */
.vp-span-12 {
    grid-column: span 12;
}

.vp-span-8 {
    grid-column: span 8;
}

.vp-span-6 {
    grid-column: span 6;
}

.vp-span-4 {
    grid-column: span 4;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .video-portfolio-grid {
        gap: 2rem;
    }

    .vp-span-8,
    .vp-span-6,
    .vp-span-4 {
        grid-column: span 12;
    }
}