html, body { height: 100%; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    background: #0B2E3C;
}

*,
*::before,
*::after { box-sizing: border-box; }

h2{
    font-family: "Anton", sans-serif;
    font-size: 4rem;
    line-height: 1.2;
    font-weight: 500;
    margin: 0;
}

h3{
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 300;
    margin: 0;
}

.mark-tanja{
    background-color: #2d8cff;
}

.site-header {
    display: flex;
    justify-content: center;
    align-items: center; 
}

.site-header img {
    width: 300px;
    height: auto;
    margin-top: 12px;
}

.hero{
    min-height: 90dvh;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;

    background-image: url('img/background_hero_slim.jpg');
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: top left;
}

.hero-text,
.hero-image{
  flex: 1 1 50%;             /* flex-grow:1; flex-shrink:1; flex-basis:50% */
  min-width: 0;
  display: flex;
}

.hero-text{
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: .9em;
}

.hero-image{
    justify-content: center;
    align-items: center;
    min-width: 300px;
}

.hero-image img{
    width: 80%;
    height: auto;
}

.hero-text p{
  margin: 0;                  /* skini podrazumevani razmak p tagova */
}

#herotxt1 {
    font-family: "League Gothic", sans-serif;
    font-size: 3rem;
    line-height: .9;
    font-weight: 400;
}

#herotxt2{
    font-family: "Anton", sans-serif;
    font-size: 6rem;
    line-height: .9;
    font-weight: 700;

}

#herotxt3 {
    font-family: "Anton", sans-serif;
    font-size: 4rem;
    line-height: .9;
    font-weight: 500;
}

#herotxt4 {
    font-family: "Montserrat", sans-serif;
    font-size: 3rem;
    line-height: .9;
    font-weight: 300;
}

.panel{
    height: 100dvh;
    display: flex;
    align-items: stretch;
}

.panel2{
    flex-wrap: wrap;
}

.panel2_us_box{
    background-color: grey;
    width: 50%;
    min-width: 200px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 20px;
    box-sizing: border-box;
}

.us_box_content{
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 40px;
}

.usluge_box{
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#usluge_text
{
    font-family: "League Gothic", sans-serif;
    font-size: 2rem;
    font-weight: 300;

    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: .9;
    gap: .30em;                 /* VERTIKALNI razmak između redova */;  
    text-align: center;
}

.panel2_usluge_container {

    background-color: #6F6F6F;
    width : 50%;

      background-image:
    repeating-linear-gradient(
      135deg,                     /* ugao pruga (↘) */
      rgba(255,255,255,.12) 0 2px,/* debljina linije = 2px, svetla sa 12% opa. */
      transparent            2px 26px /* razmak do sledeće linije = 24px */
    );

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
    min-width: 300px;
}

.mark{
    background-color: #2d8cff;
    padding: 5px 15px;
}

.uslugeslika1{
    width: 50%;
    height: auto;
}

.panel3{
    height: 100dvh;
    display: flex;

    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.usluge_box a{
    text-decoration: none;
    color: white;
    font-family: "montserrat", sans-serif;
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 300;

    border: 2px solid white;
    padding: 5px 15px;
    border-radius: 5px;

    transition: background-color 0.3s, color 0.3s;
}

.usluge_box a:hover{
    background-color: white;
    color: #0B2E3C;
}

#monitor_box{
    height: 352px;
    width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;

    border: 6px solid #474747;
}

#monitor{
    height: 352px;
    width: 589px;
}

#video_text{
    background-color: #3F80D9;
    color: white;

    font-family: "League Gothic", sans-serif;
    font-size: 2rem;
    font-weight: 300;
    text-align: center;
}

.panel3_usluge_container {

    background-color: #6F6F6F;
    width : 50%;

      background-image:
    repeating-linear-gradient(
      135deg,                     /* ugao pruga (↘) */
      rgba(255,255,255,.12) 0 2px,/* debljina linije = 2px, svetla sa 12% opa. */
      transparent            2px 26px /* razmak do sledeće linije = 24px */
    );

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
    padding: 20px;
    box-sizing: border-box;
    min-width: 300px;
}

.site-footer{
    text-align: center;
    padding: 20px;
    height: 150px;
}

.gallery-header{
    text-align: center;
    margin: 20px 0 20px 0;
}

.gallery-title{
    color: white;
    padding: 10px 10px;
    margin: 0px;
    background-color: #2d8cff;

    font-family: "Anton", sans-serif;
    font-size: 4rem;
    line-height: 1.2;
    font-weight: 500;
}
:root{
    /* Odnos stranica kontejnera A (širina : visina).
     Podesi npr. 5/1, 6/1 ili 4/1 kako ti vizuelno odgovara. */
    --a-ratio-w: 6;
    --a-ratio-h: 1.5;

    --frame: 6px;    /* debljina crvenog okvira A */
    --gap: 2px;      /* razmak = crne vertikalne linije između B–E */
}

* { box-sizing: border-box; margin:0; padding:0; }
body { font-family: Arial, Helvetica, sans-serif; }

.box-a{
    width: 100%;
    aspect-ratio: var(--a-ratio-w) / var(--a-ratio-h); /* PROPORCIONALNA visina */
    border: var(--frame) solid rgb(70, 70, 70);
    background: #707070;               /* da “gap” izgleda kao crne linije */
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* četiri jednaka dela (B–E) */
    gap: var(--gap);
    overflow: hidden;
}

.cell{
    background: #ddd;
    border: 0;                       /* unutrašnji okvir po želji */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(16px, 3vw, 40px); /* veličina slova se prilagođava */
    user-select: none;
}

.cell img{
    width: 100%;
    height: 100%;
    object-fit: cover;   /* slika popunjava ceo boks bez deformacije */
    display: block;
}