/* --- GİRİŞ EKRANI (SPLASH) STİLLERİ --- */
#splash-screen {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100vh;
    background-color: #fcfaf8;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    z-index: 9999; opacity: 1;
}
.splash-logo {
    width: 80%; max-width: 450px;
    height: auto; margin-bottom: 40px;
}
#enter-button {
    font-size: 1.2rem; padding: 15px 35px;
}

/* --- ANA SİTE İÇERİĞİ (Başlangıçta gizli) --- */
#main-content { display: none; }


/* --- ANA SİTE STİLLERİ --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7; color: #333;
    background-color: #fcfaf8; 
}
h1, h2, h3 {
    font-family: 'Merriweather', serif;
    font-weight: 700; color: #2c541d;
}
h1 { font-size: 3.5rem; line-height: 1.2; }
h2 {
    font-size: 2.5rem; text-align: center;
    margin-bottom: 40px; position: relative;
}
h2::after {
    content: ''; display: block;
    width: 60px; height: 4px;
    background-color: #d9534f;
    margin: 15px auto 0;
}
p { margin-bottom: 20px; font-size: 1.1rem; }
.container { width: 90%; max-width: 1100px; margin: 0 auto; }

/* --- Header --- */
header {
    background-color: #ffffff; padding: 5px 0; 
    border-bottom: 1px solid #eee;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
header .container {
    display: flex; justify-content: space-between; align-items: center;
}
.logo { height: 90px; width: auto; display: block; }
header nav a {
    font-size: 1rem; font-weight: 600;
    color: #555; text-decoration: none;
    margin-left: 25px; transition: color 0.3s ease;
}
header nav a:hover { color: #d9534f; }
.cta-button-menu {
    background-color: #d9534f; color: #fff !important;
    padding: 8px 15px; border-radius: 5px;
    transition: background-color 0.3s ease;
}
.cta-button-menu:hover { background-color: #b9403d; }

/* --- Hero --- */
.hero {
    height: 85vh; display: flex;
    align-items: center; justify-content: center;
    text-align: center; color: #fff;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/hero-bg.jpg');
    background-size: cover; background-position: center;
    background-attachment: fixed;
}
.hero-content { max-width: 700px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p { font-size: 1.3rem; margin-bottom: 30px; font-weight: 400; }

/* --- Genel Buton Stilleri --- */
.cta-button, .cta-button-large {
    display: inline-block; background-color: #d9534f; 
    color: #fff; text-decoration: none;
    font-weight: 600; border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid #d9534f; cursor: pointer; 
}
.cta-button { padding: 12px 25px; font-size: 1.1rem; }
.cta-button-large { padding: 15px 35px; font-size: 1.3rem; }
.cta-button:hover, .cta-button-large:hover {
    background-color: #b9403d; border-color: #b9403d;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- Genel İçerik Bölümleri --- */
.content-section, .product-section, .cta-section, .faq-section { padding: 80px 0; }
.content-section { background-color: #fff; text-align: center; }

/* --- Ürünler Bölümü --- */
.product-section { background-color: #fcfaf8; }
.product-category-title {
    font-size: 2.2rem; font-family: 'Merriweather', serif;
    color: #444; text-align: center;
    margin-top: 50px; margin-bottom: 30px;
    font-weight: 700; border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}
.product-section .product-category-title:first-of-type { margin-top: 10px; }
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.product-card {
    background-color: #fff; border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.product-card img {
    width: 100%; height: 300px; object-fit: cover; 
}
.product-card h3 {
    font-size: 1.8rem; color: #333;
    padding: 25px 25px 10px 25px;
}
.product-card p {
    font-size: 1rem;
    padding: 0 25px 20px 25px;
    flex-grow: 1; /* Açıklama alanının esnemesini sağlar */
}
.product-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px 25px 25px;
    gap: 10px;
}
.quantity-input {
    width: 60px; padding: 10px;
    font-size: 1rem; text-align: center;
    border: 1px solid #ddd; border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}
.add-to-cart-btn {
    flex-grow: 1; padding: 12px 10px;
    font-size: 0.9rem; font-weight: 600;
    background-color: #2c541d; color: #fff;
    border: none; border-radius: 5px;
    cursor: pointer; transition: background-color 0.3s ease;
}
.add-to-cart-btn:hover { background-color: #1a3311; }
.add-to-cart-btn.added { background-color: #d9534f; }

/* ***** MÜŞTERİ YORUMLARI STİLLERİ (GÜNCELLENDİ) ***** */
#yorumlar .container {
    max-width: 1100px; /* Eski container genişliğine döndürüldü */
}

/* Yorum Listeleme Alanı - GRİD OLARAK GÜNCELLENDİ */
#comments-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3 Sütunlu Grid */
    gap: 30px;
    margin-bottom: 40px;
    text-align: left;
}
.comment-item {
    background-color: #fcfaf8;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    /* Kartların aynı hizada durması için flex ayarları */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.comment-item p {
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1; /* Yorum metninin alanı kaplamasını sağlar */
}
.comment-item span {
    font-size: 1rem;
    font-weight: 700;
    color: #2c541d;
    text-align: right; /* Yazarı sağa hizala */
}

/* Yeni Yorum Formu Stilleri - (GÜNCELLENDİ) */
#comment-form {
    background-color: #fcfaf8;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    text-align: left;
    margin-top: 40px;
    max-width: 800px; /* Form, grid'den bağımsız olarak ortada kalsın */
    margin-left: auto;
    margin-right: auto;
}
#comment-form h3 {
    text-align: center;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 25px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}
.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.form-group textarea {
    resize: vertical;
}
#comment-form .cta-button {
    width: 100%;
    font-size: 1.2rem;
    padding: 15px;
}
#form-status-message {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
}
#form-status-message.success { color: #2c541d; }
#form-status-message.error { color: #d9534f; }
/* ***** YORUM STİLLERİ BİTTİ ***** */


/* ***** SSS (FAQ) BÖLÜMÜ STİLLERİ ***** */
.faq-section {
    background-color: #fff;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}
.faq-item {
    border-bottom: 1px solid #eee;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    background-color: #fff;
    border: none;
    width: 100%;
    text-align: left;
    padding: 20px 30px;
    font-family: 'Merriweather', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    padding-right: 50px;
}
.faq-question:hover {
    background-color: #fcfaf8;
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: #2c541d;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
}
.faq-question.active::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}
.faq-answer {
    background-color: #fcfaf8;
    padding: 0px 30px;
    font-size: 1.05rem;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.faq-answer p {
    padding: 25px 0;
}
/* ***** SSS STİLLERİ BİTTİ ***** */

/* --- Sipariş (CTA) Bölümü --- */
.cta-section { background-color: #2c541d; color: #fff; text-align: center; }
.cta-section h2 { color: #fff; }
.cta-section h2::after { background-color: #fff; }
.cta-section p {
    max-width: 600px; margin-left: auto; margin-right: auto;
    font-size: 1.1rem;
}
.social-link { color: #fff; font-weight: 700; text-decoration: underline; }

/* --- Footer --- */
footer {
    background-color: #333; color: #ccc;
    text-align: center; padding: 30px 0;
    font-size: 0.9rem;
}
footer p { margin: 5px 0; }

/* --- YÜZEN SEPET İKONU --- */
#cart-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px; height: 60px;
    background-color: #2c541d; color: #fff;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer; z-index: 999;
    transition: transform 0.3s ease;
}
#cart-button:hover { transform: scale(1.1); }
#cart-count {
    position: absolute; top: 0; right: 0;
    background-color: #d9534f; color: #fff;
    font-size: 12px; font-weight: 700;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    border: 2px solid #fff;
}


/* =================================================
 ADMİN PANELİ STİLLERİ
=================================================
*/
.admin-body {
    background-color: #f0f2f5;
}
#password-prompt {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}
.login-box {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    width: 90%;
    max-width: 400px;
}
.login-box h2 {
    margin-bottom: 10px;
    color: #333;
}
.login-box p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1rem;
}
.login-box input[type="password"] {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
}
.login-box .cta-button {
    width: 100%;
    font-size: 1.1rem;
}
#password-error {
    color: #d9534f;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 15px;
    margin-bottom: 0;
}

.admin-header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.admin-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-header h1 {
    font-size: 1.8rem;
    color: #333;
}

.admin-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.admin-section h2 {
    font-size: 1.5rem;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.admin-comment-item {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 15px;
    background-color: #fcfaf8;
}
.admin-comment-item p {
    font-size: 1rem;
    margin-bottom: 10px;
}
.admin-comment-item p:first-of-type {
    font-weight: 600;
}
.admin-comment-item span {
    font-size: 0.9rem;
    color: #777;
    font-family: monospace;
}
.admin-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}
.admin-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.admin-btn.approve {
    background-color: #2c541d;
    color: #fff;
}
.admin-btn.approve:hover {
    background-color: #1a3311;
}
.admin-btn.delete {
    background-color: #d9534f;
    color: #fff;
}
.admin-btn.delete:hover {
    background-color: #b9403d;
}


/* --- Mobil Cihazlar (Responsive) --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero { background-attachment: scroll; height: 70vh; }
    header nav { display: none; }
    header nav .cta-button-menu { display: block; }
    .product-grid { grid-template-columns: 1fr; }
    .product-card img { height: 250px; }
    .logo { height: 65px; }
    .splash-logo { max-width: 300px; }
    .product-category-title { font-size: 1.8rem; }
    .product-card-actions { flex-direction: column; }
    .quantity-input { width: 100%; }
    .add-to-cart-btn { width: 100%; font-size: 1rem; }
    #cart-button { width: 50px; height: 50px; font-size: 20px; }
    #cart-count { width: 20px; height: 20px; font-size: 11px; }

    /* Yorumlar ve SSS için mobil ayarlar */
    #comments-list {
        grid-template-columns: 1fr; /* Yorumları mobilde alt alta diz */
    }
    #comment-form { padding: 20px; }
    .faq-question {
        font-size: 1.1rem;
        padding: 15px 45px 15px 20px;
    }
    .faq-question::after { right: 20px; }
    .faq-answer { padding: 0 20px; }
    .faq-answer p { padding: 20px 0; font-size: 1rem; }
    
    /* Admin paneli mobil ayarları */
    .admin-header .container {
        flex-direction: column;
        gap: 10px;
    }
    .admin-header h1 {
        font-size: 1.3rem;
    }
    .admin-section {
        padding: 20px;
    }
    .admin-actions {
        flex-direction: column;
    }
    .admin-btn {
        width: 100%;
        padding: 12px;
    }
}