/* ── css/products.css ───────────────────────────── */
/* products.css - visual heavy, multi-page */

/* Compact button override for product listing page */
.btn.btn-sm {
    padding-left: 10px !important;
    padding-right: 10px !important;
    width: auto !important;
    align-self: flex-start !important;
}

/* HOMEPAGE PRODUCTS PREVIEW (DARK BG) */
#urunler {
    background: var(--c-black);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.product-card {
    background: var(--c-dark1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: background var(--dur-s) var(--ease-std);
    transition-delay: var(--delay, 0s);
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: rgba(246,243,238,0.22);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-sharp);
    z-index: 2;
}

.product-card:hover { background: var(--c-dark2); }
.product-card:hover::before { transform: scaleX(1); }

/* Image */
.product-img-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--c-dark3);
    position: relative;
    flex-shrink: 0;
}

.product-img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.8s var(--ease-std);
}
.product-card:hover .product-img { transform: scale(1.05); }

.product-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(6,6,6,0.6) 100%);
    opacity: 0;
    transition: opacity var(--dur-s) var(--ease-std);
    z-index: 1;
}
.product-card:hover .product-img-overlay { opacity: 1; }

.product-img-wrap.no-img {
    display: flex; align-items: center; justify-content: center;
}
.product-img-wrap.no-img::after {
    content: 'Gorsel Yakinda';
    font-family: var(--font-body);
    font-size: 9px; letter-spacing: 3px;
    color: var(--c-gray); text-transform: uppercase;
}

/* Body */
.product-body {
    padding: 36px 44px 72px;
    position: relative;
    flex: 1;
}

.product-num {
    font-family: var(--font-body);
    font-size: 10px; letter-spacing: 3.5px;
    color: rgba(246,243,238,0.32); font-weight: 700;
    margin-bottom: 24px;
}

.product-name {
    font-family: var(--font-display);
    font-size: 26px; font-weight: 600;
    letter-spacing: -0.3px; line-height: 1.15;
    margin-bottom: 8px;
    color: var(--c-white);
}

.product-cat {
    font-family: var(--font-body);
    font-size: 9px; letter-spacing: 3px;
    color: var(--c-gray); text-transform: uppercase;
    margin-bottom: 18px; font-weight: 500;
}

.product-desc {
    font-family: var(--font-body);
    font-size: 13.5px; line-height: 1.88;
    color: rgba(246,243,238,0.42);
}

.product-arrow {
    position: absolute; bottom: 34px; right: 38px;
    width: 38px; height: 38px;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--dur-s) var(--ease-std);
}
.product-card:hover .product-arrow {
    border-color: var(--c-white);
    background: var(--c-white);
}
.product-arrow svg {
    width: 14px; height: 14px;
    stroke: var(--c-white);
    transition: transform var(--dur-s) var(--ease-std), stroke var(--dur-s);
}
.product-card:hover .product-arrow svg {
    transform: translate(2px, -2px);
    stroke: var(--c-black);
}

/* FULL PRODUCTS PAGE — alternating light/dark rows */
.product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 620px;
    position: relative;
}

.product-row:nth-child(even) { direction: rtl; }
.product-row:nth-child(even) > * { direction: ltr; }

.product-row-img {
    position: relative;
    overflow: hidden;
}

.product-row-img img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform var(--dur-l) var(--ease-std);
}
.product-row:hover .product-row-img img { transform: scale(1.03); }

.product-row-img-placeholder {
    width: 100%; height: 100%;
    background: var(--c-dark2);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-body);
    font-size: 9px; letter-spacing: 3px;
    color: var(--c-gray); text-transform: uppercase;
}
.product-row-light .product-row-img-placeholder { background: var(--c-white2); color: rgba(6,6,6,0.25); }

.product-row-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 72px;
}

.product-row-dark .product-row-content {
    background: var(--c-black);
}
.product-row-light .product-row-content {
    background: var(--c-white);
    color: var(--c-black);
}

.product-row-num {
    font-family: var(--font-display);
    font-size: 80px; font-weight: 300;
    color: rgba(246,243,238,0.05);
    line-height: 1; margin-bottom: 20px;
    letter-spacing: -4px;
}
.product-row-light .product-row-num { color: rgba(6,6,6,0.05); }

.product-row-cat {
    font-family: var(--font-body);
    font-size: 9px; letter-spacing: 4px;
    color: var(--c-gray); text-transform: uppercase; font-weight: 500;
    margin-bottom: 16px;
    display: inline-flex; align-items: center; gap: 12px;
}
.product-row-cat::before { content: ''; width: 18px; height: 1px; background: rgba(246,243,238,0.28); }

.product-row-name {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.2vw, 52px);
    font-weight: 400; line-height: 1.1; letter-spacing: -0.5px;
    margin-bottom: 24px;
}
.product-row-dark .product-row-name { color: var(--c-white); }
.product-row-light .product-row-name { color: var(--c-black); }

.product-row-desc {
    font-family: var(--font-body);
    font-size: 14.5px; line-height: 1.92;
    margin-bottom: 44px; max-width: 420px;
}
.product-row-dark .product-row-desc { color: rgba(246,243,238,0.5); }
.product-row-light .product-row-desc { color: rgba(6,6,6,0.52); }
