/*
 * REFERANSLAR STİLLERİ (page-referanslar.css)
 * Sadece referanslar.php için geçerli kodlar.
*/

.hero-section {
    margin-top: 80px;
    padding: 6rem 2rem 4rem;
    text-align: center;
    background: #FBFAF8;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(29, 32, 31, 0.6);
    max-width: 700px;
    margin: 0 auto;
}

.references-section {
    padding: 4rem 2rem 8rem;
    background-color: #FBFAF8;
}

.references-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.card-container {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(29, 32, 31, 0.08);
    transition: box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.card-container:hover {
    box-shadow: 0 4px 20px rgba(29, 32, 31, 0.12);
}

.card-background-emblem {
    position: absolute;
    width: 75px;
    height: 75px;
    right: 10px;
    bottom: 10px;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.card-background-emblem svg {
    width: 100%;
    height: 100%;
}

.card-logo-wrapper,
.card-company-title,
.card-services-section,
.card-description-section,
.card-partner-section {
    position: relative;
    z-index: 1;
}

.card-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-logo-box {
    width: 75px;
    height: 75px;
    background: #1D201F;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FBFAF8;
    font-weight: 600;
    font-size: 1.1rem;
}

.card-company-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.card-services-section {
    margin-bottom: 1rem;
    min-height: 90px;
}

.services-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(29, 32, 31, 0.5);
    margin-bottom: 0.5rem;
}

.services-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-tag-item {
    background: rgba(29, 32, 31, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #1D201F;
}

.card-description-section {
    margin-bottom: 1rem;
    flex-grow: 1;
    min-height: 120px;
}

.description-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(29, 32, 31, 0.5);
    margin-bottom: 0.5rem;
}

.description-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(29, 32, 31, 0.7);
}

.card-partner-section {
    padding-top: 1rem;
    min-height: 45px;
    position: relative;
}

.card-partner-section.has-partner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 1px;
    background: rgba(29, 32, 31, 0.1);
}

.partner-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(29, 32, 31, 0.4);
    margin-bottom: 0.3rem;
}

.partner-name {
    display: block;
    font-size: 0.85rem;
    color: #1D201F;
    font-weight: 500;
}

@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}