/*
Theme Name: Licitatii Utilaje
Author: Darklyn
Description: WordPress theme for machinery auctions, marketplace style (Ritchie Bros / IronPlanet), Caterpillar colors. Compatible with WooCommerce, Ultimate Auction, YITH Auctions and Polylang/WPML. Languages: EN, DE, NL.
Version: 1.5.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: licitatii-utilaje
Tags: e-commerce, one-column, custom-logo, custom-menu, translation-ready
*/

:root {
  --lu-galben: #ffcd11;
  --lu-negru: #1a1a1a;
  --lu-gri-inchis: #2b2b2b;
  --lu-gri: #555;
  --lu-gri-deschis: #f4f4f4;
  --lu-alb: #ffffff;
  --lu-rosu: #d9342b;
  --lu-verde: #1e8e3e;
  --lu-radius: 8px;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; color: var(--lu-negru); background: var(--lu-gri-deschis); }
img { max-width: 100%; height: auto; }
a { color: var(--lu-negru); }
a:hover { color: var(--lu-galben); }
.lu-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Header ===== */
.lu-topbar { background: var(--lu-negru); color: #ccc; font-size: 13px; padding: 6px 0; }
.lu-topbar .lu-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.lu-topbar a { color: var(--lu-galben); text-decoration: none; }
.lu-topbar-contact svg { vertical-align: -2px; margin-right: 2px; }
.lu-header { background: var(--lu-gri-inchis); color: var(--lu-alb); padding: 18px 0; border-bottom: 4px solid var(--lu-galben); }
.lu-header .lu-container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.lu-branding { display: flex; align-items: center; gap: 14px; }
.lu-branding img { max-height: 56px; width: auto; }
.lu-site-title { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: .5px; }
.lu-site-title a { color: var(--lu-alb); text-decoration: none; }
.lu-site-title a span { color: var(--lu-galben); }
.lu-tagline { margin: 2px 0 0; font-size: 13px; color: #bbb; }

.lu-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.lu-nav li { position: relative; }
.lu-nav a { display: block; padding: 10px 16px; color: var(--lu-alb); text-decoration: none; font-weight: 600; border-radius: var(--lu-radius); transition: background .2s, color .2s; }
.lu-nav a:hover, .lu-nav .current-menu-item > a { background: var(--lu-galben); color: var(--lu-negru); }
.lu-nav ul ul { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--lu-gri-inchis); border: 1px solid #444; border-radius: var(--lu-radius); z-index: 99; flex-direction: column; }
.lu-nav li:hover > ul { display: flex; }

/* ===== Selector limba ===== */
.lu-limbi { display: inline-flex; gap: 4px; margin-right: 14px; vertical-align: middle; }
.lu-limba { display: inline-block; padding: 1px 8px; border: 1px solid #555; border-radius: 4px; color: #ccc !important; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .5px; transition: all .2s; }
.lu-limba:hover { border-color: var(--lu-galben); color: var(--lu-galben) !important; }
.lu-limba-activa { background: var(--lu-galben); border-color: var(--lu-galben); color: var(--lu-negru) !important; }

/* ===== Hero ===== */
.lu-hero { background: linear-gradient(135deg, var(--lu-negru) 0%, var(--lu-gri-inchis) 100%); color: var(--lu-alb); padding: 70px 0; text-align: center; }
.lu-hero h1 { font-size: 42px; margin: 0 0 14px; font-weight: 800; }
.lu-hero h1 span { color: var(--lu-galben); }
.lu-hero p { font-size: 19px; color: #ccc; max-width: 720px; margin: 0 auto 28px; }
.lu-btn { display: inline-block; background: var(--lu-galben); color: var(--lu-negru) !important; font-weight: 700; padding: 14px 34px; border-radius: var(--lu-radius); text-decoration: none; border: none; cursor: pointer; font-size: 16px; transition: transform .15s, box-shadow .15s; }
.lu-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255,205,17,.4); }
.lu-btn-secundar { background: transparent; color: var(--lu-alb) !important; border: 2px solid var(--lu-galben); margin-left: 12px; }
.lu-btn-negru { background: var(--lu-negru); color: var(--lu-galben) !important; }
.lu-btn-negru:hover { box-shadow: 0 6px 18px rgba(0,0,0,.35); }

/* ===== Cautare mare ===== */
.lu-cautare { display: flex; gap: 6px; max-width: 480px; margin: 0 auto 26px; background: var(--lu-alb); border-radius: var(--lu-radius); padding: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.lu-cautare input[type="search"] { flex: 1; border: none; outline: none; font-size: 15px; padding: 10px 14px; border-radius: 6px; min-width: 0; background: transparent; color: var(--lu-negru); }
.lu-cautare .lu-btn { padding: 10px 22px; font-size: 15px; flex-shrink: 0; }

/* ===== Sectiuni ===== */
.lu-sectiune { padding: 40px 0 60px; }
.lu-sectiune-titlu { font-size: 30px; font-weight: 800; margin: 0 0 6px; border-left: 6px solid var(--lu-galben); padding-left: 14px; }
.lu-sectiune-sub { color: var(--lu-gri); margin: 0 0 30px; padding-left: 20px; }

/* ===== Categorii ===== */
.lu-categorii { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.lu-categorie { display: flex; align-items: center; gap: 14px; background: var(--lu-alb); border: 2px solid #e5e5e5; border-radius: var(--lu-radius); padding: 18px 20px; text-decoration: none; font-weight: 700; font-size: 16px; color: var(--lu-negru); transition: border-color .2s, transform .2s, box-shadow .2s; }
.lu-categorie:hover { border-color: var(--lu-galben); color: var(--lu-negru); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.10); }
.lu-categorie .lu-icon-svg { width: 46px; height: 46px; flex-shrink: 0; background: var(--lu-galben); color: var(--lu-negru); border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.lu-categorie:hover .lu-icon-svg { transform: scale(1.06); }
.lu-categorie .lu-icon-svg svg { width: 26px; height: 26px; }

/* ===== Banda de incredere ===== */
.lu-stats { background: var(--lu-negru); border-top: 4px solid var(--lu-galben); border-bottom: 4px solid var(--lu-galben); padding: 34px 0; }
.lu-stats .lu-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.lu-stat { text-align: center; }
.lu-stat svg { width: 26px; height: 26px; color: var(--lu-galben); margin-bottom: 10px; }
.lu-stat strong { color: var(--lu-alb); font-size: 14px; font-weight: 600; letter-spacing: .2px; display: block; }

/* ===== Grid anunturi ===== */
.lu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.lu-card { background: var(--lu-alb); border-radius: var(--lu-radius); overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.08); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.lu-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.lu-card-img { position: relative; background: #e8e8e8; }
.lu-card-img img { display: block; width: 100%; height: 200px; object-fit: cover; }
.lu-card-img .lu-fara-poza { height: 200px; display: flex; align-items: center; justify-content: center; color: #bbb; }
.lu-badge { position: absolute; top: 12px; left: 12px; background: var(--lu-rosu); color: var(--lu-alb); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; }
.lu-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.lu-card-body h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.4; }
.lu-card-body h3 a { text-decoration: none; }
.lu-card .lu-btn { text-align: center; padding: 11px 18px; font-size: 14px; margin-top: auto; }

/* ===== Pasi ===== */
.lu-pasi { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.lu-pas { background: var(--lu-alb); border-radius: var(--lu-radius); padding: 30px 26px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.07); }
.lu-pas-numar { width: 52px; height: 52px; margin: 0 auto 16px; background: var(--lu-galben); color: var(--lu-negru); font-size: 24px; font-weight: 800; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.lu-pas h3 { margin: 0 0 10px; font-size: 18px; }
.lu-pas p { margin: 0; color: var(--lu-gri); font-size: 14px; }

/* ===== CTA vanzare ===== */
.lu-cta-vinde { background: var(--lu-galben); padding: 50px 0; text-align: center; }
.lu-cta-vinde h2 { margin: 0 0 10px; font-size: 32px; font-weight: 800; color: var(--lu-negru); }
.lu-cta-vinde p { margin: 0 auto 24px; max-width: 620px; color: #3a3a3a; font-size: 17px; }

/* ===== Continut ===== */
.lu-continut { padding: 40px 0 60px; }
.lu-cutie { background: var(--lu-alb); border-radius: var(--lu-radius); padding: 32px; box-shadow: 0 2px 10px rgba(0,0,0,.06); margin-bottom: 24px; }
.lu-cutie h1, .lu-cutie h2 { margin-top: 0; }
.entry-meta { color: var(--lu-gri); font-size: 13px; margin-bottom: 16px; }
.lu-paginare { margin-top: 30px; text-align: center; }
.lu-paginare .page-numbers { display: inline-block; padding: 8px 14px; margin: 0 3px; background: var(--lu-alb); border-radius: 6px; text-decoration: none; font-weight: 600; }
.lu-paginare .current { background: var(--lu-galben); }

/* ===== WooCommerce ===== */
.woocommerce .lu-continut ul.products li.product { background: var(--lu-alb); border-radius: var(--lu-radius); padding: 0 0 16px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 16px; font-size: 16px; }
.woocommerce ul.products li.product .price { padding: 0 16px; color: var(--lu-negru); font-weight: 700; }
.woocommerce ul.products li.product .button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce button.button.alt, .woocommerce a.button.alt { background: var(--lu-galben); color: var(--lu-negru); font-weight: 700; border-radius: var(--lu-radius); }
.woocommerce button.button.alt:hover, .woocommerce a.button:hover { background: #e6b800; color: var(--lu-negru); }
.woocommerce ul.products li.product .button { margin: 10px 16px 0; }
.woocommerce span.onsale { background: var(--lu-rosu); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--lu-negru); font-weight: 800; }

/* ===== Footer ===== */
.lu-footer { background: var(--lu-negru); color: #bbb; padding: 50px 0 0; margin-top: 40px; }
.lu-footer-coloane { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; padding-bottom: 36px; }
.lu-footer h4 { color: var(--lu-alb); font-size: 16px; margin: 0 0 14px; border-bottom: 2px solid var(--lu-galben); display: inline-block; padding-bottom: 6px; }
.lu-footer a { color: #bbb; text-decoration: none; }
.lu-footer a:hover { color: var(--lu-galben); }
.lu-footer ul { list-style: none; margin: 0; padding: 0; }
.lu-footer li { margin-bottom: 8px; }
.lu-copyright { border-top: 1px solid #333; padding: 16px 0; text-align: center; font-size: 13px; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .lu-hero h1 { font-size: 30px; }
  .lu-hero p { font-size: 16px; }
  .lu-header .lu-container { flex-direction: column; text-align: center; }
  .lu-nav ul { justify-content: center; }
  .lu-btn-secundar { margin-left: 0; margin-top: 10px; }
}
@media (max-width: 600px) {
  .lu-cautare { flex-direction: column; }
  .lu-cautare .lu-btn { width: 100%; }
}


/* ===== Buton WhatsApp plutitor (v1.5.0) ===== */
.lu-wa {
  position: fixed; left: 22px; bottom: 22px; z-index: 9999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #ffffff !important;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
  transition: transform .15s, box-shadow .15s;
}
.lu-wa:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.lu-wa svg { width: 30px; height: 30px; }

/* ===== Footer contact (v1.5.0) ===== */
.lu-footer-contact li { margin-bottom: 10px; line-height: 1.5; }
.lu-footer-contact a { color: var(--lu-galben); }
