body {
    font-family: 'Segoe UI', sans-serif;
    padding-top: 75px;
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
}

/* =========================
   GENERAL CARD HOVER
========================= */

.card,
.product-card {
    border: none;
    transition: 0.3s;
}

.card:hover,
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* =========================
   BUTTONS
========================= */

.btn-primary {
    background-color: #0d6efd;
    border: none;
}

/* =========================
   PRODUCTS
========================= */

.product-item .card-img-top {
    height: 220px;
    object-fit: cover;
}

.filter-btn {
    margin: 5px;
    border-radius: 30px;
    padding: 10px 22px;
    font-weight: 600;
}

/* =========================
   REFERENCES
========================= */

.ref-box {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.ref-box img {
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.3s;
}

.ref-box:hover {
    transform: translateY(-5px);
}

.ref-box:hover img {
    filter: grayscale(0%);
}

/* =========================
   FLOW (AKIŞ SİSTEMİ)
========================= */

.flow-box {
    max-height: 320px;
    overflow: hidden;
    position: relative;
    padding-right: 5px;
}

.flow-item {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    animation: floatUp 12s linear infinite;
}

.flow-item:hover {
    animation-play-state: paused;
}

.flow-item small {
    color: #888;
    font-size: 12px;
}

.flow-item.ongoing {
    border-left: 4px solid orange;
}

.flow-item.done {
    border-left: 4px solid green;
}

@keyframes floatUp {
    0% { transform: translateY(20px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-20px); opacity: 0; }
}

/* =========================
   SWIPER FIX (KRİTİK KISIM)
========================= */

.swiper {
    width: 100%;
    padding: 10px 0;
    overflow: hidden;
}

.swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    display: flex;
    height: auto;
}

/* =========================
   NEWS CARD (SWIPER)
========================= */

.news-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-card .p-2 {
    flex: 1;
    display: flex;
    align-items: center;
}

.news-card h6 {
    font-size: 14px;
    margin: 0;
}

.news-card p {
    font-size: 12px;
    margin: 0;
}