/* Ernests Cimanskis — dizains pēc apstiprinātās skices (v6) + papildinājumi */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Arial, Helvetica, sans-serif; background: #fff; color: #1a1a1a; font-size: 15px; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- Navigācija (augstāka, ar logo) ---------- */
.nav { background: #111; padding: 0 44px; display: flex; align-items: center; justify-content: space-between; height: 132px; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #222; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 108px; width: auto; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { font-size: 12px; color: #bbb; letter-spacing: 0.8px; text-transform: uppercase; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #e65c00; }
.nav-cta { background: #e65c00 !important; color: #fff !important; padding: 8px 18px; border-radius: 4px; font-weight: 700; }
.nav-cta:hover { background: #ff6a08 !important; }
.nav-burger { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* ---------- Hero (platāka teksta kolonna) ---------- */
.hero { background: #111; min-height: 540px; display: flex; position: relative; overflow: hidden; }
.hero-left { width: 52%; display: flex; flex-direction: column; justify-content: center; padding: 56px 48px; position: relative; z-index: 2; }
.hero-right { width: 48%; position: relative; overflow: hidden; flex-shrink: 0; }
.hero-right img { position: absolute; right: 0; top: 0; height: 100%; width: 100%; object-fit: cover; object-position: center top; }
.hero-fade { position: absolute; left: 0; top: 0; bottom: 0; width: 40%; background: linear-gradient(to right, #111 0%, rgba(17,17,17,0) 100%); z-index: 1; }
.hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: #e65c00; margin-bottom: 14px; }
.hero-name { font-size: 60px; font-weight: 900; line-height: 0.95; color: #fff; letter-spacing: -2px; margin-bottom: 18px; text-transform: uppercase; }
.hero-sub { font-size: 15px; color: #b5b5b5; margin-bottom: 30px; line-height: 1.75; max-width: 520px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-o { background: #e65c00; color: #fff; border-radius: 5px; padding: 13px 24px; font-size: 13px; font-weight: 700; display: inline-block; }
.btn-o:hover { background: #ff6a08; }
.btn-g { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); border-radius: 5px; padding: 12px 24px; font-size: 13px; font-weight: 700; display: inline-block; }
.btn-g:hover { border-color: #fff; }
.hero-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: #e65c00; z-index: 3; }

/* ---------- Statistikas josla ---------- */
.proof { background: #1a1a1a; display: flex; flex-wrap: wrap; }
.proof-item { flex: 1 1 150px; text-align: center; padding: 20px 8px; border-right: 1px solid #333; }
.proof-item:last-child { border-right: none; }
.proof-big { font-size: 24px; font-weight: 900; color: #e65c00; line-height: 1; }
.proof-lbl { font-size: 10px; color: #777; margin-top: 5px; letter-spacing: 0.8px; text-transform: uppercase; }

/* ---------- Sadaļas ---------- */
.section { padding: 56px 44px; max-width: 1200px; margin: 0 auto; }
.ev-bg, .gal-bg, .past-bg { background: #f6f5f2; max-width: none; }
.ev-bg > *, .gal-bg > *, .past-bg > * { max-width: 1112px; margin-left: auto; margin-right: auto; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: #e65c00; margin-bottom: 5px; }
.sec-title { font-size: 26px; font-weight: 900; margin-bottom: 24px; line-height: 1.15; }
.about-text { max-width: 720px; color: #444; line-height: 1.8; }

/* ---------- Pasākumi ---------- */
.events-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.ev-card { background: #fff; border: 1px solid #e5e4e0; border-radius: 8px; padding: 18px 16px 16px; display: flex; flex-direction: column; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.ev-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,0.08); }
.ev-card.hot { border-color: #e65c00; border-width: 2px; }
.ev-num { font-size: 34px; font-weight: 900; color: #e65c00; line-height: 1; }
.ev-mon { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: #999; margin-bottom: 10px; font-weight: 700; }
.ev-city { font-size: 15px; font-weight: 700; }
.ev-venue { font-size: 12px; color: #999; margin-bottom: 8px; }
.ev-time { color: #e65c00; font-weight: 700; }
.ev-more { font-size: 11px; font-weight: 700; color: #e65c00; margin-bottom: 12px; flex: 1; cursor: pointer; }
.ev-more:hover { text-decoration: underline; }
.ev-btn { background: #e65c00; color: #fff; border-radius: 4px; padding: 10px 0; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-align: center; display: block; }
.ev-btn:hover { background: #ff6a08; color: #fff; }
.ev-btn.out { background: transparent; color: #e65c00; border: 1.5px solid #e65c00; }
.ev-btn.out:hover { background: #e65c00; color: #fff; }
.past-link { display: block; margin-top: 22px; font-size: 13px; font-weight: 700; color: #e65c00; }
.past-link:hover { text-decoration: underline; }

/* ---------- Video ---------- */
.vid-bg { background: #fff; }
.vid-wrap { width: 100%; aspect-ratio: 16 / 9; background: #111; border-radius: 8px; position: relative; overflow: hidden; }
.vid-wrap iframe { width: 100%; height: 100%; border: 0; }
.vid-lbl-under { font-size: 14px; font-weight: 700; margin-top: 10px; }
.vid-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 22px; }
.vid-cell iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; background: #111; }
.vid-cell-lbl { font-size: 12px; font-weight: 700; margin-top: 6px; color: #444; }
.vid-note { font-size: 12px; color: #999; margin-top: 14px; }

/* ---------- Rezervācija ---------- */
.bk-bg { background: #111; max-width: none; }
.bk-inner { display: flex; gap: 44px; align-items: flex-start; max-width: 1112px; margin: 0 auto; }
.bk-left { flex: 1; min-width: 0; }
.bk-right { width: 240px; flex-shrink: 0; background: #1c1c1c; border-radius: 8px; padding: 20px; border: 1px solid #333; }
.bk-bg .sec-title { color: #fff; }
.bk-desc { font-size: 14px; color: #888; margin-bottom: 20px; line-height: 1.7; max-width: 560px; }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.feat-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #ccc; }
.feat-dot { width: 5px; height: 5px; border-radius: 50%; background: #e65c00; flex-shrink: 0; }
.clbl { font-size: 10px; color: #e65c00; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 5px; }
.cval { font-size: 13px; color: #fff; margin-bottom: 14px; font-weight: 600; }
.cval a { color: #fff; }
.cval a:hover { color: #e65c00; }

/* Sociālās ikonas */
.soc-row { display: flex; gap: 10px; margin-top: 4px; }
.soc-btn { width: 42px; height: 42px; border-radius: 50%; background: #262626; border: 1px solid #3a3a3a; display: flex; align-items: center; justify-content: center; color: #fff; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.soc-btn svg { width: 20px; height: 20px; }
.soc-btn:hover { background: #e65c00; border-color: #e65c00; transform: translateY(-2px); }

/* Forma */
.bk-form { max-width: 560px; }
.bk-form label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #888; margin-bottom: 14px; }
.bk-form input, .bk-form select, .bk-form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; background: #1c1c1c; border: 1px solid #333; border-radius: 5px; color: #fff; font-size: 14px; font-family: inherit; }
.bk-form input:focus, .bk-form select:focus, .bk-form textarea:focus { outline: none; border-color: #e65c00; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit { border: 0; cursor: pointer; font-family: inherit; margin-top: 4px; }
.hp { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }
.form-msg { padding: 12px 16px; border-radius: 5px; font-size: 14px; font-weight: 600; margin-bottom: 18px; max-width: 560px; }
.form-msg.ok { background: #143d1e; color: #7fe09a; border: 1px solid #1f6b33; }
.form-msg.err { background: #3d1414; color: #e08a7f; border: 1px solid #6b241f; }

/* ---------- Galerija ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 8px; }
.gcell { border-radius: 6px; overflow: hidden; background: #ddd; }
.gcell.big { grid-column: span 2; grid-row: span 2; }
.gcell img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gcell:hover img { transform: scale(1.04); }

/* ---------- Notikušie pasākumi ---------- */
.page-head { background: #111; padding: 52px 44px 46px; position: relative; }
.page-head .eyebrow { margin-bottom: 8px; }
.page-title { font-size: 42px; font-weight: 900; color: #fff; letter-spacing: -1px; text-transform: uppercase; margin-bottom: 10px; }
.page-sub { font-size: 14px; color: #999; max-width: 520px; }
.past-year { font-size: 20px; font-weight: 900; color: #e65c00; margin: 28px 0 14px; }
.past-year:first-of-type { margin-top: 0; }
.past-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.past-card { background: #fff; border: 1px solid #e5e4e0; border-radius: 8px; overflow: hidden; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; display: flex; flex-direction: column; }
.past-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,0.1); }
.past-img { position: relative; aspect-ratio: 4 / 3; background: #161616; overflow: hidden; }
.past-img > img { width: 100%; height: 100%; object-fit: cover; }
.past-img-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.past-img-ph img { width: 55%; height: auto; opacity: .85; }
.past-badge { position: absolute; top: 10px; left: 10px; background: rgba(17,17,17,0.85); color: #bbb; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 9px; border-radius: 3px; }
.past-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.past-date { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; color: #e65c00; text-transform: uppercase; }
.past-city { font-size: 16px; font-weight: 900; }
.past-venue { font-size: 12px; color: #999; }
.past-body .ev-more { margin-top: 8px; margin-bottom: 0; flex: 1; display: flex; align-items: flex-end; }
.past-cta-band { max-width: none; background: #111; }
.past-cta-inner { max-width: 1112px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.past-cta-inner .sec-title { color: #fff; }

/* ---------- Modālais logs ---------- */
.ec-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.ec-modal[hidden] { display: none; }
.ec-modal-back { position: absolute; inset: 0; background: rgba(10,10,10,0.75); cursor: pointer; }
.ec-modal-box { position: relative; background: #fff; border-radius: 10px; max-width: 520px; width: 100%; max-height: 88vh; overflow-y: auto; box-shadow: 0 24px 60px rgba(0,0,0,0.4); animation: ec-pop .18s ease; }
@keyframes ec-pop { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.ec-modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(17,17,17,0.75); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.ec-modal-close:hover { background: #e65c00; }
.mdl-img { background: #161616; }
.mdl-img img { width: 100%; max-height: 320px; object-fit: cover; }
.mdl-body { padding: 22px 24px 26px; }
.mdl-date { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #e65c00; margin-bottom: 6px; }
.mdl-title { font-size: 26px; font-weight: 900; line-height: 1.1; margin-bottom: 2px; }
.mdl-venue { font-size: 14px; color: #888; margin-bottom: 14px; }
.mdl-desc { font-size: 14px; color: #444; line-height: 1.75; margin-bottom: 18px; }
.mdl-desc p { margin-bottom: 10px; }
.mdl-btn { width: 100%; text-align: center; }

/* ---------- Kājene ---------- */
.footer { background: #0d0d0d; padding: 26px 44px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo img { height: 64px; width: auto; }
.footer-soc { margin: 0; }
.footer-copy { font-size: 11px; color: #444; }

/* ---------- Responsivitāte ---------- */
@media (max-width: 900px) {
	.nav { padding: 0 16px; height: 96px; }
	.nav-logo img { height: 76px; }
	.nav-burger { display: block; }
	.nav-links { display: none; position: absolute; top: 96px; left: 0; right: 0; background: #111; flex-direction: column; padding: 16px 20px 22px; gap: 16px; align-items: flex-start; border-bottom: 3px solid #e65c00; }
	.nav-links.open { display: flex; }
	.hero { flex-direction: column-reverse; min-height: 0; }
	.hero-left, .hero-right { width: 100%; }
	.hero-right { height: 320px; }
	.hero-fade { display: none; }
	.hero-left { padding: 36px 20px 48px; }
	.hero-name { font-size: 42px; }
	.section { padding: 40px 20px; }
	.page-head { padding: 40px 20px 36px; }
	.page-title { font-size: 30px; }
	.bk-inner { flex-direction: column; }
	.bk-right { width: 100%; }
	.form-row { grid-template-columns: 1fr; }
	.gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
	.footer { padding: 20px 16px; flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.gcell img, .ev-card, .past-card, .soc-btn { transition: none; }
	.ec-modal-box { animation: none; }
}

/* ---------- Partneri ---------- */
.partner-grid { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
.partner-cell { flex: 1 1 160px; max-width: 210px; min-width: 140px; background: #f6f5f2; border: 1px solid #eceae5; border-radius: 8px; padding: 20px 22px; display: flex; align-items: center; justify-content: center; transition: border-color .15s ease, transform .15s ease; }
.partner-cell img { max-height: 60px; width: auto; max-width: 100%; filter: grayscale(1); opacity: .75; transition: filter .2s ease, opacity .2s ease; }
.partner-cell:hover { border-color: #e65c00; transform: translateY(-2px); }
.partner-cell:hover img { filter: none; opacity: 1; }

/* ---------- Modālā bilžu galerija (notikušie) ---------- */
.mdl-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.mdl-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }

@media (max-width: 900px) {
	.partner-cell { flex: 1 1 40%; min-width: 120px; padding: 14px 16px; }
	.partner-cell img { max-height: 44px; }
}

/* ---------- Valodu pārslēdzējs ---------- */
.lang-switch { display: flex; gap: 4px; margin-left: 10px; padding-left: 16px; border-left: 1px solid #333; }
.lang-switch a { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #777; padding: 6px 9px; border-radius: 4px; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.on { background: #262626; color: #e65c00; }
@media (max-width: 900px) {
	.lang-switch { margin-left: 0; padding-left: 0; border-left: none; }
}
