/* ============================================================
   CONTACT PAGE — RED NEON THEME
   Fully Scoped • Safe • Does NOT override global header/nav
============================================================ */

/* PAGE WRAPPER */
.contact-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    color: var(--text);
}

/* PAGE HEADINGS */
.contact-page h1,
.contact-page h2 {
    color: var(--accent);
    margin-bottom: 12px;
    text-shadow: 0 0 6px rgba(255,0,0,0.4);
}

.contact-page .intro {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* ============================================================
   FORM STYLING
============================================================ */
.contact-page form fieldset {
    border: 1px solid rgba(255,255,255,0.15);
    padding: 20px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    margin-top: 15px;
}

.contact-page form legend {
    padding: 0 10px;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Label + Inputs */
.contact-page form label {
    display: block;
    margin: 12px 0 5px;
    font-weight: 600;
    color: var(--text);
}

.contact-page form input,
.contact-page form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: #0f1118;
    color: #fff;
    font-size: 1rem;
    box-sizing: border-box;
    outline: none;
    transition: 0.25s;
}

.contact-page form input:focus,
.contact-page form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 8px rgba(255,0,0,0.6);
}

/* Submit Button */
.contact-page form button {
    margin-top: 18px;
    padding: 14px 28px;
    background: var(--accent);
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 0 12px rgba(255,0,0,0.7);
    transition: 0.25s;
}

.contact-page form button:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(255,0,0,1);
}

/* ============================================================
   MAP EMBED
============================================================ */
.contact-page iframe {
    width: 100%;
    height: 380px;
    border-radius: 12px;
    border: none;
    overflow: hidden;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
============================================================ */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 100px;
    height: 100px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(0, 255, 0, 0.7));
    transition: transform 0.2s ease, filter 0.2s ease;
}

.whatsapp-btn:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 18px rgba(0, 255, 0, 1));
}

/* ============================================================
   MOBILE RESPONSIVE
============================================================ */
@media (max-width: 600px) {
    .contact-page form fieldset {
        padding: 15px;
    }

    .whatsapp-btn {
        width: 75px;
        height: 75px;
        bottom: 18px;
        right: 18px;
    }
}

/* ============================================================
   SUCCESS POPUP (Neon Red, Fade In/Out)
============================================================ */
.popup-success {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 200, 0, 0.15);
    border: 1px solid #00ff66;
    color: #00ff99;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 0 12px #00ff66, 0 0 25px rgba(0,255,100,0.5);
    backdrop-filter: blur(6px);
    animation: popupFade 4.5s ease forwards;
    z-index: 99999;
}

/* ============================================================
   ERROR POPUP (Neon Red Warning)
============================================================ */
.error-box {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(80, 0, 0, 0.4);
    border: 1px solid #ff0000;
    color: #ff5555;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 0 12px #ff0000, 0 0 25px rgba(255,0,0,0.5);
    backdrop-filter: blur(6px);
    animation: popupFade 4.5s ease forwards;
    z-index: 99999;
}

/* ============================================================
   POPUP ANIMATION (Fade In → Stay → Fade Out)
============================================================ */
@keyframes popupFade {
    0%   { opacity: 0; transform: translateY(-12px); }
    10%  { opacity: 1; transform: translateY(0); }
    85%  { opacity: 1; }
    100% { opacity: 0; transform: translateY(-12px); }
}
