/* Yazılım Çözümleri Page Styles */

/* Hero Section */
.yazilim-hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    overflow: hidden;
}

.yazilim-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.12) 0%, transparent 50%);
    opacity: 0.8;
    z-index: 0;
}

.yazilim-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
    z-index: 0;
}

.yazilim-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.yazilim-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    flex-wrap: wrap;
}

.yazilim-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-base);
}

.yazilim-hero .breadcrumb a:hover {
    color: var(--color-accent);
}

.yazilim-hero .breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.yazilim-hero .breadcrumb .current {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.yazilim-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    color: white;
    margin: 0 0 24px 0;
    line-height: 1.2;
}

.yazilim-hero h1 .gradient {
    background: linear-gradient(135deg, #3B82F6 0%, #0EA5E9 50%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.yazilim-hero-desc {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Solutions Grid */
.yazilim-solutions {
    padding: 100px 0;
    background: white;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.solution-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid var(--color-gray-200);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--color-primary);
}

.solution-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.solution-card-image {
    position: relative;
    height: 190px;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.solution-card-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 2;
}

.solution-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Icon Grid for Geçiş Kontrol */
.solution-icon-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.icon-circle.large {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.icon-circle svg {
    width: 24px;
    height: 24px;
}

.icon-circle.large svg {
    width: 32px;
    height: 32px;
}

.solution-card:hover .icon-circle {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

/* Devices for Grafik Yazılımı */
.solution-devices {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.device {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    position: relative;
}

.device::before {
    content: '';
    position: absolute;
    inset: 4px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 4px;
}

.device-desktop {
    width: 80px;
    height: 60px;
}

.device-laptop {
    width: 70px;
    height: 50px;
}

.device-tablet {
    width: 50px;
    height: 65px;
}

.device-mobile {
    width: 35px;
    height: 60px;
}

/* Building Visual for S1 Bina Yönetimi */
.solution-building {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.building-visual {
    width: 200px;
    height: 160px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.building-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(255, 255, 255, 0.1) 20px, rgba(255, 255, 255, 0.1) 22px),
        repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(255, 255, 255, 0.1) 20px, rgba(255, 255, 255, 0.1) 22px);
}

/* Visitor Card for Ziyaretçi Takibi */
.solution-visitor {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visitor-card {
    width: 140px;
    height: 90px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.visitor-card::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4) 0%, rgba(139, 92, 246, 0.4) 100%);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.visitor-card::after {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    height: 3px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
    border-radius: 2px;
}

/* S1 Logo for Kafeterya/Yemekhane */
.solution-s1-logo {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.s1-logo-text {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
    letter-spacing: -0.02em;
}

.s1-logo-sub {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* PDKS Hexagon */
.solution-pdks {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdks-hexagon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    position: relative;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.pdks-hexagon::before {
    content: '';
    position: absolute;
    inset: 6px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.5) 0%, rgba(220, 38, 38, 0.5) 100%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    box-shadow: inset 0 0 20px rgba(239, 68, 68, 0.3);
}

/* Mobile App for S1 Pdks Mobil App */
.solution-mobile-app {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-app-phone {
    width: 100px;
    height: 180px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 8px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
    border-radius: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
}

.app-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.app-bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 60px;
}

.app-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
}

.app-bar:nth-child(1) {
    width: 100%;
}

.app-bar:nth-child(2) {
    width: 80%;
}

.app-bar:nth-child(3) {
    width: 60%;
}

/* Mobile Gate for S1 Mobil Geçiş Noktası */
.solution-mobile-gate {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-gate-device {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.gate-screen {
    width: 140px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.gate-screen::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.gate-screen::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 8px;
    height: 8px;
    background: rgba(34, 197, 94, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.gate-card {
    width: 80px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: cardSlide 3s ease-in-out infinite;
}

@keyframes cardSlide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(20px); }
}

.gate-card::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4) 0%, rgba(139, 92, 246, 0.4) 100%);
    border-radius: 4px;
}

/* Card Content */
.solution-card-content {
    padding: 32px;
}

.solution-card-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.solution-card-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-gray-600);
    margin: 0 0 20px 0;
}

.solution-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-primary);
    transition: all var(--transition-base);
}

.solution-card:hover .solution-card-cta {
    gap: 12px;
    color: var(--color-primary-dark);
}

.solution-card-cta svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.solution-card:hover .solution-card-cta svg {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .yazilim-hero {
        padding: 80px 0 40px;
    }

    .yazilim-solutions {
        padding: 60px 0;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .solution-card-image {
        height: 200px;
    }

    .icon-circle {
        width: 40px;
        height: 40px;
    }

    .icon-circle.large {
        width: 56px;
        height: 56px;
    }

    .icon-circle svg {
        width: 20px;
        height: 20px;
    }

    .icon-circle.large svg {
        width: 28px;
        height: 28px;
    }

    .s1-logo-text {
        font-size: 48px;
    }

    .mobile-app-phone {
        width: 80px;
        height: 150px;
    }

    .gate-screen {
        width: 120px;
        height: 85px;
    }

    .gate-card {
        width: 70px;
        height: 45px;
    }
}
