/* Multi-Cloud Custom Theme for GitHub Pages */

/* Cloud-themed gradient backgrounds */
:root {
    --aws-orange: #FF9900;
    --azure-blue: #0078D4;
    --gcp-red: #EA4335;
    --gcp-blue: #4285F4;
    --gcp-yellow: #FBBC04;
    --gcp-green: #34A853;
    --cloud-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --multi-cloud-gradient: linear-gradient(135deg, 
        var(--aws-orange) 0%, 
        var(--azure-blue) 25%, 
        var(--gcp-blue) 50%, 
        var(--gcp-green) 75%, 
        #667eea 100%);
}

/* Animated cloud background */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 30%);
    pointer-events: none;
    z-index: -1;
}

/* Main content container with glass effect */
.main-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
}

/* Cloud provider badges/icons */
.cloud-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 0.5rem;
    border-radius: 8px;
    padding: 0.5rem;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.cloud-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.cloud-icon.aws {
    background: linear-gradient(135deg, #FF9900 0%, #FF6600 100%);
}

.cloud-icon.azure {
    background: linear-gradient(135deg, #0078D4 0%, #00BCF2 100%);
}

.cloud-icon.gcp {
    background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
}

/* Animated header with cloud pattern */
.page-header {
    background: var(--multi-cloud-gradient);
    padding: 3rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.page-header::before {
    content: '☁️';
    position: absolute;
    font-size: 120px;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
    top: -20px;
    left: 10%;
}

.page-header::after {
    content: '☁️';
    position: absolute;
    font-size: 80px;
    opacity: 0.1;
    animation: float 25s infinite ease-in-out reverse;
    bottom: -10px;
    right: 15%;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(20px);
    }
}

/* Enhanced code blocks with cloud theme */
pre, code {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-left: 4px solid var(--azure-blue);
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
}

code {
    padding: 0.2rem 0.4rem;
    font-size: 0.9em;
}

/* Cloud-themed tables */
table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

table thead {
    background: var(--multi-cloud-gradient);
    color: white;
}

table thead th {
    padding: 1rem;
    font-weight: 600;
    color: white;
}

table tbody td {
    padding: 0.8rem 1rem;
    color: #000000 !important;
    font-weight: 500;
}

table tbody tr {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

table tbody tr:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    transform: scale(1.01);
    transition: all 0.3s ease;
}

table tbody tr:hover td {
    color: #000000 !important;
}

/* Cloud provider status indicators */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.operational {
    background: linear-gradient(135deg, #34A853 0%, #0F9D58 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(52, 168, 83, 0.3);
}

.status-badge.degraded {
    background: linear-gradient(135deg, #FBBC04 0%, #F4B400 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(251, 188, 4, 0.3);
}

/* Enhanced links with cloud colors */
a {
    color: var(--azure-blue);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--multi-cloud-gradient);
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

/* Cloud-themed buttons */
.btn-cloud {
    background: var(--multi-cloud-gradient);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-cloud:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Animated cloud icons */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.cloud-pulse {
    animation: pulse 3s infinite ease-in-out;
}

/* Card components with glassmorphism */
.cloud-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    transition: all 0.3s ease;
}

.cloud-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
}

/* Provider-specific accent colors */
.aws-accent {
    border-left: 4px solid var(--aws-orange);
}

.azure-accent {
    border-left: 4px solid var(--azure-blue);
}

.gcp-accent {
    border-left: 4px solid var(--gcp-blue);
}

/* Responsive cloud pattern */
@media (max-width: 768px) {
    .cloud-icon {
        width: 32px;
        height: 32px;
    }
    
    .main-content {
        padding: 1rem;
        margin: 1rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .main-content {
        background: rgba(30, 30, 30, 0.95);
        color: #e0e0e0;
    }
    
    .cloud-card {
        background: rgba(50, 50, 50, 0.7);
        color: #e0e0e0;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--multi-cloud-gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--azure-blue) 0%, var(--aws-orange) 100%);
}
