*{
  box-sizing:border-box;
}

body{
  margin:0;
  background:#fffaf2;
  color:#23332a;
  font:16px/1.5 system-ui,Arial,sans-serif;
}

header{
  background:white;
  display:grid;
  grid-template-columns:160px minmax(240px,1fr) auto;
  align-items:center;
  gap:18px;
  padding:8px 3%;
  min-height:98px;
  box-shadow:0 2px 10px #0001;
}

#homeBrand{
  display:flex;
  align-items:center;
}

.brand-logo{
  width:125px;
  height:auto;
  display:block;
  object-fit:contain;
}

.header-intro{
  text-align:center;
  white-space:nowrap;
}

.header-intro h1{
  margin:0;
  font-size:clamp(1.5rem,2.3vw,2.5rem);
  line-height:1.15;
  color:#283b2e;
}

.header-intro p{
  margin:3px 0 0;
  font-size:clamp(.7rem,1vw,.93rem);
}

nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:clamp(8px,1.3vw,22px);
}

nav a{
  white-space:nowrap;
  font-size:clamp(.63rem,.79vw,.83rem);
  letter-spacing:.12em;
  text-decoration:none;
  color:#1740ad;
}

nav a:hover{
  text-decoration:underline;
}

h1,h2{
  text-align:center;
  font-family:Georgia,serif;
}

.hint{
  text-align:center;
  margin:0 10px 16px;
}

/* KUŽOŽEJA */

#home{
  background:#fffaf2;
}

.scene{
  position:relative;
  width:min(100%,1624px);
  margin:auto;
}

.scene>img{
  display:block;
  width:100%;
  height:auto;
}

#hotspots{
  position:absolute;
  inset:0;
}

.hotspot{
  position:absolute;
  cursor:pointer;
  background:transparent;
  border:2px solid transparent;
  border-radius:14px;
}

.hotspot:hover,
.hotspot:focus-visible{
  background:#fff4;
  border-color:#fff;
  outline:2px solid #225b3e;
  outline-offset:-2px;
}

/* IZBOR MIZ */

.tables-panel{
  padding:30px 20px 42px;
  background:linear-gradient(180deg,#f4e7d2,#fffaf2);
  text-align:center;
}

.tables-panel h2{
  font-size:clamp(1.5rem,2.5vw,2.3rem);
  margin:0;
}

.tables-panel p{
  margin:4px 0 22px;
  color:#66523b;
}

.chooser{
  display:block;
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:0 15px;
}

/* OKROGLE MIZE */

.round-tables-map{
  position:relative;
  width:100%;
  margin:0 auto 28px;
}

.round-tables-map>img{
  display:block;
  width:100%;
  height:auto;
  border-radius:14px;
}

.round-table-hotspot{
  position:absolute;
  padding:0;
  margin:0;
  min-height:0;
  border:2px solid transparent;
  background:transparent;
  box-shadow:none;
  border-radius:10px;
  cursor:pointer;
}

.round-table-hotspot:hover,
.round-table-hotspot:focus-visible{
  border:3px solid white;
  background:rgba(255,255,255,.10);
}

/* POSEBNE MIZE */

.special-table-card{
  display:block;
  position:relative;
  width:100%;
  max-width:1000px;
  margin:35px auto;
  text-align:center;
}

.special-table-card img{
  display:block;
  position:static;
  width:100%;
  height:auto;
  margin:0;
  border-radius:14px;
}

.special-table-card h3{
  display:block;
  margin:10px 0 0;
  font-family:Georgia,serif;
  font-size:1.35rem;
  color:#52391f;
}

.disco-table{
  max-width:1100px;
}

/* POSAMEZNA ODPRTA MIZA */

#detail{
  max-width:1600px;
  margin:20px auto;
  text-align:center;
  padding:0 10px;
}

#detail img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  margin:20px auto;
}

#back,
#backBottom{
  border:1px solid #9c7540;
  background:#fff6e6;
  border-radius:9px;
  padding:13px;
  cursor:pointer;
  color:#273b29;
  font-weight:650;
}

#back:hover,
#backBottom:hover{
  background:#e9d7b8;
}

/* BESEDILNE VSEBINE */

.info{
  max-width:1000px;
  margin:28px auto;
  padding:30px;
  border:1px solid #e9d6b8;
  border-radius:14px;
  background:#fffdf8;
  box-shadow:0 6px 20px #67451a10;
  text-align:center;
}

.info h2{
  margin-top:0;
  color:#52391f;
}

footer{
  text-align:center;
  padding:30px;
  background:#173d2c;
  color:white;
}

[hidden]{
  display:none !important;
}

/* MANJŠI RAČUNALNIKI / TABLICE */

@media (max-width:1050px) and (min-width:901px){
  header{
    grid-template-columns:120px 1fr;
    gap:6px;
  }

  .header-intro{
    justify-self:center;
  }

  nav{
    grid-column:1/-1;
    justify-content:center;
    padding:4px 0 8px;
  }
}

/* =========================================================
   DVK – NOVA MOBILNA VERZIJA
   Telefon: pokončno in ležeče
   Desktop ostane nespremenjen
   ========================================================= */

@media (max-width:900px){

  html,
  body{
    width:100%;
    max-width:100%;
    margin:0;
    padding:0;
    overflow-x:hidden;
  }

  /* GLAVA */

  header{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:0;
    margin:0;
    padding:8px 10px 10px;
    gap:5px;
    text-align:center;
  }

  #homeBrand{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
  }

  .brand-logo{
    display:block;
    width:80px;
    max-width:20vw;
    height:auto;
  }

  .header-intro{
    width:100%;
    margin:0;
    text-align:center;
    white-space:normal;
  }

  .header-intro h1{
    margin:0;
    font-size:1.35rem;
    line-height:1.15;
  }

  .header-intro p{
    margin:3px 0;
    font-size:.75rem;
  }

  nav{
    display:flex;
    width:100%;
    margin:0;
    padding:5px 2px;
    flex-wrap:wrap;
    justify-content:center;
    gap:6px 12px;
  }

  nav a{
    font-size:.7rem;
    white-space:nowrap;
    text-align:center;
  }

  /* KUŽOŽEJA */

  #home{
    display:block;
    width:100%;
    max-width:100%;
    margin:0;
    padding:0;
  }

  .scene{
    position:relative;
    display:block;
    width:100%;
    max-width:100%;
    margin:0;
    padding:0;
    overflow:hidden;
  }

  .scene>img{
    display:block;
    width:100%;
    max-width:100%;
    height:auto;
    margin:0;
    padding:0;
  }

  #hotspots{
    position:absolute;
    inset:0;
  }

  /* DEL POD KUŽOŽEJO */

  .tables-panel{
    display:block;
    width:100%;
    max-width:100%;
    margin:0;
    padding:14px 0 24px;
  }

  .tables-panel h2{
    margin:0 10px 3px;
    font-size:1.35rem;
  }

  .tables-panel p{
    margin:0 10px 12px;
    font-size:.85rem;
  }

  .chooser{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
  }

  /* OKROGLE MIZE NA TELEFONU POPOLNOMA SKRIJEMO */

  .round-tables-map{
    display:none !important;
  }

  .round-table-hotspot{
    display:none !important;
  }

  /* USTANOVITELJEVA, ŽIVA IN DISCO
     VSE IMAJO ENAKO ŠIRINO KOT KUŽOŽEJA */

  .special-table-card,
  .founder-table,
  .live-table,
  .disco-table{
    position:static !important;
    display:block !important;
    float:none !important;
    clear:both !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 0 18px !important;
    padding:0 !important;
    border:0 !important;
    overflow:hidden !important;
    transform:none !important;
  }

  .special-table-card img,
  .founder-table img,
  .live-table img,
  .disco-table img{
    position:static !important;
    display:block !important;
    float:none !important;
    clear:both !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    object-fit:contain !important;
    transform:none !important;
  }

  .special-table-card h3{
    position:static !important;
    display:block !important;
    width:100% !important;
    height:auto !important;
    margin:6px 0 0 !important;
    padding:0 8px !important;
    font-size:1rem !important;
    text-align:center !important;
  }

  /* POSAMEZNA ODPRTA MIZA */

  #detail{
    display:block;
    width:100%;
    max-width:100%;
    margin:0 auto;
    padding:10px 0;
    text-align:center;
  }

  #detail img{
    display:block;
    width:100%;
    max-width:100%;
    height:auto;
    margin:10px 0;
    padding:0;
    object-fit:contain;
  }

  /* BESEDILNE VSEBINE */

  .info{
    width:auto;
    max-width:100%;
    margin:14px 8px;
    padding:16px 12px;
  }
}

/* LEŽEČI TELEFON */

@media (max-width:900px) and (orientation:landscape){

  header{
    padding:5px 10px 7px;
  }

  .brand-logo{
    width:58px;
  }

  .header-intro h1{
    font-size:1.15rem;
  }

  .header-intro p{
    font-size:.68rem;
  }

  nav{
    padding:3px 2px;
    gap:5px 14px;
  }

  nav a{
    font-size:.68rem;
  }

  .tables-panel{
    padding-top:10px;
  }
}
/* =====================================================
   DVK KONČNI POPRAVEK - KUŽOŽEJA + SLIKE POD NJO
   ===================================================== */

@media (max-width:900px){

  .tables-panel{
    width:100%;
    padding:10px 0 20px;
  }

  .chooser{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    padding:0 !important;
    margin:0 !important;
  }

  .special-table-card,
  .founder-table,
  .live-table,
  .disco-table{
    width:100% !important;
    max-width:100% !important;
    margin:0 0 15px 0 !important;
    overflow:visible !important;
  }

  .special-table-card img,
  .founder-table img,
  .live-table img,
  .disco-table img{
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    display:block !important;
    object-fit:contain !important;
    border-radius:0 !important;
  }

}