
:root {  
    --font-primary: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    
    --color-text-primary: #ffffff;
    --color-text-secondary: #94a3b8;
    --color-text-grey-hover: rgb(58, 58, 58);
    --color-bg-primary: #121212;
    --color-bg-surface: #1b1b1b;
    --color-dark-grey:  rgb(34, 34, 34);
    --lightblue-to-lightpurple-gradient-color: linear-gradient(90deg,rgba(42, 123, 155, 1) 0%, rgba(255, 0, 255, 1) 100%);

    --purple-900: rgb(11, 2, 38);
    --purple-600: rgb(75, 25, 120);
    --purple-500: rgb(107, 33, 168);
    --purple-400: rgb(132, 87, 214);

    --transparent-dark-purple: rgba(75, 25, 120, 0.5);
    
    --border-grey: 1px solid rgb(48, 47, 47);
    --border-light-grey: 1px solid rgb(51, 51, 51);
    --border-white: 1px solid rgb(255, 255, 255);
    
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: linear-gradient(360deg, hsl(220 15% 7%), hsl(281, 90%, 12%));
    font-family: 'VHS-Font', sans-serif;
    color: var(--color-text-primary);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    height: 100%;
}

/* ============================================
   BACKGROUND
   ============================================ */
.mobile-bg {
    display: none;
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(360deg, hsl(220 15% 7%), hsl(281, 90%, 12%));
    background-size: cover;
    background-position: center;
}

/* ============================================
   ACCESSIBILITY - Skip Link
   ============================================ */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--purple-500);
    color: white;
    padding: var(--spacing-sm);
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.main-hotbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1100px;
    width: 95%;
    backdrop-filter: blur(30px);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: var(--border-light-grey);
    border-radius: 80px;
    gap: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 999;
}

/* Logo */
.cosmical-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: bold;
}

.cosmical-logo {
    border-radius: 50%;
    border: var(--border-light-grey);
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.cosmical-logo:hover {
    transform: scale(1.1);
}

.logo-text {
    background: linear-gradient(0deg, var(--purple-600) 0%, rgba(255, 255, 255, 1) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 4px;
}

/* Navigation Links */
.inside-hotbar {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex: 1;
    max-width: 800px;
    height: 50px;
    border: var(--border-light-grey);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border-radius: 40px;
    padding: 0 10px;
}

.hotbar-link {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(128deg, #555555 0%, rgba(255, 255, 255, 1) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all var(--transition-fast);
    padding: 4px 10px;
    border-radius: 30px;
    position: relative;
}

.hotbar-link:last-child {
   background-image: linear-gradient(90deg, #20acfd, #2cff37);
}

.hotbar-link:last-child:hover {
   background-image: linear-gradient(90deg, #a200ff, #00a2ff);
}

.hotbar-link:hover {
    background-image: linear-gradient(128deg, #ffffff 0%, rgba(255, 255, 255, 1) 100%);
}

.hotbar-link.active {
    background: linear-gradient(90deg, #6f00ff, #00a2ff);
    -webkit-text-fill-color: #fff;
    color: #fff;
}

/* Mobile Navigation verstecken auf Desktop */
.mobile-hotbar,
.hamburger,
.hamburger-menu {
    display: none;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
main {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    flex: 1;
}

/* Headline Container */
.headline-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 140px;
    margin-bottom: 20px;
    margin-bottom: 60px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.headline-container::after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: var(--color-text-secondary);
    margin-top: 20px;
    animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.upperline {
    font-size: 16px;
    color: var(--color-text-secondary);
    letter-spacing: 4px;
    margin-bottom: 10px;
    animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.headline-cosmical {
    font-size: clamp(32px, 6vw, 80px);
    font-weight: 300;
    letter-spacing: 20px;
    padding-left: 20px;
    color: white;
    animation: tracking-in-expand-fwd 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

/* ============================================
   HOME PAGE
   ============================================ */
.article-page {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    gap: 40px;
    padding-bottom: 40px;
    
}

.main-article {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 700px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: var(--purple-600) 2px solid;
}

.article-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.article-text {
    font-size: 13px;
    color: white;
    position: absolute;
    backdrop-filter: blur(20px);
    border: 1px solid white;
    padding: 4px 8px;
    left: 10px;
    bottom: 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
}

/* ============================================
   ABOUT US PAGE
   ============================================ */

.about-us-section {
    display: flex;
    align-items: center;
    margin: 0 auto;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    margin-bottom: 60px;
}

.about-us-text {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
    align-items: center;
    text-align: center;
    padding: 15px;
    justify-content: center;
    border-radius: 10px;
    font-size: 17px;
}

.timeline-header-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
    gap: 40px;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 30px;
}

.timeline-header-section {
    width: fit-content;
    display: flex;
    flex-direction: row;
    background-color: var(--transparent-dark-purple);
    border: 2px var(--purple-600) solid;
    border-radius: 40px;
    align-items: center;
    padding: 10px 25px;
    gap: 10px;
}

.timeline-header-section:hover {

}

.timeline-header-title {
    display: flex;
    justify-content: center;
    font-size: 60px;
    background-image: var(--lightblue-to-lightpurple-gradient-color);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.calendar-icon {
    filter: brightness(0) invert(1);
    width: 20px;
    height: 20px;
}

.timeline-container {
    display: flex;
    padding: 15px;
    justify-content: center;
    border-radius: 10px;
    gap: 40px;
}

.left-timeline-outside-box {
    display: flex;
    flex-direction: row;
}

.right-timeline-outside-box {
    display: flex;
    flex-direction: row-reverse;
}

.timeline-image {
    display: none;
    width: auto;
    height: 250px;
    transform: scale(0.9);
    opacity: 0;
    transition: 0.3s;
}

.timeline-image.active {
    transform: scale(1);
    opacity: 1;
}



.timeline-left-side {
    display: flex;
    flex-direction: column;
    gap: 315px;
}

.left-timeline-box, .right-timeline-box {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background-color: var(--transparent-dark-purple);
    border: 2px solid var(--purple-600);
    max-width: 300px;
    height: 230px;
    justify-content: center;
}

.left-timeline-box {
    border-radius: 20px;
}

.right-timeline-box {
    border-radius: 20px;
}

.left-timeline-box-heading, .right-timeline-box-heading{
    font-weight: 800;
    font-size: 20px;
    color: rgb(153, 0, 255);
}

.left-timeline-box-text {

}

.timeline-line {
    width: 2px;
    min-height: 100vh;
    background-image: linear-gradient(0deg,rgba(153, 0, 255, 1) 0%, rgba(0, 255, 221, 1) 100%);
    
}

.timeline-right-side {
    display: flex;
    flex-direction: column;
    gap: 315px;
    margin-top: 280px;  
}



.right-timeline-box-heading {
}

.right-timeline-box-text {

}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-bg-primary);
    width: 100%;
    padding: var(--spacing-lg);
    text-align: center;
    color: var(--color-text-primary);
    font-size: 18px;
    font-weight: 500;
    border-top: var(--border-light-grey);
}

.footer-socials-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.social-icon {
   margin-top: 4px;
   border: 1px solid light-dark;
   filter: brightness(0) invert(1);
   padding: 3px;
   border-radius: 5px;
   width: 35px;
   height: 35px;
}



.footer-social-link {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 5px 10px;
    border-radius: 10px;
    text-decoration: none;
    background-color: var(--color-dark-grey);
    border: 1px solid black;
    color: rgb(255, 255, 255);
    font-size: 16px;
    font-weight: 700;
    gap: 10px;
}

.footer-social-link:hover {
    background-color: var(--purple-600);
    border: 1px solid var(--purple-400);
    transition: all var(--transition-normal);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes scale-in-center {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes tracking-in-expand-fwd {
    0% {
        letter-spacing: -0.5em;
        transform: translateZ(-700px);
        opacity: 0;
    }
    40% {
        opacity: 0.6;
    }
    100% {
        transform: translateZ(0);
        opacity: 1;
    }
}

@keyframes fade-in-bottom {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@-webkit-keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
            transform: translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
            transform: translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}


/* ============================================
   FONTS
   ============================================ */
@font-face {
    font-family: 'VHS-Font';
    src: url('/assets/fonts/VHS-Font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
