/* --- Değişkenler ve Reset --- */
:root {
    --bg-color: #F5F5DC; /* Bej */
    --alt-bg: #EADDCA;  /* Koyu Bej/Krem */
    --primary-color: #4B2E1E; /* Koyu Kahve (Başlıklar) */
    --accent-color: #8B4513;  /* Vurgu Kahvesi */
    --light-brown: #D2B48C;   /* Açık Kahve */
    --white: #FFFFFF;
    --dark: #2C1B10;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto Slab', serif;
    background-color: var(--bg-color);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px; 

}


h1, h2, h3, h4, .nav-links a {
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 1px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.bg-alt { background-color: var(--alt-bg); }
.bg-dark { background-color: var(--dark); color: var(--white); }

/* --- Header --- */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(245, 245, 220, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 2.0rem;
    margin: 0 60px;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--accent-color); }

.main-logo {
    width: 200px;
    height: auto;
    object-fit: contain;
}

/* --- Hero Slider --- */
/* 1980'ler Bakkal Poster Estetiği */
.retro-hero-poster {
    background-color: #F5F5DC; 
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 8px solid #4B2E1E;
    
    /* Margin-top'ı sıfırlıyoruz çünkü body padding-top işi hallediyor */
    margin-top: 0; 
}

.poster-frame {
    background-color: #FFF;
    border: 4px solid #4B2E1E;
    max-width: 1100px;
    width: 100%;
    padding: 15px;
    box-shadow: 10px 10px 0px #D2B48C; /* Sert gölge, yumuşama yok */
}

.poster-inner {
    border: 2px solid #4B2E1E;
    display: flex;
    flex-wrap: wrap;
    background-color: #FDFCF0;
}

.poster-column {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Sol Taraf: Görsel ve "Kaşe" Efekti */
.poster-image-area {
    border-right: 2px solid #4B2E1E;
    background-color: #F5F5DC;
    position: relative;
    text-align: center;
}

.product-placeholder img {
    max-width: 100%;
    height: auto;
    border: 3px solid #4B2E1E;
    display: block;
}

.stamp {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #8B4513;
    color: #F5F5DC;
    padding: 10px 15px;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.2rem;
    transform: rotate(-5deg); /* Hafif eğri, hatalı basım hissi */
    border: 2px dashed #F5F5DC;
}

/* Sağ Taraf: Tipografi */
.poster-text-area {
    background-color: #FFF;
}

.poster-headline {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    line-height: 0.9;
    color: #4B2E1E;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

.poster-divider {
    width: 80px;
    height: 10px;
    background-color: #8B4513;
    margin-bottom: 20px;
}

.poster-subtext {
    font-family: 'Roboto Slab', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #4B2E1E;
    margin-bottom: 30px;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Buton: Modern UI pattern'larından uzak, kutu gibi */
.poster-button {
    display: inline-block;
    background-color: #4B2E1E;
    color: #FFF;
    text-decoration: none;
    padding: 15px 30px;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    border: none;
    width: fit-content;
    text-align: center;
}

.poster-button:hover {
    background-color: #8B4513;
}

.poster-footer-note {
    margin-top: 30px;
    font-family: 'Bebas Neue', cursive;
    font-size: 1rem;
    color: #D2B48C;
    border-top: 1px solid #D2B48C;
    padding-top: 10px;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .poster-inner {
        flex-direction: column;
    }
    .poster-image-area {
        border-right: none;
        border-bottom: 2px solid #4B2E1E;
    }
    .poster-headline {
        font-size: 3rem;
    }
}
/* --- Section Titles --- */
.section-title {
    text-align: center;
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.section-title.light { color: var(--alt-bg); }

.title-divider {
    text-align: center;
    margin-bottom: 20px;
}

.title-divider span {
    position: relative;
    padding: 0 15px;
    font-weight: bold;
    color: var(--accent-color);
}

.title-divider::before, .title-divider::after {
    content: '';
    display: inline-block;
    width: 50px;
    height: 1px;
    background: var(--accent-color);
    vertical-align: middle;
}

.section-subtitle {
    text-align: center;
    font-weight: bold;
    margin-bottom: 50px;
}

/* --- About Grid --- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.about-card {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--light-brown);
    transition: transform 0.4s, box-shadow 0.4s;
    text-align: center;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(139, 69, 19, 0.1);
}

.card-line {
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto;
}

/* --- Product Section --- */
.filter-container {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 25px;
    margin: 5px;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 50px;
    transition: 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border: 1px solid #ddd;
    overflow: hidden;
    transition: 0.3s;
}

.product-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: sepia(20%);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.weight {
    display: block;
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 15px;
}

.acc-trigger {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 20px;
    width: 100%;
    cursor: pointer;
    font-family: 'Bebas Neue', cursive;
    font-size: 1rem;
}

.acc-content {
    display: none;
    padding: 15px;
    font-size: 0.9rem;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

/* --- Benefits Section --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-icon {
    font-size: 3rem;
    font-family: 'Bebas Neue';
    color: var(--light-brown);
    margin-bottom: 10px;
}

/* --- Contact Section --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
    border-bottom: 1px solid var(--accent-color);
    font-family: inherit;
}

.submit-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 15px 40px;
    font-family: 'Bebas Neue';
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover { background: var(--light-brown); }

/* --- Yenilenmiş Retro Footer --- */
.site-footer {
    padding: 30px 0;
    background-color: var(--white);
    border-top: 2px solid var(--primary-color);
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-item {
    flex: 1;
}

/* Sol Alan: Copyright */
.footer-left {
    text-align: left;
}

.copyright-info {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0;
}

.legal-subtext {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}

/* Orta Alan: İştirak */
.footer-center {
    display: flex;
    justify-content: center;
}

.brand-connection {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.connection-phrase {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--accent-color);
    white-space: nowrap;
}

.cagsan-img {
    transition: transform 0.3s ease;
}

.cagsan-link:hover .cagsan-img {
    transform: scale(1.08);
}

/* Sağ Alan: Sosyal Medya */
.footer-right {
    display: flex;
    justify-content: flex-end;
}

.social-box {
    display: flex;
    gap: 15px;
}

.social-ico {
    color: var(--primary-color);
    transition: color 0.3s, transform 0.3s;
}

.social-ico:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Mobil Düzen */
@media (max-width: 768px) {
    .footer-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .footer-left, .footer-right {
        text-align: center;
        justify-content: center;
    }
    .brand-connection {
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    .retro-hero-poster {
        margin-top: 60px; /* Mobilde header daha küçükse */
        padding: 20px 10px;
    }
}

/* --- Profesyonel Mobil Optimizasyon --- */

@media (max-width: 768px) {
    /* 1. Menüleri Gizle: Mobil kullanıcılar sadece scroll yapacak */
    .nav-links {
        display: none !important;
    }

    .nav-container {
        justify-content: center; /* Logoyu merkeze al */
        padding: 10px;
    }

    .main-logo {
        width: 150px; /* Mobilde logoyu biraz küçült */
    }

    /* 2. Hero Poster Bölümü */
    .retro-hero-poster {
        margin-top: 60px;
        padding: 10px;
    }

    .poster-frame {
        padding: 10px;
        box-shadow: 5px 5px 0px var(--light-brown);
    }

    .poster-inner {
        flex-direction: column;
    }

    .poster-column {
        padding: 20px;
        min-width: 100%;
    }

    .poster-headline {
        font-size: 2.2rem; /* Mobilde taşmaması için küçültüldü */
        text-align: center;
    }

    .poster-subtext {
        font-size: 1rem;
        text-align: center;
    }

    .poster-button {
        width: 100%; /* Buton tam genişlik */
        text-align: center;
    }

    .poster-image-area {
        border-right: none;
        border-bottom: 2px solid var(--primary-color);
    }

    /* 3. Hakkımızda ve Faydalar: Simetrik Tekli Sütun */
    .about-grid, .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    /* 4. Ürünler: Mobilde Yan Yana 2 Tane (Simetrik Grid) */
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 düzeni */
        gap: 10px; /* Mobil için dar boşluk */
    }

    .product-card {
        padding: 10px;
    }

    .product-img img {
        height: 180px; /* Mobilde görselleri daha küçük tut */
    }

    .product-info h4 {
        font-size: 1rem; /* Başlık boyutu dengelendi */
        height: 40px; /* Başlıklar arası simetri için sabit yükseklik */
        overflow: hidden;
    }

    .weight {
        font-size: 0.8rem;
    }

    .acc-trigger {
        font-size: 0.8rem;
        padding: 8px 5px;
    }

    /* 5. İletişim Formu */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info {
        text-align: center;
    }

    /* 6. Footer Düzenlemesi */
    .footer-wrapper {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .footer-left, .footer-right {
        text-align: center;
        justify-content: center;
    }

    .brand-connection {
        flex-direction: column;
        gap: 10px;
    }

    .connection-phrase {
        font-size: 0.8rem;
    }
}

/* Küçük Ekranlar (iPhone SE vb.) İçin Ekstra Rötuş */
@media (max-width: 380px) {
    .product-grid {
        gap: 5px;
    }
    
    .product-img img {
        height: 150px;
    }
}

.footer-brand-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.developer-credit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 0.72rem;
    color: #777;
    text-decoration: none;
    opacity: 0.75;
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.developer-credit:hover {
    opacity: 1;
    color: var(--primary-color);
    transform: translateY(-1px);
}

.developer-logo {
    height: 17px;
    width: auto;
    object-fit: contain;
}

.developer-credit strong {
    font-weight: 600;
}

@media (max-width: 768px) {
    .developer-credit {
        flex-wrap: wrap;
        font-size: 0.7rem;
        gap: 6px;
    }

    .developer-logo {
        height: 16px;
    }
}