/* R2 Kommunikation - Brand Guide Colors (Brandboard v1):
   Primary Purple/Blue: #4e5dd5 (Pantone 2726C - RGB 78, 93, 213)
   Dark Gray: #242a34 (RGB 36, 42, 52)
   Black: #000000 (RGB 0, 0, 0)
   White: #FFFFFF

   Fonts:
   - Stara Bold (body, paragraphs)
   - Tay Big Bird (headings, display)
*/

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

body {
    font-family: 'Stara', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background-color: #000000;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #4e5dd5;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: #4e5dd5;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #FFFFFF;
}

.logo-img {
    height: 75px;
    width: auto;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: #FFFFFF;
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.nav-menu a.active {
    opacity: 1;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Prevent scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: #000000;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: start;
    width: 100%;
    padding: 3rem 0;
}

.hero-main {
    display: grid;
    /* grid-template-columns: 30% 70%; */
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-left {
    position: relative;
}

.hero-portrait {
    width: 100%;
    height: 500px;
    background: #000000;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-portrait-img {
    width: 100%;
    height: 100%;
    background: #242a34;
    border-radius: 20px;
    overflow: hidden;
}

.focused-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Services Bubbles - Using PNG Images */
.services-bubbles {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 3rem 0;
    min-height: 500px;
}

.bubble {
    position: relative;
    width: auto;
    height: auto;
    display: block;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.services-bubbles .bubble-pr {
    transform: translateX(0vh) translateY(0vh);
}

.services-bubbles .bubble-krisen {
    width: 25vw;
    min-width: 20vw;
    max-width: 30vw;
    transform: translateX(0vw) translateY(0vh);
}

.services-bubbles .bubble-krisen .increased-font {
    font-size: 2.8em;
    line-height: 0.9;
}

.services-bubbles .bubble-coaching {
    transform: translateX(0vw) translateY(0vh);
}

.bubble img {
    width: 100%;
    height: auto;
    display: block;
}

.bubble div {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
    font-family: 'Stara', 'Montserrat', sans-serif;
    font-weight: bold;
    text-align: left;
    line-height: 1.3;
    pointer-events: none;
    z-index: 10;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Bubble sizes based on design - using responsive units */
.bubble-pr {
    width: 20vw;
    min-width: 200px;
    max-width: 280px;
}

.bubble-pr img {
    width: 100%;
}

.bubble-font {
    font-size: 2.4vw;
}

.bubble-krisen {
    width: 20vw;
    min-width: 200px;
    max-width: 280px;
}

.bubble-krisen img {
    width: 100%;
}

.bubble-font {
    font-size: 2.4vw;
}

.bubble-coaching {
    width: 20vw;
    min-width: 200px;
    max-width: 280px;
}

.bubble-coaching img {
    width: 100%;
}

.bubble-font {
    font-size: 1.7vw;
}

.services-bubbles .bubble-pr:hover {
    transform: translateY(calc(-30% - 10px));
    filter: brightness(1.1);
}

.services-bubbles .bubble-krisen:hover {
    transform: translateY(-10px);
    filter: brightness(1.1);
}

.services-bubbles .bubble-coaching:hover {
    transform: translateY(calc(-40% - 10px));
    filter: brightness(1.1);
}

/* Hero Claim */
.hero-claim {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
}

.hero-claim h1 {
    font-family: 'TAY Big Bird', 'Courier New', monospace;
    font-size: 3rem;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    word-wrap: break-word;
}

.hero-claim > p {
    font-size: 1rem;
    color: #FFFFFF;
    font-weight: 500;
    letter-spacing: 0.05em;
    word-wrap: break-word;
}

.hero-description {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #FFFFFF;
    opacity: 0.9;
    max-width: 900px;
}

/* Service Sections */
.service-section {
    padding: 6rem 2rem;
    background: #000000;
    border-top: 1px solid #242a34;
    scroll-margin: 100px;
}

.content-container {
    display: grid;
    grid-template-columns: 20% 80%;
}

.section-title {
    font-family: 'TAY Big Bird', 'Courier New', monospace;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #4e5dd5;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.service-content {
    max-width: 900px;
}

.service-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #FFFFFF;
    opacity: 0.9;
}

/* Team Section */
.team {
    padding: 6rem 0;
    background: #000000;
    border-top: 1px solid #242a34;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 3rem;
}

.team-member {
    background: #000000;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.team-member:hover {
    border-color: #FFFFFF;
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 1.5rem;
    border: 2px solid #4e5dd5;
}

.team-member h3 {
    font-family: 'TAY Big Bird', 'Courier New', monospace;
    font-size: 1.8rem;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.team-role {
    font-size: 0.9rem;
    color: #4e5dd5;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.team-contact {
    font-size: 0.9rem;
    color: #FFFFFF;
    margin: 0.3rem 0;
}

.team-contact a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.team-contact a:hover {
    color: #4e5dd5;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #000000;
    border-top: 1px solid #242a34;
}

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-item {
    padding: 2rem;
}

.contact-item h3 {
    font-family: 'TAY Big Bird', 'Courier New', monospace;
    color: #4e5dd5;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-item p {
    color: #FFFFFF;
    font-size: 1rem;
    opacity: 0.9;
}

.contact-item a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #4e5dd5;
}

/* Footer */
.footer {
    background: #000000;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #242a34;
}

.footer p {
    color: #FFFFFF;
    opacity: 0.7;
    margin: 0.5rem 0;
}

.footer a {
    color: #4e5dd5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #FFFFFF;
}

.table-left {
    z-index: 5;
}

.table-right {
    margin: 2rem;
    background-color: #242a34;
    border-radius: 20px;
    padding: 2rem;
    z-index: 2;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .burger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background-color: #4e5dd5;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
        gap: 0;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        font-size: 1.1rem;
        display: block;
        padding: 0.5rem 1rem;
    }

    .logo-img {
        height: 60px;
    }

    .hero-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-bubbles {
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        min-height: 600px;
    }

    .bubble-pr, 
    .bubble-coaching {
        width: 28vw;
        min-width: 180px;
        max-width: 220px;
    }

    .services-bubbles .bubble-krisen {
        width: 40vw;
        min-width: 20vw;
        max-width: 60vw;
    }

    .bubble-font {
        font-size: 2.5vw;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .table-right {
        margin: 2rem;
        margin-left: 4.5em;
        background-color: #242a34;
        border-radius: 20px;
        padding: 2rem;
    }

    .services-bubbles .bubble-pr {
        transform: translateX(2.5vh) translateY(-10vh);
    }

    .services-bubbles .bubble-krisen {
        transform: translateX(vw) translateY(vh);
    }

    .services-bubbles .bubble-krisen .increased-font {
        font-size: 2.8em;
        line-height: 0.9;
    }

    .services-bubbles .bubble-coaching {
        transform: translateX(-5vw) translateY(5vh);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-menu {
        top: 80px;
    }

    .logo-img {
        height: 50px;
    }

    nav {
        padding: 15px 0;
    }

    .hero {
        padding-top: 80px;
    }

    .hero-content {
        gap: 2rem;
        padding: 2rem 0;
    }

    .hero-main {
        gap: 2rem;
    }

    .hero-portrait {
        height: 400px;
    }

    .hero-claim h1 {
        font-size: 2rem;
    }

    .hero-claim > p {
        font-size: 0.9rem;
    }

    .hero-description {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-section {
        padding: 4rem 0;
    }

    .bubble-pr,
    .bubble-coaching {
        width: 35vw;
        min-width: 20vw;
        max-width: 40vw;
    }

    .bubble-krisen {
        width: 50vw;
        min-width: 30vw;
        max-width: 50vw;
    }

    .bubble-font {
        font-size: 3.2vw;
    }

    .services-bubbles {
        gap: 1rem;
        padding: 2rem 0;
        min-height: 800px;
        align-items: center;
        justify-content: center;
    }

    .team-grid {
        gap: 2rem;
    }

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

    .content-container {
        display: grid;
        grid-template-columns: 1fr;
    }

    .table-right {
        margin: 2rem;
        margin-left: 4.5em;
        background-color: #242a34;
        border-radius: 20px;
        padding: 2rem;
        transform: translateY(-8vh);
    }

    .services-bubbles .bubble-pr {
        transform: translateX(0vh) translateY(-10vh);
    }

    .services-bubbles .bubble-krisen {
        transform: translateX(-15vw) translateY(12vh);
    }

    .services-bubbles .bubble-krisen .increased-font {
        font-size: 2.8em;
        line-height: 0.9;
    }

    .services-bubbles .bubble-coaching {
        transform: translateX(25vw) translateY(0vh);
    }
}

@media (max-width: 480px) {
    .nav-menu {
        top: 70px;
        padding: 1.5rem 0;
    }

    .nav-menu a {
        font-size: 1rem;
    }

    .logo-img {
        height: 60px;
    }

    .burger-menu {
        width: 25px;
        height: 20px;
    }

    .burger-menu span {
        height: 2.5px;
    }

    .burger-menu.active span:nth-child(1) {
        transform: translateY(8.75px) rotate(45deg);
    }

    .burger-menu.active span:nth-child(3) {
        transform: translateY(-8.75px) rotate(-45deg);
    }

    nav {
        padding: 12px 0;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-content {
        gap: 1.5rem;
        padding: 1.5rem 0;
    }

    .hero-main {
        gap: 1.5rem;
    }

    .hero-portrait {
        height: 300px;
    }

    .hero-claim h1 {
        font-size: 1.5rem;
    }

    .hero-claim > p {
        font-size: 0.85rem;
    }

    .hero-description {
        font-size: 0.75rem;
        line-height: 1.6;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-section {
        padding: 3rem 0;
    }

    .service-content p {
        font-size: 1rem;
    }

    .bubble {
        width: 50vw;
        min-width: 180px;
        max-width: 220px;
        z-index: 10;
    }

    .bubble-krisen .increased-font {
        font-size: 1.7em;
    }

    .bubble-font {
        font-size: 1.5em;
    }

    .services-bubbles {
        padding: 1.5rem 0;
        min-height: 650px;
    }


    .services-bubbles .bubble-pr {
        max-width: 30vw;
        transform: translateX(-20vw) translateY(0vh);
    }

    .services-bubbles .bubble-krisen {
        width: 75vw;
        min-width: 30vw;
        max-width: 80vw;
        transform: translateX(0vw) translateY(-1vh);
    }

    .services-bubbles .bubble-coaching {
        width: 30vw;
        transform: translateX(20vw) translateY(-3vh);
    }

    .team-member h3 {
        font-size: 1.5rem;
    }

    .team-contact {
        font-size: 0.85rem;
    }

    .contact-item h3 {
        font-size: 1rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    .content-container {
        display: grid;
        grid-template-columns: 1fr;
    }

    .table-right {
        margin: 2rem;
        margin-left: 4.5em;
        background-color: #242a34;
        border-radius: 20px;
        padding: 2rem;
        transform: translateY(-8vh);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.team-image {
    margin-bottom: -10px;
}

