﻿/* =========================================================
   Carte de Bucate - custom layer on top of "Tasty Recipes"
   Palette: #76844C (olive, primary), #C25E3A (terracotta, accent),
   #001D38 (dark, text), #f9f9ff (light). The --amber / --orange var
   names are kept for continuity but now hold olive / terracotta.
   Fonts: Roboto / Satisfy.
   ========================================================= */

:root{
  --amber:#76844C;
  --orange:#C25E3A;
  --dark:#001D38;
  --muted:#777777;
  --soft:#f9f9ff;
  --line:#ececf3;
}

/* ---------- brand / header ---------- */
.brand_logo{
  font-family:"Satisfy",cursive; font-size:34px; line-height:90px; color:#f5ecd9;
  display:inline-block; white-space:nowrap; text-shadow:0 1px 3px rgba(0,0,0,.35);
}
.brand_logo:hover{ color:var(--orange); }
.brand_logo .b_dot{ color:var(--orange); }
@media (max-width:991px){ .brand_logo{ line-height:70px; font-size:30px; } }

/* top-nav hover: warm color shift + animated underline.
   (theme references a:hover::before but never defined the base — supply it here) */
.header-area .main-header-area .main-menu ul li a::before{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px;
  background:var(--orange); transform:scaleX(0); transform-origin:center;
  opacity:0; transition:transform .28s ease, opacity .28s ease;
}
.header-area .main-header-area .main-menu.white_text ul li a:hover,
.header-area .main-header-area .main-menu.white_text ul li a.active{ color:var(--orange)!important; }

/* hero on home */
.hero_home{ position:relative; }
/* dark overlay over the cover image so the white text stays readable */
.hero_home .single_slider::before{
  content:""; position:absolute; top:0; left:0; right:0; bottom:0;
  background:linear-gradient(180deg, rgba(0,29,56,.45) 0%, rgba(0,29,56,.60) 100%);
  z-index:0; pointer-events:none;
}
.hero_home .single_slider .container{ position:relative; z-index:1; }
.hero_home .slider_text h3{ font-size:70px; line-height:1.05; }
.hero_home .slider_text p.lead{
  color:#fff; font-size:18px; max-width:640px; margin:18px auto 26px; line-height:1.7;
  text-shadow:0 1px 6px rgba(0,0,0,.35);
}
.hero_home .hero_btns{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
@media (max-width:767px){ .hero_home .slider_text h3{ font-size:42px; } }

/* intro lead paragraph */
.lead_text{ font-size:17px; line-height:1.9; color:#555; }

/* ---------- generic helpers ---------- */
.sec_pad{ padding:90px 0; }
.sec_pad_sm{ padding:60px 0; }
.bg_soft{ background:var(--soft); }
.text-amber{ color:var(--amber)!important; }
.mt8{ margin-top:8px; } .mb0{ margin-bottom:0; }

.section_title p.eyebrow{
  text-transform:uppercase; letter-spacing:3px; font-size:13px;
  color:var(--orange); font-weight:700; margin-bottom:6px;
}

.recipe_grid .single_recepie h3{ font-size:26px; margin-top:24px; margin-bottom:10px; line-height:1.1; }
.recipe_grid .single_recepie{ margin-bottom:34px; }

/* ---------- recipe card (built on theme .single_recepie) ---------- */
.single_recepie{ transition:transform .25s ease; }
.single_recepie:hover{ transform:translateY(-6px); }
.single_recepie .recepie_thumb{ box-shadow:0 14px 30px rgba(0,29,56,.12); background:var(--soft); }
.single_recepie a.line_btn{ cursor:pointer; }
.recepie_thumb img{ display:block; }

.single_recepie h3 a,
.single_recepie .recepie_thumb a{ color:inherit; text-decoration:none; display:block; }
.single_recepie h3 a:hover{ color:var(--orange); }

.card_badges{ display:flex; gap:8px; justify-content:center; flex-wrap:wrap; margin:-2px 0 14px; }
.card_badges .badge_pill{
  font-size:11px; font-weight:600; color:#5a5a5a; background:#fff;
  border:1px solid var(--line); border-radius:30px; padding:4px 11px;
}
.card_badges .badge_pill i{ color:var(--orange); margin-right:4px; }

/* ---------- toolbar / filtering ---------- */
.filter_bar{ background:#fff; border:1px solid var(--line); border-radius:16px;
  padding:18px 20px; box-shadow:0 10px 30px rgba(0,29,56,.05); margin-bottom:14px; }
.filter_row{ display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
.search_field{ position:relative; flex:1 1 280px; }
.search_field i{ position:absolute; left:16px; top:50%; transform:translateY(-50%); color:var(--muted); }
.search_field input{
  width:100%; height:50px; border:1px solid var(--line); border-radius:30px;
  padding:0 18px 0 44px; font-family:"Roboto",sans-serif; font-size:14px; color:var(--dark);
  background:var(--soft); transition:.2s;
}
.search_field input:focus{ outline:none; border-color:var(--amber); background:#fff; box-shadow:0 0 0 3px rgba(118, 132, 76,.15); }
.filter_select{ position:relative; flex:0 0 auto; }
.filter_select select{
  height:50px; border:1px solid var(--line); border-radius:30px; background:var(--soft);
  padding:0 40px 0 18px; font-family:"Roboto",sans-serif; font-size:14px; color:var(--dark);
  -webkit-appearance:none; appearance:none; cursor:pointer; min-width:210px;
}
.filter_select::after{ content:"\e64b"; font-family:"themify"; position:absolute; right:16px; top:50%;
  transform:translateY(-50%); pointer-events:none; color:var(--muted); font-size:12px; }
.filter_select select:focus{ outline:none; border-color:var(--amber); }

.result_count{ font-size:14px; color:var(--muted); margin:6px 2px 26px; }
.result_count strong{ color:var(--dark); }

/* category chips */
.chip_row{ display:flex; flex-wrap:wrap; gap:9px; margin-bottom:10px; }
.chip{
  cursor:pointer; border:1px solid var(--line); background:#fff; color:#444;
  border-radius:30px; padding:8px 16px; font-size:13px; font-weight:500; transition:.2s;
  display:inline-flex; align-items:center; gap:7px; user-select:none;
}
.chip .cnt{ font-size:11px; color:#999; }
.chip:hover{ border-color:var(--amber); color:var(--dark); }
.chip.active{ background:var(--amber); border-color:var(--amber); color:#fff; }
.chip.active .cnt{ color:rgba(255,255,255,.85); }

/* ---------- pagination ---------- */
.pagination_wrap{ display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin-top:24px; }
.pagination_wrap button{
  min-width:44px; height:44px; border-radius:50%; border:1px solid var(--line);
  background:#fff; color:var(--dark); font-weight:600; cursor:pointer; transition:.2s; padding:0 6px;
}
.pagination_wrap button:hover:not(:disabled){ border-color:var(--amber); color:var(--orange); }
.pagination_wrap button.active{ background:var(--amber); border-color:var(--amber); color:#fff; }
.pagination_wrap button:disabled{ opacity:.4; cursor:not-allowed; }
.pagination_wrap .dots{ align-self:center; color:var(--muted); }

.empty_state{ text-align:center; padding:60px 20px; color:var(--muted); }
.empty_state .ti-face-sad{ font-size:48px; color:var(--line); display:block; margin-bottom:14px; }

/* ---------- category grid (home) ---------- */
.cat_grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:18px; }
.cat_card{
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px;
  background:#fff; border:1px solid var(--line); border-radius:16px; padding:26px 14px;
  text-decoration:none; transition:.25s; color:var(--dark);
}
.cat_card:hover{ transform:translateY(-6px); box-shadow:0 16px 34px rgba(0,29,56,.12); border-color:transparent; color:var(--dark); }
.cat_ico{
  width:64px; height:64px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:30px; line-height:1; margin-bottom:6px; color:#fff;
}
.cat_card .cat_name{ font-family:"Roboto",sans-serif; font-weight:600; font-size:15px; }
.cat_card .cat_cnt{ font-size:12px; color:var(--muted); }

/* ---------- random / "surprinde-ma" ---------- */
.random_panel{
  background:linear-gradient(135deg,#fff 0%,var(--soft) 100%);
  border:1px solid var(--line); border-radius:22px; padding:34px;
  box-shadow:0 20px 50px rgba(0,29,56,.07);
}
.random_panel .rnd_thumb{ width:230px; height:230px; border-radius:50%; overflow:hidden;
  margin:auto; box-shadow:0 16px 36px rgba(0,29,56,.16); background:var(--soft); }
.random_panel .rnd_thumb img{ width:100%; height:100%; object-fit:cover; }
.random_panel h3{ font-size:40px; margin:6px 0 12px; color:var(--dark); }
.random_panel .rnd_cat{ text-transform:uppercase; letter-spacing:2px; font-size:12px; font-weight:700; color:var(--orange); }
.random_panel p.rnd_ing{ color:var(--muted); font-size:14px; line-height:1.8; }
.random_panel .btn_row{ display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; }
/* generate/"another recipe" button — same pill family as .boxed-btn3 (filled primary
   + amber-outline secondary), so the two sit together as a matched set */
.dice_btn{
  cursor:pointer; display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:"Roboto",sans-serif; font-size:13px; font-weight:500; line-height:1.5; color:var(--dark);
  padding:14px 38px; border-radius:50px; border:1px solid var(--amber);
  background:#fff; transition:.4s; text-decoration:none; white-space:nowrap;
}
.dice_btn:hover{ background:var(--amber); color:#fff; border-color:var(--amber); }
.dice_btn:focus{ outline:none; }
.dice_btn i{ font-size:14px; }

/* keep paired buttons on one line and vertically aligned so they match */
.btn_row{ align-items:center; }
.btn_row .boxed-btn3, .btn_row .boxed-btn3-white{ white-space:nowrap; }

/* ---------- recipe detail ---------- */
.rd_hero{ }
.rd_thumb{ width:100%; max-width:420px; aspect-ratio:1/1; border-radius:24px; overflow:hidden;
  box-shadow:0 22px 50px rgba(0,29,56,.16); margin:auto; background:var(--soft); }
.rd_thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.rd_info h1{ font-size:54px; line-height:1.05; color:var(--dark); margin-bottom:8px; }
.rd_meta{ display:flex; flex-wrap:wrap; gap:10px; margin:18px 0 22px; }
.rd_meta .m_item{ display:flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line);
  border-radius:14px; padding:10px 16px; font-size:13px; color:#444; }
.rd_meta .m_item i{ color:var(--orange); font-size:16px; }
.rd_meta .m_item strong{ color:var(--dark); }
.rd_cat_tag{ display:inline-block; background:var(--amber); color:#fff; font-weight:600;
  font-size:12px; text-transform:uppercase; letter-spacing:1px; padding:6px 16px; border-radius:30px; }

.rd_grid{ display:grid; grid-template-columns:340px 1fr; gap:40px; margin-top:10px; align-items:start; }
.ing_box{ background:var(--soft); border:1px solid var(--line); border-radius:18px; padding:26px 28px; position:sticky; top:20px; }
.ing_box h3{ font-size:30px; color:var(--dark); margin-bottom:16px; }
.ing_list{ list-style:none; padding:0; margin:0; }
.ing_list li{ display:flex; gap:12px; align-items:flex-start; padding:10px 0; border-bottom:1px dashed var(--line);
  font-size:15px; color:#333; cursor:pointer; transition:.15s; }
.ing_list li:last-child{ border-bottom:none; }
.ing_list li::before{ content:""; flex:0 0 18px; width:18px; height:18px; border-radius:6px; margin-top:2px;
  border:2px solid var(--amber); background:#fff; transition:.15s; }
.ing_list li.checked{ color:#aaa; text-decoration:line-through; }
.ing_list li.checked::before{ background:var(--amber); box-shadow:inset 0 0 0 2px #fff; }

.steps_box h3{ font-size:34px; color:var(--dark); margin-bottom:18px; }
.steps_list{ list-style:none; counter-reset:step; padding:0; margin:0; }
.steps_list li{ position:relative; padding:0 0 26px 64px; }
.steps_list li::before{ counter-increment:step; content:counter(step);
  position:absolute; left:0; top:0; width:44px; height:44px; border-radius:50%;
  background:var(--amber); color:#fff; font-weight:700; font-size:18px;
  display:flex; align-items:center; justify-content:center; }
.steps_list li::after{ content:""; position:absolute; left:21px; top:48px; bottom:6px; width:2px; background:var(--line); }
.steps_list li:last-child::after{ display:none; }
.steps_list li p{ margin:0; font-size:16px; line-height:1.85; color:#444; padding-top:8px; }
.single_step_text{ font-size:16px; line-height:1.9; color:#444; }

.rd_note{ background:#f3f5ea; border-left:4px solid var(--amber); border-radius:10px;
  padding:16px 20px; margin-top:24px; color:#55602e; font-size:14px; }
.rd_source{ font-size:13px; color:var(--muted); margin-top:20px; }
.share_links a{ display:inline-flex; width:40px; height:40px; border-radius:50%; align-items:center; justify-content:center;
  border:1px solid var(--line); color:#666; margin-right:8px; transition:.2s; }
.share_links a:hover{ background:var(--amber); border-color:var(--amber); color:#fff; }

/* dark overlay on bradcam (page header) banners */
.bradcam_area::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,18,40,.55) 0%, rgba(0,18,40,.70) 100%);
  z-index:0; pointer-events:none;
}
.bradcam_area .container{ position:relative; z-index:1; }

/* dark overlay on the "Descoperă bucătăria românească" CTA banner */
.latest_trand_area{ position:relative; z-index:0; }
.latest_trand_area::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,18,40,.55) 0%, rgba(0,18,40,.70) 100%);
  z-index:0; pointer-events:none;
}
.latest_trand_area .container{ position:relative; z-index:1; }
.latest_trand_area .trand_info p{ color:rgba(255,255,255,.85); }
.latest_trand_area .trand_info h3{ color:#fff; text-shadow:0 1px 6px rgba(0,0,0,.35); }

/* ---------- TikTok icon ---------- */
.ti-tiktok{
  display:inline-block; width:1em; height:1em; vertical-align:-.125em;
  background-color:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M448 209.9a210.1 210.1 0 0 1-122.8-39.3V349.4A162.6 162.6 0 1 1 185 188.3V278.2a74.6 74.6 0 1 0 52.2 71.2V0h88a121.2 121.2 0 0 0 1.9 22.2A122.2 122.2 0 0 0 448 109.8Z'/%3E%3C/svg%3E") no-repeat center/contain;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M448 209.9a210.1 210.1 0 0 1-122.8-39.3V349.4A162.6 162.6 0 1 1 185 188.3V278.2a74.6 74.6 0 1 0 52.2 71.2V0h88a121.2 121.2 0 0 0 1.9 22.2A122.2 122.2 0 0 0 448 109.8Z'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* ---------- back-to-top floating button (jquery.scrollUp) ---------- */
#scrollUp{
  bottom:30px; right:30px; width:50px; height:50px; border-radius:50%;
  background:var(--amber); color:#fff; text-align:center; line-height:50px;
  font-size:22px; text-decoration:none; box-shadow:0 8px 24px rgba(0,29,56,.25);
  transition:background .2s, transform .2s;
}
#scrollUp:hover{ background:var(--orange); color:#fff; transform:translateY(-3px); }
@media (max-width:767px){
  #scrollUp{ bottom:20px; right:20px; width:44px; height:44px; line-height:44px; font-size:19px; }
}

/* ---------- sfaturi / accordion ---------- */
.acc_group{ margin-bottom:40px; }
.acc_group > h3{ font-size:34px; color:var(--dark); margin-bottom:18px; }
.acc_item{ border:1px solid var(--line); border-radius:14px; margin-bottom:12px; overflow:hidden; background:#fff; }
.acc_head{ cursor:pointer; padding:18px 22px; display:flex; justify-content:space-between; align-items:center;
  font-weight:600; color:var(--dark); font-size:16px; }
.acc_head:hover{ color:var(--orange); }
.acc_head i{ transition:.25s; color:var(--orange); }
.acc_item.open .acc_head i{ transform:rotate(180deg); }
.acc_body{ display:none; padding:0 22px 20px; color:#555; font-size:15px; line-height:1.85; }
.acc_item.open .acc_body{ display:block; }
.acc_body p{ margin-bottom:12px; }

/* ---------- stats ---------- */
.stats_row{ display:flex; flex-wrap:wrap; justify-content:center; gap:18px; }
.stat_box{ flex:1 1 180px; max-width:230px; background:#fff; border:1px solid var(--line);
  border-radius:18px; padding:28px 18px; text-align:center; }
.stat_box .num{ font-family:"Satisfy",cursive; font-size:48px; color:var(--orange); line-height:1; }
.stat_box .lbl{ font-size:14px; color:var(--muted); margin-top:8px; }

/* ---------- responsive ---------- */
@media (max-width:991px){
  .rd_grid{ grid-template-columns:1fr; }
  .ing_box{ position:static; }
  .rd_info h1{ font-size:40px; }
}
@media (max-width:767px){
  .sec_pad{ padding:60px 0; }
  .filter_select select{ min-width:100%; }
  .filter_select{ flex:1 1 100%; }
  .random_panel{ padding:22px; }
  .random_panel h3{ font-size:30px; }
}
