/**
 * Xeora Contact Page — Glassmorphism Dark v4.2.0
 *
 * @package Xeora
 * @subpackage Assets/CSS/Frontend
 * @since 4.2.0
 */

/* ═══════════════════════════════════════════════════
   BASE
   ═══════════════════════════════════════════════════ */

body.xeora-contact-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: #fff;
    line-height: 1.6;
}

/* Ambient orbs */
body.xeora-contact-page::before,
body.xeora-contact-page::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}
body.xeora-contact-page::before {
    width: 450px; height: 450px;
    background: #667eea;
    top: -100px; left: -80px;
}
body.xeora-contact-page::after {
    width: 350px; height: 350px;
    background: #764ba2;
    bottom: -60px; right: -60px;
}

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */

.contact-hero {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 70px 20px 40px;
}

.contact-hero-inner {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 44px 32px;
    max-width: 700px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 40px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: -0.03em;
}

.contact-hero h1 i {
    margin-right: 12px;
    color: #b8cc0b;
}

.contact-hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ═══════════════════════════════════════════════════
   CONTAINER
   ═══════════════════════════════════════════════════ */

.contact-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

/* ═══════════════════════════════════════════════════
   GRID — info left + form right
   ═══════════════════════════════════════════════════ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 36px;
}

/* ═══════════════════════════════════════════════════
   INFO LEFT
   ═══════════════════════════════════════════════════ */

.contact-info h2 {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
}

.contact-info > p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    transition: all 0.25s;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.18);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(184, 204, 11, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #b8cc0b;
    flex-shrink: 0;
}

.contact-method-text h4 {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 2px;
}

.contact-method-text a,
.contact-method-text span {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.contact-method-text a:hover {
    color: #b8cc0b;
}

/* Social */
.contact-social {
    display: flex;
    gap: 12px;
}

.contact-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.25s;
}

.contact-social a:hover {
    background: rgba(184, 204, 11, 0.15);
    border-color: rgba(184, 204, 11, 0.4);
    color: #fff;
    transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════
   FORM RIGHT
   ═══════════════════════════════════════════════════ */

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 36px;
}

/* Alerts */
.contact-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.contact-alert.success {
    background: rgba(72, 187, 120, 0.12);
    border: 1px solid rgba(72, 187, 120, 0.25);
    color: #68d391;
}

.contact-alert.error {
    background: rgba(229, 62, 62, 0.12);
    border: 1px solid rgba(229, 62, 62, 0.25);
    color: #fc8181;
}

.contact-alert i {
    font-size: 18px;
    flex-shrink: 0;
}

/* Form fields */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.form-label .required {
    color: #fc8181;
}

.form-label input,
.form-label textarea {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.25s;
    box-sizing: border-box;
}

.form-label input::placeholder,
.form-label textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-label input:focus,
.form-label textarea:focus {
    border-color: rgba(184, 204, 11, 0.5);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 3px rgba(184, 204, 11, 0.12);
}

.form-label textarea {
    resize: vertical;
    min-height: 120px;
}

/* Privacy note */
.form-privacy {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.form-privacy p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
    line-height: 1.5;
}

.form-privacy a {
    color: rgba(184, 204, 11, 0.8);
    text-decoration: none;
}

.form-privacy a:hover {
    text-decoration: underline;
}

/* Submit */
.contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    background: #b8cc0b;
    color: #0f0c29;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(184, 204, 11, 0.3);
    background: #c4d60a;
}

.contact-submit i {
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-hero h1 {
        font-size: 32px;
    }
    .contact-hero-inner {
        padding: 36px 24px;
    }
}

@media (max-width: 560px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        padding: 24px 20px;
    }
    .contact-hero {
        padding: 50px 16px 30px;
    }
    .contact-hero-inner {
        padding: 28px 18px;
    }
    .contact-hero h1 {
        font-size: 26px;
    }
}

/* Mobile: disable orbs + prevent pinch-out */
@media (max-width: 768px) {
    body.xeora-contact-page:not(.xeora-menu-open)::before,
    body.xeora-contact-page:not(.xeora-menu-open)::after {
        content: none !important;
    }
    html {
        background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
        overflow-x: hidden;
    }
    body.xeora-contact-page {
        overflow-x: hidden;
    }
}
