/* ============================================================
   Maintenance Mode Plugin — Nexus Theme Styles
   Fonts: Cinzel (headings) + Raleway (body)
   Palette: Navy #1a2235 | Steel Blue #3a7fc1 | Grey #f7f8fa
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Raleway:wght@300;400;500;600&display=swap');

:root {
    --ink:        #1a2235;
    --paper:      #f7f8fa;
    --surface:    #ffffff;
    --mid:        #e0e4ec;
    --muted:      #6e7f98;
    --dim:        #4e5f78;
    --blue:       #3a7fc1;
    --blue-dark:  #2a5d94;
    --blue-pale:  #ddeaf7;
    --hero-bg:    #1a2235;
    --hero-mid:   #243048;
}

/* ---- Reset ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    background: var(--hero-bg);
    color: #e8edf5;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover, a:focus {
    color: var(--blue-pale);
}

p {
    font-size: 16px;
    line-height: 1.75;
}

/* ---- Full-screen background container ---- */
.main {
    background-position: center center;
    background-size: cover;
    min-height: 100vh;
    min-width: 100%;
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- Overlay ---- */
.cover {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(26, 34, 53, 0.88) 0%,
        rgba(26, 34, 53, 0.72) 50%,
        rgba(36, 48, 72, 0.80) 100%
    );
    backdrop-filter: blur(1px);
}

.cover.black {
    background: linear-gradient(
        135deg,
        rgba(26, 34, 53, 0.88) 0%,
        rgba(26, 34, 53, 0.72) 50%,
        rgba(36, 48, 72, 0.80) 100%
    );
}

/* ---- Content container ---- */
.container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 48px 40px;
    text-align: center;
}

/* ---- Decorative rule above heading ---- */
.container::before {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    background: var(--blue);
    margin: 0 auto 32px;
}

/* ---- Main heading (message) ---- */
.logo {
    font-family: 'Cinzel', serif;
    font-size: clamp(42px, 8vw, 82px);
    font-weight: 600;
    color: #e8edf5;
    letter-spacing: 0.04em;
    line-height: 1.1;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
    margin-bottom: 8px;
    position: relative;
    z-index: 3;
}

/* Override the original cursive class — keep Cinzel */
.logo.cursive {
    font-family: 'Cinzel', serif;
    font-size: clamp(42px, 8vw, 82px);
}

/* ---- Content block below heading ---- */
.content {
    position: relative;
    z-index: 4;
    margin-top: 8px;
}

/* ---- Sub-message ---- */
.motto {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 300;
    color: #8a9db8;
    letter-spacing: 0.06em;
    text-align: center;
    margin-top: 20px;
    min-height: auto;
    line-height: 1.6;
}

/* ---- Contact / info block ---- */
.subscribe {
    margin-top: 40px;
}

.info-text {
    display: inline-block;
    background: rgba(58, 127, 193, 0.10);
    border: 1px solid rgba(58, 127, 193, 0.25);
    padding: 20px 32px;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #8a9db8;
    line-height: 1.8;
    letter-spacing: 0.02em;
    text-align: center;
}

.info-text strong,
.info-text b {
    color: #c4d2e8;
    font-weight: 500;
}

/* ---- Footer ---- */
.footer {
    position: fixed;
    bottom: 24px;
    right: 0;
    width: 100%;
    text-align: right;
    padding-right: 40px;
    color: rgba(138, 157, 184, 0.5);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    z-index: 4;
}

.footer a {
    color: rgba(138, 157, 184, 0.7);
}
.footer a:hover {
    color: var(--blue-pale);
}

/* ---- Focus / accessibility ---- */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible) {
    outline: 0;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
    .container {
        padding: 40px 24px;
    }
    .info-text {
        padding: 16px 20px;
        font-size: 14px;
    }
    .footer {
        text-align: center;
        padding-right: 0;
    }
}
