/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #007bff 0%, #28a745 100%);
    position: relative;
    overflow: hidden;
}

/* Year Award Banner Styles */
.yearly-award-section {
    margin: 3rem 0;
}

.year-award-banner {
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05)); 
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    position: relative;
}

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

/* Animated Background Elements */
.award-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    opacity: 0.6;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* Stars */
.floating-element.star {
    color: #ffd700;
    font-size: 1.2rem;
    animation: starFloat 6s infinite, starTwinkle 2s infinite;
}

.star-1 { top: 15%; left: 10%; animation-delay: 0s; }
.star-2 { top: 25%; right: 15%; animation-delay: 1s; }
.star-3 { bottom: 20%; left: 15%; animation-delay: 2s; }
.star-4 { top: 60%; right: 10%; animation-delay: 3s; }

@keyframes starFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

/* Circles */
.floating-element.circle {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: circleFloat 8s infinite;
}

.circle-1 { top: 10%; left: 20%; animation-delay: 1s; }
.circle-2 { bottom: 15%; right: 25%; animation-delay: 3s; }
.circle-3 { top: 70%; left: 80%; animation-delay: 5s; }

@keyframes circleFloat {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.3; }
    50% { transform: translateY(-30px) scale(1.1); opacity: 0.6; }
}

/* Squares */
.floating-element.square {
    width: 20px;
    height: 20px;
    background: rgba(255, 215, 0, 0.3);
    animation: squareRotate 10s infinite;
}

.square-1 { top: 30%; left: 5%; animation-delay: 2s; }
.square-2 { bottom: 25%; right: 5%; animation-delay: 4s; }

@keyframes squareRotate {
    0% { transform: rotate(0deg) translateY(0px); }
    25% { transform: rotate(90deg) translateY(-15px); }
    50% { transform: rotate(180deg) translateY(-30px); }
    75% { transform: rotate(270deg) translateY(-15px); }
    100% { transform: rotate(360deg) translateY(0px); }
}

/* Triangles */
.floating-element.triangle {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 20px solid rgba(255, 255, 255, 0.2);
    animation: triangleFloat 7s infinite;
}

.triangle-1 { top: 40%; left: 90%; animation-delay: 1.5s; }
.triangle-2 { bottom: 40%; left: 3%; animation-delay: 4.5s; }

@keyframes triangleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.2; }
    50% { transform: translateY(-25px) rotate(180deg); opacity: 0.5; }
}

/* Award Content */
.award-content {
    z-index: 2;
    color: white;
}

/* Trophy Animation */
.award-trophy-container {
    position: relative;
    display: inline-block;
}

.trophy-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255,215,0,0.3) 0%, rgba(255,215,0,0.1) 40%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

.award-trophy {
    width: 80px;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 20px rgba(255,215,0,0.5));
    animation: trophyBounce 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

@keyframes trophyBounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Typography */
.award-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    letter-spacing: 1px;
}

.company-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    margin-bottom: 1.5rem;
}

/* Award Badges */
.award-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.award-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.award-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.award-badge.genel {
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    color: #1a1a1a;
}

.award-badge.destek {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
}

.award-badge.performans {
    background: linear-gradient(45deg, #17a2b8, #117a8b);
    color: white;
}

.award-badge.fiyat {
    background: linear-gradient(45deg, #28a745, #1e7e34);
    color: white;
}

.award-badge.secondary {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
}

/* Action Button */
.btn-award-action {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-award-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,215,0,0.3);
    color: #1a1a1a;
}

.btn-award-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-award-action:hover::before {
    left: 100%;
}

.btn-award-action.disabled {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-award-action.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Company Cards */
.company-card {
    transition: all 0.2s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.company-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-color: #0d6efd;
}

.company-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 5px;
    background: white;
}

.company-logo-placeholder {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.5rem;
}

/* Statistics */
.stat-box {
    padding: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.stat-value {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Compact Statistics */
.compact-stat-box {
    padding: 12px 8px;
    background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.compact-stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #007bff;
}

/* Statistics Table */
.stats-table {
    font-size: 0.9rem;
}

.stats-table .stat-label {
    width: 45%;
    padding: 8px 12px;
    color: #495057;
    font-weight: 500;
    border-bottom: 1px solid #f8f9fa;
}

.stats-table .stat-value {
    width: 55%;
    padding: 8px 12px;
    text-align: right;
    border-bottom: 1px solid #f8f9fa;
}

.stats-table tr:hover {
    background-color: #f8f9fa;
}

.stats-table tr.border-top td {
    border-top: 2px solid #e9ecef !important;
    padding-top: 12px;
}

.stats-table tr:last-child td {
    border-bottom: none;
}

/* Top Companies Tabs */
.top-companies-tabs .nav-link {
    border: none !important;
    background: #f8f9fa;
    color: #6c757d;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 0;
    transition: all 0.3s ease;
}

.top-companies-tabs .nav-link.active {
    background: #ffc107;
    color: #212529;
    font-weight: 700;
}

.top-companies-tabs .nav-link:hover {
    background: #fff3cd;
    color: #856404;
}

.top-companies-tabs {
    border-bottom: 1px solid #dee2e6;
}

.top-companies-tabs .nav-item:not(:last-child) .nav-link {
    border-right: 1px solid #dee2e6;
}

.text-purple {
    color: #6f42c1 !important;
}

/* Rating Stars */
.rating-stars i {
    font-size: 0.9rem;
}

/* Rank Badge */
.rank-badge .badge {
    font-size: 1rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 992px) {
    .year-award-banner {
        padding: 2rem !important;
    }
    
    .award-title {
        font-size: 1.5rem;
    }
    
    .company-name {
        font-size: 1.8rem;
    }
    
    .award-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .award-badge {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .award-trophy {
        width: 60px;
    }
    
    .award-title {
        font-size: 1.3rem;
    }
    
    .company-name {
        font-size: 1.5rem;
    }
    
    .floating-element {
        display: none;
    }
    
    .company-card .row > div {
        margin-bottom: 1rem;
    }
    
    .company-logo, .company-logo-placeholder {
        width: 50px;
        height: 50px;
    }
    
    .stat-box {
        text-align: center;
        margin-bottom: 0.5rem;
    }
}
