.header-card {
    max-width: 800px;
    text-align: center;
    background: rgba(40, 40, 40, 0.85);
    padding: 25px 40px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    margin-bottom: 40px;
}

.container-references {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: var(--secondary-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#content {
    display: none;
}
.hero h2,h3{
color: #15B884;
}
.hero-green {
color: #15B884 !important;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.tech-item {
    background: rgba(59, 130, 246, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--text-color);
    border: 1px solid var(--accent-color);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.content-text {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: left;
}


.content-text strong {
    color: var(--accent-color);
    font-weight: 600;
}

.date-info {
    color: var(--accent-color);
    font-weight: 500;
    margin-top: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .header-references {
        height: 50vh;
        min-height: 400px;
    }

    .header-card {
        margin: 0 20px 40px 20px;
        padding: 20px;
    }

    .container-references {
        margin: 20px;
    }
}
.container-gallery {
max-width: 1000px;
margin: 40px auto;
padding: 0 20px;
}

.container-gallery h3 {
color: var(--accent-color);
margin-bottom: 20px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 1px;
}

.grid-gallery {
display: grid;
grid-template-columns: 1fr; 
grid-gap: 20px;
}

.grid-gallery a img {
width: 100%;
display: block;
object-fit: cover;
border-radius: 8px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
cursor: pointer;
}

.grid-gallery a img:hover {
transform: scale(1.03);
box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
.header-references {
height: 50vh;
min-height: 400px;
}

.header-card {
width: 100%;
max-width: none;
margin: 0 auto;
padding: 20px;
border-radius: 0;
}

.container-references {
margin: 20px;
}

.tech-stack {
display: flex;
flex-wrap: nowrap; 
overflow-x: auto; 
gap: 10px;
padding-bottom: 10px;
}

.tech-item {
white-space: nowrap; 
flex: 0 0 auto; 
}

a {
    color: #15b884;    
    text-decoration: underline;
    font-weight: bold; 
}


.startup-header {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0; 
}

.valign {
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    padding: 0 15px; 
}

.caption {
    width: 100%;
    margin: 0 auto;
}

.lg-text {
    font-size: 3rem;
    line-height: 1.1;
    overflow: hidden;
}

/* Media query pro zařízení do 768px */
@media (max-width: 768px) {
    .startup-header {
        height: auto; 
        padding: 20px 10px;
    }
    
    .container.pt-100 {
        padding-top: 0;
    }

    .lg-text {
        font-size: 2rem; 
        line-height: 1.2;
    }
    
    .text-animation {
        animation: none;
    }
    
    .text-line {
        display: block;
        text-align: center;
        width: 100%;
    }
}

}
