/* Portfolio Page Styles */

/* Beyaz çizgi kaldırma - Global */
body, html {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
}

/* Utility Classes */
.min-vh-70 {
    min-height: 70vh;
}

/* Simple Hero Section */
.simple-hero {
    position: relative;
    padding: 80px 0;
    color: white;
    overflow: hidden;
    border: none;
    margin: 0;
    margin-top: 0 !important;
    padding-top: 80px !important;
}

.simple-hero::before,
.simple-hero::after {
    display: none !important;
}

/* Hero section'dan önce gelen elementlerin beyaz çizgi yaratmasını engelle */
.simple-hero::before {
    content: none !important;
}

/* Hero section'ın üstünde beyaz çizgi varsa kaldır */
body .simple-hero {
    border-top: none !important;
    box-shadow: none !important;
}

/* Sayfa başında beyaz çizgi kaldırma */
.simple-hero:first-child {
    margin-top: 0 !important;
    padding-top: 80px !important;
}

/* Tüm tarayıcılarda beyaz çizgi kaldırma */
.simple-hero,
.simple-hero *,
.simple-hero *::before,
.simple-hero *::after {
    border-top: none !important;
    outline: none !important;
}

/* Hero section için özel beyaz çizgi engelleme */
.simple-hero {
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    border: none;
    margin: 0;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    margin: 0;
}

.gradient-overlay::before,
.gradient-overlay::after {
    display: none !important;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
    padding-bottom: 1rem;
    display: block;
    width: 100%;
}

.text-gradient {
    background: linear-gradient(45deg, #ffd700, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: textShine 3s ease-in-out infinite;
    display: inline-block;
    line-height: 1.2;
}

.hero-slogan {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
    line-height: 1.8;
    margin-top: 1.5rem;
    padding-top: 1rem;
    clear: both;
    display: block;
    width: 100%;
}

/* Animations */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes textShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: #667eea;
    color: white;
}

.portfolio-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    color: white;
    text-align: center;
    padding: 20px;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.portfolio-info p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.portfolio-tags {
    margin-bottom: 20px;
}

.tag {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin: 0 5px;
    display: inline-block;
}

.portfolio-actions {
    display: flex;
    gap: 15px;
}

.btn-view,
.btn-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view:hover,
.btn-link:hover {
    background: white;
    color: #667eea;
    transform: scale(1.1);
}

/* Software Preview Styles */
.software-preview {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.app-window {
    width: 90%;
    height: 85%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    overflow: hidden;
    animation: softFloat 4s ease-in-out infinite;
}

.app-header {
    background: #f5f5f5;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.window-controls {
    display: flex;
    gap: 4px;
}

.control {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27ca3f; }

.app-title {
    font-size: 11px;
    font-weight: 600;
    color: #333;
}

.app-content {
    padding: 10px;
    height: calc(100% - 35px);
    overflow: hidden;
}

/* YouTube Booster Styles */
.youtube-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.stat-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px;
    text-align: center;
}

.stat-icon {
    font-size: 16px;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 12px;
    font-weight: 700;
    color: #ff0000;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 8px;
    color: #666;
}

.progress-bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.progress-item {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff0000, #ff4444);
    border-radius: 4px;
    animation: progressFlow 3s ease-in-out infinite;
}

/* Instagram Tools Styles */
.insta-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}

.feature-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 6px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card.active {
    background: linear-gradient(45deg, #e1306c, #833ab4);
    color: white;
    border-color: #e1306c;
}

.feature-icon {
    font-size: 14px;
    margin-bottom: 2px;
}

.feature-name {
    font-size: 8px;
    font-weight: 600;
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 8px;
    padding: 4px;
    background: #f8f9fa;
    border-radius: 4px;
}

.activity-status {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.activity-status.online { background: #25d366; }
.activity-status.success { background: #28a745; }

/* TikTok Bot Styles */
.bot-dashboard {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.bot-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: #e8f5e8;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 600;
    color: #28a745;
}

.status-indicator {
    width: 6px;
    height: 6px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.bot-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.metric {
    text-align: center;
    padding: 4px;
    background: #f8f9fa;
    border-radius: 4px;
}

.metric-value {
    font-size: 10px;
    font-weight: 700;
    color: #000;
}

.metric-label {
    font-size: 7px;
    color: #666;
}

.bot-logs {
    flex: 1;
    background: #f8f9fa;
    border-radius: 4px;
    padding: 6px;
    font-size: 7px;
    overflow: hidden;
}

.log-entry {
    margin-bottom: 2px;
    color: #666;
}

/* WhatsApp Bulk Styles */
.message-composer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.message-input {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 6px;
}

.input-label {
    font-size: 8px;
    color: #666;
    margin-bottom: 4px;
}

.input-box {
    font-size: 9px;
    color: #333;
    background: white;
    padding: 4px;
    border-radius: 3px;
    border: 1px solid #e0e0e0;
}

.contact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.stat {
    text-align: center;
    padding: 6px;
    background: #e8f5e8;
    border-radius: 4px;
}

.stat-number {
    font-size: 11px;
    font-weight: 700;
    color: #25d366;
}

.stat-text {
    font-size: 7px;
    color: #666;
}

.send-progress {
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-wp {
    height: 100%;
    background: linear-gradient(90deg, #25d366, #128c7e);
    border-radius: 3px;
}

/* Crypto Bot Styles */
.crypto-dashboard {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.portfolio-value {
    text-align: center;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 4px;
}

.value-amount {
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

.value-change {
    font-size: 8px;
    font-weight: 600;
}

.value-change.positive { color: #28a745; }
.value-change.negative { color: #dc3545; }

.crypto-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.crypto-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4px;
    padding: 4px 6px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 8px;
}

.crypto-symbol {
    font-weight: 700;
    color: #000;
}

.crypto-price {
    text-align: center;
    color: #666;
}

.crypto-change {
    text-align: right;
    font-weight: 600;
}

.crypto-change.positive { color: #28a745; }
.crypto-change.negative { color: #dc3545; }

.bot-controls {
    text-align: center;
}

.btn-trade {
    background: linear-gradient(45deg, #f7931e, #f7931e);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 700;
    cursor: pointer;
}

.btn-trade.active {
    animation: tradePulse 2s infinite;
}

/* SEO Analyzer Styles */
.seo-dashboard {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.seo-score {
    text-align: center;
    margin-bottom: 8px;
}

.score-circle {
    width: 40px;
    height: 40px;
    border: 3px solid #28a745;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

.score-number {
    font-size: 12px;
    font-weight: 700;
    color: #28a745;
}

.score-label {
    font-size: 6px;
    color: #666;
}

.seo-metrics {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.metric-item {
    display: grid;
    grid-template-columns: 20px 1fr auto;
    gap: 6px;
    align-items: center;
    padding: 4px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 8px;
}

.metric-icon {
    font-size: 10px;
}

.metric-name {
    color: #666;
}

.metric-value {
    font-weight: 700;
    color: #28a745;
}

.keyword-tracking {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.keyword-item {
    display: flex;
    justify-content: space-between;
    padding: 3px 4px;
    background: #f8f9fa;
    border-radius: 3px;
    font-size: 7px;
}

.keyword {
    color: #666;
}

.rank {
    font-weight: 700;
    color: #007bff;
}

/* Statistics Animation */
.stat-number {
    counter-reset: counter;
    animation: countUp 2s ease-in-out;
}

/* Animations */
@keyframes softFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

@keyframes progressFlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes tradePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(247, 147, 30, 0.7); }
    50% { box-shadow: 0 0 0 4px rgba(247, 147, 30, 0); }
}

@keyframes countUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Loading States */
.portfolio-item.loading {
    opacity: 0.5;
    pointer-events: none;
}

.portfolio-item.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Focus Management */
.portfolio-item:focus-within {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.filter-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.btn-view:focus,
.btn-link:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Accessibility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 0.25rem 0.5rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background-color: #007bff;
    color: white;
    border-radius: 0.25rem;
}

/* Skip Links */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .portfolio-filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 6px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    /* Simple Hero Responsive */
    .simple-hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
        padding-bottom: 0.8rem;
        display: block;
        width: 100%;
    }
    
    .hero-slogan {
        font-size: 1rem;
        line-height: 1.8;
        margin-top: 1.2rem;
        padding-top: 0.8rem;
        display: block;
        width: 100%;
    }
    
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
        font-size: 0.9rem;
    }
    
    .portfolio-stats {
        margin-top: 2rem !important;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .portfolio-card {
        margin-bottom: 2rem;
    }
    
    .app-window {
        width: 95%;
        height: 90%;
    }
    
    .app-content {
        padding: 8px;
    }
    
    .stat-box {
        padding: 6px;
    }
    
    .stat-value {
        font-size: 10px;
    }
    
    .stat-label {
        font-size: 7px;
    }
    
    .portfolio-overlay {
        padding: 15px;
    }
    
    .portfolio-info h4 {
        font-size: 1.2rem;
    }
    
    .btn-view,
    .btn-link {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .simple-hero {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1.2rem;
        padding-bottom: 0.5rem;
        display: block;
        width: 100%;
    }
    
    .hero-slogan {
        font-size: 0.9rem;
        line-height: 1.8;
        margin-top: 1rem;
        padding-top: 0.5rem;
        display: block;
        width: 100%;
    }
    
    .portfolio-stats .col-6 {
        margin-bottom: 1rem !important;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .portfolio-overlay {
        padding: 10px;
    }
    
    .portfolio-info h4 {
        font-size: 1rem;
    }
    
    .portfolio-info p {
        font-size: 0.9rem;
    }
    
    .tag {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .portfolio-card {
        border: 2px solid #000;
    }
    
    .filter-btn {
        border-width: 3px;
    }
    
    .portfolio-overlay {
        background: rgba(0, 0, 0, 0.9);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .portfolio-card,
    .filter-btn,
    .app-window,
    .progress-bar {
        animation: none;
        transition: none;
    }
    
    .portfolio-card:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .portfolio-filters,
    .portfolio-actions,
    .cta-section {
        display: none;
    }
    
    .portfolio-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .portfolio-overlay {
        position: static;
        opacity: 1;
        background: transparent;
        color: #000;
    }
} 