/* ========================================
   MODERN SERVICES PAGE STYLES
   ======================================== */

/* Page Header */
.services-page-header {
    position: relative;
    background: linear-gradient(135deg, #04223e 0%, #0a4275 100%);
    padding: 100px 0 80px;
    margin-top: 0;
    overflow: hidden;
}

.services-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.services-page-header .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--logisko-red, #e74c3c);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 600px;
}

/* Services Content Section */
.services-content-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.services-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

/* Main Content Area */
.services-main-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Modern Service Card */
.modern-service-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.modern-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-service-card:hover .service-card-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.service-card-content {
    padding: 30px;
    position: relative;
}

.service-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--logisko-blue, #04223e) 0%, #0a4275 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(4, 34, 62, 0.3);
    transition: all 0.3s ease;
}

.modern-service-card:hover .service-card-icon {
    transform: rotateY(360deg);
    box-shadow: 0 12px 30px rgba(4, 34, 62, 0.4);
}

.service-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.service-card-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--logisko-blue, #04223e);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.service-card-link svg {
    transition: transform 0.3s ease;
}

.service-card-link:hover {
    color: var(--logisko-red, #e74c3c);
    gap: 12px;
}

.service-card-link:hover svg {
    transform: translateX(4px);
}

/* No Services State */
.no-services {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-services svg {
    color: #ddd;
    margin-bottom: 20px;
}

.no-services h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 0 0 10px 0;
}

.no-services p {
    color: #666;
    margin: 0;
}

/* Sidebar */
.services-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title svg {
    color: var(--logisko-blue, #04223e);
}

/* Services List Widget */
.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    margin-bottom: 12px;
}

.services-list li:last-child {
    margin-bottom: 0;
}

.services-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.services-list a svg {
    color: var(--logisko-blue, #04223e);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.services-list a:hover {
    background: linear-gradient(135deg, var(--logisko-blue, #04223e) 0%, #0a4275 100%);
    color: #ffffff;
    border-left-color: var(--logisko-red, #e74c3c);
    padding-left: 20px;
}

.services-list a:hover svg {
    color: #ffffff;
    transform: translateX(4px);
}

/* Contact Widget */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item svg {
    color: var(--logisko-blue, #04223e);
    flex-shrink: 0;
}

.contact-item a,
.contact-item span {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item:hover {
    background: #e8f4f8;
}

.contact-item a:hover {
    color: var(--logisko-blue, #04223e);
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, var(--logisko-blue, #04223e) 0%, #0a4275 100%);
    color: #ffffff;
}

.cta-widget .widget-title {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.cta-widget p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: var(--logisko-red, #e74c3c);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.cta-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-layout {
        grid-template-columns: 1fr;
    }

    .services-sidebar {
        position: static;
        grid-row: 1;
    }

    .services-main-content {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .services-content-section {
        padding: 50px 0;
    }

    .services-main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sidebar-widget {
        padding: 20px;
    }

    .service-card-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .services-page-header {
        padding: 60px 0 40px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .breadcrumb {
        font-size: 12px;
    }
}