/* assets/css/pages/web-yazilim-ajansi.css */

:root {
    --sw-primary: #1e1b4b;
    /* Indigo 950 */
    --sw-secondary: #312e81;
    /* Indigo 900 */
    --sw-accent: #6366f1;
    /* Indigo 500 */
    --sw-accent-light: #818cf8;
    /* Indigo 400 */
    --sw-bg: #f8fafc;
    --sw-text: #475569;
}

/* HERO SECTION - Modern Tech / SaaS Vibe */
.sw-hero {
    background: url('/assets/img/bg/inner-hero-bg.webp') no-repeat center center/cover;
    position: relative;
    padding: 160px 0 120px;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.sw-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Deep Indigo Gradient */
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.95) 0%, rgba(49, 46, 129, 0.9) 100%);
    z-index: 1;
}

.sw-hero-content {
    position: relative;
    z-index: 2;
}

.sw-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sw-hero p {
    font-size: 1.25rem;
    max-width: 750px;
    margin: 0 auto 40px;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.6;
    color: #c7d2fe;
}

.sw-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 50px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #818cf8;
    backdrop-filter: blur(10px);
}

.sw-badge i {
    margin-right: 8px;
}

/* SERVICES GRID */
.sw-grid-sec {
    padding: 100px 0;
    background-color: var(--sw-bg);
}

.sw-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2x2 Layout for 4 items looks grander */
    gap: 40px;
}

.sw-card {
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Tech Line Animation */
.sw-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--sw-accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sw-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.sw-card:hover::before {
    opacity: 1;
}

.sw-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: #e0e7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--sw-accent);
    transition: all 0.4s ease;
}

.sw-card:hover .sw-icon-box {
    background: var(--sw-accent);
    color: #fff;
    transform: rotateY(180deg);
}

.sw-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--sw-primary);
    margin-bottom: 15px;
}

.sw-card p {
    font-size: 1.05rem;
    color: var(--sw-text);
    margin-bottom: 30px;
    line-height: 1.7;
    flex-grow: 1;
}

.sw-link-btn {
    font-weight: 700;
    color: var(--sw-accent);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1rem;
    padding: 12px 24px;
    background: #eef2ff;
    border-radius: 8px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.sw-link-btn:hover {
    background: var(--sw-accent);
    color: #fff;
    gap: 15px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .sw-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sw-hero h1 {
        font-size: 2.5rem;
    }

    .sw-card {
        padding: 30px;
    }
}