/* 
 * style.css
 * Maytav Çok Sayfalı Site - Ana Stil Dosyası
 * 
 * Bu dosya, Maytav tavukçuluk ekipmanları sitesinin tüm stil tanımlamalarını içerir.
 * Tüm sayfalar için ortak CSS kuralları burada tanımlanmıştır.
 */

/* ==========================================
   1. GENEL STILLER VE RESET
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Temel HTML elementleri için stiller */
html, body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Bağlantı stilleri */
a {
    color: #1E5631; /* Ana tema rengi - koyu yeşil */
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FFB800; /* Vurgu rengi - altın sarısı */
}

/* Liste stilleri */
ul, ol {
    list-style-position: inside;
    margin-bottom: 1rem;
}

/* Başlık stilleri */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1E5631; /* Ana tema rengi - koyu yeşil */
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

/* Başlık altı çizgisi */
h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FFB800; /* Vurgu rengi - altın sarısı */
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

/* Paragraf stilleri */
p {
    margin-bottom: 1rem;
}

/* Görsel stilleri */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Konteyner - içeriği ortalamak için */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Bölüm dolguları */
.section-padding {
    padding: 80px 0;
}

/* Arka plan renkleri */
.bg-light {
    background-color: #f8f9fa;
}

.bg-dark {
    background-color: #1E5631; /* Ana tema rengi - koyu yeşil */
    color: #fff;
}

/* ==========================================
   2. BUTONLAR
   ========================================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: #1E5631; /* Ana tema rengi - koyu yeşil */
    color: #fff;
}

.btn-primary:hover {
    background-color: #164224;
    color: #fff;
}

.btn-secondary {
    background-color: #FFB800; /* Vurgu rengi - altın sarısı */
    color: #1E5631; /* Ana tema rengi - koyu yeşil */
}

.btn-secondary:hover {
    background-color: #e6a700;
}

/* ==========================================
   3. HEADER VE NAVİGASYON
   ========================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Kaydırma durumunda header */
header.kaydirma {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

/* Logo stilleri */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E5631; /* Ana tema rengi - koyu yeşil */
}

/* Ana navigasyon */
.ana-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

.ana-nav li {
    margin: 0 15px;
}

.ana-nav a {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 0;
    position: relative;
}

/* Aktif menü öğesi */
.ana-nav a.aktif {
    color: #FFB800; /* Vurgu rengi - altın sarısı */
}

/* Menü öğesi hover efekti */
.ana-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFB800; /* Vurgu rengi - altın sarısı */
    transition: width 0.3s ease;
}

.ana-nav a:hover:after,
.ana-nav a.aktif:after {
    width: 100%;
}

/* Dil seçici */
.dil-secici {
    display: flex;
    align-items: center;
}

.dil-secici a {
    margin-left: 10px;
}

.dil-secici img {
    width: 24px;
    height: auto;
    border-radius: 3px;
}

/* Mobil menü toggle butonu */
.mobil-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1E5631; /* Ana tema rengi - koyu yeşil */
    cursor: pointer;
}

/* ==========================================
   4. HERO BÖLÜMÜ / SLIDER
   ========================================== */
.hero-bolumu {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    margin-top: 80px; /* Header yüksekliği */
}

.hero-slide {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

/* Karanlık overlay */
.hero-slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-icerik {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 600px;
    padding: 0 15px;
    margin-left: 10%;
}

.hero-icerik h1, 
.hero-icerik h2 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-icerik p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.hero-icerik ul {
    margin-bottom: 2rem;
}

/* Slider kontrolleri */
.slider-onceki,
.slider-sonraki {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-onceki {
    left: 20px;
}

.slider-sonraki {
    right: 20px;
}

.slider-onceki:hover,
.slider-sonraki:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* Pagination noktaları */
.pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.pagination-nokta {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-nokta.aktif {
    background-color: #FFB800; /* Vurgu rengi - altın sarısı */
}

/* ==========================================
   5. SAYFA BAŞLIĞI
   ========================================== */
.sayfa-baslik {
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px; /* Header yüksekliği */
}

.sayfa-baslik:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.sayfa-baslik h1 {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    font-size: 2.5rem;
}

/* ==========================================
   6. HAKKIMIZDA BÖLÜMÜ
   ========================================== */
.hakkimizda-ana {
    text-align: center;
}

.hakkimizda-ana p {
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Kurumsal sayfa içerik blokları */
.icerik-blok {
    margin-bottom: 3rem;
}

.icerik-blok h2, 
.icerik-blok h3 {
    margin-bottom: 1.5rem;
}

.icerik-resim {
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Vurgulanan alıntı */
.vurgulanan-alinti {
    background-color: #f8f9fa;
    padding: 2rem;
    border-left: 5px solid #FFB800; /* Vurgu rengi - altın sarısı */
    font-style: italic;
    font-size: 1.2rem;
    margin: 2rem 0;
}

/* ==========================================
   7. ÜRÜNLER BÖLÜMÜ
   ========================================== */
.urunler-ana {
    text-align: center;
}

/* Ürün sekmeleri */
.urun-sekmeler {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.sekme-link {
    padding: 12px 24px;
    background-color: #f8f9fa;
    border: none;
    margin: 0 5px 10px;
    cursor: pointer;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sekme-link.aktif {
    background-color: #1E5631; /* Ana tema rengi - koyu yeşil */
    color: #fff;
}

.sekme-link:hover {
    background-color: #e9ecef;
}

.sekme-link.aktif:hover {
    background-color: #164224;
}

/* Ürün sekme içeriği */
.urun-sekme-icerik {
    display: none;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.urun-sekme-icerik.aktif {
    display: block;
}

.urun-sekme-icerik h3 {
    margin-bottom: 1.5rem;
}

.urun-sekme-icerik img {
    margin: 0 auto 1.5rem;
    max-height: 400px;
    border-radius: 10px;
}

/* 360 Derece Görüntüleyici */
.urun-360-goruntuleyici {
    margin-top: 3rem;
    text-align: center;
}

.goruntuleyici-cerceve {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #FFB800; /* Vurgu rengi - altın sarısı */
}

.goruntuleyici-cerceve img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================
   8. MEDYA BÖLÜMÜ
   ========================================== */
.medya-galeri {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.galeri-ogesi {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.galeri-ogesi img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galeri-ogesi:hover img {
    transform: scale(1.05);
}

.galeri-baslik {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(30, 86, 49, 0.8); /* Ana tema rengi - koyu yeşil (yarı saydam) */
    color: #fff;
    padding: 10px;
    font-size: 0.9rem;
}

/* Video galerisi */
.video-cerceve {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 oranı */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.video-cerceve iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================
   9. HABERLER BÖLÜMÜ
   ========================================== */
.haberler-ana {
    text-align: center;
}

.haberler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.haber-ogesi {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.haber-ogesi:hover {
    transform: translateY(-5px);
}

.haber-ogesi img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.haber-ogesi-icerik {
    padding: 1.5rem;
}

.haber-ogesi-icerik h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.btn-devamini-oku {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: #1E5631; /* Ana tema rengi - koyu yeşil */
}

.btn-devamini-oku i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.btn-devamini-oku:hover i {
    transform: translateX(5px);
}

/* Haber detay sayfası */
.haber-detay {
    max-width: 800px;
    margin: 0 auto;
}

.haber-detay img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.haber-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.haber-meta span {
    margin-right: 20px;
}

.haber-meta i {
    margin-right: 5px;
}

/* ==========================================
   10. İLETİŞİM BÖLÜMÜ
   ========================================== */
.iletisim-ana {
    text-align: center;
}

.iletisim-form-ana {
    max-width: 600px;
    margin: 0 auto;
}

.iletisim-form-ana input,
.iletisim-form-ana textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.iletisim-form-ana textarea {
    resize: vertical;
}

.iletisim-form-ana button {
    width: 100%;
    cursor: pointer;
}

/* İletişim sayfası */
.iletisim-bilgileri {
    margin-bottom: 3rem;
}

.iletisim-bilgi-ogesi {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.iletisim-bilgi-ogesi i {
    font-size: 1.5rem;
    color: #1E5631; /* Ana tema rengi - koyu yeşil */
    margin-right: 15px;
    min-width: 30px;
    text-align: center;
}

.iletisim-bilgi-ogesi div {
    flex: 1;
}

.iletisim-bilgi-ogesi h4 {
    margin-bottom: 0.5rem;
}

/* Harita */
.harita-cerceve {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.harita-cerceve iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================
   11. E-KATALOG BÖLÜMÜ
   ========================================== */
.e-katalog-ana {
    text-align: center;
}

.katalog-linkler {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.katalog-link {
    display: inline-flex;
    align-items: center;
    padding: 15px 25px;
    margin: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.katalog-link:hover {
    background-color: #e9ecef;
}

.katalog-link i {
    margin-left: 10px;
    color: #dc3545;
    font-size: 1.2rem;
}

/* ==========================================
   12. FOOTER
   ========================================== */
footer {
    background-color: #1E5631; /* Ana tema rengi - koyu yeşil */
    color: #fff;
    padding-top: 60px;
}

.footer-ust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-linkler h4,
.footer-iletisim h4,
.footer-bulten h4 {
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-linkler h4:after,
.footer-iletisim h4:after,
.footer-bulten h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #FFB800; /* Vurgu rengi - altın sarısı */
}

.footer-linkler ul {
    list-style: none;
    margin: 0;
}

.footer-linkler li {
    margin-bottom: 10px;
}

.footer-linkler a {
    color: #fff;
    opacity: 0.8;
}

.footer-linkler a:hover {
    opacity: 1;
    color: #FFB800; /* Vurgu rengi - altın sarısı */
}

.footer-iletisim p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-iletisim i {
    margin-right: 10px;
    min-width: 20px;
}

.footer-bulten form {
    display: flex;
}

.footer-bulten input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: inherit;
}

.footer-bulten button {
    background-color: #FFB800; /* Vurgu rengi - altın sarısı */
    color: #1E5631; /* Ana tema rengi - koyu yeşil */
    border: none;
    padding: 0 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.footer-alt {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-alt p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.sosyal-medya-footer {
    display: flex;
}

.sosyal-medya-footer a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-left: 10px;
    color: #fff;
    transition: all 0.3s ease;
}

.sosyal-medya-footer a:hover {
    background-color: #FFB800; /* Vurgu rengi - altın sarısı */
    color: #1E5631; /* Ana tema rengi - koyu yeşil */
}

/* ==========================================
   13. WHATSAPP BUTONU
   ========================================== */
.whatsapp-sabit {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-sabit:hover {
    transform: scale(1.1);
    color: #fff;
}

/* ==========================================
   14. ANİMASYONLAR
   ========================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   15. RESPONSIVE TASARIM
   ========================================== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-icerik {
        margin-left: 5%;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    /* Mobil menü */
    .mobil-menu-toggle {
        display: block;
    }
    
    .ana-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        display: none;
    }
    
    .ana-nav.aktif {
        display: block;
    }
    
    .ana-nav ul {
        flex-direction: column;
    }
    
    .ana-nav li {
        margin: 10px 0;
    }
    
    /* Hero bölümü */
    .hero-bolumu {
        height: 80vh;
    }
    
    .hero-icerik {
        margin-left: 0;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-icerik ul {
        display: inline-block;
        text-align: left;
    }
    
    /* Footer */
    .footer-alt {
        flex-direction: column;
        text-align: center;
    }
    
    .sosyal-medya-footer {
        margin-top: 15px;
        justify-content: center;
    }
    
    .sosyal-medya-footer a {
        margin: 0 5px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .hero-icerik p {
        font-size: 1rem;
    }
    
    .sayfa-baslik {
        height: 200px;
    }
    
    .sayfa-baslik h1 {
        font-size: 2rem;
    }
    
    .haberler-grid {
        grid-template-columns: 1fr;
    }
    
    .katalog-link {
        width: 100%;
        justify-content: center;
    }
}
