/* ==========================================================================
   UECC - United Equipment & Contracting Co.
   Under Maintenance Landing Page Styles
   ========================================================================== */

:root {
    --uecc-red: #c8102e;
    --uecc-red-dark: #aa0b25;
    --uecc-blue: #173b72;
    --uecc-blue-dark: #0f2a54;
    --uecc-blue-hover: #1c4585;
    --text-dark: #173b72;
    --text-body: #47586f;
    --text-muted: #566983;
    --text-light: #778aa3;
    --border-line: #d2dbe5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Fullscreen Hero Wrapper */
.maintenance-screen {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    background: #ffffff url('../images/bg-4k.jpg') no-repeat center right;
    background-size: cover;
    padding: 50px 70px;
}

.content-container {
    width: 100%;
    max-width: 630px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
}

/* Top Brand Logo */
.brand-section {
    margin-bottom: 38px;
}

.brand-logo-img {
    max-height: 105px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Small Tagline */
.tagline-wrapper {
    margin-bottom: 12px;
}

.tagline-bar {
    width: 48px;
    height: 3px;
    background-color: var(--uecc-red);
    border-radius: 2px;
    margin-bottom: 8px;
}

.tagline-text {
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 2.2px;
    color: #24426e;
    text-transform: uppercase;
    display: block;
}

/* Big Headline */
.main-headline {
    margin-bottom: 22px;
    line-height: 1.08;
}

.headline-under {
    display: block;
    font-size: 68px;
    font-weight: 800;
    color: var(--uecc-blue);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.headline-maintenance {
    display: block;
    font-size: 68px;
    font-weight: 900;
    color: var(--uecc-red);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

/* Description */
.desc-paragraph {
    font-size: 15.5px;
    line-height: 1.68;
    color: var(--text-body);
    max-width: 470px;
    margin-bottom: 38px;
    font-weight: 500;
}

/* Contact Details Row */
.contact-strip {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.contact-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: var(--border-line);
}

.contact-icon-bubble {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--uecc-red);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(200, 16, 46, 0.35);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.contact-icon-bubble:hover {
    transform: scale(1.08);
    color: #ffffff;
}

.contact-icon-bubble svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.contact-meta {
    display: flex;
    flex-direction: column;
}

.contact-value {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--uecc-blue);
    text-decoration: none;
    line-height: 1.35;
    transition: color 0.2s ease;
}

a.contact-value:hover {
    color: var(--uecc-red);
}

.contact-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 3px;
}

.address-text {
    font-size: 11.5px;
    line-height: 1.35;
    color: var(--uecc-blue);
    max-width: 175px;
    font-weight: 600;
}

/* Action Buttons */
.actions-strip {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.pill-btn svg.icon-svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    flex-shrink: 0;
}

.pill-btn svg.arrow-svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.pill-btn:hover svg.arrow-svg {
    transform: translateX(4px);
}

.pill-btn-red {
    background-color: var(--uecc-red);
    color: #ffffff !important;
    box-shadow: 0 6px 22px rgba(200, 16, 46, 0.4);
}

.pill-btn-red:hover {
    background-color: var(--uecc-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(200, 16, 46, 0.5);
}

.pill-btn-navy {
    background-color: var(--uecc-blue);
    color: #ffffff !important;
    box-shadow: 0 6px 22px rgba(23, 59, 114, 0.4);
}

.pill-btn-navy:hover {
    background-color: var(--uecc-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(23, 59, 114, 0.55);
}

/* Responsive Breakpoints */

/* Small laptops & landscape tablets */
@media (max-width: 1400px) {
    .maintenance-screen {
        padding: 40px 48px;
    }

    /* keeps the copy readable where it overlaps the photo */
    .maintenance-screen::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0) 70%);
        pointer-events: none;
    }

    .headline-under,
    .headline-maintenance {
        font-size: 56px;
    }

    .content-container {
        max-width: 560px;
    }

    .contact-strip {
        display: grid;
        grid-template-columns: auto auto;
        justify-content: start;
        column-gap: 32px;
        row-gap: 18px;
    }

    .contact-item:first-child::after {
        right: -16px;
    }

    .contact-item:nth-child(2)::after {
        display: none;
    }

    .contact-item:last-child {
        grid-column: 1 / -1;
    }

    .address-text {
        max-width: 340px;
    }

    .address-text br {
        display: none;
    }
}

@media (min-width: 992px) {
    .contact-value {
        white-space: nowrap;
    }
}

/* Tablets & mobile: full photo background with a glass content card */
@media (max-width: 991.98px) {
    .maintenance-screen {
        flex-direction: column;
        align-items: stretch;
        padding: 0 0 40px;
        background: #dfe7f1 url('../images/bg-4k.jpg') no-repeat 80% top / cover;
    }

    /* spacer that reveals the photo above the card */
    .maintenance-screen::before {
        position: relative;
        inset: auto;
        display: block;
        flex-shrink: 0;
        height: 40vh;
        min-height: 280px;
        max-height: 440px;
        background: none;
    }

    .content-container {
        width: calc(100% - 48px);
        max-width: 680px;
        margin: -110px auto 0;
        padding: 44px 40px 40px;
        align-items: center;
        text-align: center;
        background: rgba(255, 255, 255, 0.9);
  
        border: 1px solid rgba(255, 255, 255, 0.65);
        border-radius: 28px;
        box-shadow: 0 24px 60px rgba(15, 42, 84, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }

    .brand-section {
        margin-bottom: 28px;
    }

    .brand-logo-img {
        max-height: 92px;
        margin: 0 auto;
    }

    .tagline-bar {
        margin: 0 auto 10px;
    }

    .headline-under,
    .headline-maintenance {
        font-size: 54px;
    }

    .desc-paragraph {
        max-width: 520px;
        margin: 0 auto 34px;
    }

    .contact-strip {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: start;
        gap: 0;
        margin-bottom: 32px;
        padding: 24px 0;
        border-top: 1px solid rgba(23, 59, 114, 0.14);
        border-bottom: 1px solid rgba(23, 59, 114, 0.14);
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 0 12px;
    }

    .contact-item:not(:last-child)::after {
        display: block;
        right: 0;
        top: 10%;
        height: 80%;
        background-color: rgba(23, 59, 114, 0.16);
    }

    .contact-item:last-child {
        grid-column: auto;
    }

    .contact-meta {
        align-items: center;
    }

    .address-text {
        max-width: 190px;
    }

    .actions-strip {
        width: 100%;
        justify-content: center;
        gap: 14px;
    }

    .pill-btn {
        flex: 1 1 0;
        max-width: 280px;
        padding: 15px 22px;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .maintenance-screen {
        padding-bottom: 24px;
    }

    .maintenance-screen::before {
        height: 34vh;
        min-height: 230px;
        background-position: 80% center, 80% center;
    }

    .content-container {
        width: calc(100% - 28px);
        margin-top: -80px;
        padding: 32px 20px 24px;
        border-radius: 22px;
    }

    .brand-section {
        margin-bottom: 22px;
    }

    .brand-logo-img {
        max-height: 74px;
    }

    .tagline-text {
        font-size: 11px;
        letter-spacing: 1.6px;
        line-height: 1.5;
    }

    .main-headline {
        margin-bottom: 16px;
    }

    .headline-under,
    .headline-maintenance {
        font-size: clamp(28px, 9.2vw, 40px);
        letter-spacing: 0;
    }

    .desc-paragraph {
        font-size: 14.5px;
        line-height: 1.65;
        margin-bottom: 26px;
    }

    .contact-strip {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0;
        border: 0;
        margin-bottom: 24px;
    }

    .contact-item {
        flex-direction: row;
        text-align: left;
        gap: 14px;
        padding: 14px 16px;
        background: rgba(255, 255, 255, 0.55);
        border: 1px solid rgba(255, 255, 255, 0.8);
        border-radius: 16px;
    }

    .contact-item:not(:last-child)::after {
        display: none;
    }

    .contact-meta {
        align-items: flex-start;
    }

    .contact-icon-bubble {
        width: 42px;
        height: 42px;
    }

    .contact-value {
        font-size: 14.5px;
    }

    .address-text {
        max-width: none;
        font-size: 12.5px;
    }

    .address-text br {
        display: none;
    }

    .actions-strip {
        flex-direction: column;
        gap: 12px;
    }

    .pill-btn {
        width: 100%;
        max-width: none;
        flex: none;
        padding: 15px 20px;
    }
}