/* Logical Front - Cloud Infrastructure Presentation Styles */

:root {
    /* Brand Colors */
    --brand-blue: #125EAD;
    --brand-green: #4BB74E;
    --brand-blue-light: #4A90E2;
    --brand-blue-dark: #0A3D6B;
    --brand-green-light: #7BC97B;
    --brand-green-dark: #2F7D32;

    /* UI Colors */
    --color-navy: #1C2833;
    --color-slate: #2E4053;
    --color-silver: #AAB7B8;
    --color-light-gray: #F4F6F6;
    --color-white: #FFFFFF;

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.slide-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 25px 50px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: fadeIn 0.5s ease-in;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.slide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--brand-green);
}

.logo {
    height: 50px;
    width: auto;
}

.slide-number {
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 1rem;
}

/* Content Area */
.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1 {
    color: var(--brand-blue);
    font-size: 2.2em;
    margin-bottom: 18px;
    text-align: center;
}

h2 {
    color: var(--brand-blue);
    font-size: 1.8em;
    margin: 20px 0 15px 0;
    border-left: 4px solid var(--brand-green);
    padding-left: 15px;
}

h3 {
    color: var(--brand-blue);
    font-size: 1.4em;
    margin: 15px 0 10px 0;
}

h4 {
    color: var(--brand-blue-dark);
    font-size: 1.1em;
    margin: 12px 0 8px 0;
}

p, li {
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--color-slate);
}

ul, ol {
    margin-left: 25px;
    margin-bottom: 15px;
}

strong {
    color: var(--brand-blue-dark);
}

/* Layout Components */
.highlight-box {
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    border-left: 5px solid var(--brand-blue);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 20px 0;
}

.three-column {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.four-column {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px 0;
}

/* Cards */
.card {
    background: linear-gradient(135deg, #ffffff 0%, #F8F9FA 100%);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border: 1px solid #E2E8F0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.card h3, .card h4 {
    color: var(--brand-blue);
    margin-top: 0;
    margin-bottom: 12px;
}

/* Special Cards */
.icon-card {
    text-align: center;
    padding: 30px 20px;
}

.icon-card .icon {
    font-size: 3em;
    margin-bottom: 15px;
    color: var(--brand-blue);
}

/* Tables */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.comparison-table th {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #E2E8F0;
}

.comparison-table tr:nth-child(even) {
    background-color: #F8F9FA;
}

.comparison-table tr:hover {
    background-color: #E9ECEF;
}

/* Pros and Cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.pros {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border-left: 5px solid var(--brand-green);
    padding: 20px;
    border-radius: 8px;
}

.cons {
    background: linear-gradient(135deg, #FFEBEE 0%, #FFCDD2 100%);
    border-left: 5px solid #E53935;
    padding: 20px;
    border-radius: 8px;
}

.pros h4 {
    color: var(--brand-green-dark);
    margin: 0 0 10px 0;
}

.cons h4 {
    color: #C62828;
    margin: 0 0 10px 0;
}

/* Icon Lists */
.icon-list {
    list-style: none;
    margin-left: 0;
}

.icon-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
}

.icon-list li:before {
    content: "✓";
    position: absolute;
    left: 5px;
    color: var(--brand-green);
    font-weight: bold;
    font-size: 1.2em;
}

/* Stat Boxes */
.stat-box {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--brand-blue-light) 0%, var(--brand-blue) 100%);
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1em;
    opacity: 0.9;
}

/* Diagrams */
.diagram {
    background: #F8F9FA;
    border: 2px solid var(--brand-blue-light);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.architecture-box {
    background: white;
    border: 2px solid var(--brand-blue);
    padding: 15px;
    margin: 10px;
    border-radius: 8px;
    display: inline-block;
    min-width: 150px;
}

.arrow {
    font-size: 2em;
    color: var(--brand-green);
    margin: 0 10px;
}

/* Cost Badges */
.cost-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9em;
    margin: 5px;
}

.cost-high {
    background: #FFCDD2;
    color: #C62828;
}

.cost-medium {
    background: #FFF9C4;
    color: #F57F17;
}

.cost-low {
    background: #C8E6C9;
    color: var(--brand-green-dark);
}

/* Quote Boxes */
.quote-box {
    background: linear-gradient(135deg, var(--brand-blue-light) 0%, var(--brand-blue) 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    font-size: 1.2em;
    font-style: italic;
    text-align: center;
    margin: 25px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Process Flow */
.process-flow {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 25px 0;
    flex-wrap: wrap;
}

.process-step {
    background: white;
    border: 3px solid var(--brand-blue);
    border-radius: 10px;
    padding: 20px;
    min-width: 150px;
    text-align: center;
    position: relative;
}

.process-step .number {
    background: var(--brand-green);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 10px auto;
}

/* Key Takeaway */
.key-takeaway {
    background: linear-gradient(135deg, var(--brand-green-light) 0%, var(--brand-green) 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 10px;
    margin: 20px 0;
    font-size: 1.1em;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Title Slide Specific */
.title-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.title-slide h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.title-slide .subtitle {
    font-size: 1.5em;
    color: var(--brand-blue-light);
    margin-bottom: 40px;
}

.title-slide .logo {
    height: 80px;
    margin-bottom: 30px;
}

/* Section Divider Slides */
.section-divider {
    height: 100%;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-slate) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.section-divider h1 {
    color: white;
    font-size: 3.5em;
    text-align: center;
    margin-bottom: 1rem;
}

.section-divider .divider-line {
    width: 150px;
    height: 6px;
    background: var(--brand-blue-light);
}

/* Navigation */
.navigation {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: rgba(0,0,0,0.85);
    padding: 12px 25px;
    border-radius: 30px;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.nav-btn {
    background: var(--brand-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--brand-green);
    transform: scale(1.05);
}

.nav-btn:disabled {
    background: #6C757D;
    cursor: not-allowed;
    opacity: 0.5;
}

.slide-counter {
    color: white;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

/* Responsive Design */
@media (max-width: 1024px) {
    .slide-container {
        padding: 30px 40px;
    }

    h1 {
        font-size: 2em;
    }

    .two-column,
    .three-column,
    .four-column {
        grid-template-columns: 1fr;
    }
}

@media print {
    .navigation {
        display: none;
    }

    .slide-container {
        page-break-after: always;
        height: auto;
    }
}
