/* DEFINISANJE GOTHAM FONTOVA IZ LOKALNIH TTF FAJLOVA */
@font-face {
    font-family: "Gotham";
    src: url("assets/fonts/gotham-thin.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: "Gotham";
    src: url("assets/fonts/gotham-light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: "Gotham";
    src: url("assets/fonts/gotham-book.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "Gotham";
    src: url("assets/fonts/gotham-bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family:
        "Gotham",
        -apple-system,
        BlinkMacSystemFont,
        Arial,
        sans-serif;
    background-color: #ffffff;
    color: #111111;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Početna Strana (Index) */
.home-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* HERO SEKCIJA */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    position: relative;
    padding: 60px 20px 40px 20px;
    box-sizing: border-box;
}

/* LOGO */
.logo {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin-bottom: 40px;
}

.main-title {
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.subtitle {
    font-size: 0.95rem;
    font-weight: 300;
    color: #555;
    letter-spacing: 1px;
}

/* FIKSIRANA STRELICA */
.scroll-arrow {
    font-size: 1.8rem;
    color: #ef4036;
    animation: bounce 2s infinite;
    cursor: pointer;
    text-decoration: none;
    z-index: 10;
    margin-top: auto;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Kategorije (Index) */
.categories-section {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px 20px 20px;
    display: block;
    clear: both;
}
.category-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #eaeaea;
    margin-bottom: 30px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.75);
    z-index: 1;
    transition: filter 0.3s ease;
}
.category-title {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    padding: 10px;
}
.category-card:hover img,
.category-card:active img {
    filter: brightness(0.5);
}

/* Navigacija fiksirana na vrhu ekrana (Zajednička) */
.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 560px;
    height: 60px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    z-index: 110;
    padding: 0 10px;
}

.nav-btn {
    font-size: 1.8rem;
    color: #111;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.5;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}
.nav-btn:hover,
.nav-btn:active {
    opacity: 1;
}
.view-title {
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

/* Mrežni Prikaz Sličica (Grid) */
.view-section {
    display: none;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 20px 20px 20px;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
}
.grid-item {
    aspect-ratio: 3 / 4;
    background: #f9f9f9;
    border: 1px solid #eee;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fullscreen Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 100;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 60px;
}

.lightbox-media {
    flex-grow: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.lightbox-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none;
}

/* Prozirne strelice */
.side-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: #111;
    opacity: 0.15;
    cursor: pointer;
    user-select: none;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 105;
}
.side-arrow:active {
    opacity: 0.6;
}
.arrow-left {
    left: 10px;
}
.arrow-right {
    right: 10px;
}

/* Potpisi - tačno 100px sa spakovanim razmacima */
.image-details {
    width: 100%;
    text-align: center;
    padding: 8px 20px;
    height: 100px;
    max-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    z-index: 102;
}
.detail-title-sr {
    font-size: 1.1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0px;
    line-height: 1.2;
}
.detail-title-en {
    font-size: 0.95rem;
    font-weight: 300;
    font-style: italic;
    color: #555;
    margin-bottom: 2px;
    line-height: 1.2;
}
.detail-dimensions {
    font-size: 0.85rem;
    font-weight: 300;
    color: #777;
    letter-spacing: 1px;
    margin-bottom: 2px;
    line-height: 1.2;
}
.detail-price {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
}
.sold-out {
    color: #ef4036;
    font-weight: 700;
    letter-spacing: 1px;
}

.prints-notice {
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 300;
    color: #111;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* ==========================================
   SPECIFIČNI STILOVI ZA STRANICU ABOUT (Biografija i izložbe)
   ========================================== */
.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 20px 20px 20px;
}

.profile-wrapper {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
}
.profile-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.bio-section {
    margin-bottom: 40px;
    text-align: left; 
}
.bio-section p {
    font-size: 0.95rem;
    font-weight: 300;
    color: #222;
    margin-bottom: 15px;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #111;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.exhibition-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}
.exhibition-item {
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
}
.exhib-year {
    width: 70px;
    min-width: 70px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #111;
}
.exhib-details {
    font-weight: 300;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: 10px; 
}
.exhib-line {
    line-height: 1.4;
}

.download-title {
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 400;
    color: #aaa;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* ==========================================
   ZAJEDNIČKI FOOTER I SOCIJALNE MREŽE
   ========================================== */
footer {
    width: 100%;
    max-width: 600px;
    text-align: center;
    padding: 20px 20px 20px 20px;
    margin-top: 20px;
    border-top: none;
}

.pdf-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}
.pdf-links a {
    text-decoration: none;
    color: #666;
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-weight: 400;
    transition: color 0.3s ease;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pdf-links a i {
    font-size: 0.95rem;
}
.pdf-links a:hover,
.pdf-links a:active {
    color: #ef4036;
}

.social-title {
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #ef4036;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 25px;
    align-items: center;
}
.social-icons a {
    text-decoration: none;
    color: #111111;
    font-size: 1.5rem;
    opacity: 0.5;
    transition:
        opacity 0.3s ease,
        color 0.3s ease;
    display: inline-block;
}

.social-icons a:hover,
.social-icons a:active {
    opacity: 1;
    color: #ef4036;
}
.copyright {
    font-size: 0.75rem;
    color: #aaa;
    letter-spacing: 1px;
    font-weight: 300;
}

/* Optimizacija za laptop ekrane */
@media (min-width: 768px) {
    .lightbox-media {
        padding: 20px 0;
    }
    .lightbox-media img {
        max-height: calc(100% - 40px);
    }
}
