/* 
   Innovations Details Page - Enhanced Styling
   Features: Hero section, tabbed layout, innovator spotlight, impact section
*/

/* Hero Section */
.innovation-hero {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, #4285F4 0%, #2563EB 100%);
    overflow: hidden;
    margin-bottom: 40px;
}

.innovation-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
}

.innovation-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.innovation-hero-info {
    max-width: 800px;
}

.innovation-hero-name {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.innovation-hero-category {
    display: inline-block;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1.1rem;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.3);
}

.innovation-hero-meta {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 20px;
    font-size: 1.1rem;
}

.innovation-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: white;
    padding: 15px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-nav a {
    color: #4285F4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #2563EB;
}

.breadcrumb-nav .bi {
    margin: 0 8px;
    color: #999;
}

/* Tabbed Navigation */
.details-tabs {
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 30px;
    display: flex;
    gap: 5px;
}

.tab-button {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: #4285F4;
    background: rgba(66, 133, 244, 0.05);
}

.tab-button.active {
    color: #4285F4;
    border-bottom-color: #4285F4;
    font-weight: 600;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Information Cards */
.info-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.info-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.info-card-icon.blue { background: linear-gradient(135deg, #4285F4 0%, #2563EB 100%); }
.info-card-icon.green { background: linear-gradient(135deg, #34A853 0%, #16a085 100%); }
.info-card-icon.orange { background: linear-gradient(135deg, #FF6D00 0%, #F57C00 100%); }
.info-card-icon.purple { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }

.info-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.info-card-body {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

/* Innovator Spotlight */
.innovator-spotlight {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
}

.innovator-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.innovator-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.innovator-info {
    flex: 1;
}

.innovator-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 10px;
}

.innovator-name {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.innovator-field {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
}

.innovator-link {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.innovator-link:hover {
    background: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Impact Stats */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.impact-stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.impact-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.impact-stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.impact-stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.impact-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

/* Related Women */
.related-women-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.related-woman-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-woman-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    text-decoration: none;
}

.related-woman-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-woman-body {
    padding: 20px;
}

.related-woman-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.related-woman-field {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

/* Action Buttons */
.action-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #4285F4;
    color: white;
    border: none;
    box-shadow: 0 5px 20px rgba(66, 133, 244, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
}

.action-btn:hover {
    transform: scale(1.1);
    background: #2563EB;
    box-shadow: 0 8px 30px rgba(66, 133, 244, 0.6);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .innovation-hero {
        height: auto;
        padding: 60px 20px;
    }
    
    .innovation-hero-name {
        font-size: 2rem;
    }
    
    .innovation-hero-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .details-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-button {
        padding: 12px 20px;
        font-size: 1rem;
        white-space: nowrap;
    }
    
    .innovator-content {
        flex-direction: column;
        text-align: center;
    }
    
    .innovator-image {
        width: 120px;
        height: 120px;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
    }
    
    .related-women-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        right: 15px;
        bottom: 15px;
    }
}
