/*
Theme Name: Letak360
Theme URI: https://letak360.si
Author: kreirAI
Description: One-pager tema za letak360.si - letaki in tiskovine, oblikovanje, distribucija, vizitke, plakati, transparenti, nalepke in obrazec za povpraševanje.
Version: 1.6
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: letak360
*/

:root {
  --l360-blue: #2b3a9e;
  --l360-ink: #1c2559;
  --l360-green: #7ab51d;
  --l360-cream: #f6f3e8;
  --l360-line: #c9d0ee;
  --l360-sky: #b5e1ef;
  --l360-serif: 'Playfair Display', Georgia, serif;
  --l360-sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--l360-sans);
  color: var(--l360-ink);
  background: linear-gradient(160deg, #c9ecd6 0%, #e8f5df 42%, #b5e1ef 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--l360-blue); }
a:hover { color: var(--l360-ink); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--l360-serif); font-weight: 900; color: var(--l360-blue); }
[id] { scroll-margin-top: 24px; }

.l360-wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* ---------- Logo ---------- */
.l360-logo { --w: 52px; display: inline-flex; align-items: center; text-decoration: none; }
.l360-logo__word {
  font-family: var(--l360-serif); font-weight: 900; font-size: var(--w);
  line-height: 1; letter-spacing: -0.02em; color: var(--l360-blue);
}
.l360-logo__dot {
  width: calc(var(--w) * 1.15); height: calc(var(--w) * 1.15);
  border-radius: 50%; background: var(--l360-green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--l360-serif); font-weight: 700; font-size: calc(var(--w) * 0.42);
  margin-left: -2px; flex: 0 0 auto;
}
.l360-logo--footer { --w: 44px; }
.l360-logo--footer .l360-logo__word { color: var(--l360-cream); }

/* ---------- Header ---------- */
.l360-header { background: var(--l360-cream); border-bottom: 6px solid var(--l360-blue); }
.l360-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 16px; padding-bottom: 16px;
}
.l360-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 17px; font-weight: 600; }
.l360-nav a { color: var(--l360-blue); text-decoration: none; }
.l360-nav a:hover { text-decoration: underline; }
.l360-nav a.l360-btn { color: #fff; text-decoration: none; }

/* ---------- Buttons ---------- */
.l360-btn {
  display: inline-block; font-family: inherit; font-weight: 700; font-size: 20px; line-height: 1.2;
  padding: 16px 34px; border-radius: 999px; border: 2px solid var(--l360-blue);
  text-decoration: none; cursor: pointer;
}
.l360-btn--primary { background: var(--l360-blue); color: #fff; }
.l360-btn--primary:hover { background: var(--l360-ink); border-color: var(--l360-ink); color: #fff; }
.l360-btn--ghost { background: #fff; color: var(--l360-blue); }
.l360-btn--ghost:hover { background: var(--l360-cream); color: var(--l360-blue); }
.l360-btn--sm { font-size: 18px; padding: 10px 24px; }

/* ---------- Hero ---------- */
.l360-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 56px; }
.l360-hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.l360-tag {
  background: var(--l360-blue); color: #fff; font-weight: 700; font-size: 16px;
  letter-spacing: 2px; text-transform: uppercase; padding: 10px 20px;
}
.l360-hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; }
.l360-hero p { font-size: 20px; line-height: 1.55; max-width: 620px; }
.l360-hero p.l360-lead { font-size: 22px; line-height: 1.4; font-weight: 700; color: var(--l360-blue); }
.l360-hero__cta { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 6px; }
.l360-hero__cta .l360-btn { padding: 18px 36px; }
.l360-hero__art { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.l360-art { position: relative; width: 460px; max-width: 100%; height: 440px; }
.l360-art__flyer {
  position: absolute; left: 40px; top: 10px; width: 250px; height: 340px; background: #fff;
  border: 3px solid var(--l360-blue); transform: rotate(-6deg); padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.l360-art__flyer i { display: block; height: 12px; background: var(--l360-line); }
.l360-art__flyer i:nth-child(1) { height: 90px; background: var(--l360-blue); }
.l360-art__flyer i:nth-child(2) { width: 80%; }
.l360-art__flyer i:nth-child(3) { width: 95%; }
.l360-art__flyer i:nth-child(4) { width: 60%; }
.l360-art__flyer b { margin-top: auto; width: 64px; height: 64px; border-radius: 50%; background: var(--l360-green); }
.l360-art__poster {
  position: absolute; right: 0; top: 60px; width: 190px; height: 270px; background: var(--l360-green);
  border: 3px solid var(--l360-blue); transform: rotate(7deg); padding: 18px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.l360-art__poster span { font-family: var(--l360-serif); font-weight: 900; font-size: 44px; line-height: 1; color: #fff; }
.l360-art__poster i { display: block; height: 14px; width: 70%; background: #fff; }
.l360-art__card {
  position: absolute; left: 90px; bottom: 6px; width: 250px; height: 150px; background: var(--l360-blue);
  border: 3px solid var(--l360-ink); transform: rotate(-3deg); padding: 20px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.l360-art__card span { font-family: var(--l360-serif); font-weight: 900; font-size: 32px; line-height: 1; color: var(--l360-cream); }
.l360-art__card i { display: block; height: 8px; width: 55%; background: var(--l360-cream); margin-top: 8px; }
.l360-art__card i + i { width: 40%; background: var(--l360-sky); }

/* ---------- Storitve / boxi ---------- */
.l360-services { padding-top: 24px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.l360-services > h2, .l360-inquiry h2 { font-size: clamp(32px, 4vw, 48px); }
.l360-grid { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.l360-box {
  flex: 1 1 520px; min-width: 0; background: var(--l360-cream);
  border: 3px solid var(--l360-blue); border-radius: 24px; overflow: hidden;
}
.l360-grid > .l360-box--wide { flex: 1 1 100%; width: 100%; max-width: 100%; }
.l360-box__head {
  background: var(--l360-blue); padding: 18px 28px; min-height: 96px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.l360-box__head h3 { font-size: 28px; line-height: 1.2; color: #fff; }
.l360-box__head::after {
  content: ''; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--l360-green);
}
.l360-box__body { padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.l360-box__row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.l360-box__row svg { flex: 0 0 auto; }
.l360-box__side { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.l360-box__teaser { font-size: 20px; line-height: 1.45; font-weight: 700; color: var(--l360-blue); }
.l360-box__more {
  border-top: 2px solid var(--l360-line); padding-top: 22px;
  display: flex; flex-direction: column; gap: 14px; font-size: 18px; line-height: 1.55;
}
.l360-box__more[hidden] { display: none; }
.l360-box__more .l360-btn { align-self: flex-start; }

.l360-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.l360-menu li { margin: 0; padding: 0; }
.l360-box__text p + p { margin-top: 14px; }
.l360-box__text a { color: var(--l360-blue); }
.l360-footer__credit a { text-decoration: underline; }

/* ---------- Povpraševanje ---------- */
.l360-inquiry { background: var(--l360-cream); border-top: 6px solid var(--l360-blue); border-bottom: 6px solid var(--l360-blue); }
.l360-inquiry__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 72px; padding-bottom: 72px; }
.l360-inquiry__intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.l360-inquiry__intro p { font-size: 20px; line-height: 1.5; }
.l360-inquiry__dot { align-self: flex-start; width: 72px; height: 72px; border-radius: 50%; background: var(--l360-green); }
.l360-form { flex: 2 1 560px; min-width: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.l360-field { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; }
.l360-field--full { flex: 1 1 100%; }
.l360-field label { font-weight: 700; font-size: 17px; color: var(--l360-blue); }
.l360-field input[type=text], .l360-field input[type=email], .l360-field input[type=tel],
.l360-field select, .l360-field textarea {
  width: 100%; font: inherit; font-size: 18px; color: var(--l360-ink); background: #fff;
  border: 2px solid var(--l360-blue); border-radius: 12px; padding: 0 16px; height: 52px;
}
.l360-field select { padding: 0 12px; }
.l360-field textarea { height: auto; padding: 14px 16px; resize: vertical; }
.l360-field input:focus, .l360-field select:focus, .l360-field textarea:focus { outline: 3px solid var(--l360-green); outline-offset: 2px; }
.l360-consent { flex: 1 1 100%; display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.5; }
.l360-consent input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--l360-blue); flex: 0 0 auto; }
.l360-form__submit { flex: 1 1 100%; }
.l360-form__submit .l360-btn { padding: 18px 44px; }
.l360-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.l360-notice { flex: 1 1 100%; padding: 16px 20px; border-radius: 12px; font-weight: 700; font-size: 18px; border: 2px solid var(--l360-blue); }
.l360-notice--ok { background: #e4f3cc; }
.l360-notice--err { background: #fde2dc; }

/* ---------- Hamburger meni (mobilna verzija) ---------- */
.l360-burger {
	display: none; width: 52px; height: 52px; padding: 0; margin: 0;
	background: transparent; border: 2px solid var(--l360-blue); border-radius: 14px; cursor: pointer;
	flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.l360-burger span {
	display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--l360-blue);
	transition: transform .2s ease, opacity .2s ease;
}
.l360-header.is-open .l360-burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.l360-header.is-open .l360-burger span:nth-child(2) { opacity: 0; }
.l360-header.is-open .l360-burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.l360-burger:focus-visible { outline: 3px solid var(--l360-green); outline-offset: 2px; }

@media (max-width: 1024px) {
	.l360-header__inner { flex-wrap: wrap; }
	.l360-burger { display: flex; }
	.l360-nav {
		display: none; flex: 1 1 100%; flex-direction: column; align-items: stretch;
		gap: 0; padding: 8px 0 12px; font-size: 20px;
	}
	.l360-header.is-open .l360-nav { display: flex; }
	.l360-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.l360-menu li { border-bottom: 1px solid var(--l360-line); }
	.l360-nav .l360-menu a { display: block; padding: 14px 4px; }
	.l360-nav a.l360-btn { margin-top: 16px; text-align: center; padding: 16px 24px; font-size: 19px; }
}

/* Lining številke v Playfair (sicer bi "360" izgledal kot "36o") */
.l360-logo__dot, .l360-art__poster span, h1, h2, h3 { font-variant-numeric: lining-nums; }

/* ---------- Footer ---------- */
.l360-footer { background: var(--l360-blue); color: var(--l360-cream); }
.l360-footer__inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-top: 48px; padding-bottom: 48px; }
.l360-footer__info { display: flex; flex-direction: column; gap: 6px; font-size: 18px; line-height: 1.5; }
.l360-footer a { color: var(--l360-cream); }

@media (max-width: 600px) {
  .l360-wrap { padding-left: 20px; padding-right: 20px; }
  .l360-box__body { padding: 20px; }
  .l360-box__head { padding: 16px 20px; }
  .l360-box__head h3 { font-size: 24px; }
}

/* AJAX obrazec */
.l360-ajax-notice { flex: 1 1 100%; width: 100%; }
.l360-ajax-notice:empty { display: none; }
.l360-form.is-sending .l360-btn { opacity: .6; pointer-events: none; }
