/* filiales.css - Shared styles for filiale showcase pages (Digital, Solution, Services) */

/* Showcase Section */
.filiale-showcase {
    padding: 120px 0;
    background: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.filiale-detail {
    background: var(--white);
    padding-bottom: 40px;
}

.filiale-intro h2 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--navy);
    font-size: 2.8rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.filiale-intro.text-center h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color, var(--primary));
}

.filiale-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray);
    max-width: 850px;
    margin: 0 auto 50px;
}

.filiale-intro .intro-image {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    display: inline-block;
    line-height: 0;
}

.filiale-intro .intro-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
}

.filiale-intro .intro-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    padding: 25px 30px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    border-top: 4px solid var(--accent-color, var(--primary));
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(var(--accent-rgb, 60, 160, 219), 0.12);
    border-color: rgba(var(--accent-rgb, 60, 160, 219), 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(var(--accent-rgb, 60, 160, 219), 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-color, var(--primary));
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent-color, var(--primary));
    color: var(--white);
    transform: scale(1.05) rotate(5deg);
}

.service-card h3 {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    line-height: 1.3;
}

.service-card p {
    display: none;
}

/* Showcase Item (alternating layout) */
.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 70px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.showcase-item:last-child {
    border-bottom: none;
}

.showcase-item.reverse {
    direction: rtl;
}

.showcase-item.reverse>* {
    direction: ltr;
}

/* Visual Block */
.showcase-visual {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.showcase-visual .visual-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.visual-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.showcase-visual:hover img {
    transform: scale(1.08);
}

.visual-placeholder .v-icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.visual-placeholder .v-label {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.visual-placeholder .v-sub {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 4px;
    position: relative;
    z-index: 2;
}

/* Shimmer animation */
.visual-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    animation: shimmerFloat 8s ease-in-out infinite;
}

@keyframes shimmerFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

/* Digital page color themes */
.dev-visual .visual-placeholder {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
}

.web-visual .visual-placeholder {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    color: white;
}

.maint-visual .visual-placeholder {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
}

.marketing-visual .visual-placeholder {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    color: white;
}

/* Solution page color themes */
.auto-visual .visual-placeholder {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
}

.scada-visual .visual-placeholder {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    color: white;
}

.prod-visual .visual-placeholder {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
}

/* Process Methodology Refinement */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

/* Connecting line */
.process-steps::before {
    content: '';
    position: absolute;
    top: 100px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, 
        transparent 0%, 
        rgba(var(--accent-rgb, 60, 160, 219), 0.2) 20%, 
        rgba(var(--accent-rgb, 60, 160, 219), 0.2) 80%, 
        transparent 100%);
    z-index: -1;
}

.process-step {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.process-step:hover {
    background: var(--white);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(var(--accent-rgb, 60, 160, 219), 0.1);
    border-color: rgba(var(--accent-rgb, 60, 160, 219), 0.3);
}

.step-number {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--white);
    background-clip: padding-box;
    color: var(--accent-color, var(--primary));
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.4rem;
    margin: 0 auto 25px;
    border: 2px solid rgba(var(--accent-rgb, 60, 160, 219), 0.15);
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
    overflow: hidden;
}

.process-step:hover .step-number {
    background: linear-gradient(135deg, var(--accent-primary, var(--primary)) 0%, var(--accent-secondary, var(--primary-dark)) 100%);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 25px rgba(var(--accent-rgb, 60, 160, 219), 0.4);
    transform: scale(1.1);
}

.process-step h3, 
.process-step .step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 15px;
}

.process-step .step-desc {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
}

@media (max-width: 991px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-steps::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* Theme Modifiers */
.theme-digital {
    --accent-primary: var(--digital-primary);
    --accent-secondary: var(--digital-secondary);
    --accent-color: var(--accent-primary);
    --accent-rgb: 60, 160, 219;
}

.theme-solution {
    --accent-primary: var(--solution-primary);
    --accent-secondary: var(--solution-secondary);
    --accent-color: var(--accent-primary);
    --accent-rgb: 59, 168, 163;
}

.theme-services {
    --accent-primary: var(--services-primary);
    --accent-secondary: var(--services-secondary);
    --accent-color: var(--accent-primary);
    --accent-rgb: 217, 167, 111;
}

.theme-design {
    --accent-primary: var(--design-primary);
    --accent-secondary: var(--design-secondary);
    --accent-color: var(--accent-primary);
    --accent-rgb: 113, 128, 150;
}

/* Design page color themes */
.identity-visual .visual-placeholder {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
}

.motion-visual .visual-placeholder {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    color: white;
}

.da-visual .visual-placeholder {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
}

.print-visual .visual-placeholder {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    color: white;
}

/* Showcase Info */
.showcase-info {
    padding: 15px 0;
}

.showcase-info .tag {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--accent-primary);
}

.showcase-info h3 {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.2;
}

.showcase-info p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Feature List with checks */
.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.feature-list li {
    padding: 7px 0;
    color: var(--gray);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li::before {
    content: '✓';
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), 0.08);
}

/* CTA Button (Consistent with Home Page premium style) */
.btn-digital {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(var(--accent-rgb), 0.3);
}

.btn-digital:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(60, 160, 219, 0.4);
    color: var(--white);
}

.btn-digital::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-digital:hover::before {
    left: 100%;
}

.btn-solution {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(var(--accent-rgb), 0.3);
}

.btn-solution:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(var(--accent-rgb), 0.4);
    color: var(--white);
}

.btn-services {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(var(--accent-rgb), 0.3);
}

.btn-services:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(var(--accent-rgb), 0.4);
    color: var(--white);
}

.btn-design {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(var(--accent-rgb), 0.3);
}

.btn-design:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(var(--accent-rgb), 0.4);
    color: var(--white);
}

/* --- ENHANCED DESIGN SHOWCASE --- */
.design-showcase-enhanced {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--white) 0%, var(--offwhite) 100%);
    padding: 100px 0;
}

/* Decorative Background Elements */
.design-showcase-enhanced::before,
.design-showcase-enhanced::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.design-showcase-enhanced::before {
    background: var(--design);
    top: -100px;
    right: -200px;
}

.design-showcase-enhanced::after {
    background: var(--accent-secondary);
    bottom: -100px;
    left: -200px;
}

.design-showcase-enhanced .container {
    position: relative;
    z-index: 1;
}

/* Glassmorphism for Showcase Visuals */
.theme-design .showcase-visual {
    position: relative;
    padding: 15px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(var(--accent-rgb), 0.1);
    transition: var(--transition);
}

.theme-design .showcase-item:hover .showcase-visual {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(var(--accent-rgb), 0.15);
    background: rgba(255, 255, 255, 0.6);
}

.theme-design .showcase-visual .visual-placeholder {
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

/* Design-Specific Accent Styles */
.theme-design .showcase-info .tag {
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.theme-design .feature-list li::before {
    content: '✦';
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent-primary);
}

.theme-design .btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border: none;
    box-shadow: 0 10px 20px rgba(var(--accent-rgb), 0.3);
}

.theme-design .btn-primary:hover {
    box-shadow: 0 15px 30px rgba(var(--accent-rgb), 0.4);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .showcase-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase-item.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .filiale-showcase {
        padding: 60px 0;
    }

    .showcase-item {
        padding: 40px 0;
    }

    .showcase-info h3 {
        font-size: 1.4rem;
    }
}
/* Global Subtitle Synchronization */
[class^="theme-"] .section-subtitle {
    color: var(--accent-secondary) !important;
}
