:root{
    --primary:#2563eb;
    --secondary:#0f172a;
    --accent:#22c55e;
    --gold:#fbbf24;
    --soft:#f8fafc;
    --dark:#020617;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

    background:#fff;
    color:#334155;
    overflow-x:hidden;

    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}

img{
    max-width:100%;
    height:auto;
}

.hero-section{
    background:
    linear-gradient(
    rgba(15,23,42,.75),
    rgba(15,23,42,.75)),
    url('https://tavsanli.site/img/tavsanli-canli-site-rehber-haber-dijital.webp');

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    min-height:92vh;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:120px 20px;

    color:#fff;
}

.hero-video{
    width:100%;
    height:auto;
    min-height:220px;
    max-height:480px;
    object-fit:cover;
    border-radius:20px;
    box-shadow:0 10px 40px rgba(0,0,0,.2);
}

.video-section{
    padding:40px 0;
    background:#111827;
}

.card-category{
    border-radius:20px;
    border:1px solid #e2e8f0;
    transition:.4s;
    will-change:transform;
    transform:translateZ(0);
}

.card-category:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 30px rgba(0,0,0,.1);
    border-color:var(--primary);
}

.service-card{
    border:none;
    border-radius:20px;
    transition:.4s;
    will-change:transform;
}

.service-card:hover{
    transform:translateY(-10px);
    background:var(--secondary);
    color:#fff;
}

.gallery-wrapper{
    height:280px;
    overflow:hidden;
    border-radius:20px;
    position:relative;
}

.gallery-img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.gallery-wrapper:hover .gallery-img{
    transform:scale(1.1);
}

.gallery-overlay{
    position:absolute;
    inset:0;
    background:rgba(37,99,235,.7);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    transition:.4s;
}

.gallery-wrapper:hover .gallery-overlay{
    opacity:1;
}

.stat-box{
    background:var(--secondary);
    padding:80px 0;
    border-bottom:5px solid var(--gold);
}

.counter-value{
    font-size:3.5rem;
    font-weight:800;
    color:var(--gold);
}

.title-line{
    width:60px;
    height:4px;
    background:var(--gold);
    margin:auto;
    margin-top:10px;
    border-radius:10px;
}

.line-clamp{
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.navbar{
    backdrop-filter:blur(12px);
}

footer{
    background:#020617 !important;
}

@media(max-width:768px){

    .hero-section{
        min-height:75vh;
        padding:90px 15px;
    }

    .hero-section h1{
        font-size:2.4rem !important;
    }

    .hero-section p{
        font-size:1rem !important;
    }

    .counter-value{
        font-size:2.3rem;
    }

    .hero-video{
        min-height:auto;
    }

}

@media(max-width:576px){

    h1{
        font-size:2rem !important;
    }

    h2{
        font-size:1.5rem !important;
    }

    p{
        font-size:.95rem;
    }

    .card{
        border-radius:16px !important;
    }

}