/* Referanslarımız - Frontend Styles */

.ref-section-wrapper {
    width: 100%;
    padding: 80px 20px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.ref-section-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Background Decorative Element */
.ref-background-decorative {
    position: absolute;
    top: -10%;
    left: -5%;
    font-size: 300px;
    font-weight: 900;
    color: rgba(46, 125, 50, 0.05);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    font-family: 'Arial', sans-serif;
    letter-spacing: -10px;
}

.ref-background-decorative.ref-pattern {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(46, 125, 50, 0.03) 0px,
        rgba(46, 125, 50, 0.03) 20px,
        transparent 20px,
        transparent 40px
    );
    font-size: 0;
}

/* Content Wrapper */
.ref-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ref-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ref-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ref-main-title {
    font-size: 48px;
    font-weight: 700;
    color: #2e7d32;
    line-height: 1.2;
    margin: 0 0 60px 0;
}

/* Logos Carousel */
.ref-logos-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}

.ref-carousel-nav {
    background: #2e7d32;
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 3;
}

.ref-carousel-nav:hover {
    background: #1b5e20;
    transform: scale(1.1);
}

.ref-carousel-nav:active {
    transform: scale(0.95);
}

.ref-carousel-nav svg {
    width: 24px;
    height: 24px;
}

.ref-logos-track {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ref-logos-slide {
    display: flex;
    gap: 40px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.ref-logo-item {
    flex: 0 0 auto;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.ref-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.ref-logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.ref-logo-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    padding: 10px;
}

.ref-logo-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.ref-logo-item:hover .ref-logo-image img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.ref-logo-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ref-main-title {
        font-size: 40px;
    }
    
    .ref-logo-item {
        width: 180px;
    }
    
    .ref-logos-slide {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .ref-section-wrapper {
        padding: 60px 15px;
    }
    
    .ref-main-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .ref-background-decorative {
        font-size: 200px;
    }
    
    .ref-logos-carousel {
        gap: 15px;
    }
    
    .ref-carousel-nav {
        width: 45px;
        height: 45px;
    }
    
    .ref-logo-item {
        width: 160px;
        padding: 20px 15px;
    }
    
    .ref-logos-slide {
        gap: 20px;
    }
    
    .ref-logo-image {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .ref-section-wrapper {
        padding: 40px 10px;
    }
    
    .ref-main-title {
        font-size: 28px;
    }
    
    .ref-background-decorative {
        font-size: 150px;
    }
    
    .ref-carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .ref-carousel-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .ref-logo-item {
        width: 140px;
        padding: 15px 10px;
    }
    
    .ref-logo-image {
        height: 80px;
    }
    
    .ref-logo-name {
        font-size: 12px;
    }
}

