@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Cormorant Garamond", Georgia, serif;
    background-color: #0e0d0b;
    color: #f2ede3;
}



::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #0e0d0b;
}

::-webkit-scrollbar-thumb {
  background: #c9a84c;
}
/*******************/

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid #2a2520;
    padding-top: 14px;
    padding-right: 40px;
    padding-bottom: 14px;
    padding-left: 40px;
}

.nav:hover {
    border-bottom-color: rgba(201, 168, 76, 0.25);
}

.navlogo img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
}

.nav-linkovi {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #f2ede3;
    font-family: "Cinzel", serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    padding-top: 6px;
    padding-right: 12px;
    padding-bottom: 6px;
    padding-left: 12px;
    transition: color 0.2s;
}

.nav a:hover {
    color: #c9a84c;
}



/*********/

.naslov {
    position: relative;
    border-bottom: 1px solid #2a2520;
    text-align: right;
    padding-top: 60px;
    padding-right: 80px;
    padding-bottom: 40px;
    padding-left: 80px;
    overflow: hidden;
    margin-bottom: 60px;
}

.naslov-bg {
    position: absolute;
    inset: 0;
    background-image: url('slike/bg.webp');
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.naslov-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(rgba(0, 0, 0, 0.6) 0%, rgba(72, 70, 70, 0.365) 45%, rgba(0, 0, 0, 0.582));
}
.naslov h1 {
    position: relative;
    z-index: 2;
    letter-spacing: 10px;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: 80px;
    color: #f2ede3;
    line-height: 1;
}

/********************/

.paneli {
    display: flex;
    flex-direction: column;
    gap: 3px;
   padding: 3px;
}

.red {
    display: flex;
    flex-direction: row-reverse;
    gap: 3px;
}

.redtop {
    height: 420px;
}

.redmid {
    height: 260px;
}

.reddolje {
    height: 200px;
}

.col {
    width: 50%;
    display: flex;
    gap: 3px;
    flex-direction: column;
}

.col .panel {
    width: 100%;
    height: 50%;
}

/***************/
.panel {
    position: relative;
    width: 50%;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    background: #111009;
}

.bg {
    inset: 0;
    position: absolute;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    transition: opacity 0.5s ease, transform 0.6s ease;
}

.panel:hover .bg {
    opacity: 0.65;
    transform: scale(1.2);
}

.drcl .bg {
    background-image: url('slike/drcl1.png');
}

.rouge .bg {
    background-image: url('slike/innocentrouge.png');
}

.innocent .bg {
    background-image: url('slike/19.png');
}

.climber .bg {
    background-image: url('slike/climber.png');
}

.masuraou .bg {
    background-image: url('slike/masuraou2.jpg');
}

.niragi .bg {
    background-image: url('slike/naragi.jpg');
}

.mortal .bg {
    background-image: url('slike/mortalcommando.jpg');
}

.bloody .bg {
    background-image: url('slike/bloodysoldier2.jpg');
}

.info {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 24px;
    padding-right: 28px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

.info h2 {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 3px;
    color: #f2ede3;
    margin-bottom: 6.5px;
    transition: color 0.2s;
}
.panel:hover .info h2 {
    color: #c9a84c;
}

.drcl .info h2 {
    font-size: 24px;
}

.info p {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 3px;
    color: #c9a84c;
    opacity: 0.5;
    margin-bottom: 5px;
}
.panel::before,
.panel::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    z-index: 2;
    pointer-events: none;
}

.panel::before {
    top: 0;
    left: 0;
    border-top: 1px solid #c9a84c;
    border-left: 1px solid #c9a84c;
}


.panel::after {
    bottom: 0;
    right: 0;
    border-bottom: 1px solid #c9a84c;
    border-right: 1px solid #c9a84c;
}


.panel:hover::before {
    animation: borderanim 0.45s steps(100, end) forwards;
}
.panel:hover::after {
    animation: borderanim 0.45s steps(100, end) forwards;
}
@keyframes borderanim {
    to { width: 100%; height: 100%; }
}

/*********************/



.footerban {
    text-align: center;
    padding: 28px;
    background: #1a1814;
    color: rgba(242, 237, 227, 0.874);
    font-size: 13px;
    letter-spacing: 2px;
    border-top: 1px solid #3d3830;
}

/*************/
@media (max-width: 900px) {
    .naslov {
        padding-top: 40px;
        padding-right: 30px;
    }

    .naslov h1 {
        font-size: 52px;
    }

    .redtop {
        height: 360px;
    }

    .redmid{
        height: 240px;
    }

    .reddolje {
        height: 180px;
    }
}




@media (max-width: 600px) {
    .naslov h1 {
        font-size: 38px;
    }

    .red {
        flex-direction: column;
        height: auto;
    }

    .panel {
        width: 100%;
        height: 200px;
    }
    .col {
        width: 100%;
    }
    .col .panel {
        height: 180px;
    }
}