/*
Theme Name: Imdex Theme
Author: Dar
Description: Custom WordPress theme for Imdex project
Version: 1.0
*/

html,
body {
    margin: 0 auto;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);

    display: none;
    justify-content: center;
    align-items: center;

    z-index: 9999;
}

.modal-box {
    background: #fff;
    padding: 35px;
    max-width: 420px;
    width: 90%;

    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);

    position: relative;
    animation: fadeInUp 0.3s ease;
}

.modal-box h3 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    color: #f04e30;
}

.modal-box form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-box input {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.2s;
}

.modal-box input:focus {
    border-color: #f04e30;
    outline: none;
}

.modal-box button {
    margin-top: 10px;
    padding: 12px;
    background: #f04e30;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.modal-box button:hover {
    background: #f04e30;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 18px;
    font-size: 22px;
    cursor: pointer;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}