/* Reset a základné štýly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #f8f9fa;
    min-height: 100vh;
    color: #1a1a1a;
    line-height: 1.6;
}

/* Navigácia */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e5e5;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: 80px;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border-radius: 8px;
    padding: 8px 12px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    position: relative;
    z-index: 1;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
}

.nav-link:hover {
    color: #1a1a1a;
    background: #f3f4f6;
    transform: translateY(-1px);
}

.nav-link.active {
    color: #1a1a1a;
    background: #e5e7eb;
    font-weight: 500;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background: #1a1a1a;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hlavný obsah */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    padding: 3rem 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Documents Section */
.documents-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: calc(100vh - 80px);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
}

/* Documents Grid */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.document-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e6ed;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.document-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.document-preview {
    width: 100%;
    height: 300px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #f5f5f5;
    border: 1px solid #e0e6ed;
}

.pdf-preview {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.document-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.document-description {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.document-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.document-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.document-btn:active {
    transform: translateY(0);
}

/* Documents Note */
.documents-note {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #f39c12;
    color: #856404;
    font-weight: 500;
    text-align: center;
    margin-top: 2rem;
}

/* Responzívny dizajn */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        grid-template-columns: auto 1fr auto;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        border-top: 1px solid #e5e5e5;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        padding: 1rem 2rem;
        color: #1a1a1a;
        border-bottom: 1px solid #f5f5f5;
        width: 100%;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: #0066cc;
        background: #f8f9fa;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .document-card {
        padding: 1.5rem;
    }
    
    .document-preview {
        height: 250px;
        margin-bottom: 1rem;
    }
    
    .main-content {
        padding: 2rem 0;
    }
    
    .documents-section {
        padding: 2rem 0;
    }
}

