/*==================================================================================
    Custom Stylesheet (Any custom styling you want to apply should be defined here).
====================================================================================*/

/* Feature module screenshots */
.feature-shot {
    margin-top: 14px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f3f4f6;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    border: 0;
    padding: 0;
    display: block;
    width: 100%;
    cursor: zoom-in;
    position: relative;
}

.feature-shot img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.feature-shot:hover img {
    transform: scale(1.04);
}

.feature-shot-cta {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 8px;
    border-radius: 999px;
}

.feature-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.feature-modal.is-open {
    display: block;
}

.feature-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 10, 18, 0.65);
    backdrop-filter: blur(2px);
    opacity: 0;
    animation: featureFade 0.25s ease forwards;
}

.feature-modal__dialog {
    position: absolute;
    inset: 7% 8%;
    background: #111;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(16px) scale(0.96);
    opacity: 0;
    animation: featureZoom 0.35s ease forwards;
}

.feature-modal__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.feature-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 0;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    cursor: pointer;
}

.feature-modal-open {
    overflow: hidden;
}

@keyframes featureFade {
    to { opacity: 1; }
}

@keyframes featureZoom {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.feature-shot img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* Contact form response */
.form-response {
    margin-top: 12px;
}

.form-response span {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    background: #eef2f7;
    color: #1f2937;
}

.form-response.success span {
    background: #e6f6ea;
    color: #137333;
}

.form-response.error span {
    background: #fdeaea;
    color: #b42318;
}
