/* Základní styly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background: #000000;
    color: #ffffff;
}

::-moz-selection {
    background: #000000;
    color: #ffffff;
}

body {
    font-family: 'Figtree', sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Navigace */
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
    background-color: #ffffff;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.nav-bar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    margin: 0 auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.nav-bar ul li {
    margin-right: 25px;
    margin-left: 25px;
}

.nav-bar ul li a {
    text-decoration: none;
    color: #000000;
    font-size: 14px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 0.9em;
    transition: all 0.4s ease;
    position: relative;
    opacity: 0;
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.nav-bar ul li:nth-child(1) a { animation-delay: 0.1s; }
.nav-bar ul li:nth-child(2) a { animation-delay: 0.2s; }
.nav-bar ul li:nth-child(3) a { animation-delay: 0.3s; }
.nav-bar ul li:nth-child(4) a { animation-delay: 0.4s; }
.nav-bar ul li:nth-child(5) a { animation-delay: 0.5s; }

.nav-bar ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 50%;
    background-color: #000000;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.nav-bar ul li a:hover::after {
    width: 90%;
}

.nav-bar ul li a:hover {
    text-shadow: 0 0 20px rgba(0, 0, 0, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Hero sekce */
.hero-section {
    background: #2b2b2b;
    background-size: cover;
    background-position: center;
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 6rem 2rem;
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.05s forwards;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}

/* Služby sekce */
.services-section {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
    opacity: 0;
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.15s forwards;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    opacity: 0;
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: #C95603;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card li::before {
    content: "•";
    color: #C95603;
    position: absolute;
    left: 0;
}

/* Proces sekce */
.process-section {
    padding: 4rem 2rem;
    opacity: 0;
    animation: fadeIn 0.6s ease-out 1.1s forwards;
}

.process-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    opacity: 0;
    animation: fadeIn 0.6s ease-out 1.2s forwards;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem;
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.step:nth-child(1) { animation-delay: 1.3s; }
.step:nth-child(2) { animation-delay: 1.4s; }
.step:nth-child(3) { animation-delay: 1.5s; }
.step:nth-child(4) { animation-delay: 1.6s; }

.step-number {
    width: 50px;
    height: 50px;
    background-color: #C95603;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 1rem;
    color: #C95603;
}

/* CTA sekce */
.cta-section {
    background-color: #2b2b2b;
    color: #C95603;
    text-align: center;
    padding: 4rem 2rem;
    opacity: 0;
    animation: fadeIn 0.6s ease-out 1.7s forwards;
}

.cta-section h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    opacity: 0;
    animation: fadeIn 0.6s ease-out 1.8s forwards;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    opacity: 0;
    animation: fadeIn 0.6s ease-out 1.9s forwards;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: #C95603;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transform: scale(1);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    animation: fadeIn 0.6s ease-out 2.0s forwards;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: #2b2b2b;
    padding: 10px;
    text-align: center;
}

.footer p {
    font-size: 0.8rem;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.51);
    margin: 0;
}

/* Responzivní design */
@media (max-width: 768px) {
    .nav-bar ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
} 