/* =================================================================
   ARK YAPI - ÜRÜN DETAY SAYFASI
   ================================================================= */

/* --- GENEL AYARLAR --- */
:root {
    --font-poppins: 'Poppins', sans-serif;
    --color-text-dark: #000000;
    --color-text-grey: #404040; /* Figma: #404040 */
    --color-bg-grey: #D9D9D9;
    --color-green: #425F57;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-poppins);
    background-color: #FFFFFF;
    color: var(--color-text-dark);
}

/* Kapsayıcı */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 240px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* --- HERO ALANI (Diğer sayfalarla aynı) --- */
.page-hero {
    position: relative;
    width: 100%;
    height: 507px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    max-width: 100vw;
}

.hero-bg {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-image: url('../../img/ark/background.webp'); /* Görsel yolu */
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Yeşil Overlay */
.hero-overlay-green {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(66, 95, 87, 0.57);
    mix-blend-mode: overlay;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(90deg, rgba(31, 31, 31, 0.75) 1.12%, rgba(31, 31, 31, 0) 101.12%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
}

.hero-title {
    font-weight: 600;
    font-size: 54px;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

/* --- ÜRÜN DETAY BÖLÜMÜ --- */
.product-detail-section {
    padding: 200px 0 300px 0;
    background-color: #fff;
}

.detail-wrapper {
    display: flex;
    align-items: flex-start; /* Üstten hizala */
    gap: 80px; /* Görsel ve yazı arası boşluk */
}

/* SOL: Görsel Alanı */
.image-container {
    flex: 1; /* Genişliği paylaş */
    max-width: 710px; /* Figma: Rectangle 4337 genişliği */
}

.image-box {
    width: 100%;
    height: 581px; /* Figma: 581px */
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px; /* Hafif yumuşatma */
}

.product-img {
    /* Beyaz kart/gölge kaldırıldı (kutu artık şeffaf, sayfa zeminiyle aynı). "cover" görseli
       kutunun oranına göre kırpıp çok yakınlaştırılmış gösteriyordu; "contain" ile görsel
       kırpılmadan/büyütülmeden bütün haliyle kutunun içine sığıyor — kutunun kendisi görünmediği
       için etrafında kalan boşluk da bir "kutu" gibi değil, sayfanın kendi zemini gibi duruyor. */
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* SAĞ: Bilgi Alanı */
.info-container {
    flex: 1;
    max-width: 605px; /* Figma'daki metin genişliği */
    display: flex;
    flex-direction: column;
}

/* Ürün Başlığı */
.product-name {
    font-weight: 500;
    font-size: 36px; /* Figma Size */
    line-height: 48px;
    color: #000000;
    margin-bottom: 24px; /* Figma boşluğuna yakın */
}

/* Açıklama Metni */
.product-description h3 {
    font-weight: 500;
    font-size: 22px;
    color: var(--color-text-grey);
    margin-bottom: 8px;
}

.product-description p {
    font-weight: 400; /* Figma'da 500 kullanılmış ama genelde 400 daha okunabilir */
    font-size: 22px; /* Figma: 22px */
    line-height: 33px; /* Figma: 33px */
    color: #9A9A9A;
    margin-bottom: 80px; /* Gri kutuya kadar olan boşluk */
}

/* Gri Aksiyon Kutusu */
.action-box {
    width: 345px; /* Figma: 345px */
    height: 60px; /* Figma: 60px */
    background: var(--color-bg-grey); /* #D9D9D9 */
    border-radius: 2px;
}

/* --- RESPONSIVE (MOBİL UYUMLULUK) --- */
@media (max-width: 1550px) {
    .container {
        padding: 0 100px;
    }
}

@media (max-width: 1350px) {
    .container {
        padding: 0 175px;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 150px;
    }

    .detail-wrapper {
        gap: 60px;
    }

    .image-box {
        height: 500px;
    }
}

@media (max-width: 1100px) {
    .detail-wrapper {
        flex-direction: column; /* Alt alta diz */
        align-items: center;
        gap: 40px;
    }

    .image-container, .info-container {
        max-width: 100%;
        width: 100%;
    }

    .image-box {
        width: 100%;
        height: auto;
        min-height: 400px;
        aspect-ratio: 4/3;
        padding: 0;
        overflow: hidden;
    }

    .product-img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .action-box {
        width: 100%;
        max-width: 345px;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 100px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-desc {
        font-size: 18px;
    }
    
    .product-name {
        font-size: 32px;
        line-height: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 30px;
    }
    
    .product-detail-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .detail-wrapper {
        gap: 30px;
    }
    
    .image-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .image-box {
        width: 100%;
        height: auto;
        min-height: 300px;
        aspect-ratio: 4/3;
        padding: 0;
        overflow: hidden;
    }

    .product-img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .product-name {
        font-size: 20px;
        line-height: 36px;
    }
    
    .product-description h3 {
        font-size: 20px;
    }
    
    .product-description p {
        font-size: 18px;
        line-height: 28px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .detail-wrapper {
        gap: 30px;
    }
    
    .image-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .image-box {
        width: 100%;
        height: auto;
        min-height: 250px;
        aspect-ratio: 4/3;
        padding: 0;
        overflow: hidden;
    }

    .product-img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .product-name {
        font-size: 24px;
        line-height: 32px;
    }
    
    .product-description h3 {
        font-size: 18px;
    }
    
    .product-description p {
        font-size: 16px;
        line-height: 24px;
    }
    
    .action-box {
        width: 100%;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .hero-desc {
        font-size: 14px;
    }
    
    .product-detail-section {
        padding: 40px 0;
    }
    
    .detail-wrapper {
        gap: 30px;
    }
    
    .image-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .image-box {
        width: 100%;
        height: auto;
        min-height: 200px;
        aspect-ratio: 4/3;
        padding: 0;
        overflow: hidden;
    }

    .product-img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
}

