/* Styles for Tehnika page */

/* Hero section */
.hero-small {
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    position: relative;
    color: white;
    text-align: center;
}

.hero-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-small .container {
    position: relative;
    z-index: 2;
}

.hero-small h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-small p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Navigation for technical sections */
.tech-nav {
    background: #f5f5f5;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 80px; /* Adjust based on your header height */
    z-index: 100;
}

.tech-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-nav-list li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tech-nav-list li a:hover,
.tech-nav-list li a:focus {
    background-color: #e0e0e0;
    color: #d32f2f;
}

/* Technical sections */
.tech-section {
    padding: 5rem 0;
}

.tech-section.bg-light {
    background-color: #f9f9f9;
}

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

.tech-header h2 {
    color: #d32f2f;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tech-content {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 3rem;
    align-items: center;
}

.tech-image {
    position: relative;
}

.tech-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-text {
    color: #444;
}

.tech-text h3 {
    color: #d32f2f;
    margin: 1.5rem 0 1rem;
    font-size: 1.5rem;
}

.tech-text p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-text ul,
.tech-text ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.tech-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.btn-download {
    display: inline-block;
    background-color: #d32f2f;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-download:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Downloads section */
.downloads-section {
    background-color: #f5f5f5;
    padding: 3rem 0;
    margin-top: 3rem;
}

.downloads-section h3 {
    text-align: center;
    color: #d32f2f;
    margin-bottom: 2rem;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.download-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.download-card h4 {
    color: #333;
    margin-bottom: 1rem;
}

.download-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.download-card .btn-download {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
}

/* Testimonials */
.testimonial {
    font-style: italic;
    background: #f9f9f9;
    padding: 2rem;
    border-left: 4px solid #d32f2f;
    margin: 3rem 0;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 5rem;
    color: rgba(211, 47, 47, 0.2);
    position: absolute;
    top: -15px;
    left: 10px;
}

.testimonial-author {
    font-weight: bold;
    margin-top: 1rem;
    text-align: right;
    font-style: normal;
}

/* Responsive design */
@media (max-width: 992px) {
    .tech-content {
        grid-template-columns: 1fr;
    }
    
    .tech-image {
        margin-bottom: 2rem;
    }
    
    .tech-nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .tech-nav-list li {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-small h1 {
        font-size: 2.5rem;
    }
    
    .tech-header h2 {
        font-size: 2rem;
    }
    
    .tech-content {
        grid-template-columns: 1fr;
    }
    
    .tech-image {
        order: -1;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-small h1 {
        font-size: 2rem;
    }
    
    .hero-small p {
        font-size: 1rem;
    }
    
    .tech-section {
        padding: 3rem 0;
    }
}
