/* Digital Hub Styles - Clean Navigation Portal */

/* Page Layout */
.hub-page {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.hub-header {
    background: white;
    border-bottom: 3px solid var(--exxon-red, #D71920);
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hub-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hub-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -0.02em;
}

.hub-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin: 0.25rem 0 0 0;
    font-weight: 500;
}

/* Executive View Button in Header */
.header-actions {
    display: flex;
    align-items: center;
}

.btn-executive-view {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: var(--exxon-blue, #0066CC);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    transition: all 0.2s ease;
}

.btn-executive-view:hover {
    background: #0052a3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn-executive-view i {
    font-size: 1.125rem;
}

/* Navigation Bar */
.hub-nav {
    background: var(--exxon-blue, #0066CC);
    padding: 0.75rem 0;
}

.nav-content {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.nav-link i {
    font-size: 1rem;
}

/* Executive View Button - Stand Out Style */
.nav-link-executive {
    background: white;
    color: var(--exxon-blue, #0066CC);
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.625rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-link-executive:hover {
    background: #f0f7ff;
    color: var(--exxon-blue, #0066CC);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Portfolio Snapshot Bar */
.portfolio-snapshot {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 0.875rem 0;
}

.snapshot-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}

.snapshot-stat {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.snapshot-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.snapshot-value.positive {
    color: #34d399;
}

.snapshot-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.snapshot-divider {
    width: 1px;
    height: 24px;
    background: #4b5563;
}

/* Hero Section */
.hub-hero {
    background: linear-gradient(135deg, var(--exxon-blue, #0066CC) 0%, #004499 100%);
    padding: 3rem 0;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* Main Content */
.hub-main {
    padding: 3rem 0;
    flex: 1;
}

/* Delivery Cards Grid */
.delivery-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Delivery Card */
.delivery-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.delivery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--card-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.card-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.card-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--card-accent);
    transition: gap 0.2s ease;
}

.delivery-card:hover .card-action {
    gap: 0.75rem;
}

/* Recent Activity Section */
.hub-activity {
    background: white;
    padding: 3rem 0;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.activity-item {
    background: #f8fafc;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.activity-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.875rem;
}

.activity-icon.lcs {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.activity-icon.convention {
    background: rgba(0, 102, 204, 0.1);
    color: #0066CC;
}

.activity-icon.unconventional {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.activity-icon.heavy-oil {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.activity-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.activity-time {
    font-size: 0.75rem;
    color: #9ca3af;
}

.activity-tag {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: #e2e8f0;
    color: #64748b;
}

.activity-tag.lcs {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.activity-tag.convention {
    background: rgba(0, 102, 204, 0.1);
    color: #0066CC;
}

.activity-tag.unconventional {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.activity-tag.heavy-oil {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
}

/* Quick Links Section */
.hub-quicklinks {
    background: #f1f5f9;
    padding: 3rem 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.quicklinks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.quicklink-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.quicklink-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.quicklink-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--exxon-blue, #0066CC) 0%, #004499 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.quicklink-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.25rem 0;
}

.quicklink-content p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* Footer */
.hub-footer {
    background: #1a1a1a;
    padding: 1.25rem 0;
    margin-top: auto;
}

.hub-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .delivery-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .quicklinks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hub-header .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .hub-title {
        font-size: 1.75rem;
    }
    
    .snapshot-content {
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
        padding: 0 1rem;
    }
    
    .snapshot-divider {
        display: none;
    }
    
    .nav-content {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .delivery-cards {
        grid-template-columns: 1fr;
    }
    
    .activity-grid {
        grid-template-columns: 1fr;
    }
    
    .quicklinks-grid {
        grid-template-columns: 1fr;
    }
    
    .hub-footer .footer-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Touch-friendly enhancements */
@media (pointer: coarse) {
    .nav-link,
    .delivery-card,
    .quicklink-card {
        min-height: 44px;
    }
}

/* Print Styles */
@media print {
    .hub-nav,
    .hub-quicklinks {
        display: none;
    }
    
    .delivery-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}