/* Container */
.products-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
    color: #333;
}

/* Başlık */
.products-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 32px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

/* Kart */
.product-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #ffffff;
    position: relative;
    min-height: 450px;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    }

    /* Resim */
    .product-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-bottom: 1px solid #eee;
    }

/* Bilgi */
.product-info {
    padding: 18px;
}

    /* Başlık */
    .product-info h3 {
        margin: 0 0 10px;
        font-size: 1.2rem;
        font-weight: 600;
        color: #111;
    }

    /* Açıklama */
    .product-info p {
        font-size: 0.95rem;
        color: #555;
        margin-bottom: 14px;
        /* Tekrar eden uzun metinleri kesmek için */
        display: -webkit-box;
        -webkit-line-clamp: 3; /* 3 satırdan sonra kes */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* Link */
.product-link {
    font-weight: 500;
    color: #0056b3;
    text-decoration: none;
    transition: color 0.3s;
}

    .product-link:hover {
        color: #003f7f;
        text-decoration: underline;
    }

.hero-wrapper {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden; /* taşma engeli */
}

.hero-img {
    width: 100%;
    height: 625px; /* oranı korur, kalite bozulmaz */
    display: block;
}
