:root {
    --s-dark-bg: #0f172a;
    --s-light-bg: #f8fafc;
    --s-primary: #3b82f6;
}

body { background-color: var(--s-light-bg); font-family: 'Plus Jakarta Sans', sans-serif; }

/* 1. HERO SECTION */
.services-hero {
    position: relative; padding: 160px 0 100px; text-align: center;
    background: #0f172a; color: white; overflow: hidden;
}

/* Hero Background FX */
.hero-bg-img {
    position: absolute; inset: 0; opacity: 0.3;
    background-image: url('../images/uzay.webp');
    background-size: cover; background-position: center;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(circle, rgba(15,23,42,0.4) 0%, rgba(15,23,42,1) 90%);
}

.sh-badge {
    position: relative; display: inline-block; padding: 8px 20px; border-radius: 50px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    color: #60a5fa; font-size: 0.85rem; font-weight: 700; margin-bottom: 25px;
    backdrop-filter: blur(5px); letter-spacing: 1px;
}
.sh-title {
    position: relative; font-size: 3.5rem; lg:font-size: 5rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px;
    background: linear-gradient(to bottom, #ffffff, #94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.sh-desc { position: relative; font-size: 1.2rem; color: #cbd5e1; max-w-2xl mx-auto; }

/* 2. FILTER BAR */
.filter-wrapper {
    margin-top: -30px; position: relative; z-index: 20; text-align: center; margin-bottom: 60px;
}
.filter-container {
    display: inline-flex; background: white; padding: 8px; border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1); border: 1px solid #e2e8f0;
    flex-wrap: wrap; justify-content: center; gap: 5px;
}
.filter-btn {
    padding: 12px 30px; border-radius: 12px; border: none; background: transparent;
    color: #64748b; font-weight: 700; cursor: pointer; transition: 0.3s; font-size: 0.95rem;
}
.filter-btn:hover { background: #f1f5f9; color: #0f172a; }
.filter-btn.active {
    background: #0f172a; color: white; box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.3);
}

/* 3. VISUAL CARDS GRID */
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px;
    max-width: 1200px; margin: 0 auto 100px; px-6;
}

.visual-card {
    position: relative; height: 320px; border-radius: 20px; overflow: hidden;
    cursor: pointer; transition: all 0.4s ease; background: #000;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.1);
    text-decoration: none; display: block;
}

/* Background Image */
.vc-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.visual-card:hover .vc-bg { transform: scale(1.1); }

/* Gradient Overlay */
.vc-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
    transition: 0.3s;
}
.visual-card:hover .vc-overlay {
    background: linear-gradient(to top, rgba(37, 99, 235, 0.9) 0%, rgba(15, 23, 42, 0.5) 100%);
}

/* Content */
.vc-content {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px;
    color: white; z-index: 10;
}

.vc-icon-box {
    width: 50px; height: 50px; background: rgba(255,255,255,0.2); backdrop-filter: blur(5px);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 15px; font-size: 1.4rem; border: 1px solid rgba(255,255,255,0.3);
    transition: 0.3s;
}

.vc-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; line-height: 1.2; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.vc-desc {
    font-size: 0.9rem; color: rgba(255,255,255,0.8); line-height: 1.5;
    max-height: 0; opacity: 0; overflow: hidden; transition: all 0.4s ease;
}

/* Hover Interaction */
.visual-card:hover .vc-desc { max-height: 100px; opacity: 1; margin-top: 10px; }
.visual-card:hover .vc-icon-box { background: white; color: #2563eb; transform: rotate(10deg); }

/* Responsive */
@media (max-width: 1024px) {
    .services-grid { 
        grid-template-columns: 1fr 1fr;
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }
    .visual-card { height: 280px; }
    .vc-desc { max-height: 100px; opacity: 1; margin-top: 5px; } 
}
@media (max-width: 640px) {
    .services-grid { 
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }
}