/* Custom EV Presentation Styling - Updated Branding */
:root {
    --primary: #2D3436;      /* Deep Slate - Primary brand */
    --secondary: #DFE6E9;    /* Cool Silver - Secondary accent */
    --accent: #0984E3;       /* Circuit Blue - Technical accent */
    --bg: #1a1d1f;          /* Dark background */
    --text: #DFE6E9;        /* Cool Silver for text */
    --highlight: #0984E3;    /* Circuit Blue for highlights */
}

/* Ensure proper scaling */
html, body {
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.reveal {
    width: 100%;
    height: 100%;
}

/* Brand Logo - Bottom Left Corner */
.brand-logo {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.brand-logo:hover {
    opacity: 1;
}

.brand-logo img {
    height: 40px;
    width: auto;
    display: block;
}

/* Override Reveal.js defaults */
.reveal {
    font-family: 'Inter', 'Open Sans', system-ui, -apple-system, sans-serif;
    color: var(--text);
    font-size: 30px;
    font-weight: 400;
}

.reveal h1 {
    font-family: 'Inter', 'Raleway', 'Montserrat', sans-serif;
    font-size: 1.1em;
    font-weight: 700;
    color: var(--highlight);
    border-bottom: 2px solid var(--highlight);
    padding-bottom: 8px;
    margin-bottom: 12px;
    text-transform: none;
}

.reveal h2 {
    font-family: 'Inter', 'Raleway', sans-serif;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--text);
    text-transform: none;
    margin-bottom: 10px;
}

.reveal h3 {
    font-family: 'Inter', 'Raleway', sans-serif;
    color: var(--accent);
    font-size: 0.8em;
    font-weight: 600;
    text-transform: none;
    margin-bottom: 6px;
}

.reveal section {
    text-align: left;
    height: 100%;
}

.reveal p {
    font-size: 0.5em;
    line-height: 1.4;
    margin-bottom: 6px;
}

/* Lists */
.reveal ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.reveal ol {
    margin: 0;
    padding: 0 0 0 20px;
}

.reveal li {
    margin-bottom: 5px;
    font-size: 0.5em !important;
    padding-left: 15px;
    position: relative;
    line-height: 1.4;
}

.reveal li::before {
    content: "•";
    color: var(--highlight);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.reveal ol li::before {
    content: none;
}

.reveal ol li {
    padding-left: 5px;
}

/* Two-column layout */
.cols-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 100%;
    align-items: start;
}

.col {
    background: rgba(45, 52, 54, 0.3);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(223, 230, 233, 0.08);
}

/* Tables */
.reveal table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: rgba(45, 52, 54, 0.3);
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.5em;
    border: 1px solid rgba(223, 230, 233, 0.1);
}

.reveal th,
.reveal td {
    padding: 5px 6px;
    text-align: left;
    border-bottom: 1px solid rgba(223, 230, 233, 0.1);
}

.reveal th {
    background: rgba(9, 132, 227, 0.2);
    color: var(--accent);
    font-size: 1em;
    font-weight: 600;
}

.reveal tr:last-child td {
    border-bottom: none;
}

/* Images */
.img-container {
    width: 100%;
    height: 180px;
    background: rgba(45, 52, 54, 0.5);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(223, 230, 233, 0.1);
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.img-container.large {
    height: 280px;
}

.img-container.hero-image {
    height: 240px;
}

/* Color highlights - Using brand colors */
.text-green {
    color: #10ac84;
    font-weight: bold;
}

.text-red {
    color: #ee5a6f;
    font-weight: bold;
}

.text-yellow {
    color: #f39c12;
    font-weight: bold;
}

.text-blue {
    color: var(--accent);
    font-weight: bold;
}

/* Bordered sections */
.border-green {
    border-left: 5px solid #10ac84;
}

.border-red {
    border-left: 5px solid #ee5a6f;
}

.border-blue {
    border-left: 5px solid var(--accent);
}

/* Info boxes */
.info-box {
    background: rgba(9, 132, 227, 0.15);
    padding: 10px;
    border-radius: 6px;
    margin: 8px 0;
    font-size: 0.5em;
    border: 1px solid rgba(9, 132, 227, 0.3);
}

.info-box.green {
    background: rgba(16, 172, 132, 0.15);
    border: 1px solid #10ac84;
}

.info-box.highlight {
    background: rgba(16, 172, 132, 0.2);
    padding: 12px;
    border: 2px solid #10ac84;
}

/* Financial table styling */
.financial-wrapper {
    padding: 12px;
    background: rgba(45, 52, 54, 0.4);
    border-radius: 8px;
    border: 2px solid var(--accent);
}

.row-shortlisted {
    background: rgba(16, 172, 132, 0.15);
    border-left: 4px solid #10ac84;
}

.row-pending {
    background: rgba(243, 156, 18, 0.15);
    border-left: 4px solid #f39c12;
}

.row-wildcard {
    background: rgba(142, 68, 173, 0.15);
    border-left: 4px solid #8e44ad;
}

/* Buttons/Links */
.reveal a.btn {
    background: #10ac84;
    color: white;
    padding: 6px 15px;
    border-radius: 18px;
    text-decoration: none;
    display: inline-block;
    margin-top: 8px;
    font-size: 0.5em;
    font-weight: 600;
    transition: 0.3s;
    border: 1px solid #10ac84;
}

.reveal a.btn:hover {
    background: #0fb377;
    border-color: #0fb377;
    transform: translateY(-1px);
}

/* Responsive adjustments for Reveal.js */
@media (max-width: 768px) {
    .cols-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .img-container {
        height: 200px !important;
    }

    .img-container.hero-image {
        height: 220px !important;
    }

    .brand-logo {
        bottom: 10px;
        left: 10px;
    }

    .brand-logo img {
        height: 30px;
    }
}
