/*
Theme Name: XBAZAR Manutenzione
Theme URI: https://xbazar.it
Author: XBAZAR.IT
Author URI: https://xbazar.it
Description: Tema temporaneo "Sito in Manutenzione" per XBAZAR.IT. Mostra una pagina di cortesia con logo, messaggio e (opzionale) countdown, restituendo correttamente lo stato HTTP 503 ai motori di ricerca.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xbazar-manutenzione
*/

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: radial-gradient(circle at top, #eaf4fb 0%, #d7e9f5 45%, #c3dced 100%);
    color: #1b3a4b;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.maintenance-wrap {
    max-width: 640px;
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(20, 60, 90, 0.15);
    padding: 56px 40px;
    text-align: center;
}

.maintenance-logo {
    max-width: 220px;
    width: 60%;
    height: auto;
    margin-bottom: 28px;
}

.maintenance-wrap h1 {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 0 0 12px;
    color: #14384f;
    text-transform: uppercase;
}

.maintenance-wrap .subtitle {
    font-size: 1.05rem;
    color: #3d6178;
    margin: 0 0 28px;
    line-height: 1.5;
}

.maintenance-icon {
    font-size: 2.4rem;
    margin-bottom: 8px;
    display: inline-block;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.maintenance-message {
    background: #f3f8fc;
    border: 1px solid #d9e9f2;
    border-radius: 14px;
    padding: 18px 22px;
    font-size: 0.98rem;
    color: #2c5169;
    margin-bottom: 26px;
}

.maintenance-progress {
    width: 100%;
    height: 10px;
    background: #e2eef6;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 26px;
}

.maintenance-progress-bar {
    height: 100%;
    width: 65%;
    border-radius: 10px;
    background: linear-gradient(90deg, #4fa9dc, #2e6f9e);
    animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.maintenance-contact {
    font-size: 0.9rem;
    color: #6a8ba0;
}

.maintenance-contact a {
    color: #2e6f9e;
    font-weight: 600;
    text-decoration: none;
}

.maintenance-contact a:hover {
    text-decoration: underline;
}

.maintenance-footer {
    margin-top: 36px;
    font-size: 0.8rem;
    color: #9db6c6;
}

@media (max-width: 480px) {
    .maintenance-wrap {
        padding: 40px 24px;
        border-radius: 18px;
    }
    .maintenance-wrap h1 {
        font-size: 1.6rem;
    }
}
