@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body {
    margin: 0;
    background-color: #000;
    /* Black background */
    color: #f5f5f5;
    /* Light text */
    font-family: Poppins;
    font-size: 12px;
}

a {
    text-decoration: none;
}
header {
    width: 2240px;
    max-width: 100%;
    margin: auto;
    height: 45px; /* Reduced height */
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
    background-color: #db9e106b;
}

header a {
    color: #000000;
    font-weight: 600;
    margin-right: 10px;
    padding: 5px 10px; /* Reduce padding para dili dako */
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 15px;
}
header a:hover {
    color: #db9a19;
    background: linear-gradient(45deg, #000000, #333333);
    border-radius: 0; /* Square edges */
    transform: translateY(-3px);
}

header a.active {
    color: #ffffff;
    background: linear-gradient(45deg, #000000, #333333);
    border-radius: 0; /* Square edges */
}

a.active,
header a:hover {
    background: #d4af37; /* Gold background on hover/active */
    color: #000;          /* Black text on hover/active */
    border-radius: 2px;
}


/**************************************************** slider section *****************************************************/

.slider {
    height: 100vh;
    margin-top: -50px;
    width: 100vw;
    overflow: hidden;
    position: relative;
}

.slider .list .item {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}

.slider .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fit in screen without zoom */
    object-position: center;
    background-color: #000;
}

.slider .list .item .content {
    position: absolute;
    top: 15%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #f5f5f5;
    /* Light text */
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
}

.slider .list .item .content .title {
    color: #d4af37;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    font-family: 'Cinzel', serif;
    font-weight: 800;
    /* BOLD */
    letter-spacing: 3px;
    font-size: 6.5em;
}

.slider .list .item .content .type {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(18, 18, 18, 0.4);
    font-family: serif;
    font-size: 3.5em;
}

.slider .list .item .type {
    color: #d4af37;
    /* Gold accent */
}

.slider .list .item .button {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}

.slider .list .item .button button {
    border: none;
    background-color: #d4af37;
    /* Gold button */
    color: #000;
    font-family: Poppins;
    font-weight: 600;
    cursor: pointer;
    transition: 0.4s;
    letter-spacing: 2px;
}

.slider .list .item .button button:hover {
    background-color: #f5d76e;
    /* Lighter gold hover */
    letter-spacing: 3px;
}

.slider .list .item .button button:nth-child(2) {
    background-color: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
}


/******************************************************* Thumbnail Section ***********************************************/

.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;
    border: 2px solid transparent; /* default border */
    transition: border 0.3s;
}

.thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35);
    /* Gold glow */
}

.thumbnail .item.active {
    border: 2px solid gold; /* highlight color */
    transform: scale(1.05); /* optional: slightly enlarge active thumb */
}


/*********************************************************** nextPrevArrows Section ************************************/

.nextPrevArrows {
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.nextPrevArrows button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #d4af37;
    border: none;
    color: #000;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
    cursor: pointer;
}

.nextPrevArrows button:hover {
    background-color: #f5d76e;
    color: #000;
}


/*************************************** Animation Part */

.slider .list .item:nth-child(1) {
    z-index: 1;
}


/************************* animation text in first item */

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


/********************* Animate buttons like title & type */

.slider .list .item:nth-child(1) .content .button {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1.2s linear 1 forwards;
}

@keyframes showContent {
    to {
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}

.slider .list .item:nth-child(1) .content .title {
    animation-delay: 0.4s !important;
}

.slider .list .item:nth-child(1) .content .type {
    animation-delay: 0.6s !important;
}

.slider .list .item:nth-child(1) .content .description {
    animation-delay: 0.8s !important;
}

.slider .list .item:nth-child(1) .content .buttons {
    animation-delay: 1s !important;
}


/****************** Animation for next button click */

.slider.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;
    }
}

.slider.next .thumbnail .item:nth-last-child(1) {
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}

.slider.prev .list .item img {
    z-index: 100;
}

@keyframes showThumbnail {
    from {
        width: 0;
        opacity: 0;
    }
}

.slider.next .thumbnail {
    animation: effectNext .5s linear 1 forwards;
}

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


/************ Animation for prev button click */

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

.slider.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;
    }
}

.slider.prev .thumbnail .item:nth-child(1) {
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}

.slider.next .nextPrevArrows button,
.slider.prev .nextPrevArrows button {
    pointer-events: none;
}

.slider.prev .list .item:nth-child(2) .content .title,
.slider.prev .list .item:nth-child(2) .content .type,
.slider.prev .list .item:nth-child(2) .content .description,
.slider.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;
    }
}



/*************************************** responsive****************************************************/


@media screen and (max-width: 678px) {
    .slider .list .item .content {
        padding-right: 0;
    }
    .slider .list .item .content .title {
        font-size: 50px;
    }
}

@media screen and (max-width: 678px) {

    header {
        max-width: 95%;
        height: auto;
        flex-wrap: wrap;
    }

    header a {
        font-size: 12px;
        padding: 4px 6px;
    }

    .slider {
        height: 100vh;
    }

    .slider .list .item img {
        object-position: center;
    }

    .slider .list .item .content {
        top: 20%;
        width: 90%;
        padding-right: 0;
        text-align: center;
    }

    .slider .list .item .content .title {
        font-size: 2.8em;
        letter-spacing: 2px;
    }

    .slider .list .item .content .type {
        font-size: 1.6em;
    }

    .slider .list .item .button {
        grid-template-columns: 1fr;
        justify-content: center;
    }

    .thumbnail {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        gap: 10px;
    }

    .thumbnail .item {
        width: 90px;
        height: 130px;
    }

    .nextPrevArrows {
        top: auto;
        bottom: 170px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        justify-content: center;
    }
}


/* LOGO OVERLAY - SIMPLE, ALWAYS VISIBLE */
.logo-overlay {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 1000;

    display: flex;
    gap: 12px;
    align-items: center;
}

/* LOGOS - FIXED SIZE, NO EFFECTS */
.logo-overlay img {
    width: 85px;        /* fixed width */
    height: 100px;       /* fixed height */
    object-fit: contain; /* keep proportions */
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .logo-overlay {
        top: 10px;
        right: 10px;
        gap: 8px;
    }

    .logo-overlay img {
        width: 40px;
        height: 40px;
    }
}


