/* ===== PORTFOLIO PAGE TITLE ===== */
/* Yellow background for portfolio title */
.page-title {
    text-align: center;
    padding: 0.1rem 2rem 0.1rem;
    background: yellow; /* Changed to yellow */
    color: #333; /* Dark text for better contrast on yellow */
    margin-bottom: 0;
    width: 100%;
}

.page-title h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 auto;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Lighter shadow for dark text */
    max-width: 1200px;
    color: #2d3748; /* Dark color for better readability on yellow */
}

/* ===== PORTFOLIO CAROUSEL STYLES ===== */
.portfolio-carousel {
    max-width: 900px;
    margin: 50px auto;
    text-align: center;
    min-height: 60vh;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    min-height: 400px;
}

.carousel-container img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 2rem;
    padding: 10px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#prev-btn { left: 10px; }
#next-btn { right: 10px; }

.carousel-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.carousel-thumbnails img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-thumbnails img:hover {
    opacity: 0.9;
}

.carousel-thumbnails img.active {
    border: 2px solid #4299e1;
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive design */
@media (max-width: 768px) {
    .page-title {
        padding: 3rem 1rem 1.5rem;
    }

    .page-title h1 {
        font-size: 2.5rem;
    }

    .portfolio-carousel {
        margin: 30px auto;
        max-width: 95%;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .carousel-thumbnails img {
        width: 80px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .page-title h1 {
        font-size: 2rem;
    }
}
