/* References Ultra Modern CSS - Kırmızı & Siyah Tema */

/* HERO */
.references-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    padding: 7rem 0 4rem;
    position: relative;
}
.hero-icon-large {
    width: 120px; height: 120px;
    background: rgba(220, 0, 0, 0.15);
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}
.hero-icon-large i { font-size: 4rem; color: var(--primary-color); }
.references-hero h1 { color: var(--white); font-size: 3.5rem; font-weight: 800; margin-bottom: 1.25rem; }
.references-hero .lead { color: rgba(255, 255, 255, 0.85); font-size: 1.25rem; margin-bottom: 2rem; line-height: 1.7; }
.hero-breadcrumb .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: inline-flex;
}
.hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before { content: "›"; color: rgba(255, 255, 255, 0.5); }
.hero-breadcrumb .breadcrumb-item a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: var(--transition-fast); }
.hero-breadcrumb .breadcrumb-item a:hover { color: var(--white); }
.hero-breadcrumb .breadcrumb-item.active { color: var(--white); }

/* SECTION */
.references-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* INTRO CARD */
.intro-card {
    background: linear-gradient(135deg, rgba(220, 0, 0, 0.05) 0%, rgba(220, 0, 0, 0.02) 100%);
    border: 2px solid rgba(220, 0, 0, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    display: flex;
    gap: 2rem;
    align-items: start;
}
.intro-icon {
    width: 70px; height: 70px;
    background: var(--gradient-red);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(220, 0, 0, 0.3);
}
.intro-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}
.intro-content p { color: var(--text-color); line-height: 1.8; margin: 0; }

/* STATS BAR */
.stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 600;
}
.stat-divider {
    width: 2px;
    height: 60px;
    background: var(--border-color);
}

/* REFERENCES GRID */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* REFERENCE CARD */
.modern-reference-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.modern-reference-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* SHINE EFFECT */
.reference-card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.modern-reference-card:hover .reference-card-shine {
    transform: translateX(100%);
}

/* LOGO CONTAINER */
.reference-logo-container {
    width: 140px;
    height: 140px;
    background: var(--light-bg);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    transition: var(--transition);
    border: 3px solid var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.modern-reference-card:hover .reference-logo-container {
    background: var(--white);
    transform: scale(1.1);
}
.reference-logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-placeholder i {
    font-size: 3rem;
    color: var(--text-light);
}

/* CARD CONTENT */
.reference-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}
.reference-company-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.4;
}
.modern-reference-card:hover .reference-company-name {
    color: var(--primary-color);
}

/* WEBSITE BUTTON */
.reference-website-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.75rem;
    background: var(--gradient-red);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.938rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(220, 0, 0, 0.3);
}
.reference-website-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(220, 0, 0, 0.4);
}
.reference-website-btn i:last-child {
    font-size: 0.813rem;
}

/* SIDEBAR */
.modern-sidebar { position: sticky; top: 100px; }

/* SIDEBAR STATS */
.sidebar-stats-card {
    background: var(--gradient-red);
    color: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(220, 0, 0, 0.4);
}
.stats-icon {
    width: 70px; height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.stats-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.stats-label {
    font-size: 1.125rem;
    font-weight: 600;
    opacity: 0.9;
}

/* SIDEBAR INFO BOX */
.sidebar-info-box {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    border: 2px solid rgba(220, 0, 0, 0.1);
}
.info-box-icon {
    width: 60px; height: 60px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(220, 0, 0, 0.3);
}
.sidebar-info-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}
.sidebar-info-box p {
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
}

/* SIDEBAR CTA */
.sidebar-cta-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}
.sidebar-cta-card .cta-icon {
    width: 70px; height: 70px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}
.sidebar-cta-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}
.sidebar-cta-card p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.sidebar-cta-card .btn-light {
    background: var(--gradient-red);
    color: var(--white);
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}
.sidebar-cta-card .btn-light:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* BACK TO TOP */
.modern-back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 55px; height: 55px;
    background: var(--gradient-red);
    color: var(--white);
    border: 3px solid var(--white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(220, 0, 0, 0.4);
}
.modern-back-to-top.active { display: flex; }
.modern-back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px) scale(1.1);
}

/* EMPTY STATE */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
}
.empty-state-icon {
    width: 120px; height: 120px;
    background: var(--light-bg);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}
.empty-state-icon i { font-size: 4rem; color: var(--text-light); }
.empty-state h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}
.empty-state p {
    color: var(--text-color);
    font-size: 1.125rem;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .references-hero { padding: 5rem 0 3rem; }
    .references-hero h1 { font-size: 2.75rem; }
    .references-section { padding: 4rem 0; }
    .modern-sidebar { position: static; margin-top: 3rem; }
    .references-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
@media (max-width: 767.98px) {
    .references-hero { padding: 4rem 0 2.5rem; }
    .references-hero h1 { font-size: 2.25rem; }
    .references-section { padding: 3rem 0; }
    .intro-card { flex-direction: column; padding: 2rem 1.5rem; }
    .stats-bar { flex-direction: column; gap: 2rem; padding: 2rem 1.5rem; }
    .stat-divider { width: 60px; height: 2px; }
    .references-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .modern-reference-card { padding: 2rem 1.5rem; }
    .reference-logo-container { width: 120px; height: 120px; }
}
