/*
Theme Name: Pikanteria
Theme URI: https://pikanteria.ro
Author: Pikanteria
Description: Temă personalizată pentru Pikanteria, cu administrare simplă a textelor și imaginilor.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: pikanteria
*/

:root {
  --ink: #132f28;
  --ink-deep: #0b211c;
  --paper: #f4efe6;
  --paper-light: #fbf8f2;
  --sand: #b8925e;
  --sand-light: #d9c19d;
  --red: #ea3838;
  --white: #fff;
  --muted: #66736e;
  --line: rgba(19,47,40,.16);
  --radius: 24px;
  --shadow: 0 24px 70px rgba(11,33,28,.14);
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper-light); font-family: var(--sans); font-size: 18px; line-height: 1.62; }
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.site-shell { overflow: clip; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: fixed; z-index: 20; top: 0; left: 0; right: 0; transition: background .25s, box-shadow .25s; }
.site-header.is-scrolled { background: rgba(11,33,28,.94); backdrop-filter: blur(14px); box-shadow: 0 8px 30px rgba(0,0,0,.12); }
body:not(.home) .site-header { background: var(--ink-deep); }
body:not(.home) main { padding-top: 86px; }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; width: 174px; padding: 7px 12px; border-radius: 8px; background: #fff; text-decoration: none; }
.brand img { width: 100%; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: #fff; text-decoration: none; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.nav .nav-cta { padding: 11px 17px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: none; color: white; font: inherit; padding: 8px; }

.hero { min-height: 780px; position: relative; display: grid; align-items: end; color: #fff; background: var(--ink-deep); }
.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-media::after { content: ""; background: linear-gradient(90deg, rgba(8,26,21,.88) 0%, rgba(8,26,21,.53) 52%, rgba(8,26,21,.22) 100%), linear-gradient(0deg, rgba(8,26,21,.52), transparent 50%); }
.hero-inner { position: relative; z-index: 2; padding-block: 190px 92px; }
.eyebrow { margin: 0 0 18px; font-size: .73rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.hero h1 { max-width: 830px; margin: 0; font-family: var(--serif); font-size: clamp(3.4rem, 7.4vw, 7.2rem); font-weight: 400; line-height: .91; letter-spacing: -.045em; }
.hero-lead { max-width: 630px; margin: 28px 0 0; font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; background: var(--red); color: white; text-decoration: none; font-weight: 700; font-size: .85rem; }
.button.ghost { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.42); backdrop-filter: blur(8px); }

.section { padding-block: clamp(80px, 10vw, 140px); }
.section-label { margin: 0 0 22px; color: var(--red); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; }
.section h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 5vw, 5rem); line-height: .98; letter-spacing: -.035em; }
.section h2 em { color: var(--sand); font-weight: inherit; }
.copy p { margin: 0 0 1.15em; }
.copy p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.5; }
.split { display: grid; grid-template-columns: minmax(0,1.04fr) minmax(320px,.96fr); gap: clamp(48px, 8vw, 108px); align-items: center; }
.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand-light); }
.media-frame img { width: 100%; height: 620px; object-fit: cover; }

.concept { background: var(--paper); }
.concept .media-frame img { object-position: center 35%; }
.concept-mark { display: inline-block; width: 56px; height: 6px; margin: 30px 0; background: var(--red); border-radius: 99px; }

.why { color: white; background: var(--ink); }
.why .section-label { color: var(--sand-light); }
.why .intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px,7vw,100px); align-items: end; }
.why h2 em { color: var(--sand-light); }
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 64px; }
.pillar { padding: 30px; border-top: 1px solid rgba(255,255,255,.28); }
.pillar h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 1.65rem; font-weight: 400; }
.pillar p { margin: 0; color: rgba(255,255,255,.76); font-size: .94rem; }

.experiences { background: var(--paper-light); }
.experiences-head { max-width: 830px; }
.experiences-intro { margin-top: 28px; max-width: 780px; }
.experience-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 60px; }
.experience-card { min-height: 430px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; border-radius: var(--radius); color: white; padding: 30px; isolation: isolate; }
.experience-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,26,21,.93), rgba(8,26,21,.08) 76%); }
.experience-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.experience-card h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 1.75rem; font-weight: 400; }
.experience-card p { margin: 0; font-size: .92rem; color: rgba(255,255,255,.86); }
.experience-note { max-width: 920px; margin: 42px 0 0; padding-left: 26px; border-left: 5px solid var(--red); font-size: 1.08rem; }

.benefits { background: var(--paper); }
.benefits .media-frame img { object-position: center; }
.use-cases { columns: 2; column-gap: 28px; padding: 0; margin: 30px 0 0; list-style: none; }
.use-cases li { break-inside: avoid; position: relative; padding: 7px 0 7px 22px; }
.use-cases li::before { content: ""; position: absolute; left: 0; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

.founder { background: var(--paper-light); padding-block: 72px; }
.founder-card { max-width: 930px; margin: auto; display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: center; }
.founder-card img { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; }
.founder .section-label { margin-bottom: 10px; }
.founder h2 { font-size: clamp(2.1rem,4vw,3.5rem); }
.founder .copy { margin-top: 20px; color: #40504b; font-size: .95rem; }

.contact { position: relative; color: white; background: var(--ink-deep); }
.contact-bg { position: absolute; inset: 0; opacity: .37; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink-deep) 0%, rgba(11,33,28,.78) 60%, rgba(11,33,28,.38)); }
.contact-inner { position: relative; z-index: 1; max-width: 900px; }
.contact h2 { max-width: 880px; }
.contact-details { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 40px; }
.contact-details a { font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.site-footer { padding: 34px 0; color: rgba(255,255,255,.72); background: #061511; font-size: .78rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer-inner a { color: white; }

@media (max-width: 900px) {
  body.admin-bar .site-header { top: 46px; }
  .wrap { width: min(100% - 32px, 700px); }
  .menu-toggle { display: block; }
  .nav { position: absolute; display: none; flex-direction: column; align-items: flex-start; top: 76px; left: 16px; right: 16px; padding: 24px; border-radius: 16px; background: var(--ink-deep); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .hero { min-height: 700px; }
  .hero-inner { padding-block: 160px 70px; }
  .split, .why .intro { grid-template-columns: 1fr; }
  .media-frame img { height: 480px; }
  .pillars, .experience-grid { grid-template-columns: 1fr; }
  .experience-card { min-height: 360px; }
  .founder-card { grid-template-columns: 150px 1fr; gap: 28px; }
  .founder-card img { width: 150px; height: 150px; }
}

@media (max-width: 580px) {
  body { font-size: 16px; }
  .brand { width: 150px; }
  .header-inner { min-height: 74px; }
  .hero h1 { font-size: clamp(3.15rem,16vw,4.8rem); }
  .hero-media img { object-position: 48% center; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .media-frame img { height: 400px; }
  .use-cases { columns: 1; }
  .founder-card { grid-template-columns: 1fr; text-align: left; }
  .founder-card img { width: 128px; height: 128px; }
  .footer-inner { flex-direction: column; }
}
