/* Importing Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #010101;
    color: #eee;
}

/* Slider Container */
.slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Each Slide */
.slider .list .item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: .5s;
}

.slider .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Darker Gradient Overlay to Ensure Readability */
.slider .list .item::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 40%, rgba(0, 0, 0, 0.5) 70%, transparent);
}

/* Text Content */
.slider .list .item .content {
    position: absolute;
    left: 8%;
    bottom: 30%;  /* Moved Up */
    width: 80%;
    max-width: 700px;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.slider .list .item .content p:first-child {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 18px;
    font-weight: 600;
}

.slider .list .item .content h2 {
    font-size: 50px;
    margin: 5px 0;
    font-weight: 800;
    line-height: 1.2;
}

.slider .list .item .content p:last-child {
    font-size: 18px;
    line-height: 1.6;
}

/* Active Slide */
.slider .list .item.active {
    opacity: 1;
    z-index: 10;
}

/* Navigation Arrows */
.arrows {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 100;
}

.arrows button {
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    width: 50px;
    height: 50px;
    font-size: 24px;
    color: #fff;
    border-radius: 5px;
    transition: .3s;
}

.arrows button:hover {
    background-color: #eee;
    color: black;
}

/* Thumbnail Navigation */
.thumbnail {
    position: absolute;
    bottom: 20px;
    display: flex;
    gap: 10px;
    width: 100%;
    padding: 10px 20px;
    overflow-x: auto;
    justify-content: center;
    z-index: 11;
}

.thumbnail .item {
    width: 120px;
    height: 160px;
    flex-shrink: 0;
    filter: brightness(0.6);
    transition: .3s;
}

.thumbnail .item.active {
    filter: brightness(1);
}

.thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive Design */

/* Tablets & Small Laptops */
@media screen and (max-width: 1024px) {
    .slider .list .item .content {
        left: 5%;
        bottom: 35%; /* Adjusted higher */
        max-width: 85%;
    }

    .slider .list .item .content h2 {
        font-size: 40px;
    }

    .slider .list .item .content p:first-child {
        font-size: 16px;
    }

    .slider .list .item .content p:last-child {
        font-size: 14px;
    }

    .arrows {
        right: 10px;
        top: 45%;
    }

    .arrows button {
        width: 40px;
        height: 40px;
    }

    .thumbnail {
        bottom: 10px;
        padding: 5px;
    }

    .thumbnail .item {
        width: 100px;
        height: 140px;
    }
}

/* Mobile Screens */
@media screen and (max-width: 600px) {
    .slider .list .item .content {
        left: 5%;
        bottom: 40%; /* Adjusted Higher */
        max-width: 90%;
        text-align: center;
    }

    .slider .list .item .content h2 {
        font-size: 30px;
    }

    .slider .list .item .content p:first-child {
        font-size: 14px;
    }

    .slider .list .item .content p:last-child {
        font-size: 12px;
    }

    .arrows {
        right: 5px;
        top: 40%;
    }

    .arrows button {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .thumbnail {
        bottom: 5px;
        padding: 5px;
    }

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

.portfolio-filters {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.filter-button {
    padding: 12px 24px;
    margin: 0 10px;
    border: 2px solid #007bff;
    background: transparent;
    color: #007bff;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 25px;
}

.filter-button:hover,
.filter-button.active {
    background: #007bff;
    color: white;
}

