/* ===================================
   Portfolio Carousel Styles
====================================== */

.portfolio {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.project-sec {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.project-area {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.project-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-detail {
    position: relative;
    z-index: 2;
    padding: 100px 0;
}

.project-detail .animate-fade {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px 40px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-detail .animate-fade:hover {
    background: rgba(0, 0, 0, 0.65);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-heading {
    font-size: 2.5rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.project-text {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.animate-fade {
    animation: fadeInUp 0.8s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Arrows */
.project-links {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    pointer-events: none;
}

.project-links > * {
    pointer-events: auto;
}

.customPrevBtn,
.customNextBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 188, 212, 0.9);
    border: 2px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.customPrevBtn:hover,
.customNextBtn:hover {
    background: #ffffff;
    border-color: #00bcd4;
    color: #00bcd4;
    transform: scale(1.15);
}

.customPrevBtn {
    order: 1;
}

.customNextBtn {
    order: 3;
}

/* Owl Carousel overrides */
.projects.owl-carousel .owl-stage-outer {
    overflow: hidden;
}

.projects.owl-carousel .owl-nav {
    display: none;
}

.projects.owl-carousel .owl-dots {
    position: relative;
    display: flex;
    gap: 10px;
    order: 2;
    z-index: 10;
}

.projects.owl-carousel .owl-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.projects.owl-carousel .owl-dot:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.projects.owl-carousel .owl-dot.active {
    background: #00bcd4;
    width: 40px;
    border-radius: 7px;
    border-color: #00bcd4;
}

/* Mobile Styles */
@media screen and (max-width: 767px) {
    .project-heading {
        font-size: 2rem;
    }

    .project-text {
        font-size: 14px;
    }

    .project-detail {
        padding: 60px 0;
    }

    .project-detail .animate-fade {
        padding: 20px 25px;
        border-radius: 15px;
    }

    .project-links {
        bottom: 60px;
        gap: 15px;
    }

    .customPrevBtn,
    .customNextBtn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .projects.owl-carousel .owl-dot {
        width: 10px;
        height: 10px;
    }

    .projects.owl-carousel .owl-dot.active {
        width: 25px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .project-heading {
        font-size: 2.2rem;
    }
}
