/* PROJELERİMİZ SECTION */
.projelerimiz-section {
    padding: 80px 0;
    background: #fff;
}

.projeler-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Tabs */
.p-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.p-tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #f8fafc;
    border: none;
    border-radius: 15px;
    color: #334155;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.p-tab-btn i {
    font-size: 16px;
}

.p-tab-btn.active {
    background: #024e6e;
    color: #fff;
    box-shadow: 0 10px 20px rgba(226, 65, 62, 0.2);
}

.p-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #024e6e transparent transparent transparent;
}

/* Projects Carousel */
.projects-carousels-wrapper {
    position: relative;
    width: 100%;
}

.project-card {
    position: relative;
    aspect-ratio: 1/1.2;
    border-radius: 20px;
    overflow: hidden;
    background: #f1f5f9;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block; /* Override default hidden */
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    z-index: 1;
}

.project-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    z-index: 2;
    line-height: 1.3;
}

/* Owl Carousel Customizations */
.projects-carousel .owl-stage-outer {
    padding: 20px 0;
    margin: -20px 0;
}

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

.projects-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.projects-carousel .owl-dot span {
    width: 12px !important;
    height: 12px !important;
    background: #cbd5e1 !important;
    border-radius: 50% !important;
    margin: 5px 8px !important;
    transition: all 0.3s ease !important;
}

.projects-carousel .owl-dot.active span {
    background: #024e6e !important;
    transform: scale(1.3);
    border-radius: 10px !important;
}

/* Animations - Optional, mostly handled by Owl Carousel */
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.active-carousel {
    animation: fadeInScale 0.4s forwards;
}

/* Responsive */
@media (max-width: 992px) {
    .p-tabs-nav { flex-direction: column; align-items: stretch; gap: 10px; }
}

@media (max-width: 768px) {
    .p-tabs-nav { margin-bottom: 30px; }
    .p-tab-btn { padding: 12px 20px; font-size: 13px; }
}
