/* 2012-2018 Trend Tasarım CSS */
/* Genel Body ve Container */

/* Global Search Styles */
.search-result-item {
    transition: background-color 0.2s ease;
}

.search-result-item:hover {
    background-color: #f8f9fa !important;
    text-decoration: none !important;
}

#search-results {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    background: white;
}

#search-results .bg-light {
    background-color: #f8f9fa !important;
    font-size: 0.875rem;
    color: #495057;
}

/* Mobile responsive search */
@media (max-width: 768px) {
    #global-search {
        width: 250px !important;
    }
}
body {
    background-color: #fafafa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Section - Flat Design ile */
.hero-section {
    background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-section .lead {
    font-size: 18px;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* 2014-2016 Stil Butonlar */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f99);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #27ae60, #1f8c4f);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.btn-light {
    background: white;
    color: #3498db;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

.btn-light:hover {
    background: #ecf0f1;
    box-shadow: 0 6px 20px rgba(255,255,255,0.5);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-light:hover {
    background: white;
    color: #3498db;
}

/* Year Award Banner - 2015 Stil Card */
.year-award-banner {
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 40px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.year-award-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #f39c12, #e74c3c);
}

/* Floating Elements - Subtle animasyonlar */
.floating-element {
    position: absolute;
    opacity: 0.15;
    animation-duration: 8s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.floating-element.star {
    color: #f39c12;
    font-size: 20px;
    animation: gentleFloat 8s infinite;
}

.floating-element.circle {
    width: 20px;
    height: 20px;
    border: 2px solid #3498db;
    border-radius: 50%;
    animation: gentleFloat 8s infinite reverse;
}

.floating-element.square {
    width: 15px;
    height: 15px;
    background: #e74c3c;
    animation: gentleFloat 8s infinite;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

/* Trophy Container */
.award-trophy-container {
    text-align: center;
    margin-bottom: 20px;
}

.award-trophy {
    width: 220px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* Typography - 2014-2016 Stil */
.award-title {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.company-name {
    font-size: 32px;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 20px;
    text-align: center;
}

/* Award Badges - Flat Design */
.award-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.award-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    color: white;
    transition: all 0.3s ease;
}

.award-badge:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.award-badge.genel {
    background: linear-gradient(135deg, #f39c12, #d68910);
}

.award-badge.destek {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.award-badge.performans {
    background: linear-gradient(135deg, #1abc9c, #16a085);
}

.award-badge.fiyat {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.award-badge.secondary {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
}

/* Action Button */
.btn-award-action {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    border: none;
}

.btn-award-action:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    color: white;
}

.btn-award-action.disabled {
    background: linear-gradient(135deg, #bdc3c7, #95a5a6);
    cursor: not-allowed;
    opacity: 0.7;
}

/* Algorithm Trust Badge */
.algorithm-trust-badge {
    margin: 30px 0;
}

.algorithm-trust-badge .alert {
    background: white;
    border: 2px solid #2ecc71;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.1);
}

.algorithm-trust-badge .alert h6 {
    color: #27ae60;
    font-weight: 600;
    margin-bottom: 8px;
}

.algorithm-trust-badge .btn {
    border: 2px solid #27ae60;
    color: #27ae60;
    background: transparent;
    padding: 6px 12px;
    font-size: 12px;
}

.algorithm-trust-badge .btn:hover {
    background: #27ae60;
    color: white;
}

/* Card Styles - Material Design Inspired */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: none;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-header {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: white;
    border-radius: 8px 8px 0 0;
    padding: 15px 20px;
    border-bottom: none;
}

.card-header h6 {
    margin: 0;
    font-weight: 600;
    font-size: 14px;
}

.card-body {
    padding: 20px;
}

/* Company Cards */
.company-card {
    transition: all 0.3s ease;
    border: 1px solid #ecf0f1;
    border-radius: 8px;
    background: white;
}

.company-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #3498db;
}

/* Company Logo */
.company-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #ecf0f1;
    padding: 5px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.company-logo-placeholder {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ecf0f1, #d5dbdb);
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    font-size: 24px;
}

/* Rank Badge */
.rank-badge .badge {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Statistics */
.stat-box {
    padding: 15px;
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border-radius: 6px;
    border: 1px solid #ecf0f1;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-box:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.stat-value {
    font-weight: 700;
    font-size: 18px;
    color: #2c3e50;
}

/* Rating Stars */
.rating-stars i {
    color: #f39c12;
    font-size: 14px;
    margin-right: 1px;
}

/* Search Form */
.card form {
    background: white;
}

.form-control {
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

.form-select {
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

/* Compact Statistics */
.compact-stat-box {
    padding: 15px 10px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 8px;
    border: 1px solid #ecf0f1;
    transition: all 0.3s ease;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.compact-stat-box:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-color: #3498db;
}

/* Top Companies Tabs */
.top-companies-tabs .nav-link {
    border: none;
    background: #ecf0f1;
    color: #7f8c8d;
    font-weight: 600;
    font-size: 13px;
    border-radius: 0;
    transition: all 0.3s ease;
    padding: 10px 15px;
}

.top-companies-tabs .nav-link.active {
    background: linear-gradient(135deg, #f39c12, #d68910);
    color: white;
    font-weight: 700;
}

.top-companies-tabs .nav-link:hover {
    background: #d5dbdb;
    color: #2c3e50;
}

/* Statistics Table */
.stats-table {
    font-size: 13px;
}

.stats-table .stat-label {
    color: #7f8c8d;
    font-weight: 500;
    padding: 12px 15px;
    border-bottom: 1px solid #f8f9fa;
}

.stats-table .stat-value {
    text-align: right;
    padding: 12px 15px;
    border-bottom: 1px solid #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.stats-table tr:hover {
    background-color: #f8f9fa;
}

.stats-table a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.stats-table a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Platform Info Card */
.card.border-info {
    border: 2px solid #3498db !important;
}

.card.border-info .card-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.card.border-success {
    border: 2px solid #2ecc71 !important;
}

.card.border-success .card-header {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.card.border-warning {
    border: 2px solid #f39c12 !important;
}

.card.border-warning .card-header {
    background: linear-gradient(135deg, #f39c12, #d68910);
}

/* Text Colors */
.text-purple {
    color: #9b59b6 !important;
}

.text-primary {
    color: #3498db !important;
}

.text-success {
    color: #2ecc71 !important;
}

.text-warning {
    color: #f39c12 !important;
}

.text-danger {
    color: #e74c3c !important;
}

.text-info {
    color: #1abc9c !important;
}

/* Progress Bar */
.progress {
    background-color: #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
    height: 6px;
}

.progress-bar {
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    transition: width 0.6s ease;
}

/* Badges */
.badge {
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 11px;
}

.bg-primary {
    background: linear-gradient(135deg, #3498db, #2980b9) !important;
}

.bg-success {
    background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
}

.bg-warning {
    background: linear-gradient(135deg, #f39c12, #d68910) !important;
    color: white !important;
}

.bg-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
}

.bg-info {
    background: linear-gradient(135deg, #1abc9c, #16a085) !important;
}

.bg-secondary {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d) !important;
}

/* Alert Styles */
.alert {
    border-radius: 6px;
    border: none;
    padding: 15px 20px;
}

.alert-success {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(39, 174, 96, 0.1));
    border-left: 4px solid #2ecc71;
    color: #27ae60;
}

.alert-info {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(41, 128, 185, 0.1));
    border-left: 4px solid #3498db;
    color: #2980b9;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(211, 137, 16, 0.1));
    border-left: 4px solid #f39c12;
    color: #d68910;
}

/* Modal Styles */
.modal-content {
    border-radius: 8px;
    border: none;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.modal-header {
    border-bottom: 1px solid #ecf0f1;
    padding: 20px;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    border-top: 1px solid #ecf0f1;
    padding: 15px 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 36px;
    }
    
    .year-award-banner {
        padding: 30px 20px;
    }
    
    .award-title {
        font-size: 24px;
    }
    
    .company-name {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 28px;
    }
    
    .hero-section .lead {
        font-size: 16px;
    }
    
    .year-award-banner {
        padding: 20px 15px;
    }
    
    .award-title {
        font-size: 20px;
    }
    
    .company-name {
        font-size: 22px;
    }
    
    .award-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .floating-element {
        display: none;
    }
    
    .company-logo,
    .company-logo-placeholder {
        width: 50px;
        height: 50px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .btn-award-action {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f8f9fa;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f99);
}