/**
 * Edukate Theme - Maintenance Mode Styles
 * 
 * Dedicated CSS file for maintenance mode styling
 * Matches the Edukate theme design system
 * Countdown functionality removed
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Background */
body.maintenance-mode {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #06bbcc 0%, #24262B 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #303030;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* Theme-inspired background effects */
body.maintenance-mode::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(6, 187, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(36, 38, 43, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 187, 204, 0.05) 0%, transparent 50%);
    z-index: 1;
}

/* Floating shapes for theme consistency */
body.maintenance-mode::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: rgba(6, 187, 204, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

/* Overlay */
.maintenance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Main Container */
.maintenance-container {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 60px 50px;
    text-align: center;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 25px;
    box-shadow: 
        0 30px 90px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(6, 187, 204, 0.1);
    margin: 20px;
    backdrop-filter: blur(25px);
    border: 2px solid rgba(6, 187, 204, 0.2);
    animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.maintenance-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #06bbcc, #24262B, #06bbcc);
    border-radius: 27px;
    z-index: -1;
    opacity: 0.1;
}

/* Logo */
.maintenance-logo {
    margin-bottom: 30px;
}

.maintenance-logo img {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.1));
}

/* Icon */
.maintenance-icon {
    font-size: 4.5em;
    color: #06bbcc;
    margin-bottom: 25px;
    display: block;
    animation: float 4s ease-in-out infinite;
    text-shadow: 0 4px 15px rgba(6, 187, 204, 0.3);
}

/* Title */
.maintenance-title {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: #303030;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Jost', sans-serif;
}

/* Message */
.maintenance-message {
    font-size: 1.125rem;
    margin-bottom: 40px;
    color: #4E4E4E;
    line-height: 1.7;
    font-weight: 400;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.maintenance-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(6, 187, 204, 0.15);
    font-size: 1rem;
    color: #666666;
    font-weight: 400;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .maintenance-container {
        padding: 40px 30px;
        margin: 15px;
    }
    
    .maintenance-title {
        font-size: 2.2rem;
    }
    
    .maintenance-message {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .maintenance-logo img {
        max-width: 180px;
    }
    
    .maintenance-icon {
        font-size: 3.5em;
    }
}

@media (max-width: 480px) {
    .maintenance-container {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .maintenance-title {
        font-size: 1.8rem;
    }
    
    .maintenance-message {
        font-size: 0.95rem;
    }
    
    .maintenance-logo img {
        max-width: 150px;
    }
    
    .maintenance-icon {
        font-size: 3em;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .maintenance-container {
        background: rgba(36, 38, 43, 0.95);
        border-color: rgba(6, 187, 204, 0.3);
    }
    
    .maintenance-title {
        color: #ffffff;
    }
    
    .maintenance-message {
        color: #e0e0e0;
    }
    
    .maintenance-footer {
        color: #cccccc;
        border-color: rgba(6, 187, 204, 0.2);
    }
}