/* style.css - ARMETA Premium Endüstriyel Tema */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Roboto:wght@300;400;700&display=swap');

:root {
    --bg-dark: #121212;
    --bg-light: #1e1e1e;
    --text-main: #f5f5f5;
    --text-muted: #aaaaaa;
    --accent-gold: #c5a059;
    --accent-red: #d32f2f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3, h4, .nav-logo {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

/* Üst Menü (Header) */
header {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.nav-logo img {
    height: 40px; /* Logonu buraya göre ayarlayacağız */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-gold);
}

/* Kahraman Alanı (Hero Section) */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('images/slider-bg.jpg') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 60px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--text-main);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 800px;
}

.btn-primary {
    background-color: var(--accent-red);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #b71c1c;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--accent-gold);
    color: #000;
}

/* Seksiyon Temelleri */
section {
    padding: 80px 10%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--accent-gold);
}

/* Ürün Slider Alanı (Swiper) */
.swiper {
    width: 100%;
    padding-bottom: 50px;
}

.swiper-slide {
    background: var(--bg-light);
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.swiper-slide:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.product-img {
    width: 100%;
    height: auto; 
    aspect-ratio: 4 / 3; /* Yine burayı da 1 / 1 (kare) veya 16 / 9 (geniş) yapabilirsin */
    object-fit: cover;
    border-bottom: 3px solid var(--accent-red);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.btn-product {
    display: inline-block;
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s ease;
}

.btn-product:hover {
    border-bottom: 1px solid var(--accent-gold);
}

/* Footer */
footer {
    background-color: #0a0a0a;
    padding: 40px 10%;
    text-align: center;
    border-top: 2px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 5px 0;
}

/* Ürünler Sayfası - Izgara (Grid) Düzeni */
.page-header {
    margin-top: 80px; /* Menünün altında kalmaması için */
    padding: 60px 20px;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.9)), url('images/slider-bg.jpg') center/cover;
    text-align: center;
    border-bottom: 2px solid var(--accent-red);
}

.page-header h1 {
    font-size: 3rem;
    color: var(--accent-gold);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.product-card {
    background: var(--bg-light);
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.product-card img {
    width: 100%;
    height: auto; /* Sabit yüksekliği iptal ediyoruz, yüksekliği en-boy oranına bırakıyoruz */
    aspect-ratio: 4 / 3; /* Görseli standart yatay bir kutuya kilitler. Tam KARE istersen 1 / 1 yapabilirsin */
    object-fit: cover; /* Görseli sündürmeden o kutunun içini dolduracak şekilde yerleştirir */
    border-bottom: 3px solid #333;
}

.product-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #fff;
}

.btn-block {
    display: block;
    text-align: center;
    margin-top: auto;
    padding: 12px;
    background-color: #1a1a1a;
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: bold;
    border: 1px solid var(--accent-gold);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-block:hover {
    background-color: var(--accent-gold);
    color: #000;
}

/* Tekil Ürün Detay Sayfası Düzeni */
.product-detail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    padding: 50px 10%;
}

.product-image-gallery {
    flex: 1;
    min-width: 300px;
}

.product-image-gallery img {
    width: 100%;
    border-radius: 8px;
    border: 2px solid #333;
}

.product-details {
    flex: 1;
    min-width: 300px;
}

.product-details h2 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    margin: 30px 0;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-main);
}

.feature-list li::before {
    content: '▹';
    color: var(--accent-red);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    top: -2px;
}

/* Hakkımızda Sayfası Özel Stilleri */
.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    color: var(--accent-gold);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    border: 3px solid #333;
    box-shadow: -15px 15px 0px var(--accent-red);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-box {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--accent-gold);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    background-color: #252525;
}

.feature-box h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* İletişim Sayfası Özel Stilleri */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 40px;
}

/* Sol Taraf: Form */
.contact-form-wrapper {
    flex: 1.5;
    min-width: 300px;
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    border-top: 4px solid var(--accent-red);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--accent-gold);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 15px;
    background-color: var(--bg-dark);
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sağ Taraf: Bilgi Kutuları (Harita Yerine) */
.contact-info-panel {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-box {
    background-color: #1a1a1a;
    padding: 30px;
    border-left: 4px solid var(--accent-gold);
    border-radius: 8px;
}

.info-box.red-border {
    border-left-color: var(--accent-red);
}

.info-box h4 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 15px;
}

.info-box p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- MOBİL UYUMLULUK (RESPONSIVE) AYARLARI --- */

/* Varsayılan olarak masaüstünde hamburger ikonunu gizle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--accent-gold);
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    /* Header ve Menü Ayarları */
    header {
        padding: 15px 20px;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    nav ul {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 70px; 
        left: 0;
        width: 100%;
        background-color: rgba(18, 18, 18, 0.98);
        text-align: center;
        padding: 20px 0;
        border-bottom: 2px solid var(--accent-red);
        gap: 15px; 
    }

    nav ul.active {
        display: flex;
    }

    /* Buton Ayarları */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px; 
        width: 100%;
        max-width: 300px; 
    }
    
    .btn-outline {
        margin-left: 0;
    }
    
    .btn-primary, .btn-outline {
        width: 100%;
        display: block;
        box-sizing: border-box;
    }

    /* YENİ EKLENEN KISIM: Kahraman (Hero) Alanının Taşmasını ve Üst Üste Binmesini Engeller */
    .hero {
        height: auto; 
        min-height: 100vh; 
        padding-top: 150px; /* Mobilde yazılar menünün altında kalmasın diye */
        padding-bottom: 80px; /* Butonlar ile alttaki bölüm arasına boşluk */
        justify-content: flex-start; 
    }

    .hero h1 {
        font-size: 2.2rem; /* Başlık boyutunu mobilde daralttık */
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1.1rem; /* Paragraf boyutunu dengeledik */
        margin-bottom: 30px;
    }
}