/* product.css - Özel Ürün Sayfası Stilleri */
.product-page {
    padding-top: 100px; /* 100px header alanını kurtarır */
    /* Alt boşluk kaldırıldı (gri alan sorunu çözümü) */
}

/* Product Hero Grid */
.product-hero {
    max-width: 1440px;
    margin: 0 auto;
    padding: 100px 5%; /* Fotoğraf kutusunun altı ve üstü tam 100px eşit boşluk */
    display: grid;
    grid-template-columns: 1.3fr 0.7fr; /* Görsel alanı genişletildi, metin daraltıldı */
    gap: 4rem;
    align-items: stretch; /* Her iki bloğu aynı boyuta getirir (butonun en alta yapışması için) */
}

/* Gallery */
.product-gallery {
    display: block; /* Tekli yapı */
    height: 100%;
}
.product-gallery__main {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/3;
}

/* Müşterinin ekleyeceği standart görseller için */
.standard-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Görseli kutuya sığdırır, taşırmaz */
    padding: 3rem; /* Çerçeve etrafında ferah bir boşluk bırakır */
    box-sizing: border-box;
}

.slider-images {
    width: 100%;
    height: 100%;
    position: relative;
}
.slider-images img.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 6rem 4rem; /* Alttan ve üstten daha geniş ferahlık (6rem) */
    box-sizing: border-box;
    opacity: 0;
    display: block;
    object-fit: contain; /* Görseli sığdırıp ferah boşluk bırak */
    mix-blend-mode: multiply; /* Arkaplanla kaynaştır */
    transition: opacity 0.4s ease;
}
.slider-images img.slide.active {
    opacity: 1;
    z-index: 1;
}
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-arrow:hover {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.prev-arrow { left: 1.5rem; }
.next-arrow { right: 1.5rem; }

/* Info */
.product-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Üstten aşağı doğru serbest bırakıldı (space-between kaldırıldı) */
    height: 100%;
    padding: 5px 0;
}
.product-info__title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 500;
    line-height: 1; /* Yazının kendi iç (font) üst boşluğunu sıfırlar */
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #000000; /* Tam siyah */
    letter-spacing: -1px;
}
.product-info__category-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    display: inline-block;
    text-decoration: none;
    transition: color 0.2s;
}
.product-info__category-link:hover {
    color: var(--color-accent);
}
.product-info__desc {
    font-size: 1.05rem;
    font-weight: 300; /* Çok hafif ince */
    line-height: 1.45; /* Satır araları sıkıştırıldı */
    letter-spacing: -0.3px; /* Karakter araları sıkıştırıldı */
    color: #000000;
    margin-bottom: 0; /* Boşluk kontrolü bottom kapsayıcısına bırakıldı */
}
.product-info__bottom {
    margin-top: 60px; /* Metin bittikten sonra tam 60px boşluk */
}

/* Actions */
.product-actions {
    display: flex;
    flex-wrap: wrap; 
    gap: 1.5rem;
    margin-bottom: 0;
}

/* Specs */
.product-specs {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1.5rem;
}
.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.spec-item .label {
    font-weight: 500;
    color: var(--color-text);
}
.spec-item .value {
    color: var(--color-text-muted);
}
.btn-primary-dark {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1.2rem 3rem; /* Daha geniş, yatayda uzun lüks oran */
    background: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    border: 1px solid #1a1a1a;
    border-radius: 0; /* Keskin mimari hatlar */
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}
.btn-primary-dark:hover {
    background: transparent;
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.btn-outline {
    flex: 1 1 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1rem;
    background: transparent;
    color: var(--color-text);
    border: 1px solid rgba(0,0,0,0.1);
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s;
}
.btn-outline:hover {
    border-color: var(--color-text);
    background: #f9f9f9;
}

/* Related Products Carousel */
.related-products-carousel {
    padding: 4rem 0 7rem; /* Alt boşluk iyice artırıldı */
    /* Çizgi kaldırıldı */
    background: #fff;
    overflow: hidden;
}
.related-carousel-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}
.related-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Border removed */
}
.related-carousel-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}
.related-carousel-track:hover {
    animation-play-state: paused;
}
.carousel-item {
    display: flex;
    flex-direction: column;
    width: 320px;
    height: 320px;
    border-right: 1px solid rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
    position: relative;
    padding: 1.5rem;
    transition: background 0.3s;
    background: #fff;
}
.carousel-item:hover {
    background: #fafafa;
}
.carousel-item-title {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-bottom: auto; /* Push image down so titles align perfectly at top */
}
.carousel-item img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.carousel-item:hover img {
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Product Details Menu */
.white-bottom-area {
    background-color: #ffffff;
    width: 100%;
    /* Boşluk kalmaması için padding ekleyebiliriz */
    padding-top: 1px; 
}
.product-details-menu {
    max-width: 1440px;
    margin: 0 auto;
    padding: 3rem 5% 4rem;
}
.menu-list {
    width: 100%; /* Çizgilerin sağa kadar uzaması için tam genişlik verildi */
}
.menu-item {
    display: flex;
    justify-content: flex-start; /* Sola hizalama */
    align-items: center;
    width: 100%;
    padding: 2rem 0; /* 2.5rem'den 2rem'e daraltıldı */
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.08); /* Sadece alt çizgi, daha zarif */
    font-family: var(--font-primary), -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; /* SF Font zorunluluğu */
    font-size: 1.3rem; /* 1.6rem'den 1.3rem'e küçültüldü */
    font-weight: 400; /* Biraz daha belirgin */
    color: #1a1a1a;
    cursor: pointer;
    text-align: left;
    transition: padding 0.3s, color 0.3s;
}
.menu-item:last-child {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.menu-item:hover {
    color: var(--color-accent);
    padding-left: 1rem; /* Hover olunca hafif sağa kayma (editorial hissi) */
}

/* Plus / Minus Icon (Animasyonlu ve Küçültülmüş) */
.acc-toggle-icon {
    margin-left: auto; /* Sağa yasla */
    width: 14px; /* 20px'den 14px'e küçüldü */
    height: 14px;
    position: relative;
}
.acc-toggle-icon::before,
.acc-toggle-icon::after {
    content: '';
    position: absolute;
    background-color: #1a1a1a;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s;
}
.acc-toggle-icon::before {
    top: 6px; /* (14-2)/2 */
    left: 0;
    width: 14px;
    height: 2px;
}
.acc-toggle-icon::after {
    top: 0;
    left: 6px; /* (14-2)/2 */
    width: 2px;
    height: 14px;
}

/* Accordion Yapısı */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    padding: 0 1rem;
    background: transparent;
}
.accordion-content.active {
    max-height: 3500px; /* İçeriğin kesilmemesi için çok yüksek bir değer */
    padding: 2.5rem 1rem;
    opacity: 1;
}
.menu-item.accordion-header.active {
    padding-left: 1rem; /* Aktifken sağda kalır */
    color: var(--color-accent);
    border-bottom-color: var(--color-accent); /* Alt çizgi de renklenir */
}
.menu-item.accordion-header.active .acc-toggle-icon::after {
    transform: rotate(90deg) scale(0);
}
.menu-item.accordion-header.active .acc-toggle-icon::before {
    background-color: var(--color-accent);
    transform: rotate(180deg);
}

/* Drawer Content & Swatches (Accordion içine uyarlandı) */
.doc-list {
    list-style: none;
    padding: 0;
}
.doc-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 300;
    color: #1a1a1a;
}
.doc-list a {
    color: #1a1a1a;
    transition: color 0.3s, transform 0.3s;
}
.doc-list a:hover {
    color: var(--color-accent);
    transform: translateY(2px);
}

.material-group {
    margin-bottom: 4rem;
}
.material-group h4 {
    font-size: 1.25rem; /* Ana başlıktan (1.3rem) 1px kadar daha küçük */
    font-weight: 500; /* Daha belirgin */
    color: #1a1a1a;   /* Daha koyu ve net */
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    margin-bottom: 2.5rem;
}
.swatch-grid {
    display: flex;
    flex-wrap: wrap;
    /* Altın oran (1:1.618) bazlı ferah ama derli toplu boşluklar */
    gap: 2rem 3.2rem; 
}
.swatch-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    cursor: pointer;
    width: 100px; /* İçeriğin kutu genişliğini aşmamasını sağlar */
}
.swatch-color {
    width: 100px;
    height: 100px;
    border-radius: 4px; /* Çok hafif ovallik */
    /* Yazının kutuya uzaklığı altın orana (1:1.618) göre kısaltıldı */
    margin-bottom: 0.6rem; 
    transition: transform 0.3s, box-shadow 0.3s;
}
.swatch-item:hover .swatch-color {
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.swatch-item span {
    font-size: 0.85rem;
    color: #4a4a4a;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.2px;
}
.specs-placeholder p {
    font-weight: 300;
    line-height: 1.8;
    color: #1a1a1a;
}

/* Contact Banner */
.contact-banner {
    background: #ffffff; /* Zemin tamamen beyaz oldu */
    padding: 6rem 5%;
}
.contact-banner-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem; /* Kartlar arası boşluk */
    text-align: center;
}
.contact-banner-item {
    background: #ffffff; /* Beyaz kart */
    border-radius: 12px; /* Yuvarlak köşeler */
    padding: 3.5rem 2rem; /* Geniş iç boşluk */
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06); /* Beyaz zeminde kartların kaybolmaması için gölge biraz belirginleştirildi */
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.contact-banner-item:hover {
    transform: translateY(-8px); /* Havaya kalkma efekti */
    box-shadow: 0 15px 35px rgba(0,0,0,0.08); /* Belirgin gölge */
}
.contact-banner-icon {
    margin-bottom: 2rem; /* İkon büyüdüğü için alt boşluk artırıldı */
    color: #2c3e50; /* Koyu antrasit ikon rengi */
    transition: transform 0.3s;
}
.contact-banner-item:hover .contact-banner-icon {
    transform: scale(1.1); /* İkon hafif büyür */
}
.contact-banner-item h4 {
    font-size: 0.95rem;
    color: #888888;
    font-weight: 400;
    margin-bottom: 0.75rem;
}
.contact-banner-item p {
    font-size: 0.95rem;
    color: #1a1a1a;
    font-weight: 500;
    margin: 0.2rem 0;
}
.contact-banner-item strong {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 0.25rem;
    display: block;
}
.contact-banner-item a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}
.contact-banner-item a:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}
@media (max-width: 900px) {
    .contact-banner-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem; /* Kart boşlukları eşitlendi */
    }
}
@media (max-width: 576px) {
    .contact-banner-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .product-hero {
        grid-template-columns: 1fr;
    }
}
