/*
 * RuBase Workshop Shared Slideshow Styles
 * Dark blue theme with cyan/green/yellow accents
 * Optimized for 1920x1080 displays
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a192f 0%, #1e3c72 50%, #2a5298 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.slide {
    display: none;
    width: 96%;
    max-width: 1600px;
    height: 94vh;
    background: linear-gradient(135deg, #1a2a4a 0%, #243655 100%);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    padding: 35px 45px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    animation: slideIn 0.5s ease-out;
}

.slide.active {
    display: block;
}

.slide.title-slide.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Typography */
h1 {
    color: #ffffff;
    font-size: 3.5em;
    margin-bottom: 30px;
    text-shadow: 0 4px 8px rgba(0,255,255,0.3);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
}

h2 {
    color: #ffffff;
    font-size: 2.4em;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #00ffff;
    text-shadow: 0 3px 6px rgba(0,255,255,0.2);
}

h3 {
    color: #00ff7f;
    font-size: 1.8em;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

h4 {
    color: #00ffff;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

.subtitle {
    font-size: 1.8em;
    color: #ffffff;
    opacity: 0.9;
    margin-bottom: 20px;
}

p {
    font-size: 1.2em;
    line-height: 1.8;
    color: #ffffff;
    opacity: 0.95;
    margin-bottom: 15px;
}

ul {
    margin: 20px 0;
    padding-left: 30px;
}

li {
    font-size: 1.15em;
    line-height: 1.8;
    color: #ffffff;
    opacity: 0.95;
    margin-bottom: 12px;
}

/* Tables */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.comparison-table th {
    background: linear-gradient(135deg, #2a4a5a, #3a5a6a);
    color: #00ffff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    background: transparent;
    color: #ffffff;
}

.comparison-table tr:hover td {
    background: rgba(42, 74, 90, 0.3);
}

/* Content Blocks */
.quote-box {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 255, 255, 0.05));
    border: 2px solid #00ffff;
    border-radius: 15px;
    padding: 30px;
    margin: 30px auto;
    max-width: 900px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.quote {
    font-size: 1.6em;
    color: #00ffff;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.quote-attribution {
    font-size: 1.1em;
    color: #00ff7f;
    opacity: 0.8;
}

.best-practice {
    background: rgba(0, 255, 255, 0.1);
    border-left: 5px solid #00ffff;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
}

.best-practice h4 {
    color: #00ffff;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.tool-section {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.principle-card {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1), rgba(255, 165, 0, 0.05));
    border: 2px solid #ffa500;
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
}

.principle-title {
    color: #ffa500;
    font-size: 1.6em;
    margin-bottom: 15px;
    font-weight: bold;
}

.warning-box {
    background: rgba(255, 165, 0, 0.1);
    border-left: 5px solid #ffa500;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
}

.warning-box h4 {
    color: #ffa500;
    margin-bottom: 10px;
}

.warning {
    background: rgba(255, 99, 71, 0.1);
    border-left: 5px solid #ff6347;
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    font-style: italic;
}

.warning strong {
    color: #ff6347;
}

/* Grids */
.toolkit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

/* Cards */
.toolkit-item {
    background: rgba(0, 255, 127, 0.1);
    border: 2px solid #00ff7f;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.toolkit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 127, 0.3);
}

.toolkit-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.toolkit-title {
    color: #00ff7f;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
}

.feature-card {
    background: rgba(26, 42, 74, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-card h4 {
    color: #00ffff;
    margin-bottom: 10px;
}

.tech-card {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 20px;
    border-radius: 10px;
}

.tech-card h4 {
    color: #00ffff;
    margin-bottom: 10px;
}

/* Schedule */
.schedule-block {
    background: rgba(0, 255, 255, 0.05);
    border-left: 5px solid #00ffff;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
}

.schedule-time {
    color: #ffff00;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
}

.schedule-activity {
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 8px;
}

/* CLI Instructions */
.cli-instructions {
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid #00ffff;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.cli-platform {
    margin: 15px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.cli-platform h4 {
    color: #00ffff;
    margin-bottom: 10px;
    font-size: 1.3em;
}

/* Code */
.code-snippet {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
}

.code-inline {
    background: rgba(0, 0, 0, 0.5);
    color: #00ff7f;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 1.1em;
}

/* Emphasis and Highlights */
.emphasis {
    color: #ffff00;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(255, 255, 0, 0.3);
}

.date-location {
    font-size: 1.3em;
    color: #00ff7f;
    margin-top: 30px;
    font-weight: 600;
}

/* Tool badges and headers */
.tool-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.tool-badge {
    background: linear-gradient(135deg, #00ffff 0%, #00ff7f 100%);
    color: #1a2a4a;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    margin-right: 15px;
}

/* Logos */
.logo-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    opacity: 0.8;
}

/* Navigation */
.nav-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 100;
}

.nav-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #00ffff 0%, #00ff7f 100%);
    color: #1a2a4a;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 255, 0.4);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slide-number {
    position: absolute;
    top: 20px;
    right: 30px;
    background: linear-gradient(135deg, #00ffff 0%, #00ff7f 100%);
    color: #1a2a4a;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .slide {
        width: 98%;
        height: 96vh;
        padding: 25px 35px;
    }

    h1 { font-size: 2.8em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.5em; }
    p { font-size: 1.1em; }
    li { font-size: 1.05em; }

    .toolkit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .slide {
        width: 100%;
        height: 98vh;
        padding: 15px 25px;
    }

    h1 { font-size: 2.2em; }
    h2 { font-size: 1.6em; }

    .toolkit-grid {
        grid-template-columns: 1fr;
    }
}