/*
  ========================================
  STYLE.CSS
  Business Consulting Website
  Design System: Creative
  Trend: Eco-minimalism
  Color Scheme: Tetrad
  Animation Style: Micro-animations
  ========================================
*/

/* ---------------------------------- */
/*          CSS VARIABLES             */
/* ---------------------------------- */
:root {
    /* Tetrad Color Scheme */
    --primary-color: #27ae60;      /* Green - Nature, Growth */
    --primary-color-dark: #229954;
    --secondary-color: #3498db;    /* Blue - Trust, Professionalism */
    --accent-color-1: #f39c12;     /* Orange - Energy, Creativity */
    --accent-color-2: #e74c3c;     /* Red - Action, Passion */

    /* Neutral & Text Colors */
    --text-color: #555555;
    --heading-color: #222222;
    --background-light: #f9f9f9;
    --white-color: #ffffff;
    --border-color: #e0e0e0;
    --footer-background: #1f1f1f;
    
    /* Fonts */
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Rubik', sans-serif;

    /* UI Elements */
    --transition-speed: 0.3s ease-in-out;
    --border-radius: 8px;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    --card-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.1);
    --header-height: 80px;
}

/* ---------------------------------- */
/*          GLOBAL STYLES             */
/* ---------------------------------- */
html {
    scroll-behavior: smooth;
    background-color: var(--white-color);
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

/* ---------------------------------- */
/*         TYPOGRAPHY & LINKS         */
/* ---------------------------------- */
h1, h2, h3, h4, h5, h6, .title, .subtitle {
    font-family: var(--font-heading);
    color: var(--heading-color);
    font-weight: 800;
}

.title {
    color: var(--heading-color);
}

.subtitle {
    color: var(--text-color);
    font-weight: 400;
}

a {
    color: var(--primary-color);
    transition: var(--transition-speed);
}

a:hover {
    color: var(--primary-color-dark);
}

.section-title {
    margin-bottom: 1.5rem !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

p {
    margin-bottom: 1rem;
}

/* ---------------------------------- */
/*        UTILITY & HELPERS           */
/* ---------------------------------- */
.section {
    padding: 6rem 1.5rem;
}

.animated-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--transition-speed), transform 0.6s var(--transition-speed);
}

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

.static-page-content {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 40px;
    min-height: calc(100vh - var(--header-height));
}

.success-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    padding: 2rem;
    background-color: var(--background-light);
}

.success-container .icon {
    font-size: 5rem;
    color: var(--primary-color);
}

.success-container h1 {
    font-size: 3rem;
    margin: 1rem 0;
}

/* ---------------------------------- */
/*         HEADER & NAVIGATION        */
/* ---------------------------------- */
.header.is-fixed-top .navbar {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: var(--header-height);
}

.navbar-item.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.navbar-item.logo strong {
    font-weight: 800;
    color: var(--primary-color);
}

.navbar-item {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    color: var(--heading-color);
    transition: var(--transition-speed);
}

.navbar-item:hover, .navbar-item.is-active {
    background-color: transparent !important;
    color: var(--primary-color) !important;
}

.navbar-burger {
    color: var(--heading-color);
}

@media screen and (max-width: 1023px) {
    .navbar-menu {
        background-color: var(--white-color);
        box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
        padding: 0.5rem 0;
    }
}


/* ---------------------------------- */
/*           HERO SECTION             */
/* ---------------------------------- */
#hero {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
}

#hero .background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

#hero .hero-body {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero .hero-title, #hero .hero-subtitle {
    color: var(--white-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

#hero .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
}

#hero .hero-subtitle {
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}

@media screen and (max-width: 768px) {
    #hero .hero-title {
        font-size: 2.5rem;
    }
}


/* ---------------------------------- */
/*           GLOBAL BUTTONS           */
/* ---------------------------------- */
.button {
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--border-radius);
    transition: var(--transition-speed);
    box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);
    border-width: 2px;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
}

.button.is-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.button.is-primary:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
}

.button.is-primary.is-outlined {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.button.is-primary.is-outlined:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* ---------------------------------- */
/*        CARDS (GLOBAL STYLE)        */
/* ---------------------------------- */
.card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: all var(--transition-speed);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.card .card-image {
    width: 100%;
    text-align: center;
}

.card .card-image img, .card .image-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card .is-rounded {
    border-radius: 50% !important;
    width: 150px !important;
    height: 150px !important;
    margin: 2rem auto 1rem auto;
    object-fit: cover;
    border: 4px solid var(--background-light);
}

.card .card-content {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card .title {
    margin-bottom: 0.5rem;
}

/* ---------------------------------- */
/*         SPECIFIC SECTIONS          */
/* ---------------------------------- */

/* Mission & Timeline */
.timeline-container {
    max-width: 800px;
    margin: 3rem auto 0 auto;
}
.timeline {
    position: relative;
    padding: 2rem 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
    transform: translateX(-50%);
}
.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 40px;
}
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}
.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-marker {
    position: absolute;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--white-color);
    border: 4px solid var(--primary-color);
    z-index: 1;
}
.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}
.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}
.timeline-content .heading {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

/* Progress Bars */
.progress-container {
    margin-bottom: 1rem;
}
.progress {
    height: 0.75rem;
    border-radius: var(--border-radius);
}
.progress.is-primary::-webkit-progress-value { background-color: var(--primary-color); }
.progress.is-success::-webkit-progress-value { background-color: var(--secondary-color); }
.progress.is-warning::-webkit-progress-value { background-color: var(--accent-color-1); }

/* Careers Section */
#karriere .image-container img {
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

/* External Resources */
.resource-card {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: var(--transition-speed);
}
.resource-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--card-shadow);
    transform: translateY(-3px);
}
.resource-card a {
    text-decoration: none;
    color: var(--heading-color);
}
.resource-card a:hover {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form .input, .contact-form .textarea {
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: none;
    transition: var(--transition-speed);
}
.contact-form .input:focus, .contact-form .textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.125em rgba(39, 174, 96, 0.25);
}
.contact-form .label {
    color: var(--heading-color);
    font-weight: 500;
}

/* Custom Switch Toggle */
.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
}
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    margin-right: 12px;
}
.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}
.switch::before {
    content: "";
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}
.switch::after {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .label-text {
    color: var(--primary-color);
}
input:checked + .label-text .switch::before {
    background-color: var(--primary-color);
}
input:checked + .label-text .switch::after {
    transform: translateX(22px);
}

/* ---------------------------------- */
/*               FOOTER               */
/* ---------------------------------- */
.footer {
    background-color: var(--footer-background);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 1.5rem 2rem;
}

.footer .title {
    color: var(--white-color);
}

.footer p, .footer li {
    color: rgba(255, 255, 255, 0.7);
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-speed);
}

.footer a:hover {
    color: var(--primary-color);
}

.footer .social-links a {
    display: inline-block;
    margin-right: 1.5rem;
    font-weight: 500;
    text-decoration: none;
}
.footer .social-links a:last-child {
    margin-right: 0;
}

.footer .content p {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------------------------------- */
/*          RESPONSIVE DESIGN         */
/* ---------------------------------- */
@media screen and (max-width: 768px) {
    .section {
        padding: 4rem 1.5rem;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 45px;
        padding-right: 15px;
    }

    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-marker, .timeline-item:nth-child(even) .timeline-marker {
        left: 0px;
    }
}