/*
Theme Name: Bucataria cu Gust (Search & Pagination)
Author: Generator AI
Description: Tema cu suport complet pentru paginare si cautare.
Version: 7.0
Text Domain: bucataria-cu-gust
*/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Poppins:wght@300;400;500;600&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; color: #444; line-height: 1.7; background: #fdfdfd; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: #222; font-weight: 700; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; display: block; }

/* HEADER & NAV - Pastrate */
.site-header { background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,0.04); position: sticky; top: 0; z-index: 9999; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 70px; padding: 0 20px; }
.site-title a { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: #e67e22; letter-spacing: -0.5px; }
.custom-logo { max-height: 50px; width: auto; }
.main-navigation ul { list-style: none; display: flex; gap: 30px; margin: 0; }
.main-navigation ul li a { font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; padding: 24px 0; display: block; color: #555; position: relative; }
.main-navigation ul li a:hover { color: #e67e22; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; }
.hamburger { width: 25px; height: 20px; position: relative; }
.hamburger span { display: block; position: absolute; height: 2px; width: 100%; background: #333; transition: 0.3s; }
.hamburger span:nth-child(1) { top: 0; } .hamburger span:nth-child(2) { top: 9px; } .hamburger span:nth-child(3) { top: 18px; }
@media (max-width: 768px) {
    .main-navigation { position: fixed; top: 70px; left: 0; width: 100%; height: calc(100vh - 70px); background: #fff; transform: translateX(100%); transition: 0.3s; overflow-y: auto; padding: 20px; }
    .main-navigation.open { transform: translateX(0); }
    .main-navigation ul { flex-direction: column; }
    .menu-toggle { display: block; }
}

/* GRID RETETE */
.home-recipes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-bottom: 40px; }
.recipe-card { border: none; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.recipe-img-wrap { height: 220px; overflow: hidden; }
.recipe-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* STILURI PAGINARE (Numeric) */
.bg-pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.bg-pagination .page-numbers {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: #fff; border: 1px solid #eee; color: #555;
    border-radius: 50%; font-weight: 600; transition: 0.3s;
}
.bg-pagination .page-numbers.current, .bg-pagination .page-numbers:hover {
    background: #e67e22; color: #fff; border-color: #e67e22;
}
.bg-pagination .next, .bg-pagination .prev { width: auto; padding: 0 20px; border-radius: 20px; }

/* SEARCH BAR STYLING */
.custom-search-form { display: flex; max-width: 600px; margin: 0 auto 40px; position: relative; }
.search-input { width: 100%; padding: 15px 20px; padding-right: 50px; border: 1px solid #ddd; border-radius: 50px; font-family: 'Poppins', sans-serif; font-size: 16px; outline: none; transition: 0.3s; }
.search-input:focus { border-color: #e67e22; box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1); }
.search-submit { position: absolute; right: 5px; top: 5px; width: 40px; height: 40px; background: #e67e22; color: #fff; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.search-submit:hover { background: #d35400; }
.site-footer { padding: 40px 0; text-align: center; background: #222; color: #aaa; margin-top: 60px; }
/* --- START Stil Comentarii Bucataria cu Gust --- */

/* Cutia principala de comentarii */
#comments, #respond {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    margin: 40px auto;
    max-width: 100%;
    font-family: 'Poppins', sans-serif;
    color: #444;
}

/* Titlurile */
#reply-title, .comments-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #222;
    margin-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    display: block;
}

/* Campurile de text (Nume, Email, Mesaj) */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #333;
    background: #fdfdfd;
    box-sizing: border-box;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

/* Cand dai click in casuta */
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #e67e22;
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

/* Ascundem etichetele vechi (Labels) pentru un look modern */
.comment-form label {
    display: none;
}
/* Reafisam label-ul doar pentru checkbox-ul GDPR */
.comment-form-cookies-consent label {
    display: inline-block;
    font-size: 0.85rem;
    color: #666;
    margin-left: 5px;
}

/* Butonul Trimite */
.comment-form .submit, 
input[type="submit"]#submit {
    background: #e67e22;
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-form .submit:hover, 
input[type="submit"]#submit:hover {
    background: #d35400;
    transform: translateY(-2px);
}

/* Lista de comentarii existente */
.comment-list {
    padding: 0;
    list-style: none;
}
.comment-body {
    border-bottom: 1px dashed #eee;
    padding: 25px 0;
}
.comment-author .avatar {
    border-radius: 50%;
    float: left;
    margin-right: 20px;
    border: 2px solid #f9f9f9;
}
.comment-meta {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 10px;
}
.fn {
    font-style: normal;
    font-weight: bold;
    font-size: 1.1rem;
    color: #222;
    font-family: 'Playfair Display', serif;
}

/* --- END Stil Comentarii --- */