/* Genel Ayarlar & Renk Paleti */
:root {
    --primary-black: #111;
    --primary-red: #d90429;
    --white: #ffffff;
    --grey-bg: #2a2a2a;
    --anthracite: #383b40; /* Şartlar sayfası için */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth; /* Anasayfaya smooth şekilde dönmek için */
}

body {
    background-color: var(--primary-black);
    color: var(--white);
    overflow-x: hidden;
}

/* HEADER - Butonlar Ortalandı */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.logo-area {
    display: flex;
    align-items: center;
    width: 250px; /* Sol alanı sabitliyoruz ki orta kısım tam merkeze otursun */
}

.logo-placeholder {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
}

.divider {
    height: 40px;
    width: 12px;
    margin: 0 25px;
    border-left: 3px solid var(--primary-red);
    border-right: 3px solid var(--primary-red);
}

nav {
    display: flex;
    gap: 15px;
    flex: 1; /* Kalan boşluğu doldurarak menüyü ortalar */
    justify-content: center;
}

.contact-area {
    width: 250px; /* Sağ alanı sabitliyoruz */
    display: flex;
    justify-content: flex-end;
}

/* BUTON STİLLERİ */
.btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-red);
    background: transparent;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn:hover {
    background-color: rgba(217, 4, 41, 0.3);
}

.btn.clicked {
    background-color: var(--primary-red) !important;
    color: var(--white) !important;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
}

.btn.clicked::before {
    animation: shine 0.5s ease-out;
}

@keyframes shine {
    0% { left: 150%; }
    100% { left: -50%; }
}

/* SLIDER (Section) - Tam ve Orantılı Sığdırma Ayarı */
.slider-section {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* 1920x1080 tasarımının oranını birebir korur ve boşluk bırakmaz */
    margin-top: 80px; /* Header'ın altında ezilmesini önler */
    overflow: hidden;
    background-color: var(--primary-black);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Div zaten 16:9 oranında olduğu için resim %100 sığar, kesilmez ve bar bırakmaz */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* ORTAK SAYFA İÇERİK ALANLARI (Hakkımızda, Araçlar, Şartlar) */
.page-section {
    padding: 120px 5% 60px 5%; /* Header altında kalmaması için üstten boşluk */
    min-height: 100vh;
}

.section-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

/* HAKKIMIZDA SAYFASI ÖZEL */
.about-bg {
    /* hakkimizda-bg.jpg isimli bir arka plan resmi kullanabilirsin */
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('hakkimizda-bg.jpg') center/cover no-repeat;
    border-radius: 15px;
    padding: 50px;
    text-align: center;
    border: 1px solid var(--primary-red);
}

/* ŞARTLAR SAYFASI ÖZEL KUTU */
.terms-box {
    background-color: var(--black);
    border: 2px solid var(--primary-red);
    border-radius: 15px;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    color: var(--primary-white);
}

.terms-box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    margin-top: 25px;
    border-bottom: 1px solid var(--primary-red);
    padding-bottom: 5px;
}

.terms-box h3:first-child {
    margin-top: 0;
}

.terms-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--primary-red);
}

/* ÜRÜN KARTLARI */
.products-section { padding: 80px 5%; background-color: var(--primary-black); text-align: center; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: var(--grey-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}
.card img { width: 100%; height: 220px; object-fit: cover; border-bottom: 2px solid var(--primary-red); }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 15px; text-align: left; }
.input-group { display: flex; flex-direction: column; gap: 5px; }
.input-group label { font-size: 0.9rem; color: #ccc; }
.input-group input { padding: 8px; background: #111; border: 1px solid var(--primary-red); color: var(--white); border-radius: 5px; }
.price-display { font-size: 1.3rem; font-weight: bold; color: var(--white); margin: 10px 0; border-top: 1px dashed #555; padding-top: 10px; }

/* ALT BANNER & FOOTER */
.bottom-banner {
    width: 100%; padding: 60px 5%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('arkaplan.jpg') center/cover no-repeat;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 40px;
}
.banner-text { flex: 1; min-width: 300px; }
.banner-text h2 { font-size: 2.5rem; color: var(--white); margin-bottom: 10px; text-shadow: 2px 2px 5px #000; }
.banner-text p { font-size: 1.1rem; color: #ddd; }
.banner-table {
    background-color: rgba(217, 4, 41, 0.2); border: 1px solid var(--primary-red);
    border-radius: 15px; padding: 30px; min-width: 300px; backdrop-filter: blur(5px);
}
.banner-table h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--white); border-bottom: 2px solid var(--primary-red); padding-bottom: 5px; }
.banner-table ul { list-style: none; }
.banner-table ul li { margin-bottom: 10px; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.banner-table ul li::before { content: '✔'; color: var(--primary-red); }

footer { background-color: #050505; text-align: center; padding: 30px 20px; border-top: 2px solid var(--primary-red); }
.footer-info h3 { color: var(--white); margin-bottom: 15px; }
.footer-info p { margin: 5px 0; color: #aaa; }

@media (max-width: 992px) {
    header { flex-direction: column; height: auto; padding: 15px; gap: 15px; }
    .logo-area, .contact-area { width: 100%; justify-content: center; }
    .divider { display: none; }
    nav { flex-wrap: wrap; }
}