body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    color: #25291C;
    background-color: #FAF9F6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    ;
}

/* HEADER */
#top-header {
    background-color: #4A5C3B;
    color: white;
    padding: 0.5em 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-and-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2em;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    position: relative; /* DODANO */
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.99em;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Roboto', sans-serif;
    padding: 0.5em 0; /* malce vertikalnega prostora za podčrto */
}

.nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: #C8B478; /* zlato rumena črta */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.nav-links li a:hover::after {
    transform: scaleX(1);
}

.phone-tag {
    background-color:  #C8B478;
    padding: 0.7em 1.7em;
    border-radius: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.em;
    color: white;
    font-size: 1.3em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.phone-tag:hover {
    background-color: #C8B478; /* nekoliko svetlejši odtenek ob hoverju */
    transform: scale(1.05);
    text-decoration: none;
}
/*.phone-tag::before {
    content: '📞';
    font-size: 1.2em;
}

/* STRANSKI ELEMENTI IN GLAVNI DEL */
/*#sidebar_left {
    display: inline-block;
    width: 0%;
    background-color: #E5DFD3;
} */

#main {
    display: inline-block;
    width: 100%;
    min-height:fit-content;
    padding-bottom: 0;
    background-color: #F6F3E7;
    padding-top: 100px;
   
}

#main h1 {
    padding: 0px 20px;
    text-decoration: underline;
}

#main h2 {
    padding: 0px 20px;
}

#main p {
    padding: 0px 20px;
}

#main .slika {
    text-align: center;
    font-size: 80%;
}

#top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999; /* poskrbi, da je nad ostalimi elementi */
  background-color: #4A5C3B; /* da se barva ne izgubi */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* nežna senca za vizualno ločitev */
    border-bottom: 1px solid #39533A; /* ⬅️ to dodaj za subtilno obrobo */
}

.dropdown-arrow {
  font-size: 0.7em;
  margin-left: 0.4em;
  transition: transform 0.2s ease;
}

/*#sidebar_right {
    display: inline-block;
    width: 0%;
    background-color: #E5DFD3;
} */

#video {
    max-width: 100%;
    max-height: 100%;
    align-content: center;
    padding: 0px 20px;
    text-align: center;
}

/* FOOTER */
#footer {
    background-color: #4A5C3B;
    color: white;
    padding: 0.4em 1em;
    font-size: 0.95em;
    margin-top: auto;
    border-top: 1px solid #39533A; /* ⬅️ To doda enako obrobo kot header */
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;  /* centriranje vsebine */
    text-align: center;   /* besedilo centrirano */
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.footer-column {
    flex: 1 1 300px;
    min-width: 250px;
    padding: 10px;
}

.footer-column h3 {
    margin-bottom: 10px;
    color: #CFE3CF;
    font-weight: bold;
}

.footer-column a {
    color: #CFE3CF;
    text-decoration: none;
    font-weight: 500;
}

.footer-column a:hover {
    text-decoration: underline;
}

.phone {
    margin: 10px 0;
    border: 1px solid white;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 20px;
}

.socials img {
    width: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.8em;
    color: #CFE3CF;
    background-color: #4A5C3B;
    border-top: 1px solid #6C8664;
    width: 100%;
}

img {
    max-width: 50%;
    height: auto;
}


/* Dropdown meni */
.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5em;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 0.6em 1em;
    display: block;
}

/* Počisti vse pike pred elementi */
ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #4A5C3B;
    min-width: 180px;
    z-index: 1;
    top: 100%;
    left: 0;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    border-radius: 0 0 0px 0px;
}

/* Posamezen element v dropdownu */
.dropdown-content li {
    text-align: left;
}

/* Gumb znotraj dropdowna */
.dropdown-content li a {
    color: white;
    display: block;
    padding: 0.75em 1em;
    background-color: transparent;
    transition: background-color 0.2s ease;
}

/* Hover efekt – cel pravokotnik svetlejše ozadje */
.dropdown-content li a:hover {
    background-color: #6C8664; /* svetlejša olivna barva */
    color: white;
}

/* Prikaži meni ob hoverju */
.dropdown:hover .dropdown-content {
    display: block;
}
/* Odstrani zlato črto (hover podčrtavanje) za dropdown menije */
.dropdown-content li a::after {
    content: none;
}


.call-button {
    background-color: #4A5C3B;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;

    /* KLJUČNO: spodnji razmik, da se ne zalepi na footer */
    margin-bottom: 3em;
}


.call-button:hover {
    background-color: #6C8664;
}
#prostovoljstvo {
    padding-bottom: 4em;
}

.contact-title {
    /*border-bottom: 3px solid #C8B478; */
    text-align: center;
    font-size: 2.5em;
    font-weight: 700;
    color: #39533A;
    margin-top: 1em;
    margin-bottom: 0.3em;
}

.contact-divider {
    width: 200px;
    height: 4px;
    background-color: #C8B478; /* zlatkast odtenek za poudarek */
    border: none;
    margin: 0 auto 1.5em auto;
    border-radius: 2px;
    /* Prilagodljiva širina glede na dolžino naslova */
    width: fit-content;
    padding: 0 1.5em; /* prostor levo-desno okoli besedila */
    display: block;
}

.contact-info {
    text-align: center;
    font-size: 1.1em;
    line-height: 1.6em;
}

.contact-info a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
    color: #4A5C3B;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    font-weight: 700;
    color: #4A5C3B;
    position: relative;
    display: inline-block;
    margin: 1em auto 0.3em auto;
}

.section-title::after {
    content: "";
    display: block;
    margin: 0.5em auto 0 auto;
    height: 4px;
    width: 60%;
    background-color: #C8B478;
    border-radius: 2px;
}


.section-divider {
    width: 80px;
    height: 4px;
    background-color: #C8B478; /* zlato-rumena */
    border: none;
    margin: 0 auto 1.5em auto;
    border-radius: 2px;
}

.diagram-wrapper {
    text-align: center;
    margin: 2em 0 3em 0;
}

.diagram {
    max-width: 70%;
    height: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.diagram-caption {
    font-size: 0.95em;
    color: #555;
    margin-top: 0.5em;
    font-style: italic;
}

.contact-info-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 1em 1.5em;
    line-height: 1.7em;
    font-size: 1.05em;
    text-align: left;
}

.contact-info-box ul {
    padding-left: 1.5em;
    margin: 1em 0 1.5em 0;
}

.contact-info-box li {
    margin-bottom: 0.6em;
}

.content-box {
    max-width: auto;
    margin: 0 auto;
    padding: 1.5em;
    font-size: 1.05em;
    line-height: 1.7em;
    text-align: left;
    border: 1px solid #ddd3b8;
    background-color: #FBFAF7; /* zelo nežno za kontrast */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    

}

.content-box ul {
    padding-left: 1.5em;
    margin: 1em 0;
    font-size: 1.05em;
    line-height: 1.7em;
}

.content-box li {
    margin-bottom: 0.6em;
}

.top-contact-bar {
    background-color: #F9EFE2; /* svetla podlaga */
    color: #7A3E54; /* vinsko vijolična za ikone in tekst */
    font-size: 0.9em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3em 2em;
    border-bottom: 1px solid #e1d8c9;
    font-family: 'Roboto', sans-serif;
}

.top-contact-bar .icon {
    margin-right: 0.4em;
}

.top-contact-bar a {
    color: #7A3E54;
    font-weight: 600;
    text-decoration: none;
}

.top-contact-bar a:hover {
    text-decoration: underline;
}

.contact-left, .contact-right {
    display: flex;
    align-items: center;
    gap: 0.5em;
}



/*gumb za telefon desno zgoraj */
.top-contact-info {
    background-color: #4A5C3B;
    color: white;
    padding: 0.5em 1em;
    text-align: right;
    font-weight: bold;
    font-size: 1.5em;
}

.top-contact-info i {
    margin-right: 0.5em;
    color: white;
}

.top-contact-info a {
    color: white;
    text-decoration: none;
    margin-right: 1.5em;
}

.top-contact-info a:hover {
    color: #C8B478;
}


.framed-box {
    background-color: #f2efe5; /* svetla, mehka bež barva */
    border: 1px solid #ddd3b8;
    padding: 1.8em;
    border-radius: 12px;
    margin: 2em auto;
    max-width: 800px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.framed-box ol {
    padding-left: 1.2em;
}

.framed-box li {
    margin-bottom: 0.6em;
    line-height: 1.6;
}


.hero-banner {
  background-image: url("logo1.png"); /* zamenjaj pot do slike */
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2em;
  text-align: center;
}

.hero-text h2 {
  font-size: 2.8em;
  font-weight: 700;
  color: #4A5C3B; /* barva pisave */
  background-color: rgba(255, 255, 255, 0.8); /* polprozorno ozadje za berljivost */
  padding: 0.3em 1em;
  border-radius: 10px;
}
