/* Projects Section Styles */
.projects {
    position: relative;
    overflow: hidden;
    
}

.projects-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 80px;
}

.projects-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.projects-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.project-slide {
    min-width: 100%;
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.project-slide.active {
    display: flex;
}

.project-content {
    flex: 1;
    max-width: 50%;
}

.project-content h3 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: inherit;
    line-height: 1.2;
}

.project-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: inherit;
    margin-bottom: 30px;
}

.project-image-large {
    flex: 1;
    max-width: 45%;
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

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

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: white;
    font-size: 1.5rem;
}

.nav-arrow:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.nav-arrow.prev {
    left: -80px;
}

.nav-arrow.next {
    right: -80px;
}

/* Slide Indicators */
.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(44, 62, 80, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #4A90E2;
    transform: scale(1.2);
}

.indicator:hover {
    background: #4A90E2;
    transform: scale(1.1);
}

/* Slide Color Variants */
.project-slide:nth-child(1) { 
    background: linear-gradient(135deg, #7a7d83 0%, #5a5f66 100%); 
}

.project-slide:nth-child(2) { 
    background: linear-gradient(135deg, #142464 0%, #0f1b4a 100%); 
}

.project-slide:nth-child(3) { 
    background: linear-gradient(135deg, #f7ece6 0%, #e8ddd0 100%); 
}

.project-slide:nth-child(4) { 
    background: linear-gradient(135deg, #142464 0%, #0f1b4a 100%); 
}

.project-slide:nth-child(5) { 
    background: linear-gradient(135deg, #eda20a 0%, #c88906 100%); 
}

.project-slide:nth-child(6) { 
    background: linear-gradient(135deg, #b3c1d0 0%, #9bb0c2 100%); 
}

.project-slide:nth-child(7) { 
    background: linear-gradient(135deg, #996f60 0%, #7d5a4d 100%); 
}

.project-slide:nth-child(8) { 
    background: linear-gradient(135deg, #b3c1d0 0%, #9bb0c2 100%); 
}

.project-slide:nth-child(9) { 
    background: linear-gradient(135deg, #f7ece6 0%, #e8ddd0 100%); 
}

/* Text color adjustments for light backgrounds */
.project-slide:nth-child(3),
.project-slide:nth-child(6),
.project-slide:nth-child(8),
.project-slide:nth-child(9) {
    color: #1a1a1a;
    text-shadow: none;
}