/* AirVital Systems - CSS */
:root {
    --color-blue: #2D2F92;
    --color-lime: #E6F933;
    --color-ivory: #FAFAF2;
    --color-gray: #3E3E3E;
    --color-turquoise: #10E6C5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-ivory);
    color: var(--color-gray);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

h1, h2, h3 {
    margin-bottom: 20px;
    color: var(--color-blue);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--color-lime);
}

p {
    margin-bottom: 20px;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-blue);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--color-turquoise);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--color-lime);
    color: var(--color-gray);
}

.btn-secondary:hover {
    background-color: #d4e529;
}

/* Responzivní Grid */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

.grid-4 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Animace bez JS pomocí CSS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Hero section */
#hero {
    background-image: linear-gradient(rgba(45, 47, 146, 0.85), rgba(16, 230, 197, 0.85)), url('./img/DzRmbK.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Footer styles */
footer {
    background-color: var(--color-gray);
    color: white;
    padding: 40px 0 20px;
}

footer h3 {
    color: var(--color-lime);
}

footer a {
    color: white; 
    text-decoration: underline;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer li {
    margin-bottom: 10px;
}

footer li a {
    color: white;
    text-decoration: none;
}

footer .copyright {
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
} 