/* SCROLL bar */
/* Stilizacija vertikalne trake za skrolovanje */
::-webkit-scrollbar {
    width: 12px;
}

/* Stilizacija pozadine trake za skrolovanje */
::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 10px;
}

/* Stilizacija samog klizaca */
::-webkit-scrollbar-thumb {
    background-color: black;
    border-radius: 10px;
    border: 3px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #1d1d1d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Rubik", sans-serif;
}

h2, h3 {
    font-family: "Rubik", sans-serif;
}

p {
    font-family: "Rubik", sans-serif;
}

/* NAV BAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: black;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1002;
}

.logo img {
    height: 40px;
    width: auto;
    margin-left: 43px;
}

.nav-links {
    list-style: none;
    display: flex;
    margin-right: 40px;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}

header {
    background-color: black;
    color: white;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 74px;
}

header h1 {
    font-size: 1.8em;
    color: rgb(197, 179, 110);
    animation: slideIn 1s ease-out;
    position: relative;
    margin-left: 33px;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.hero-text, .hero-image {
    flex: 1 1 300px;
    padding: 20px;
}

.hero-text h2 {
    font-size: 2.2em;
    color: black;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.2em;
    text-align: justify;
}

#hero-p-ljiljana {
    text-align: left;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    border: 4px solid rgb(197, 179, 110);;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.biography h2, .contact h2 {
    color: black;
    border-left: 5px solid rgb(197, 179, 110);
    padding-left: 15px;
    margin-bottom: 20px;
}

.biography p {
    font-size: 1.2em;
    color: #333;
    text-align: justify;
}

.contact {
    background-color: white;
    border-top: 2px solid rgb(197, 179, 110);
    border-bottom: 2px solid rgb(197, 179, 110);
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.contact-card {
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    flex: 1 1 250px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-card h3 {
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 1.05em;
}

.contact-card a {
    font-size: 1.1em;
    color: #535353;
    text-decoration: none;
    margin: 0;
}

/* FOOTER */
.footer {
    background-color: black;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-family: "Rubik", sans-serif;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer p {
    font-size: 1em;
    margin: 0;
}

.footer a {
    color: rgb(197, 179, 110);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero {
      flex-direction: column;
    }

    header {
      flex-direction: column;
      text-align: center;
    }
}

@media screen and (min-width: 769px) {
    .close-menu {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 15px 30px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 1003;
    }

    .menu-toggle.hidden {
        display: none;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        margin-right: 0;
        background-color: black;
        text-align: left;
        padding-top: 60px;
        transition: right 0.3s ease-in-out;
        z-index: 1003;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        padding: 15px;
    }

    .nav-links a {
        color: white;
        font-size: 20px;
        display: block;
    }

    .close-menu {
        display: none;
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 30px;
        color: white;
        cursor: pointer;
    }

    .nav-links.active .close-menu {
        display: block;
    }
    
    .logo img { 
        margin-left: 0px;
    }
    
    header h1 {
        margin-left: 0;
    }
    
    #ljiljana-petrovic {
        font-size: 22px;
    }

    .footer p {
        font-size: 0.9em;
    }
}

/* Globalna animacija div */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.content-wrapper {
    animation: fadeIn 3s ease-out;
}

/* Animacija za header */
@keyframes slideIn {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}