@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Ranchers&display=swap');
body{
    margin: 0;
    background-color: #000;
    color: #eee;
    font-family: 'Montserrat', cursive;
    font-weight: 400px;
    font-size: 12px;
}
a{
    text-decoration: none;
}
header{
    width: 1140px;
    max-width: 80%;
    margin: auto;
    height: 50px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}
header a{
    color: #eee;
    margin-right: 40px;
}
/* carousel */
.carousel{
    font-weight: 400px;
    height: 100vh;
    margin-top: -50px;
    width: 100vw;
    overflow: hidden;
    position: relative;
}
.carousel .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}
.carousel .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel .list .item .content{
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
}
.carousel .list .item .author{
    font-weight: bold;
    letter-spacing: 10px;
}
.carousel .list .item .title,
.carousel .list .item .topic{
    font-size: 5em;
    font-weight: bold;
    line-height: 1.3em;
}
.carousel .list .item .topic{
    color: #f1683a;
}
.carousel .list .item .buttons{
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}
.carousel .list .item .buttons button{
    border: none;
    background-color: #eee;
    letter-spacing: 3px;
    font-family: Poppins;
    font-weight: 500;
}
.carousel .list .item .buttons button:nth-child(2){
    background-color: transparent;
    border: 1px solid #fff;
    color: #eee;
}
/* thumbail */
.thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}
.thumbnail .item{
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.thumbnail .item .content{
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}
.thumbnail .item .content .title{
    font-weight: 500;
}
.thumbnail .item .content .description{
    font-weight: 300;
}
/* arrows */
.arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
.arrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee4;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
}
.arrows button:hover{
    background-color: #fff;
    color: #000;
}

/* animation */
.carousel .list .item:nth-child(1){
    z-index: 1;
}

/* DRUGA SEKCIJA     */


.about-section {
    width: 100%;
    padding: 80px 5%;
    background-color: #f0f0f0;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-sizing: border-box;
}

.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(./image/logo.png); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(10px);
    transform: scale(1.1); /* sprečava sečenje ivica */
    z-index: -1;
}



.about-text {
    width: 50%;
}

.about-text h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.about-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
}

.about-image {
    width: 50%;
    text-align: right;
}

.about-image img {
    width: 90%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}


/* --- RESPONZIVNO ZA TELEFONE --- */
@media (max-width: 900px) {
    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-text, 
    .about-image {
        width: 100%;
    }

    .about-image img {
        width: 75%;
        margin-top: 30px;
    }
}

@media (max-width: 500px) {
    .about-text h2 {
        font-size: 32px;
    }

    .about-text p {
        font-size: 16px;
    }

    .about-image img {
        width: 85%;
    }
}



/* ---- KRAJ DRUGE SEKCIJE ---- */


/* ---- POCETAK TRECE SEKCIJE ---- */

/* --- KAKO NASTAJE LAMPA SEKCIJA --- */

.process-section {
    width: 100%;
    padding: 80px 5%;
    background: linear-gradient(to bottom, #ffffff, #f3e9e9);
    color: #000000;
    text-align: center;
    box-sizing: border-box;
}

.process-section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 50px;

}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-card {
    background: #333333;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #4c4c4c;
    transition: 0.3s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.process-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #ffffff;
}

.process-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #b7b7b7;
}


/* --- RESPONSIVE ZA TABLETE --- */
@media (max-width: 1000px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- RESPONSIVE ZA TELEFONE --- */
@media (max-width: 600px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-section h2 {
        font-size: 32px;
    }

    .process-card {
        padding: 25px;
    }
}



/* ---- KRAJ TRECE SEKCIJE ---- */

/* ---- POCETAK CETVRTE PROMO SEKCIJE ---- */

.promo-section {
    width: 100%;
    padding: 80px 0;          /* više nema 5% pa ne širi sekciju */
    background: linear-gradient(to bottom, #ede0e0, #fbfbfb);
    text-align: center;
    color: #222;
}

.promo-section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 50px;
}

/* Ovo centrira unutrašnji sadržaj tako da je sve lepo poravnato */
.promo-cards {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;  
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.promo-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    text-decoration: none;
    color: #ffffff;
    height: 320px;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    transition: 0.3s ease;
    border: 1px solid #000000;
}

/* Mutni overlay */
.promo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    transition: .3s ease;
}

.promo-card:hover::before {
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(1px);
}

/* Slika */
.promo-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%) blur(2px);
    transition: .4s ease;
}

.promo-card:hover img {
    filter: brightness(80%) blur(0px);
}

/* Tekst */
.promo-text {
    position: relative;
    z-index: 2;
    text-align: left;
}

.promo-text h3 {
    font-size: 26px;
    margin-bottom: 8px;
    color: #ffffff;
}

.promo-text p {
    font-size: 16px;
    opacity: 0.9;
}

/* Hover efekat */
.promo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .promo-cards {
        grid-template-columns: 1fr;
    }

    .promo-card {
        height: 280px;
    }
}

@media (max-width: 600px) {
    .promo-section h2 {
        font-size: 32px;
    }

    .promo-card {
        height: 250px;
    }
}


/* ---- KRAJ CETVRTE PROMO SEKCIJE ---- */


/* ---- POCETAK PETE KONTAKT SEKCIJE ---- */


.contact-section {
    width: 100%;
    padding: 80px 5%;
    background: linear-gradient(to bottom, #efefef, #cccbcb);
    color: #000;
    text-align: center;
    box-sizing: border-box;
}



.contact-section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
} 


.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    background-color: #0d6efd;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.contact-form button:hover {
    background-color: #0b5ed7;
}

/* ---- KRAJ PETE KONTAKT SEKCIJE ---- */





/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}


/* full width sekcija sa tekstom levo i PNG-om desno */
.info-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 5%;
    box-sizing: border-box;

    background: linear-gradient(to right, #000000, #1a1a1a, #2a2a2a);
}

.info-text {
    width: 50%;
    color: #fff;
}

.info-text h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.info-text p {
    font-size: 18px;
    line-height: 1.6;
}

.info-image {
    width: 50%;
    text-align: right;
}

.info-image img {
    width: 90%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .info-section {
        flex-direction: column;
        text-align: center;
    }

    .info-text, 
    .info-image {
        width: 100%;
    }

    .info-image img {
        width: 70%;
        margin-top: 30px;
    }
}


/* ---- ZAŠTO RELIGHT SEKCIJA ---- */
.why-relight {
    width: 100%;
    padding: 80px 5%;
    background-color: #000;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
}

.why-relight h2 {
    font-size: 42px;
    margin-bottom: 50px;
    font-weight: 700;
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}


/* ---- NEON GLASS CARDS (umeren pulse) ---- */
.why-cards .card {
    background: rgba(20, 20, 20, 0.35);
    padding: 30px;
    border-radius: 18px;
    transition: 0.35s ease;
    border: 2px solid rgba(255, 200, 60, 0.35);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 0 10px rgba(255, 200, 60, 0.18),
        inset 0 0 10px rgba(255, 200, 60, 0.08);

    animation: neonPulseMedium 3s ease-in-out infinite;
}

/* Hover i dalje lep, ali ne prejak */
.why-cards .card:hover {
    transform: translateY(-10px);
    background: rgba(30, 30, 30, 0.45);

    box-shadow:
        0 0 18px rgba(255, 200, 60, 0.35),
        0 0 35px rgba(255, 200, 60, 0.25),
        inset 0 0 15px rgba(255, 200, 60, 0.12);

    border-color: rgba(255, 200, 60, 0.55);
}

/* ---- SOFT & SMOOTH PULSE ---- */
@keyframes neonPulseMedium {
    0% {
        box-shadow:
            0 0 10px rgba(255, 200, 60, 0.18),
            inset 0 0 10px rgba(255, 200, 60, 0.08);
        border-color: rgba(255, 200, 60, 0.35);
    }
    50% {
        box-shadow:
            0 0 16px rgba(255, 200, 60, 0.28),
            inset 0 0 14px rgba(255, 200, 60, 0.12);
        border-color: rgba(255, 200, 60, 0.50);
    }
    100% {
        box-shadow:
            0 0 10px rgba(255, 200, 60, 0.18),
            inset 0 0 10px rgba(255, 200, 60, 0.08);
        border-color: rgba(255, 200, 60, 0.35);
    }
}



.why-cards .card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.why-cards .card p {
    font-size: 16px;
    line-height: 1.6;
}



/* ---- RESPONSIVE ---- */
@media (max-width: 1000px) {
    .why-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .why-cards {
        grid-template-columns: 1fr;
    }

    .why-relight h2 {
        font-size: 32px;
    }

    .why-cards .card {
        padding: 25px;
    }
}










@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
.carousel .list .item:nth-child(1) .content .title{
    animation-delay: 1.2s!important;
}
.carousel .list .item:nth-child(1) .content .topic{
    animation-delay: 1.4s!important;
}
.carousel .list .item:nth-child(1) .content .des{
    animation-delay: 1.6s!important;
}
.carousel .list .item:nth-child(1) .content .buttons{
    animation-delay: 1.8s!important;
}
/* create animation when next click */
.carousel.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}
@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.carousel.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.prev .list .item img{
    z-index: 100;
}
@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}
.carousel.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}

/* running time */

.carousel .time{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 3px;
    background-color: #f1683a;
    left: 0;
    top: 0;
}

.carousel.next .time,
.carousel.prev .time{
    animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime{
    from{ width: 100%}
    to{width: 0}
}


/* prev click */

.carousel.prev .list .item:nth-child(2){
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.carousel.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
    pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
@media screen and (max-width: 678px) {
    .carousel .list .item .content{
        padding-right: 0;
    }
    .carousel .list .item .content .title{
        font-size: 30px;
    }
}








/* dark mode toggle button */


/* ===== Dark mode toggle button ===== */
#dark-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: background 0.3s, transform 0.2s;
}

#dark-toggle:hover {
    transform: scale(1.05);
}

/* ===== Dark mode styles ===== */

body.dark #dark-toggle {
    background: #222222;
    color: #fff;
}



body.dark {
    background-color: #111;
    color: #eee;
}

body.dark .about-section {
    background-color: #1a1a1a;
    color: #eee;
    backdrop-filter: none; /* optional: remove blur for readability */
}

body.dark .about-text h2,
body.dark .about-text p {
    color: #fff;
}

body.dark .promo-section {
    background: #222;
    color: #eee;
}

body.dark .promo-card::before {
    background: rgba(0,0,0,0.6);
}

body.dark .process-section {
    background: #1c1c1c;
    color: #ddd;
}

body.dark .process-card {
    background: #2a2a2a;
    border-color: #444;
    color: #ddd;
}

body.dark .contact-section {
    background: #222;
    color: #eee;
}

body.dark .contact-form input,
body.dark .contact-form textarea {
    background-color: #1a1a1a;
    color: #eee;
    border: 1px solid #555;
}

body.dark .contact-form button {
    background-color: #444;
    color: #fff;
}

body.dark .why-relight {
    background-color: #111;
    color: #eee;
}

body.dark .why-cards .card {
    background: rgba(40,40,40,0.35);
    border-color: rgba(255,200,60,0.2);
}
