/* Presentation Page Styles - Optimized for Screenshots */

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

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

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

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

.presentation-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin: 0.5rem 0 0 0;
    font-weight: 500;
}

.header-logo .exxon-logo {
    height: 80px;
    width: auto;
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-nav .exxon-logo {
    height: 80px;
    width: auto;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--exxon-blue, #0066CC);
    color: white;
    text-decoration: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.nav-btn:hover {
    background: #004499;
    color: white;
}

.nav-btn i {
    font-size: 0.875rem;
}

/* Main Content */
.presentation-main {
    padding: 2.5rem 0;
}

/* Section Titles */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--exxon-blue, #0066CC);
    display: inline-block;
}

/* KPI Sections */
.kpi-section {
    margin-bottom: 3rem;
}

.kpi-grid {
    display: grid;
    gap: 1.5rem;
}

.kpi-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.kpi-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* KPI Cards */
.kpi-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.kpi-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kpi-icon-blue {
    background: linear-gradient(135deg, #0066CC 0%, #004499 100%);
    color: white;
}

.kpi-icon-green {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    color: white;
}

.kpi-icon-success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
}

.kpi-icon-teal {
    background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
    color: white;
}

.kpi-icon-purple {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
}

.kpi-icon-gold {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
}

.kpi-icon-orange {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: white;
}

.kpi-content {
    flex: 1;
}

.kpi-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.kpi-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}

.kpi-detail {
    font-size: 0.8125rem;
    font-weight: 500;
}

/* Text Colors */
.text-success {
    color: #22C55E !important;
}

.text-warning {
    color: #F59E0B !important;
}

.text-primary {
    color: #0066CC !important;
}

.text-muted {
    color: #6B7280 !important;
}

/* Map Section */
.map-section {
    margin-bottom: 3rem;
}

.presentation-map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: white;
}

.presentation-map {
    height: 400px;
    width: 100%;
}

.presentation-legend {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.legend-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.legend-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-label {
    font-size: 0.8125rem;
    color: #4B5563;
    font-weight: 500;
}

/* Presentation Map Markers */
.presentation-marker .marker-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.presentation-cluster-icon {
    background: none !important;
}

.presentation-cluster {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0066CC 0%, #004499 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border: 3px solid white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

/* Delivery Lines Section */
.delivery-section {
    margin-bottom: 2rem;
}

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

.delivery-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.delivery-header {
    height: 120px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.delivery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.delivery-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.delivery-body {
    padding: 1.25rem;
}

.delivery-description {
    font-size: 0.8125rem;
    color: #6B7280;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.delivery-stats {
    display: flex;
    gap: 1rem;
    border-top: 1px solid #E5E7EB;
    padding-top: 1rem;
}

.stat {
    flex: 1;
    text-align: center;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

.stat-label {
    font-size: 0.75rem;
    color: #9CA3AF;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

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

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

.footer-text {
    color: #9CA3AF;
    font-size: 0.875rem;
    font-weight: 500;
}

.footer-date {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
}

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

@media (max-width: 768px) {
    .presentation-header .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .presentation-title {
        font-size: 2rem;
    }
    
    .kpi-grid-4,
    .kpi-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .delivery-grid {
        grid-template-columns: 1fr;
    }
    
    .kpi-card {
        flex-direction: column;
        text-align: center;
    }
    
    .presentation-map {
        height: 300px;
    }
}

/* Print Styles */
@media print {
    .presentation-page {
        background: white;
    }
    
    .kpi-card,
    .delivery-card {
        box-shadow: none;
        border: 1px solid #E5E7EB;
    }
    
    .presentation-map-container {
        box-shadow: none;
        border: 1px solid #E5E7EB;
    }
}