/* ===== E LIBRARY COMING SOON STYLES ===== */

/* Ensure proper z-index stacking for navigation menu */
/* This fixes the issue where dropdowns get hidden */
.main-nav .submenu {
    z-index: 1000 !important;
}

header.main-header {
    position: relative;
    z-index: 999;
    /* Maintain header above page content */
}

/* Coming Soon Wrapper */
.coming-soon-wrapper {
    position: relative;
    min-height: 80vh;
    /* Takes up most of the screen view */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 60px 20px;
    z-index: 1;
    /* Content sits below header/nav */
    overflow: hidden;
    /* Prevent spillover */
}

/* Background Effect */
.coming-soon-wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(197, 169, 111, 0.1);
    /* Accent color tint */
    border-radius: 50%;
    z-index: -1;
}

.coming-soon-wrapper::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(26, 41, 66, 0.05);
    /* Primary color tint */
    border-radius: 50%;
    z-index: -1;
}

/* Card Container */
.coming-soon-card {
    background: #ffffff;
    max-width: 700px;
    width: 100%;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    /* Contains inner elements */
}

/* Decorative top border */
.coming-soon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
}

/* Icons styling */
.icon-box {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.icon-box i {
    font-size: 64px;
    color: var(--color-primary);
    background: rgba(26, 41, 66, 0.05);
    padding: 25px;
    border-radius: 50%;
}

.secondary-icon {
    position: absolute;
    bottom: -5px;
    right: -10px;
    font-size: 32px !important;
    /* Override main icon size */
    color: #ffffff !important;
    background: var(--color-accent) !important;
    padding: 10px !important;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Text Typography */
.coming-soon-card h1 {
    font-size: 36px;
    font-family: var(--font-heading, "Playfair Display", serif);
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.coming-soon-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Divider Line */
.divider {
    height: 1px;
    width: 60px;
    background: #e0e0e0;
    margin: 0 auto 25px;
}

.notify-text {
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px !important;
}

/* Contact Section */
.contact-preview {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.contact-preview span {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 30px;
    background: #f9f9f9;
}

.contact-link:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-link i {
    color: var(--color-accent);
}

.contact-link:hover i {
    color: #ffffff;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .coming-soon-wrapper {
        min-height: 60vh;
        padding: 40px 20px;
    }

    .coming-soon-card {
        padding: 40px 20px;
    }

    .coming-soon-card h1 {
        font-size: 28px;
    }

    .icon-box i {
        font-size: 48px;
        padding: 20px;
    }

    .secondary-icon {
        font-size: 24px !important;
        right: -5px;
    }
}