/* BP Ajans - Referanslar Sayfası CSS */

/* ===== MINIMALIST HEADER & MOBILE NAV ===== */
.minimalist-header {
    background: #fff;
    box-shadow: 0 2px 16px 0 rgba(60,60,90,0.04);
    padding: 0;
    position: relative;
    z-index: 30;
}
.header-flex {
    display: flex;
    align-items: center;
    min-height: 60px;
}
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 2.1rem;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 12px 0 12px 10px;
    z-index: 35;
}
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    box-shadow: 0 8px 32px 0 rgba(60,60,90,0.16);
    z-index: 40;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeInNav 0.2s;
}
.mobile-nav.active {
    display: flex;
}
.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}
.mobile-nav ul li a {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.mobile-nav ul li a.active,
.mobile-nav ul li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
@keyframes fadeInNav {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: none; }
}

/* Modern Header & Hero (Referanslar için) */
.modern-header {
    background: #fff;
    box-shadow: 0 2px 16px 0 rgba(60,60,90,0.04);
    padding: 0;
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}
.logo-area img {
    height: 44px;
    display: block;
}

/* Modern Hero */
.modern-hero {
    background: linear-gradient(120deg, #f8fafd 60%, #fff8f2 100%);
    padding: 80px 0 48px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-content-modern {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}
.hero-icon-bg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd700 40%, #ffb347 100%);
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 2.1rem;
    margin-bottom: 18px;
    box-shadow: 0 4px 18px 0 rgba(255, 183, 0, 0.10);
}
.hero-underline {
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #ffb347 0%, #ffd700 100%);
    border-radius: 5px;
    margin: 18px auto 22px auto;
}

.page-hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #fafbfc 0%, #f8fafc 50%, #ffffff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.03), rgba(255, 143, 101, 0.05));
    z-index: 0;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.02), rgba(255, 143, 101, 0.03));
    z-index: 0;
}

.hero-content-center {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--dark-color);
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-subtitle strong {
    color: var(--dark-color);
    font-weight: 600;
}

.hero-stats-mini {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.stat-mini {
    text-align: center;
}

.stat-mini .stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-mini .stat-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== REFERANSLAR BÖLÜMÜ ===== */
.references-section {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Filtre Butonları */
.references-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 60px;
}

.filter-btn {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Referans Grid */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Modern Mockup Kart Tasarımı - Örneğe Birebir Yakın */
.mockup-style {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 32px 0 rgba(60,60,90,0.10);
    padding: 0;
    margin-bottom: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: visible;
    border: 1.5px solid #e3e7ee;
}
.mockup-image-frame {
    width: 100%;
    aspect-ratio: 16/9;
    background: #fff;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #e3e7ee;
    overflow: hidden;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mockup-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    display: block;
}
.mockup-btn-area {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    left: 0;
    right: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    z-index: 2;
}
.mockup-style .view-project-btn {
    background: #fff;
    color: var(--secondary-color);
    border: 1.5px solid #bfcbe1;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 44px;
    box-shadow: 0 4px 30px 0 rgba(60,60,90,0.10);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.18s;
    cursor: pointer;
    margin: 0 auto;
}
.mockup-style .view-project-btn i {
    font-size: 1.3em;
}
.mockup-style .view-project-btn:hover {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    box-shadow: 0 8px 24px 0 rgba(60,60,90,0.13);
}
@media (max-width: 600px) {
    .mockup-style .view-project-btn {
        padding: 13px 22px;
        font-size: 1rem;
    }
    .mockup-btn-area {
        bottom: -24px;
    }
}

.reference-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background-color: #f8f9fa;
    padding: 20px;
}

.reference-card:hover {
    box-shadow: var(--shadow-lg);
}

.reference-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.reference-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 10px;
}

.reference-card:hover .reference-image img {
    transform: scale(1.05);
}

.reference-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: 20px;
    color: var(--white);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    height: 100%;
}

.reference-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.view-project-btn {
    background-color: #fff;
    color: var(--dark-color);
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    opacity: 1;
    transform: translateY(20px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.reference-card:hover .view-project-btn {
    opacity: 1;
    transform: translateY(0);
}

.view-project-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.view-project-btn i {
    font-size: 16px;
}

/* ===== PROJE MODAL ===== */
.project-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    position: relative;
    background-color: var(--white);
    margin: 5% auto;
    width: 90%;
    max-width: 1200px;
    border-radius: 10px;
    overflow: hidden;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--white);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    background-color: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-modal:hover {
    background-color: var(--secondary-color);
}

.modal-body {
    padding: 0;
}

/* Proje Detay İçeriği */
.project-detail {
    display: flex;
    flex-direction: column;
}

.project-fullscreen {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

.project-info {
    padding: 30px;
    background-color: var(--white);
}

.project-title {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.project-description {
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.6;
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.meta-item {
    text-align: center;
}

.meta-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.meta-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.meta-title {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.meta-value {
    color: var(--text-light);
    font-size: 0.95rem;
}

.project-actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.fullscreen-btn {
    background-color: var(--dark-color);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.fullscreen-btn:hover {
    background-color: var(--secondary-color);
}



/* ===== CTA BÖLÜMÜ ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-text {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* ===== CTA SECTION ===== */
.references-cta {
    padding: 80px 0;
    background: var(--white);
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px;
    background: linear-gradient(135deg, #fafbfc 0%, #f8fafc 100%);
    border-radius: 20px;
    border: 1px solid #f1f5f9;
}

.cta-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.cta-text p {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.references-preview-cta::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ffd700 100%);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.references-preview-cta::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    border-radius: 50%;
    opacity: 0.08;
    z-index: 0;
}

.cta-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.references-preview-cta .btn {
    position: relative;
    z-index: 1;
    margin: 0 10px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.references-preview-cta .btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
}

.references-preview-cta .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.references-preview-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

.references-preview-cta .btn-secondary:hover {
    background: rgba(30, 64, 175, 0.05);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .references-preview-cta {
        padding: 30px 20px;
        margin: 40px 15px;
    }
    
    .cta-text {
        font-size: 1.3rem;
    }
    
    .references-preview-cta .btn {
        margin: 5px;
        display: inline-block;
        width: auto;
    }
}

@media (max-width: 576px) {
    .references-preview-cta .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .references-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

@media (max-width: 992px) {
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .hero-stats-mini {
        gap: 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .references-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .reference-content {
        padding: 20px;
    }
    
    .cta-content {
        padding: 30px 20px;
    }
    
    .cta-text h2 {
        font-size: 24px;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-stats-mini {
        flex-direction: column;
        gap: 20px;
    }
    
    .references-filter {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .references-grid {
        grid-template-columns: 1fr;
    }
    
    .reference-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .view-project-btn {
        justify-content: center;
    }
}
