@import url(https://fonts.googleapis.com/css?family=Raleway:700|Hind+Guntur:400,700&subset=latin-ext);

:root {
    --bg-color: #f0fdfa; /* Jemny tyrkysovy nadych */
    --card-bg: #ffffff;
    --primary: #00BFA5;
    --primary-dark: #009688;
    --primary-light: #1de9b6;
    --text-main: #1f2937;
    --text-muted: #64748b;
    --border-color: #ccf2ec;
    --shadow-sm: 0 4px 6px -1px rgba(0, 191, 165, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 191, 165, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 191, 165, 0.15);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background: var(--text-main); color: var(--primary); }

body {
    font-family: 'Hind Guntur', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-size: 1.2rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Split Layout */
.split-layout {
    display: flex;
    min-height: 100vh;
}

/* Sticky Header Sidebar */
header {
    flex: 0 0 38%;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(-45deg, var(--primary), var(--primary-dark), var(--primary-light), var(--primary));
    background-size: 400% 400%;
    animation: gradientBG 30s ease infinite;
    padding: 4rem 3rem;
    text-align: left;
    overflow: hidden;
    box-shadow: 5px 0 25px rgba(0,0,0,0.1);
}

/* Dynamic PC shapes */
header::before, header::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 160px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.05), 0 10px 30px rgba(0,0,0,0.1);
    top: -20px;
    left: -50px;
    animation: floatShape 22s infinite alternate ease-in-out;
}
header::after {
    width: 180px;
    height: 240px; /* Looks like a vertical monitor or server rack */
    top: auto;
    bottom: -50px;
    left: auto;
    right: -50px;
    border-radius: 8px;
    animation-direction: alternate-reverse;
    animation-duration: 28s;
}

@keyframes floatShape {
    0% { transform: translateY(0) scale(1) rotate(0deg); }
    100% { transform: translateY(30px) scale(1.05) rotate(5deg); }
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.header-top { position: relative; z-index: 2; }
.header-bottom { position: relative; z-index: 2; margin-top: 2rem; }

header h1 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 6.2rem;
    color: #000000;
    line-height: 0.85;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

header h1 span {
    color: #ffffff;
    display: block;
}

header h3 {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 2;
}

/* Header Contact Info */
.header-contact {
    color: rgba(255, 255, 255, 0.95);
}

.header-contact a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.header-contact a:hover {
    color: #ffffff;
    text-decoration: underline;
    opacity: 0.85;
}

.support-group {
    margin-bottom: 2rem;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
}

.personal-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
}

.contact-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.contact-text i {
    width: 1.25rem;
    text-align: center;
}

.contact-text a {
    color: inherit;
    text-decoration: none;
    transform: translateY(2px);
}

.header-contact .social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.header-contact .social-links a {
    opacity: 0.8;
    font-weight: 400;
}
.header-contact .social-links a:hover {
    opacity: 1;
}

.btn-elegant {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ffffff;
    color: var(--primary) !important;
    font-weight: 700;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-elegant span {
    display: inline-block;
    transform: translateY(1.5px);
}

.btn-elegant:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    color: var(--primary-dark) !important;
}

/* Main Content Area */
main {
    flex: 1;
    padding: 4rem 4rem 4rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

section:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

h1, h2, h3 { font-family: 'Raleway', sans-serif; color: var(--text-main); }
main h1 { font-size: 2.5rem; margin-bottom: 1.5rem; }
main h2 { font-size: 2rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--border-color); padding-bottom: 0.5rem; }
main h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--primary); }

p { margin-bottom: 1.25rem; }
a { color: var(--primary); text-decoration: none; font-weight: 600; transition: var(--transition); }
a:hover { color: var(--primary-dark); text-decoration: underline; }

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    list-style: none;
}

.features-list li {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.features-list li:hover {
    background: var(--card-bg);
    border-color: var(--primary);
    box-shadow: inset 4px 0 0 var(--primary), var(--shadow-sm);
}

.features-list li strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* Projects List (List View) */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.projects-list .project-item {
    background: transparent;
    padding: 1rem 1.5rem;
    border-left: 4px solid transparent;
    transition: var(--transition);
    border-radius: 8px;
}

.projects-list .project-item:hover {
    background: var(--bg-color);
    border-left: 4px solid var(--primary);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.projects-list .project-item p {
    margin: 0;
    display: inline;
}

.projects-list .project-item b {
    font-size: 1.25rem;
    margin-right: 0.5rem;
    display: inline-block;
}

footer { text-align: center; padding: 2rem; color: var(--text-muted); font-size: 0.95rem; margin-top: 2rem;}

/* Utilities */
.noselect { user-select: none; }
.desktop-only { display: block; }
.mobile-only { display: none; }

/* Responsive */
@media screen and (max-width: 1024px) {
    header h1 { font-size: 4.5rem; }
}

@media screen and (max-width: 900px) {
    body { font-size: 1.1rem; }
    main h1 { font-size: 2.2rem; }
    main h2 { font-size: 1.8rem; }
    .split-layout { flex-direction: column; }
    
    header {
        flex: none;
        height: auto;
        position: relative;
        padding: 4rem 2rem;
        text-align: center;
        justify-content: center;
    }

    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }
    
    main { padding: 0; gap: 1px; background: var(--border-color); }
    section { 
        padding: 3rem 1.5rem; 
        border-radius: 0; 
        border: none;
        box-shadow: none;
    }
    section:hover { box-shadow: none; transform: none; }

    .support-group-mobile, .personal-group-mobile {
        padding: 1rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .support-group-mobile .contact-text, .personal-group-mobile .contact-text {
        justify-content: center;
        color: var(--text-main);
    }
    .personal-group-mobile .social-links {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        margin-top: 1rem;
    }
    .personal-group-mobile .social-links a {
        color: var(--primary);
    }
    .personal-group-mobile .social-links a:hover {
        color: var(--primary-dark);
    }
    .support-group-mobile .contact-text a, .personal-group-mobile .contact-text a {
        color: var(--primary);
    }
}