:root{
  --primary:#173b6c;
  --primary-dark:#102a4d;
  --primary-light:#2f6fb2;
  --accent:#f28c28;
  --accent-dark:#d97706;
  --bg:#f4f7fb;
  --bg-soft:#edf4fb;
  --white:#ffffff;
  --text:#1f2d3d;
  --muted:#5d6b7a;
  --border:#dbe4ef;
  --shadow:0 10px 30px rgba(23,59,108,.08);
  --shadow-strong:0 18px 40px rgba(0,0,0,.16);
  --radius:18px;
  --radius-sm:12px;
  --maxw:1180px;
  --transition:.25s ease;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:'Montserrat', Arial, Helvetica, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.65;
}

a{color:inherit;text-decoration:none;transition:var(--transition)}
img{max-width:100%;display:block}

.container{
  width:min(var(--maxw), calc(100% - 32px));
  margin:0 auto;
}

/* NAV */
.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(23,59,108,.08);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:84px;
}

.brand-logo{
  display:flex;
  align-items:center;
}

.brand-logo img{
  height:64px;
  width:auto;
  display:block;
}

.menu{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  font-size:.95rem;
  font-weight:700;
  color:var(--primary);
}

.menu a{
  position:relative;
  padding:4px 0;
}

.menu a:hover,
.menu a.active{
  color:var(--accent);
}

.menu a.active::after,
.menu a:hover::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:100%;
  height:2px;
  background:var(--accent);
  border-radius:999px;
}

/* HERO */
.hero{
  min-height:82vh;
  display:flex;
  align-items:center;
  color:var(--white);
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(rgba(12,35,67,.55),rgba(12,35,67,.55)),
    url("images/hero.png") center/cover no-repeat;
	background-position:center right;
}

.hero.small{
  min-height:46vh;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:40px;
  align-items:center;
  padding:60px 0;
}

.eyebrow{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  font-size:.92rem;
  margin-bottom:18px;
}

h1{
  font-size:clamp(2.5rem,6vw,4.6rem);
  line-height:1.05;
  margin:0 0 10px;
  font-weight:800;
}

.hero h2{
  font-size:clamp(1.25rem,2.5vw,2rem);
  line-height:1.25;
  margin:0 0 18px;
  font-weight:500;
  color:#eaf2fb;
}

.hero p{
  max-width:760px;
  font-size:1.05rem;
  color:#edf4fd;
  margin-bottom:28px;
}

.hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin:22px 0;
  font-weight:700;
  color:#dce9f9;
}

.hero-card{
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.16);
  border-radius:22px;
  padding:28px;
  box-shadow:var(--shadow-strong);
}

.hero-card h3{
  margin-top:0;
  font-size:1.2rem;
  margin-bottom:14px;
}

.hero-card ul{
  margin:0;
  padding-left:18px;
  color:#f3f8fe;
}

.hero-card li{
  margin-bottom:8px;
}

/* BUTTONS */
.btn-row{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:28px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 22px;
  border-radius:var(--radius-sm);
  font-weight:700;
  transition:var(--transition);
  border:2px solid transparent;
  cursor:pointer;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-primary{
  background:var(--accent);
  color:var(--white);
}

.btn-primary:hover{
  background:var(--accent-dark);
}

.btn-secondary{
  background:rgba(255,255,255,.12);
  color:var(--white);
  border-color:rgba(255,255,255,.22);
}

.btn-light{
  background:var(--white);
  color:var(--primary);
}

/* DATES BAR */
.dates-bar{
  background:var(--primary);
  color:var(--white);
  padding:18px 0;
}

.dates-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.date-item{
  padding:14px 16px;
  border-radius:14px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
}

.date-item strong{
  display:block;
  font-size:.95rem;
}

.date-item span{
  color:#d7e6f7;
  font-size:.92rem;
}

/* GENERAL */
section{
  padding:60px 0;
}

.section-title{
  text-align:center;
  margin-bottom:16px;
  color:var(--primary);
  font-size:clamp(1.8rem,3vw,2.5rem);
}

.section-title.left{
  text-align:left;
  margin-top:0;
}

.section-intro{
  max-width:820px;
  margin:0 auto 38px;
  text-align:center;
  color:var(--muted);
}

.about-grid,
.venue-grid,
.panel-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
}
.panel-box{
max-width:900px;
margin:auto;
}

.highlights-grid,
.topics-grid,
.why-grid,
.footer-grid,
.logo-grid,
.speaker-grid,
.contact-grid{
  display:grid;
  gap:20px;
}

.highlights-grid{
  grid-template-columns:repeat(3,1fr);
}

.topics-grid{
  grid-template-columns:repeat(2,1fr);
}

.why-grid{
  grid-template-columns:repeat(2,1fr);
}

.speaker-grid{
  grid-template-columns:repeat(3,1fr);
}

.contact-grid{
  grid-template-columns:repeat(3,1fr);
}

.card{
  background:var(--white);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:28px;
  border:1px solid var(--border);
  transition:var(--transition);
}

.card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 32px rgba(23,59,108,.1);
}

.card h3,
.card h4{
  margin-top:0;
  color:var(--primary);
}

.card p,
.card li{
  color:var(--muted);
}

.topic{
  border-top:5px solid var(--primary-light);
}

.topic-2{border-top-color:var(--accent)}
.topic-3{border-top-color:#27548a}
.topic-4{border-top-color:#4e91d4}

.photo{
  min-height:320px;
  border-radius:22px;
  box-shadow:var(--shadow);
  background-size:cover;
  background-position:center;
  border:1px solid var(--border);
}

.about-photo{
  background-image:url("images/about.png");
}

.panel-photo{
  background-image:url("images/panel.svg");
}

.venue-photo{
  background-image:url("images/venue.png");
}

.about-text ul,
.panel-box ul,
.footer-list{
  padding-left:18px;
  margin-bottom:0;
}

.footer-list{
  list-style:none;
  padding-left:0;
}

.footer-list li{
  margin-bottom:8px;
}

.speaker-card{
  padding:0;
  overflow:hidden;
}

.speaker-photo{
  aspect-ratio:4/3;
  object-fit:cover;
  width:100%;
  background:#edf4fb;
}

.speaker-body{
  padding:22px;
}

.speaker-meta{
  color:var(--muted);
  font-size:.95rem;
  margin-top:-6px;
}

.logo-grid{
  grid-template-columns:repeat(4,1fr);
  margin-top:24px;
}

.logo-box{
  background:var(--white);
  border:1px dashed var(--border);
  border-radius:14px;
  min-height:110px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  font-weight:700;
  padding:12px;
  text-align:center;
}

table{
  width:100%;
  border-collapse:collapse;
  border-radius:14px;
  overflow:hidden;
  background:var(--white);
}

th, td{
  padding:14px 16px;
  text-align:left;
  border-bottom:1px solid var(--border);
}

th{
  background:var(--bg-soft);
  color:var(--primary);
  font-weight:700;
}

tr:last-child td{
  border-bottom:none;
}

.notice{
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#9a3412;
  padding:16px 18px;
  border-radius:12px;
}

/* FOOTER */
footer{
  background:var(--primary-dark);
  color:#dfeaf7;
  padding:36px 0;
  margin-top:30px;
}

.footer-grid{
  grid-template-columns:1.2fr .8fr .8fr;
  align-items:start;
}

.footer-brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.footer-logo{
  height:42px;
  width:auto;
}

footer h4{
  margin-top:0;
  color:var(--white);
}

.copyright{
  margin-top:18px;
  color:#a9bfd8;
  font-size:.92rem;
}

/* RESPONSIVE */
@media (max-width:980px){
  .hero-grid,
  .about-grid,
  .venue-grid,
  .panel-grid,
  .footer-grid,
  .highlights-grid,
  .topics-grid,
  .why-grid,
  .dates-grid,
  .logo-grid,
  .speaker-grid,
  .contact-grid{
    grid-template-columns:1fr;
  }

  .menu{
    display:none;
  }

  .hero{
    min-height:auto;
  }

  .hero-grid{
    padding:56px 0;
  }

  .photo{
    min-height:260px;
  }
}

@media (max-width:640px){
  .container{
    width:min(var(--maxw), calc(100% - 24px));
  }

  section{
    padding:56px 0;
  }

  .card{
    padding:22px;
  }

  .btn{
    width:100%;
  }

  .btn-row{
    flex-direction:column;
    align-items:stretch;
  }

  .hero-meta{
    flex-direction:column;
    gap:8px;
  }

  .brand-logo img{
    height:54px;
  }
}
/* HERO TAGS */
.hero-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.hero-tag{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,0.14);
  border:1px solid rgba(255,255,255,0.18);
  color:#ffffff;
  font-size:.9rem;
  font-weight:600;
}

/* TIMELINE */
.timeline-section{
  background:var(--bg-soft);
}

.timeline-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.timeline-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow);
}

.timeline-month{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  background:var(--primary);
  color:var(--white);
  font-size:.86rem;
  font-weight:700;
  margin-bottom:14px;
}

.timeline-card h3{
  margin-top:0;
  color:var(--primary);
}

/* PUBLICATION */
.publication-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:20px;
}

.publication-box ul{
  padding-left:18px;
  margin-bottom:0;
}

/* PARTNERS */
.partners-section{
  background:var(--white);
}

/* CTA */
.cta-section{
  padding-top:20px;
}

.cta-box{
  background:linear-gradient(135deg, var(--primary), var(--primary-light));
  color:var(--white);
  border-radius:24px;
  padding:48px 36px;
  text-align:center;
  box-shadow:var(--shadow-strong);
}

.cta-box h2{
  margin-top:0;
  margin-bottom:12px;
  font-size:2rem;
}

.cta-box p{
  max-width:760px;
  margin:0 auto 24px;
  color:#eaf2fb;
}

.btn-row.center{
  justify-content:center;
}

/* RESPONSIVE ADDITIONS */
@media (max-width:980px){
  .timeline-grid,
  .publication-grid{
    grid-template-columns:1fr;
  }
}
/* WHY ATTEND */

.why-section{
background:var(--bg-soft);
}

.why-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:22px;
margin-top:20px;
}

.why-card{
background:white;
border-radius:18px;
padding:26px;
border:1px solid var(--border);
box-shadow:var(--shadow);
text-align:center;
transition:var(--transition);
}

.why-card:hover{
transform:translateY(-5px);
box-shadow:0 14px 30px rgba(23,59,108,.12);
}

.why-icon{
font-size:36px;
margin-bottom:12px;
}

.why-card h3{
margin-top:6px;
color:var(--primary);
}

.why-card p{
color:var(--muted);
}
/* CALL FOR PAPERS LETTER */

.cfp-letter{
max-width:850px;
margin:0 auto 50px auto;
font-size:1.05rem;
line-height:1.7;
color:var(--text);
}

.cfp-letter p{
margin-bottom:18px;
}

.cfp-signature{
margin-top:30px;
font-style:italic;
color:var(--primary);
}
/* ------------------------------
SECTION BACKGROUND HELPERS
------------------------------ */

.section-soft{
background:#f6f8fb;
padding:60px 0;
}

.section-white{
background:#ffffff;
padding:60px 0;
}


/* ------------------------------
CARD HOVER EFFECT
------------------------------ */

.card{
transition:all 0.25s ease;
}

.card:hover{
transform:translateY(-6px);
box-shadow:0 12px 28px rgba(0,0,0,0.08);
}
.history-highlight{
display:flex;
align-items:center;
gap:25px;
margin-bottom:30px;
}

.history-year{
font-size:48px;
font-weight:800;
color:#1c2a4a;
}

.history-text p{
margin:5px 0 0 0;
color:#555;
}

.topic-5 {
  grid-column: 1 / -1;   /* zauzima ceo red */
  max-width: 600px;      /* da ne bude preširok */
  margin: 0 auto;        /* centar */
}

.about-photo{
  min-height: 360px;
  border-radius: 30px;
}

.contact-map-section{
  background: var(--bg-soft);
}

.contact-map-grid{
  display:grid;
  grid-template-columns: 1.35fr .85fr;
  gap:24px;
  align-items:stretch;
}

.map-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  min-height:420px;
}

.map-card iframe{
  width:100%;
  height:100%;
  min-height:420px;
  border:0;
  display:block;
}

.secretary-card{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:420px;
}

.secretary-icon{
  width:56px;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:var(--bg-soft);
  font-size:28px;
  margin-bottom:18px;
}

.secretary-card h3{
  margin-bottom:14px;
  color:var(--primary);
}

.secretary-card p{
  margin:0 0 14px;
}

.secretary-card a{
  color:var(--primary-light);
  font-weight:600;
}

.secretary-card a:hover{
  color:var(--accent);
}

@media (max-width:980px){
  .contact-map-grid{
    grid-template-columns:1fr;
  }

  .map-card,
  .map-card iframe,
  .secretary-card{
    min-height:340px;
  }
}

.proceedings-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
  align-content:start;
}

.proceeding-slot{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:var(--shadow);
  overflow:hidden;
  aspect-ratio: 3 / 4.2;
  display:flex;
  align-items:center;
  justify-content:center;
}

.proceeding-slot img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

@media (max-width:980px){
  .proceedings-grid{
    grid-template-columns:repeat(3, 1fr);
  }
}

@media (max-width:640px){
  .proceedings-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

/* =============================
   COMMITTEE CARDS
============================= */

.committee-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.committee-card{
  padding:0;
  overflow:hidden;
  text-align:center;
}

.committee-photo{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  display:block;
  background:#edf4fb;
}

.committee-body{
  padding:20px;
}

.committee-body h3{
  margin:10px 0 6px;
  color:var(--primary);
}

.committee-meta{
  color:var(--muted);
  font-size:.95rem;
}

.committee-role{
  margin-top:6px;
  font-weight:600;
  color:var(--primary-light);
}

/* SPONSOR TEXT COLORS */

.sponsor-package.platinum h3{
  color:#6b7280;
}

.sponsor-package.gold h3{
  color:#d4a017;
}

.sponsor-package.silver h3{
  color:#94a3b8;
}

.sponsor-package.bronze h3{
  color:#b87333;
}

.sponsor-package.friend h3{
  color:var(--primary);
}

.brand-logo{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand-logo img{
  height:70px;
  width:auto;
}

.menu{
  display:flex;
  flex-wrap:nowrap;   /* KLJUČNO */
  gap:14px;
  font-size:0.9rem;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:flex-start; /* KLJUČNO */
  position:relative;
}

.brand-logo{
  margin-left: -350px;
}

.brand-logo{
  margin-right: 30px;
}

.history-card{
  margin-top:32px;
  padding:26px;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.history-card h3{
  margin-top:0;
  margin-bottom:10px;
  color:var(--primary);
}

.history-card-intro{
  margin-bottom:18px;
  color:var(--muted);
}

.history-table-wrap{
  overflow-x:auto;
  border-radius:14px;
}

.history-table-modern{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width:780px;
  background:var(--white);
}

.history-table-modern thead th{
  background:var(--primary);
  color:var(--white);
  font-weight:700;
  font-size:.95rem;
  padding:14px 16px;
  text-align:left;
  white-space:nowrap;
}

.history-table-modern thead th:first-child{
  border-top-left-radius:12px;
}

.history-table-modern thead th:last-child{
  border-top-right-radius:12px;
}

.history-table-modern tbody td{
  padding:14px 16px;
  border-bottom:1px solid var(--border);
  color:var(--text);
  background:var(--white);
  vertical-align:top;
}

.history-table-modern tbody tr:nth-child(even) td{
  background:var(--bg-soft);
}

.history-table-modern tbody tr:hover td{
  background:#eaf2fb;
  transition:var(--transition);
}

.history-table-modern tbody tr:last-child td:first-child{
  border-bottom-left-radius:12px;
}

.history-table-modern tbody tr:last-child td:last-child{
  border-bottom-right-radius:12px;
}

@media (max-width:640px){
  .history-card{
    padding:20px;
  }
}

.history-table-wrap{
  width:100%;
}

.history-table-modern{
  width:100%;
  min-width:100%;
}

.committee-photo{
  width:100%;
  aspect-ratio:4/3;
  object-fit:contain; /* KLJUČNO */
  background:#edf4fb;
  padding:5px;
}

.history-full{
  width:100vw; /* puna širina ekrana */
  margin-left:50%;
  transform:translateX(-50%); /* centriranje */
  max-width:1200px; /* da ne ode preširoko */
}

.history-full{
  padding:30px;
}

.history-full{
  width:100vw;
  margin-left:50%;
  transform:translateX(-50%);
  max-width:none;
}

.accommodation-section {
  padding: 70px 0 90px;
}

.section-subtitle {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
  color: #5f5f5f;
  font-size: 1rem;
  line-height: 1.7;
}

.accommodation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.accommodation-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.accommodation-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

.accommodation-image {
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.accommodation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.accommodation-content {
  padding: 24px;
}

.accommodation-content h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  color: #1f1f1f;
}

.accommodation-content p {
  margin: 0 0 20px;
  color: #666;
  line-height: 1.7;
  font-size: 0.98rem;
}

.price-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #e9e9e9;
  font-size: 1rem;
}

.price-box span {
  color: #666;
}

.price-box strong {
  color: #c2185b;
  font-size: 1.1rem;
}

@media (max-width: 992px) {
  .accommodation-grid {
    grid-template-columns: 1fr;
  }
}

.price-box.multi {
  display: block; /* KLJUČNO */
  padding-top: 14px;
  border-top: 1px solid #e9e9e9;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.price-row:last-child {
  margin-bottom: 0;
}

.about-text p {
  text-align: justify;
}

.hero-content {
  transform: translateX(-180px);
}

.hero-content1 {
  transform: translateX(-200px);
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.proceedings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.proceeding-slot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 50px;
  align-items: start;
}

.about-text {
  text-align: justify;
}

.proceedings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-self: start;
}

.proceeding-slot {
  width: 100%;
}

.proceeding-slot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.history-full {
  grid-column: 1 / -1;
  margin-top: 50px;
}

.proceedings-grid {
  max-width: 430px;
}

.history-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.history-table-modern {
  width: 100%;
  border-collapse: collapse;
}

.about-photo {
  background-position: center 60%;
}

.about-photo {
  background-size: 102%;        /* ODZUMIRANA – vidi se cela slika */
  background-position: center 70%; /* spuštena malo dole */
  background-repeat: no-repeat;
}

.photo {
  height: 50px;
}

.about-photo {
  margin-top: 60px;
}

/*brisi*/

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: start;
}

.about-text,
.proceedings-grid,
.history-full {
  min-width: 0;
}

.proceedings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 380px;
  width: 100%;
  justify-self: end;
}

.proceeding-slot img {
  width: 100%;
  height: auto;
  display: block;
}

.history-full {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
}

.history-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

.history-table-modern {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.history-table-modern th,
.history-table-modern td {
  word-break: break-word;
  white-space: normal;
}

body {
  overflow-x: hidden;
}

.proceeding-slot img {
  transform: scale(1);
}

.proceedings-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 500px;
}

.proceeding-slot {
  height: auto;
}

.proceeding-slot img {
  width: 100%;
  height: auto;
  display: block;
}

.proceeding-slot {
  line-height: 0;
}

.proceeding-slot {
  height: auto;
  line-height: 0;
}

.proceeding-slot img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* brisi*/

.proceeding-slot {
  aspect-ratio: auto;
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
  line-height: 0;
}

.proceeding-slot img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transform: scale(1); 
}

.history-table-modern {
  width: 100%;
  table-layout: fixed;
}

.history-table-modern th:nth-child(1),
.history-table-modern td:nth-child(1) {
  width: 6%;
  text-align: center;
}

.history-table-modern th:nth-child(2),
.history-table-modern td:nth-child(2) {
  width: 10%;
  text-align: center;
}

.history-table-modern th:nth-child(3),
.history-table-modern td:nth-child(3),
.history-table-modern th:nth-child(4),
.history-table-modern td:nth-child(4),
.history-table-modern th:nth-child(5),
.history-table-modern td:nth-child(5) {
  width: 28%;
}

/* HEADER BALANCED LAYOUT */

.nav {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* LEVO */
.nav-left {
  display: flex;
  align-items: center;
}

.menu {
  justify-self: center;
  transform: translateX(-150px);
}

/* DESNO */
.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;

  transform: translateX(-130px); /* pomeraj uns i ftn */

}

.nav-right img {
  height: 65px;
}

.brand-logo img:first-child{
  height:70px;
         /* širina prve slike */
}

.brand-logo img:last-child{
  height:50px;
         /* širina druge slike */
  margin-left:-15px;     /* razmak između slika */
}

.download-link{
  display:inline-block;
  margin-top:12px;
  font-weight:600;
  color:var(--primary-light);
  cursor:pointer;
  transition:0.2s;
}

.download-link:hover{
  color:var(--accent);
  text-decoration:underline;
}

.proceeding-slot{
  aspect-ratio: auto;
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
  line-height: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 10px;
  overflow: hidden;
}

.proceeding-slot img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transform: scale(1);
  transition: transform 0.25s ease;
}

/*.proceeding-slot:hover{
  transform: scale(1.8); /*ZUMIRAJ ZBORNIKE*/
 /* z-index: 5 ; */
/*}*/

.proceeding-slot:hover img{
  transform: scale(1.03);
}

.proceedings-grid{
  overflow: visible;
}

/* ==================================================
   MOBILE-FIRST CLEANUP FOR MMA 2027
   ================================================== */
html, body {
  overflow-x: clip;
}

.nav {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 84px;
  position: relative;
}

.nav-left {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 0 0 auto;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
}

.brand-logo img:first-child {
  height: 64px;
  width: auto;
}

.brand-logo img:last-child {
  height: 44px;
  width: auto;
  margin-left: 0 !important;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 auto;
  transform: none !important;
}

.menu a {
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  transform: none !important;
  flex: 0 0 auto;
}

.nav-right img {
  height: 54px;
  width: auto;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
  border-radius: 999px;
  transition: .25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(12,35,67,.55),rgba(12,35,67,.55)),
    url("images/hero.png") center/cover no-repeat;
}

.hero.small {
  min-height: 42vh;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 40px;
  align-items: center;
  padding: 60px 0;
}

.hero-content,
.hero-content1 {
  transform: none !important;
}

.photo {
  min-height: 320px;
  height: auto;
}

.history-full {
  width: 100%;
  margin-left: 0 !important;
  transform: none !important;
  max-width: 100%;
  padding: 0;
}

.history-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.history-table-modern {
  min-width: 720px;
  table-layout: auto;
}

.proceeding-slot:hover,
.proceeding-slot:hover img {
  transform: none;
}

@media (max-width: 1100px) {
  .menu {
    gap: 10px;
    font-size: 0.82rem;
  }

  .nav-right img {
    height: 46px;
  }

  .brand-logo img:first-child {
    height: 58px;
  }

  .brand-logo img:last-child {
    height: 40px;
  }

  .hero-grid,
  .about-grid,
  .venue-grid,
  .panel-grid,
  .publication-grid,
  .timeline-grid,
  .speaker-grid,
  .committee-grid,
  .contact-grid,
  .contact-map-grid,
  .highlights-grid,
  .topics-grid,
  .why-grid,
  .dates-grid,
  .footer-grid,
  .logo-grid,
  .accommodation-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(var(--maxw), calc(100% - 24px));
  }

  .nav {
    min-height: 76px;
  }

  .nav-right {
    display: none;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 1001;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
  }

  .menu.is-open {
    display: flex;
  }

  .menu a {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .menu a:hover,
  .menu a.active {
    background: var(--bg-soft);
  }

  .menu a.active::after,
  .menu a:hover::after {
    display: none;
  }

  .brand-logo img:first-child {
    height: 52px;
  }

  .brand-logo img:last-child {
    height: 34px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 42px 0 36px;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.06;
  }

  .hero h2 {
    font-size: clamp(1.05rem, 4.5vw, 1.35rem);
    line-height: 1.35;
  }

  .hero p {
    font-size: 0.98rem;
    margin-bottom: 18px;
  }

  .hero-meta {
    flex-direction: column;
    gap: 8px;
    margin: 18px 0;
  }

  .hero-card {
    padding: 22px;
    border-radius: 18px;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    min-height: 50px;
  }

  section,
  .section-soft,
  .section-white {
    padding: 48px 0;
  }

  .card,
  .why-card,
  .timeline-card,
  .cta-box,
  .accommodation-content {
    padding: 20px;
  }

  .photo,
  .map-card,
  .map-card iframe,
  .secretary-card {
    min-height: 260px;
  }

  .proceedings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    gap: 10px;
    justify-self: stretch;
  }

  .dates-grid,
  .why-grid,
  .committee-grid,
  .speaker-grid,
  .contact-grid,
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .history-highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .history-year {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .nav {
    min-height: 72px;
  }

  .brand-logo {
    gap: 8px;
  }

  .brand-logo img:first-child {
    height: 46px;
  }

  .brand-logo img:last-child {
    height: 28px;
  }

  .eyebrow {
    font-size: 0.78rem;
    padding: 7px 11px;
    margin-bottom: 14px;
  }

  h1 {
    font-size: clamp(1.85rem, 10vw, 2.6rem);
  }

  .hero h2 {
    font-size: 1rem;
  }

  .section-title {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .card,
  .why-card,
  .timeline-card,
  .hero-card {
    padding: 18px;
    border-radius: 16px;
  }

  .proceedings-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}

/* =========================================
   PROCEEDINGS HOVER – CLEAN & PROFESSIONAL
========================================= */

.proceedings-grid{
  overflow: visible;
}

.proceeding-slot{
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
  line-height: 0;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.proceeding-slot img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transform: scale(1);
  transition: transform 0.35s ease;
}

/* HOVER – SMOOTH ZOOM */
.proceeding-slot:hover{
  z-index: 2;
}

.proceeding-slot:hover img{
  transform: scale(1.12);
}

/* BLAGI OVERLAY EFEKAT */
.proceeding-slot::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: 0.3s ease;
  pointer-events: none;
}

.proceeding-slot:hover::after{
  background: rgba(0,0,0,0.08);
}

/* =========================================
   MOBILE FIX (bez hover glitcheva)
========================================= */

@media (hover: none){
  .proceeding-slot:hover img{
    transform: none;
  }

  .proceeding-slot:hover::after{
    background: transparent;
  }
}
/* CONTACT CARDS */
.contact-card{
  text-align: left;
}

.contact-card .contact-icon{
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--bg-soft);
  font-size: 28px;
  margin-bottom: 18px;
}

.contact-card h3{
  margin-bottom: 14px;
  color: var(--primary);
}

.contact-card p{
  margin: 0 0 10px;
}

.contact-card a{
  color: var(--primary-light);
  font-weight: 600;
}

.contact-card a:hover{
  color: var(--accent);
  text-decoration: underline;
}