/*
Theme Name: BigChickenExpress
Theme URI: https://example.com/bigchickenexpress
Author: BigChickenExpress
Description: Temă WordPress modernă pentru restaurante, cu meniu fix, logo centrat și secțiuni complet editabile și reordonabile din Personalizator.
Version: 1.2.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bigchickenexpress
Tags: food-and-drink, custom-logo, custom-menu, featured-images, theme-options, e-commerce, translation-ready
*/

:root {
  --bce-red: #BE2424;
  --bce-red-dark: #941B1B;
  --bce-gold: #F1AA52;
  --bce-cream: #FFFFFF;
  --bce-ink: #231f20;
  --bce-muted: #6f6865;
  --bce-white: #fff;
  --bce-radius: 24px;
  --bce-shadow: 0 24px 60px rgba(45, 20, 12, .14);
  --bce-logo-width: 280px;
  --bce-hero-height: 650px;
  --bce-header-height: 148px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--bce-ink);
  background: var(--bce-cream);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  clip: auto !important; width: auto; height: auto; margin: 8px;
  padding: 12px 16px; background: #fff; color: #111; z-index: 100000;
}
.bce-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.bce-section { position: relative; padding: 88px 0; overflow: hidden; }
.bce-section-heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.bce-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px;
  color: var(--bce-red); font-size: .83rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.bce-kicker::before, .bce-kicker::after { content: ""; width: 26px; height: 3px; border-radius: 999px; background: var(--bce-gold); }
.bce-section-title { margin: 0 0 14px; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.045em; }
.bce-section-intro { margin: 0; color: var(--bce-muted); font-size: clamp(1rem, 2vw, 1.15rem); }
.bce-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 12px;
  color: #fff; background: var(--bce-red); font-weight: 800; text-decoration: none;
  box-shadow: 0 12px 26px rgba(190, 36, 36, .22); transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.bce-button:hover, .bce-button:focus-visible { transform: translateY(-3px); background: var(--bce-red-dark); box-shadow: 0 17px 34px rgba(190,36,36,.3); }
.bce-button--gold { color: var(--bce-ink); background: var(--bce-gold); box-shadow: 0 12px 26px rgba(241, 170, 82, .22); }
.bce-button--gold:hover, .bce-button--gold:focus-visible { background: #F1AA52; }

/* Header / navigation */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 9999; height: var(--bce-header-height);
  color: #FFFFFF; background: var(--bce-red);
  border-top: 18px solid var(--bce-gold); box-shadow: none;
  transition: height .25s ease, border-width .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  height: 92px; border-top-width: 8px;
  background: var(--bce-red); box-shadow: 0 9px 24px rgba(0,0,0,.22);
}
.bce-header-inner {
  height: 100%; display: grid;
  grid-template-columns: minmax(0,1fr) minmax(230px,var(--bce-logo-width)) minmax(0,1fr);
  align-items: center; gap: clamp(26px,3.2vw,58px);
}
.bce-nav { min-width: 0; }
.bce-nav--left { justify-self: end; }
.bce-nav--right { justify-self: start; }
.bce-menu, .bce-menu ul { list-style: none; margin: 0; padding: 0; }
.bce-menu { display: flex; align-items: center; gap: clamp(20px,2.35vw,42px); }
.bce-menu a {
  position: relative; display: block; padding: 22px 0;
  color: #FFFFFF; font-size: clamp(.94rem,1.15vw,1.12rem); font-weight: 800;
  text-decoration: none; white-space: nowrap; transition: color .18s ease;
}
.bce-menu a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 14px; height: 3px;
  border-radius: 99px; background: var(--bce-gold); transition: left .2s ease, right .2s ease;
}
.bce-menu a:hover, .bce-menu a:focus-visible, .bce-menu .current-menu-item > a { color: var(--bce-gold); }
.bce-menu a:hover::after, .bce-menu a:focus-visible::after, .bce-menu .current-menu-item > a::after { left: 0; right: 0; }
.bce-brand { position: relative; z-index: 3; display: grid; place-items: center; min-width: var(--bce-logo-width); align-self: stretch; }
.bce-brand a { display: grid; place-items: center; color: #FFFFFF; text-decoration: none; text-align: center; }
.bce-brand .custom-logo {
  width: var(--bce-logo-width); max-width: none; max-height: 138px; object-fit: contain;
  filter: none; transition: width .25s ease, max-height .25s ease, transform .25s ease;
}
.site-header.is-scrolled .bce-brand .custom-logo { width: calc(var(--bce-logo-width) * .74); max-height: 84px; transform: translateY(1px); }
.bce-brand-text { display: block; font-weight: 950; font-size: clamp(1.15rem, 2.4vw, 1.9rem); line-height: 1; text-transform: uppercase; }
.bce-brand-tagline { display: block; margin-top: 5px; color: var(--bce-gold); font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; }
.bce-menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.44); border-radius: 4px; background: transparent; color: #FFFFFF; }
.bce-menu-toggle span, .bce-menu-toggle::before, .bce-menu-toggle::after { content: ""; display: block; width: 23px; height: 2px; margin: 5px auto; border-radius: 99px; background: currentColor; transition: .2s ease; }
.bce-menu-toggle[aria-expanded="true"] span { opacity: 0; }
.bce-menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.bce-menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }
.bce-mobile-panel { display: none; }
.bce-header-cta { position: fixed; right: 22px; top: calc(var(--bce-header-height) + 20px); z-index: 9000; }
.site-header.is-scrolled ~ .bce-header-cta { top: 108px; }

/* Hero / header image */
.bce-hero { min-height: var(--bce-hero-height); padding-top: calc(var(--bce-header-height) + 42px); display: grid; align-items: center; background: var(--bce-gold); isolation: isolate; }
.bce-hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background: radial-gradient(circle at 75% 32%, rgba(255,255,255,.24), transparent 28%), linear-gradient(135deg, rgba(255,255,255,.13), transparent 38%); }
.bce-hero::after { content: ""; position: absolute; left: -7vw; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; border: 70px solid rgba(255,255,255,.1); z-index: -2; }
.bce-hero-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(380px,1.1fr); align-items: center; gap: clamp(30px,6vw,86px); }
.bce-hero-content { position: relative; z-index: 2; padding: 46px 0; }
.bce-hero-kicker { display: inline-block; margin-bottom: 14px; padding: 8px 12px; border-radius: 8px; background: var(--bce-red); color: #fff; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.bce-hero-title { margin: 0 0 18px; max-width: 680px; color: var(--bce-red-dark); font-size: clamp(3rem, 7.5vw, 6.8rem); line-height: .91; letter-spacing: -.065em; text-transform: uppercase; }
.bce-hero-text { max-width: 620px; margin: 0 0 28px; color: #4b2d22; font-size: clamp(1.05rem,2.2vw,1.35rem); font-weight: 600; }
.bce-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.bce-hero-media { position: relative; min-height: 490px; display: grid; place-items: center; perspective: 1100px; }
.bce-hero-image-link { display: block; width: 100%; text-decoration: none; }
.bce-hero-parallax-layer, .bce-hero-float-layer, .bce-hero-zoom-layer { display: block; width: 100%; transform-origin: center; will-change: transform; }
.bce-hero-image { width: 100%; max-height: 560px; object-fit: contain; filter: drop-shadow(0 35px 32px rgba(92,35,21,.28)); }
.bce-hero-media[data-effect~="float"] .bce-hero-float-layer { animation: bce-float 5.2s ease-in-out infinite; }
.bce-hero-media[data-effect~="zoom"] .bce-hero-zoom-layer { animation: bce-zoom 4.4s ease-in-out infinite; }
.bce-hero-media[data-effect~="pulse"]::after { content: ""; position: absolute; inset: 18% 8%; z-index: -1; border-radius: 50%; background: rgba(255,255,255,.18); filter: blur(4px); animation: bce-pulse 3.4s ease-in-out infinite; }
@keyframes bce-float { 0%,100% { transform: translate3d(0,0,0) rotate(-1deg); } 50% { transform: translate3d(0,-18px,0) rotate(1deg); } }
@keyframes bce-zoom { 0%,100% { transform: scale(.94); } 50% { transform: scale(1.075); } }
@keyframes bce-pulse { 0%,100% { transform: scale(.94); opacity: .58; } 50% { transform: scale(1.05); opacity: .95; } }

/* Ingredients */
.bce-ingredients { background: #fff; }
.bce-about-copy { display: grid; grid-template-columns: .78fr 1.22fr; gap: 42px; align-items: start; margin-bottom: 42px; padding: 34px; border-radius: var(--bce-radius); background: var(--bce-cream); }
.bce-about-copy h3 { margin: 0; color: var(--bce-red); font-size: clamp(1.8rem,4vw,3rem); line-height: 1.05; }
.bce-about-copy p { margin: 0; color: var(--bce-muted); font-size: 1.08rem; }
.bce-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.bce-feature-card { position: relative; min-height: 100%; padding: 30px; border: 1px solid #f0dfd4; border-radius: var(--bce-radius); background: #fff; box-shadow: 0 14px 38px rgba(56,25,15,.08); transition: transform .25s ease, box-shadow .25s ease; }
.bce-feature-card:hover { transform: translateY(-8px); box-shadow: var(--bce-shadow); }
.bce-feature-icon { width: 82px; height: 82px; margin-bottom: 22px; border-radius: 22px; background: var(--bce-gold); object-fit: cover; }
.bce-feature-card h3 { margin: 0 0 10px; color: var(--bce-red); font-size: 1.45rem; }
.bce-feature-card p { margin: 0; color: var(--bce-muted); }

/* Newsletter */
.bce-newsletter { color: #fff; background: var(--bce-red); }
.bce-newsletter::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: radial-gradient(circle at 10% 20%, #fff 0 2px, transparent 3px), radial-gradient(circle at 80% 70%, #fff 0 2px, transparent 3px); background-size: 80px 80px, 120px 120px; }
.bce-newsletter-wrap { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.bce-newsletter h2 { margin: 0 0 10px; font-size: clamp(2rem,5vw,4rem); line-height: 1; }
.bce-newsletter p { margin: 0; color: rgba(255,255,255,.82); }
.bce-newsletter-code { min-width: 0; }
.bce-newsletter-form { display: flex; gap: 10px; padding: 10px; border-radius: 18px; background: #fff; box-shadow: 0 18px 42px rgba(0,0,0,.16); }
.bce-newsletter-form input[type="email"] { width: 100%; min-height: 50px; padding: 0 16px; border: 0; color: #222; background: transparent; }
.bce-newsletter-form button { flex: 0 0 auto; }
.bce-admin-placeholder { padding: 18px; border: 1px dashed rgba(255,255,255,.65); border-radius: 14px; color: rgba(255,255,255,.85); }

/* Locations */
.bce-locations { background: var(--bce-cream); }
.bce-location-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.bce-location-card { overflow: hidden; border-radius: var(--bce-radius); background: #fff; box-shadow: var(--bce-shadow); }
.bce-location-media { position: relative; aspect-ratio: 16/8.5; overflow: hidden; background: #ead9cd; }
.bce-location-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bce-location-card:hover .bce-location-media img { transform: scale(1.045); }
.bce-location-content { padding: 28px; }
.bce-location-content h3 { margin: 0 0 14px; color: var(--bce-red); font-size: 1.65rem; }
.bce-location-list { display: grid; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; color: var(--bce-muted); }
.bce-location-list strong { color: var(--bce-ink); }
.bce-location-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Testimonials */
.bce-testimonials { color: #fff; background: #201413; }
.bce-testimonials .bce-section-title, .bce-testimonials .bce-section-intro { color: #fff; }
.bce-testimonials .bce-section-intro { opacity: .72; }
.bce-testimonial-slider { position: relative; max-width: 900px; margin-inline: auto; }
.bce-testimonial { display: none; padding: clamp(28px,5vw,54px); border: 1px solid rgba(255,255,255,.12); border-radius: var(--bce-radius); background: rgba(255,255,255,.06); text-align: center; }
.bce-testimonial.is-active { display: block; animation: bce-fade .35s ease; }
@keyframes bce-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bce-testimonial-avatar { width: 78px; height: 78px; margin: 0 auto 16px; border: 5px solid var(--bce-gold); border-radius: 50%; object-fit: cover; }
.bce-stars { color: var(--bce-gold); letter-spacing: .14em; }
.bce-testimonial blockquote { margin: 18px auto; max-width: 720px; font-size: clamp(1.15rem,2.5vw,1.55rem); line-height: 1.55; }
.bce-testimonial cite { font-style: normal; font-weight: 800; }
.bce-slider-controls { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.bce-slider-button { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); }
.bce-slider-button:hover { background: var(--bce-red); }

/* Offer/news */
.bce-offer { background: #fff; }
.bce-offer-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); min-height: 480px; overflow: hidden; border-radius: 34px; background: var(--bce-red); box-shadow: var(--bce-shadow); }
.bce-offer-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px,6vw,74px); color: #fff; }
.bce-offer-badge { align-self: flex-start; margin-bottom: 18px; padding: 8px 12px; border-radius: 999px; color: var(--bce-ink); background: var(--bce-gold); font-weight: 900; text-transform: uppercase; }
.bce-offer-content h2 { margin: 0 0 18px; font-size: clamp(2.2rem,5.7vw,5rem); line-height: .95; }
.bce-offer-content p { margin: 0 0 26px; color: rgba(255,255,255,.84); font-size: 1.1rem; }
.bce-offer-image { min-height: 360px; background: #f8b557; }
.bce-offer-image img { width: 100%; height: 100%; object-fit: cover; }
.bce-news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.bce-news-card { overflow: hidden; border-radius: var(--bce-radius); background: #fff; box-shadow: 0 16px 42px rgba(58,28,18,.1); }
.bce-news-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.bce-news-content { padding: 24px; }
.bce-news-meta { color: var(--bce-red); font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.bce-news-content h3 { margin: 8px 0 14px; font-size: 1.4rem; line-height: 1.2; }
.bce-news-content p { color: var(--bce-muted); }

/* Footer */
.site-footer { position: relative; padding: 70px 0 24px; color: #fff; background: #15100f; }
.bce-footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3,minmax(0,1fr)); gap: 32px; }
.bce-footer-brand .custom-logo { width: min(230px,100%); max-height: 110px; object-fit: contain; object-position: left center; }
.bce-footer-brand h2 { margin: 0 0 12px; color: var(--bce-gold); }
.bce-footer-brand p { color: rgba(255,255,255,.7); }
.site-footer .widget-title { margin: 0 0 18px; color: var(--bce-gold); font-size: 1.2rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: var(--bce-gold); }
.bce-footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.62); font-size: .9rem; }
.bce-socials { display: flex; flex-wrap: wrap; gap: 14px; }

/* Content pages */
.bce-main { min-height: 65vh; padding: calc(var(--bce-header-height) + 70px) 0 80px; background: #fff; }
.bce-content-card { padding: clamp(24px,5vw,58px); border-radius: var(--bce-radius); background: #fff; box-shadow: var(--bce-shadow); }
.entry-title { color: var(--bce-red); font-size: clamp(2rem,5vw,4rem); line-height: 1.05; }
.entry-content > * { max-width: 780px; margin-inline: auto; }
.entry-content > .alignwide { max-width: 1100px; }
.entry-content > .alignfull { max-width: none; }
.woocommerce .button, .woocommerce button.button, .woocommerce input.button { border-radius: 10px !important; color: #fff !important; background: var(--bce-red) !important; }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  :root { --bce-header-height: 96px; }
  body.admin-bar .site-header { top: 32px; }
  .bce-nav { display: none; }
  .bce-header-inner { grid-template-columns: auto 1fr auto; }
  .bce-brand { grid-column: 2; min-width: 0; }
  .bce-brand .custom-logo { max-height: 92px; }
  .bce-menu-toggle { display: block; grid-column: 3; }
  .bce-mobile-panel {
    display: block; position: fixed; top: var(--bce-header-height); right: 0; bottom: 0; width: min(420px,92vw);
    padding: 30px; color: #fff; background: #1E1E1E; box-shadow: -18px 20px 50px rgba(0,0,0,.3);
    transform: translateX(105%); visibility: hidden; transition: transform .25s ease, visibility .25s ease; overflow-y: auto;
  }
  body.admin-bar .bce-mobile-panel { top: calc(var(--bce-header-height) + 32px); }
  .bce-mobile-panel.is-open { transform: none; visibility: visible; }
  .bce-mobile-panel .bce-menu { display: grid; gap: 0; }
  .bce-mobile-panel .bce-menu a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.08rem; }
  .bce-mobile-panel .sub-menu { padding-left: 18px; }
  .bce-hero-grid { grid-template-columns: 1fr; }
  .bce-hero-content { text-align: center; }
  .bce-hero-text { margin-inline: auto; }
  .bce-hero-actions { justify-content: center; }
  .bce-hero-media { min-height: 380px; }
  .bce-about-copy, .bce-newsletter-wrap { grid-template-columns: 1fr; }
  .bce-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bce-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .bce-mobile-panel { top: calc(var(--bce-header-height) + 46px); }
}

@media (max-width: 720px) {
  .bce-container { width: min(100% - 28px,1180px); }
  .bce-section { padding: 66px 0; }
  .bce-header-inner { gap: 10px; }
  .bce-brand .custom-logo { width: min(var(--bce-logo-width),180px); }
  .bce-brand-text { font-size: 1.15rem; }
  .bce-brand-tagline { display: none; }
  .bce-header-cta { display: none; }
  .bce-hero { min-height: auto; padding-top: calc(var(--bce-header-height) + 28px); }
  .bce-hero-title { font-size: clamp(2.7rem,15vw,4.6rem); }
  .bce-hero-media { min-height: 290px; }
  .bce-feature-grid, .bce-location-grid, .bce-news-grid, .bce-footer-grid { grid-template-columns: 1fr; }
  .bce-about-copy { padding: 24px; }
  .bce-newsletter-form { flex-direction: column; }
  .bce-offer-card { grid-template-columns: 1fr; }
  .bce-offer-image { order: -1; min-height: 280px; }
  .bce-footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
