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

/* HERO */
.projects-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); }
.projects-hero h1 { color: var(--white); font-size: 3.5rem; font-weight: 800; margin-bottom: 1.25rem; }
.projects-hero .lead { color: rgba(255, 255, 255, 0.85); font-size: 1.25rem; margin-bottom: 2rem; }
.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; }
.hero-breadcrumb .breadcrumb-item.active { color: var(--white); }

/* SECTION */
.projects-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; }

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

/* PROJECT CARD */
.modern-project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.modern-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* IMAGE */
.project-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}
.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.modern-project-card:hover .project-card-image img { transform: scale(1.15); }

/* OVERLAY */
.project-card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(220, 0, 0, 0.95) 0%, rgba(160, 0, 0, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.modern-project-card:hover .project-card-overlay { opacity: 1; }

/* VIEW BUTTON */
.project-view-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}
.project-view-btn i {
    width: 70px; height: 70px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}
.project-view-btn:hover i { transform: scale(1.2) rotate(360deg); }

/* BADGE */
.project-badge {
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    font-size: 0.813rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* CONTENT */
.project-card-content { padding: 2rem; }
.project-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}
.project-card-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}
.project-card-title a:hover { color: var(--primary-color); }

/* META LIST */
.project-meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}
.project-meta-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-bg);
    color: var(--text-color);
    font-size: 0.938rem;
}
.project-meta-list li:last-child { border-bottom: none; }
.project-meta-list li i { color: var(--primary-color); width: 20px; }

/* DETAIL BUTTON */
.project-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    background: var(--gradient-red);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(220, 0, 0, 0.3);
}
.project-detail-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: var(--white);
}

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

/* STATS CARD */
.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;
}

/* CTA CARD */
.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); }

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .projects-hero { padding: 5rem 0 3rem; }
    .projects-hero h1 { font-size: 2.75rem; }
    .projects-section { padding: 4rem 0; }
    .modern-sidebar { position: static; margin-top: 3rem; }
    .projects-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}
@media (max-width: 767.98px) {
    .projects-hero { padding: 4rem 0 2.5rem; }
    .projects-hero h1 { font-size: 2.25rem; }
    .projects-section { padding: 3rem 0; }
    .intro-card { flex-direction: column; padding: 2rem 1.5rem; }
    .projects-grid { grid-template-columns: 1fr; }
}
