/*
Theme Name: Hello Elementor Child - Yiğit Çelik Kapı
Theme URI: https://yigitcelikkapi.com.tr
Description: Yiğit Çelik Kapı için özel child theme
Author: Yiğit Çelik Kapı
Template: hello-elementor
Version: 1.0.0
*/

/* Kurumsal Renkler */
:root {
    --yck-red: #DC143C;
    --yck-red-dark: #B01030;
    --yck-red-light: #FF1744;
    --yck-black: #0a0a0a;
    --yck-dark-gray: #1a1a1a;
    --yck-darker-gray: #141414;
    --yck-light-gray: #2a2a2a;
    --yck-border-gray: #333333;
    --yck-text-gray: #b0b0b0;
    --yck-white: #ffffff;
    --yck-bg-dark: #0f0f0f;
}

/* Genel Stil */
body {
    font-family: 'Inter', 'Roboto', 'Arial', sans-serif;
    background: #ffffff;
    color: #0a0a0a;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Elementor Full Width Support */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 100% !important;
}

.site-main {
    width: 100% !important;
    max-width: 100% !important;
}

/* Hello Theme Container Override */
.site-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

.content-area {
    width: 100% !important;
    max-width: 100% !important;
}

#content {
    width: 100% !important;
    max-width: 100% !important;
}

.container {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ürün Sayfaları Full Width */
.yck-product-single,
.post-type-archive-yck_product,
.page-template-template-compare {
    width: 100% !important;
    max-width: 100% !important;
}

.yck-product-single .site-content,
.post-type-archive-yck_product .site-content,
.page-template-template-compare .site-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* Body Full Width Class */
body.yck-full-width .site {
    max-width: 100% !important;
}

body.yck-full-width .site-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}

body.yck-full-width .content-area {
    max-width: 100% !important;
    width: 100% !important;
}

body.yck-full-width #content {
    max-width: 100% !important;
    width: 100% !important;
}

/* Header & Footer Full Width */
.site-header,
.site-footer {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.header-container,
.footer-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* Header Özelleştirme */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Buton Stilleri */
.btn-primary {
    background: linear-gradient(135deg, var(--yck-red) 0%, var(--yck-red-dark) 100%);
    color: var(--yck-white);
    padding: 14px 35px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--yck-red-light) 0%, var(--yck-red) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(220, 20, 60, 0.5);
}

.btn-secondary {
    background: var(--yck-dark-gray);
    color: var(--yck-white);
    padding: 14px 35px;
    border: 2px solid var(--yck-border-gray);
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--yck-light-gray);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Ürün Kartları */
.product-card {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(220, 20, 60, 0.1) 0%, rgba(220, 20, 60, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: #ccc;
}

.product-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.08);
}

.product-card-content {
    padding: 25px;
}

.product-title {
    color: #0a0a0a;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-series {
    color: var(--yck-red);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(220, 20, 60, 0.1);
    border-radius: 4px;
}

.product-color {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

/* Compare Checkbox */
.product-compare {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.product-compare input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: var(--yck-red);
}

/* Footer */
.site-footer {
    background: #0a0a0a;
    color: #999;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer a {
    color: #999;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--yck-red);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--yck-red);
}
