/* -------------------------------
   Template 1 Fullscreen Layout
--------------------------------*/

body.mdxcsp-coming-soon.template-1 {
    margin: 0;
    padding: 0;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Correct relative path to assets from views/frontend/template-1/template-2.css */
    background: #111 url('../../../assets/img/template-1-admin-image.jpeg') no-repeat center center / cover;
    color: #fff;
    font-family: Arial, sans-serif;
}

.mdxcsp-coming-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Top Bar */
.mdxcsp-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    /*background: rgba(0, 0, 0, 0.5);*/
    position: relative;
    border-bottom: 1px solid #ffffff;
}

.mdxcsp-logo img {
    max-height: 50px;
}

.mdxcsp-menu-toggle {
    background: none !important;
    border: none !important;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

/* Keyboard focus */
.mdxcsp-menu-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* Dropdown menu */
.mdxcsp-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 20px;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 0px;
    overflow: hidden;
    z-index: 999;
}

/* Show menu when aria-hidden="false" or .is-open class is present */
.mdxcsp-dropdown-menu[aria-hidden="false"],
.mdxcsp-dropdown-menu.is-open {
    display: block;
}

.mdxcsp-dropdown-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mdxcsp-dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mdxcsp-dropdown-menu li:last-child {
    border-bottom: none;
}

.mdxcsp-dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
}

.mdxcsp-dropdown-menu li a:hover,
.mdxcsp-dropdown-menu li a:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.mdxcsp-dropdown-menu  {
    border: 1px solid #ffffff;
}

/* Main Content */
.mdxcsp-main-content {
    text-align: center;
    margin: auto;
    padding: 0 20px;
}

.mdxcsp-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.mdxcsp-counter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.mdxcsp-counter-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*background: rgba(0, 0, 0, 0.4);*/
    padding: 10px 15px;
    border-radius: 8px;
    min-width: 70px;
}

.mdxcsp-counter-box span {
    font-size: 2rem;
    font-weight: bold;
}

.mdxcsp-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Bottom Bar */
.mdxcsp-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-top: 1px solid #ffffff;
    /*background: rgba(0, 0, 0, 0.5);*/
    font-size: 0.9rem;
}

.mdxcsp-footer-right img {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s ease-in-out;
}

.mdxcsp-footer-right img:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 600px) {
    .mdxcsp-title {
        font-size: 2.25rem;
    }

    .mdxcsp-counter {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .mdxcsp-footer-right img {
        transition: none !important;
    }
}