/* References Page Styles */
.references-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/etkinlikler/Pi Teknik Sunum.pdf-image-057.png');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
}

.references-hero-content {
    text-align: center;
    color: #fff;
    z-index: 2;
}

.references-heading {
    font-family: 'Raleway', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #ffffff 0%, #0097d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 151, 212, 0.3);
    line-height: 1.2;
    padding: 10px 30px;
    display: inline-block;
}

.references-hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: #ccc;
}

.references-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.references-divider {
    height: 3px;
    width: 180px;
    background: #0097d4;
    margin: 0 auto 50px;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 151, 212, 0.5);
}

.references-divider:after {
    content: '';
    position: absolute;
    height: 3px;
    width: 50px;
    background: #333;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.reference-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.reference-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.reference-logo {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    width: 100%;
}

.reference-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.reference-card:hover .reference-logo {
    background-color: #f8f9fa;
}

.reference-card:hover .reference-logo img {
    transform: scale(1.1);
}

/* Categories Filter */
.references-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-button {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-button:hover,
.filter-button.active {
    background: var(--eastern-blue);
    color: #ffffff;
    border-color: var(--eastern-blue);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--background-gray);
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/etkinlikler/Pi Teknik Sunum.pdf-image-074.png') no-repeat center;
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.testimonials-container {
    position: relative;
    z-index: 1;
}

.testimonials-divider {
    height: 3px;
    width: 180px;
    background: #0097d4;
    margin: 0 auto 50px;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 151, 212, 0.5);
}

.testimonials-divider:after {
    content: '';
    position: absolute;
    height: 3px;
    width: 50px;
    background: #333;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 151, 212, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    position: relative;
    padding: 20px 0;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 3px solid rgba(0, 151, 212, 0.3);
    box-shadow: 0 0 15px rgba(0, 151, 212, 0.2);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-position {
    color: #cccccc;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .references-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .references-hero {
        height: 40vh;
    }
    
    .references-heading {
        font-size: 3.5rem;
    }
    
    .references-hero-content p {
        font-size: 1rem;
    }
    
    .testimonial-card {
        padding: 30px;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .references-heading {
        font-size: 2.5rem;
    }
    
    .references-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-button {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

/* Hidden References and Load More Button */
.hidden-reference {
    display: none;
}

.visible-reference {
    display: block;
}

.reference-card-visible {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.load-more-container {
    text-align: center;
    margin-top: 50px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background-color: #0097d4;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 151, 212, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.load-more-btn:hover {
    background-color: #0078a8;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 151, 212, 0.4);
}

.load-more-btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.load-more-btn:hover i {
    transform: translateY(3px);
} 