* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.p-page-body {
   background-color: #e8f0ed;
    background-image: 
        linear-gradient(135deg, rgba(239, 243, 246, 0.9) 0%, rgba(220, 226, 230, 0.9) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3%3Cg fill-rule='evenodd'%3%3Cg fill='%3C00a896' fill-opacity='0.03'%3%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h-9v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h-9v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h-9v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h-9v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h-9v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h-1v-4h1v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9h9v-9h1v9'/%3%3C/g%3%3C/g%3%3C/svg%3%3C");
    
        background-attachment: fixed;
    color: var(--text-dark, #1b3d4a);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.p-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Tanıtım / Hero Alanı */
.intro-section {
    padding-top: calc(var(--header-height, 100px) );
    padding-bottom: 30px;
    text-align: left;
}

.p-main-title{
    font-size: clamp(2.2rem, 3.5vw, 3.5rem);
    color: #6bc0ae;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.05;
    margin-bottom: 0.8vw;
    position: relative;
}

.p-main-title::after {
    content: "";
    display: block;
    width: 3.5vw;
    width: 55px;
    height: 3px;
    margin-top: 1vw;
    background: #092e3d;
}

.description {
    font-size: 15px;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 30px;
}

.hero-image-wrapper {
    width: 100%;
    text-align: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 3 Kolonlu Ürün Izgarası */
.product-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 20px;
    margin-bottom: 60px;
}

/* Ürün Kartı Temel Yapısı */
.product-card {
    position: relative; /* Çentiklerin karta göre konumlanması için şart */
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1.5px solid transparent; /* Hover olunca renk değiştirmek için */
    border-radius: 8px;
    background-color: #ffffff;
    overflow: visible; /* Çentiklerin dışarı taşabilmesi/düzgün görünmesi için */
    transition: all 0.3s ease;
}

/* 1. Sol Üst Çentik (::before) */
.product-card::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    width: 10px;
    height: 10px;
    border-top: 2.5px solid #6bc0ae;
    border-left: 2.5px solid #6bc0ae;
    border-top-left-radius: 3px;
    pointer-events: none;
    z-index: 2;
}

/* 2. Sağ Alt Çentik (::after) */
.product-card::after {
    content: "";
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 10px;
    height: 10px;
    border-bottom: 2.5px solid #6bc0ae;
    border-right: 2.5px solid #6bc0ae;
    border-bottom-right-radius: 3px;
    pointer-events: none;
    z-index: 2;
}

/* 3. Mouse Üzerine Gelince (Hover Efekti) */
.product-card:hover {
    transform: translateY(-4px);
    border-color: #4db6ac; /* Yeşil/Turkuaz Kenarlık */
    /* Dışa Doğru Parlama (Glow) Efekti */
    box-shadow: 0 0 15px rgba(77, 182, 172, 0.4), 
                0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Hover anında çentiklerin rengini de parlatmak istersen: */
.product-card:hover::before,
.product-card:hover::after {
    border-color: #26a69a;
}

.card-image {
    width: 100%;
    height: 180px; /* 5 kolon için yükseklik hafifçe küçültüldü */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #ffffff;
}

.card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* İlk 3 kartın görsel kutusu */
.card-image.small-img {
    overflow: hidden;
    display: flex;
    align-items: center;     /* Dikeyde ortala */
    justify-content: center;  /* Yatayda ortala */
}

/* Sadece ilk 3 resmi büyüt ve alt şeffaflığı bastırmak için hiza noktasını ayarla */
.card-image.small-img img {
    transform: scale(1.6) translateY(35px); /* Resmi büyütürken hafifçe aşağı indirerek tam ortalar */
    transform-origin: center center;
}

/* Hover durumunda ortalamayı bozmadan büyüt */
.product-card:hover .card-image.small-img img {
    transform: scale(1.7) translateY(35px);
}

.card-body {
    padding: 15px 20px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-body h2 {
    font-size: 12.5px; /* 5 kolona sığması için metin boyutu optimize edildi */
    font-weight: 700;
    color: #111111;
    line-height: 1.35;
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    .card-image {
        height: 200px;
    }
    .card-body h2 {
        font-size: 13.5px;
    }
}

/* Mobil ve Tablet Uyumluluğu */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .card-image {
        height: 220px;
    }
    .card-body h2 {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .description {
        margin-top: 6%;
    }
    .p-main-title::after {
        margin-top: 3%;
    }
}