/*
Theme Name: AKSHI-NCC Albania
Theme URI: http://akshi.gov.al/
Author: AKSHI
Author URI: https://akshi.gov.al/
Description: Theme e zhvilluar nga AKSHI për NCC Albania
Version: 1.0.0
Tested up to: 7.0
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: akshi-ncc
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --navy: #10224a;
  --navy-2: #0b1a38;
  --navy-3: #182f5e;
  --gold: #e6a93b;
  --gold-2: #f2c15f;
  --star: #f5c518;
  --ink: #1c2536;
  --muted: #5a6478;
  --line: #e4e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-gold-soft: #e6a93b21;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 34, 74, 0.1);
  --shadow-sm: 0 4px 14px rgba(16, 34, 74, 0.08);
  --maxw: 1280px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  margin: 0px !important;
}
body {
  margin: 0;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  display: block;
}
.container {
  max-width: var(--maxw);
  margin: 0 auto;
}
.container-single {
  padding: 40px 0;
}
section {
  padding: 84px 0;
}
h1,
h2,
h3,
h4,
h5 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--navy);
}
.lead {
  font-size: 1.12rem;
  color: var(--muted);
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.center {
  text-align: center;
}
.center .lead {
  max-width: 760px;
  margin: 0 auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1.6px solid transparent;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 999px;
  border: 1.6px solid transparent;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: #ffffff;
}
.btn-gold:hover {
  background: var(--gold-2);
  transform: translateY(-2px);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--navy-3);
  transform: translateY(-2px);
}
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 26, 56, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand img {
  height: 40px;
}
.brand .ncc-emblem {
  height: 46px;
  margin-right: 2px;
}
.brand .sep {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.25);
}
.brand .name {
  color: #fff;
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: 0.01em;
  line-height: 1;
}
.brand .name span {
  color: var(--gold);
}
.menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.menu a {
  color: #dfe5f0;
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.15s;
}
.menu a:hover {
  color: #fff;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang {
  display: flex;
  gap: 8px;
}
.lang a,
.lang button {
  display: flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 0;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  opacity: 0.55;
  transition: 0.15s;
}
.lang a img,
.lang button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.lang a:hover,
.lang button:hover {
  opacity: 0.85;
}
.lang a.active,
.lang button.active {
  opacity: 1;
  border-color: var(--gold);
}
.burger {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: 0.2s;
}
.hero {
  position: relative;
  background: linear-gradient(135deg, #0b1a38 0%, #10224a 55%, #182f5e 100%);
  color: #fff;
  overflow: hidden;
  padding: 96px 0 90px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/images/map-europe.png");
  background-repeat: no-repeat;
  background-position: right -60px center;
  background-size: contain;
  opacity: 0.16;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero .flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: #fff;
  margin-bottom: 0.35em;
}
.hero h1 .hl {
  color: var(--gold);
}
.hero p {
  font-size: 1.2rem;
  color: #cdd6e8;
  max-width: 640px;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.stat b {
  display: block;
  font-size: 2rem;
  color: var(--gold);
  font-weight: 800;
  line-height: 1;
}
.stat span {
  font-size: 0.9rem;
  color: #b8c2d8;
}
.partners-strip {
  background: var(--navy-2);
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.partners-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
  flex-wrap: wrap;
}
.partners-strip img {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.partners-strip .eu {
  height: 46px;
  filter: none;
  background: #fff;
  padding: 4px 8px;
  border-radius: 6px;
}
.partners-strip small {
  color: #8b96ad;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  margin-bottom: 6px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-card {
  background: linear-gradient(135deg, #10224a, #182f5e);
  color: #fff;
  border-radius: 20px;
  padding: 38px;
  box-shadow: var(--shadow);
}
.about-card h3 {
  color: #fff;
  font-size: 1.15rem;
}
.about-card ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.about-card li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 12px;
  font-size: 0.98rem;
  color: #dbe2f0;
}
.about-card li:last-child {
  border-bottom: 0;
}
.about-card li b {
  color: var(--gold);
  font-weight: 700;
}
.chk {
  color: var(--gold);
  flex: none;
  font-weight: 800;
}
.consortium {
  margin-top: 64px;
}
.org {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 26px;
}
.org-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.org-card .role {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.org-card h3 {
  color: var(--navy);
  margin: 6px 0 4px;
  font-size: 1.25rem;
}
.org-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 8px 0 0;
}
#services {
  background: var(--bg-soft);
}
#events {
  background: var(--bg-soft);
}
#news {
  background: var(--bg-gold-soft);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.level-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 8px 0 40px;
  flex-wrap: wrap;
}
.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}
.lvl1 {
  background: #e8f0ff;
  color: #1e50c8;
}
.lvl2 {
  background: #fff2d8;
  color: #a9761a;
}
.lvl3 {
  background: #e3f6ec;
  color: #1a7a4a;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: 0.2s;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cdd6e8;
}
.card .ico {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #10224a, #182f5e);
  color: var(--gold);
  margin-bottom: 16px;
}
.card .ico svg {
  width: 26px;
  height: 26px;
}
.card h3 {
  font-size: 1.12rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}
.tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
}
.mb-3 {
  margin-bottom: 12px;
}
.card .rounded {
  margin-bottom: 8px;
}
.tag.t1 {
  background: #e8f0ff;
  color: #1e50c8;
}
.tag.t2 {
  background: #fff2d8;
  color: #a9761a;
}
.tag.t12 {
  background: #eef0f4;
  color: #55607a;
}
.tag.t3 {
  background: #e3f6ec;
  color: #1a7a4a;
}
.aud {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.aud-item {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.aud-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #10224a, #182f5e);
  color: var(--gold);
}
.aud-ico svg {
  width: 28px;
  height: 28px;
}
.aud-item h4 {
  margin: 14px 0 6px;
  color: var(--navy);
  font-size: 1.05rem;
}
.aud-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}
#how {
  background: linear-gradient(135deg, #0b1a38, #10224a);
  color: #fff;
}
#how h2 {
  color: #fff;
}
#how .lead {
  color: #c3cde0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 26px;
}
.step .n {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: #20160a;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step h4 {
  color: #fff;
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.step p {
  color: #c2cbdd;
  font-size: 0.9rem;
  margin: 0;
}
#contact {
  background: var(--bg-soft);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info .row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info .ico {
  color: var(--gold);
  flex: none;
  margin-top: 2px;
}
.contact-info .ico svg {
  width: 22px;
  height: 22px;
}
.contact-info b {
  color: var(--navy);
}
.contact-info a {
  color: var(--muted);
}
form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
  margin: 0 0 6px;
}
input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 16px;
  background: var(--bg-soft);
}
input:focus,
textarea:focus {
  outline: 2px solid var(--gold);
  border-color: transparent;
  background: #fff;
}
.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 14px 0 0;
  line-height: 1.55;
}
.form-note a {
  color: var(--navy);
  font-weight: 600;
}
.g-recaptcha {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}
.social a {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(16, 34, 74, 0.18);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  color: var(--navy);
  transition: 0.15s;
}
.social a:hover {
  background: var(--gold);
  color: #20160a;
  border-color: var(--gold);
}
.social a svg {
  width: 19px;
  height: 19px;
}
footer {
  background: var(--navy-2);
  color: #c2cbdd;
}
.foot-top {
  text-align: left;
  padding: 56px 0 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.foot-brand img {
  height: 40px;
  margin-bottom: 16px;
}
.foot-brand p {
  font-size: 0.9rem;
  color: #98a3ba;
  max-width: 320px;
}
footer h5 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer li {
  margin-bottom: 10px;
}
footer li a {
  color: #b3bdd2;
  font-size: 0.92rem;
}
footer li a:hover {
  color: var(--gold);
}
.disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 26px 0;
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}
.disclaimer img {
  height: 40px;
}
.disclaimer .eu {
  background: #fff;
  padding: 5px 9px;
  border-radius: 6px;
  height: 48px;
}
.disclaimer p {
  font-size: 0.74rem;
  color: #8b96ad;
  margin: 0;
  line-height: 1.55;
  flex: 1;
  min-width: 280px;
  text-align: left;
}
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  text-align: center;
  font-size: 0.82rem;
  color: #7b869d;
}
.copyright a {
  color: #b3bdd2;
  margin-left: 8px;
}
.copyright a:hover {
  color: var(--gold);
}
@media (max-width: 1290px) {
  .container {
    padding: 24px;
  }
  .menu,
  .nav-right .btn {
    display: none;
  }
  .burger {
    display: block;
  }
}
/* Responsive */
@media (max-width: 900px) {
  .container {
    padding: 0 24px;
  }
  .container-single {
    padding: 40px 24px !important;
  }

  .burger {
    display: block;
  }
  .about-grid,
  .contact-grid,
  .org {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cards,
  .aud,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .foot-top {
    grid-template-columns: 1fr;
  }
  .menu.open {
    display: flex;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy-2);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .head {
    padding: 24px 0px 24px !important;
  }
}
@media (max-width: 560px) {
  .container {
    padding: 0 24px;
  }
  .container-single {
    padding: 40px 24px !important;
  }
  .cards,
  .aud,
  .steps {
    grid-template-columns: 1fr;
  }
  section {
    padding: 60px 0;
  }
  .stats {
    gap: 26px;
  }
  .brand .name {
    font-size: 1.3rem !important;
  }
  .head {
    padding: 24px 0px 24px !important;
  }
  .d-md-none{
    display: none;
  }
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: calc(var(--maxw) + 125px);
  margin: 0 auto;
  padding: 0 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand img {
  height: 34px;
}
.brand .ncc-emblem {
  height: 40px;
  margin-right: 2px;
}
.brand .sep {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.25);
}
.brand .name {
  color: #fff;
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1;
}
.brand .name span {
  color: var(--gold);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang {
  display: flex;
  gap: 8px;
}
.lang button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 0;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  opacity: 0.55;
  transition: 0.15s;
  display: flex;
}
.lang button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.lang button.active {
  opacity: 1;
  border-color: var(--gold);
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #20160a;
  border: 0;
  cursor: pointer;
  transition: 0.2s;
}
.back-btn:hover {
  background: var(--gold-2);
  transform: translateY(-1px);
}
.back-btn svg {
  width: 16px;
  height: 16px;
}

.head {
  background: rgba(11, 26, 56, 0.92);
  color: #fff;
  padding: 64px 0 54px;
}
.head h1 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}
.head p {
  color: #b9c3d8;
  margin: 0;
  font-size: 0.95rem;
}

main {
  padding: 56px 0 40px;
}
h2 {
  color: var(--navy);
  font-size: 1.2rem;
  margin: 34px 0 8px;
}
h2:first-child {
  margin-top: 0;
}
p {
  margin: 0 0 14px;
  color: #33404f;
}
ul {
  margin: 0 0 14px;
  padding-left: 20px;
  color: #33404f;
}
li {
  margin-bottom: 6px;
}
.note {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--muted);
  margin: 18px 0;
}
.bottom-back {
  margin: 36px 0 10px;
  display: flex;
  justify-content: center;
}
.img-fluid {
  max-width: 100%;
  height: auto;
}
.card .img-fluid {
    max-width: 100%;
      max-height: 250px;
}
.rounded {
  border-radius: var(--radius);
}

.empty-thumbnail {
  height: 173px;
  text-align: center;
  justify-content: center;
  display: flex;
  align-items: center;
  background-color: var(--bg-soft);
}
footer {
  background: var(--navy-2);
  color: #8b96ad;
  text-align: center;
  padding: 22px 0;
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* ===== GALLERY GRID ===== */
.event-gallery {
  margin: 2rem 0;
}
.event-gallery h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #10224a;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.gallery-item {
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  background: #f5f5f5;
}
.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.slider-container {
  text-align: center;
  padding: 0 10px;
}
#modal-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.prev-btn,
.next-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 3rem;
  padding: 0 15px;
  cursor: pointer;
  transition: color 0.2s;
  user-select: none;
}
.prev-btn:hover,
.next-btn:hover {
  color: var(--gold);
}
.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10000;
}
.close-modal:hover {
  color: var(--gold);
  transform: scale(1.2);
}
.modal-caption {
  color: #ccc;
  font-size: 1rem;
  margin-top: 15px;
  text-align: center;
  max-width: 80%;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
  }
  .gallery-item img {
    height: 140px;
  }
  .prev-btn,
  .next-btn {
    font-size: 2rem;
    padding: 0 8px;
  }
  #modal-image {
    max-height: 60vh;
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 6px;
  }
  .gallery-item img {
    height: 100px;
  }
}
.content-alert{
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}
.contact-alert {
    padding: 8px 16px;
    font-weight: 400;
    font-size: small;
    display: flex;
    justify-content: center;
}
.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #769f7f;
}
.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
/* Event header */
.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.event-header h1 { margin: 0; }

.btn-back-top {
    flex-shrink: 0;
}


.event-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start; 
}

.event-main {
    flex: 1;          
    min-width: 0;    
}

.event-sidebar {
    flex: 0 0 28%;   
    max-width: 28%;
}

.event-info-box {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;/
}

.event-meta-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 0.8rem 0;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}
.meta-item .icon { font-size: 1.2rem; line-height: 1; }
.meta-item .label { font-weight: 600; color: var(--navy); margin-right: 4px; }
.meta-item .value { color: var(--ink); }

.meta-item.thumbnail {
    justify-content: center;
    margin-bottom: 0.5rem;
}
.event-thumb {
    width: 100%;
    max-width: 180px;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: var(--radius);
    border: 2px solid var(--line);
}


.meta-item.action {
    justify-content: center;
    margin-top: 0.5rem;
}
.meta-item.action .btn-sm {
    width: fit-content;
    text-align: center;
}

/* Badge statusi */
.badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}
.status-upcoming { background: #e8f0ff; color: #1e50c8; }
.status-ongoing  { background: #e3f6ec; color: #1a7a4a; }
.status-past     { background: #f5e6e6; color: #a13d3d; }


@media (max-width: 992px) {
    .event-sidebar {
        flex: 0 0 32%;
        max-width: 32%;
    }
}

@media (max-width: 768px) {
    .event-row {
        flex-direction: column;
    }
    .event-sidebar {
        flex: none;
        max-width: 100%;
        width: 100%;
    }
    .event-thumb {
        max-width: 120px;
    }
}

/* Content wrapper */
.event-content-wrapper {
    margin: 1.5rem 0;
}
.event-content {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Speakers */
.event-speakers-grid {
    margin: 2rem 0;
}
.event-speakers-grid h3 {
    margin-bottom: 1.2rem;
}
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}
.speaker-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem 1.2rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.speaker-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.speaker-card-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 0.8rem;
    background: #f0f0f0;
}
.speaker-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar-placeholder.large {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--navy, #1a2b4c);
    color: white;
    font-weight: 700;
    font-size: 2rem;
    text-transform: uppercase;
}
.speaker-card-info .speaker-name {
    font-weight: 700;
    font-size: 1.1rem;
}
.speaker-card-info .speaker-role {
    font-size: 0.9rem;
    color: var(--muted, #777);
    margin-top: 0.1rem;
}
.speaker-card-info .speaker-bio {
    font-size: 0.9rem;
    color: var(--ink, #333);
    margin-top: 0.5rem;
    line-height: 1.4;
}

.bottom-back {
    margin: 2.5rem 0 1rem;
    text-align: center;
}

@media (max-width: 600px) {
    .event-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .meta-item.action {
        justify-content: flex-start;
    }
}
/* ===== Event Card ===== */
.event-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s;
}
.event-card:hover {
    transform: translateY(-4px);
}
.event-card .card-body {
    padding-top: 0.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ===== Metadata kompakte ===== */
.event-meta-compact {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.5rem;
    background: var(--bg-soft, #f8f9fa);
    border-radius: 6px;
    font-size: 0.85rem;
}
.meta-line {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.meta-line .icon {
    font-size: 1rem;
    line-height: 1;
}
.meta-line .label {
    font-weight: 600;
    color: var(--navy, #1a2b4c);
    margin-right: 2px;
}
.meta-line .value {
    color: var(--ink, #333);
}
