/* Additional styles for service pages and other detail pages */

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    margin-top: 90px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.breadcrumbs {
    font-size: 1rem;
}

.breadcrumbs a {
    color: #fff;
    opacity: 0.8;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    opacity: 1;
}

.breadcrumbs span {
    opacity: 0.6;
}

/* Service Page Styles */
.services-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.services-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}

.services-intro h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse .service-detail-content,
.service-detail.reverse .service-detail-image {
    direction: ltr;
}

.service-detail-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-detail-content h4 {
    font-size: 1.3rem;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.service-icon.large {
    width: 100px;
    height: 100px;
    margin: 0 0 20px;
}

.service-icon.large i {
    font-size: 3rem;
}

.process-list {
    padding-left: 20px;
    margin-bottom: 20px;
}

.process-list li {
    margin-bottom: 10px;
    position: relative;
}

.service-features {
    padding-left: 20px;
    margin-bottom: 20px;
}

.service-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tech-tags span {
    background-color: var(--light-color);
    padding: 8px 15px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    color: var(--dark-color);
    transition: var(--transition);
}

.tech-tags span:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.service-detail-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefits-grid,
.application-areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.benefit-icon i {
    color: #fff;
    font-size: 1.2rem;
}

.benefit-content h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.application-item {
    padding: 20px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.application-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.application-item h5 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.services-cta {
    text-align: center;
    padding: 60px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    margin-top: 40px;
}

.services-cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.services-cta p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Page Styles */
.about-page {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.about-image-full {
    margin-bottom: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-content-full h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    margin-top: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.value-item {
    padding: 30px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 2rem;
    color: #fff;
}

.value-item h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.team-section {
    margin: 60px 0;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-image {
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.team-position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-description {
    color: #777;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    gap: 10px;
}

.team-social a {
    width: 35px;
    height: 35px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.history-section {
    margin: 60px 0;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 40px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--light-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-badge {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    top: 15px;
    right: -30px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-item:nth-child(even) .timeline-badge {
    left: -30px;
}

.timeline-content {
    padding: 20px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.timeline-content h3 {
    margin-bottom: 10px;
}

.cta-section {
    text-align: center;
    padding: 60px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    margin-top: 60px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-section p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Page Styles */
.contact-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.bg-dark .contact-page {
    color: #fff;
}

.contact-details,
.contact-map {
    padding: 30px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.bg-dark .contact-details,
.bg-dark .contact-map {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-details h2,
.contact-map h2,
.contact-form-section h2,
.contact-details h3,
.contact-map h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.bg-dark .contact-details h3,
.bg-dark .contact-map h3 {
    color: #fff;
}

.contact-info-group {
    margin: 30px 0;
}

.map-container {
    height: 450px;
    margin-top: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.contact-form-section {
    padding: 40px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.form-checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-checkbox label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.form-success {
    text-align: center;
    padding: 30px;
}

.form-success i {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

/* Responsive Styles for Additional Pages */
@media (max-width: 992px) {
    .service-detail,
    .contact-page {
        grid-template-columns: 1fr;
    }
    
    .service-detail.reverse {
        direction: ltr;
    }
    
    .timeline::after {
        left: 40px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-badge {
        left: 10px;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-badge {
        left: 10px;
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 200px;
        margin-top: 48px; /* Further reduced margin to match smaller header */
        padding-top: 20px; /* Add padding to ensure content isn't hidden */
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .benefits-grid,
    .application-areas {
        grid-template-columns: 1fr;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Styles for services summary list */
.services-summary {
    max-width: 900px;
    margin: 0 auto 30px;
    padding: 20px 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.services-summary h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-align: center;
}

.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.services-list li {
    position: relative;
    padding: 6px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.services-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 0.9rem;
}

.services-button {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 40px;
}

.expertise-section {
    margin: 30px 0 50px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.expertise-section .section-header {
    margin-top: 10px;
    margin-bottom: 30px;
}

.projects-section {
    margin: 60px 0 30px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.projects-section .section-header {
    margin-top: 10px;
    margin-bottom: 40px;
}

.project-card {
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #d0d7de;
}

.project-card .card-body {
    padding: 20px;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-card .btn-primary {
    background-color: #00A3E0;
    border-color: #00A3E0;
}

.project-card .btn-primary:hover {
    background-color: #0088c3;
    border-color: #0088c3;
}

@media (max-width: 768px) {
    .services-list {
        grid-template-columns: 1fr;
    }
}

/* Company Information Section Styles */
.company-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.company-info-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.company-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card-header {
    background: var(--primary-color);
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-header i {
    font-size: 24px;
}

.card-header h3 {
    margin: 0;
    font-size: 20px;
}

.card-content {
    padding: 20px;
}

.company-info-list, .company-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.company-info-list li, .company-links-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.company-info-list li:last-child, .company-links-list li:last-child {
    border-bottom: none;
}

.company-links-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accessible-blue); /* Změna na lépe čitelnou modrou barvu */
    text-decoration: none;
    font-weight: 500; /* Posílení čitelnosti */
    transition: all 0.3s ease;
}

.company-links-list a:hover {
    color: #005bb0; /* Tmavší odstín při najetí myší */
    text-decoration: underline; /* Zvýraznění při najetí myší */
}

@media (max-width: 768px) {
    /* Vylepšení odkazů na mobilních zařízeních */
    .company-links-list a {
        font-size: 15px;
        padding: 12px 0; /* Větší klikací plocha */
    }
    
    .company-details-grid {
        grid-template-columns: 1fr;
    }
}
