/* ===================================
   CONTACT PAGE STYLES
   Dark Cyberpunk Theme
   =================================== */

/* ===================================
   CONTACT PAGE HEADER
   =================================== */
.contact-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.6s ease-out;
}

.contact-header h1 {
    font-family: var(--font-brand);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--nav-text);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.contact-header h1::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--nav-accent);
    box-shadow: 0 0 16px var(--nav-accent);
}

.contact-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--nav-text-dim);
    margin-top: 2rem;
}

/* ===================================
   CONTACT CONTENT LAYOUT
   =================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* ===================================
   CONTACT FORM WRAPPER
   =================================== */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--nav-border);
    border-radius: 16px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--nav-accent) 0%, #00d4ff 100%);
    box-shadow: 0 0 16px var(--nav-accent);
}

/* ===================================
   FORM STYLES
   =================================== */
form#contactForm {
    max-width: 100%;
    width: 100%;
}

/* Honeypot (hidden spam trap) */
.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

/* Labels */
form#contactForm label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--nav-text);
    margin-bottom: 0.5rem;
    padding: 0;
    margin-left: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.label-icon {
    font-size: 1rem;
}

.required {
    color: #ff006e;
    font-weight: 700;
}

.optional {
    color: var(--nav-text-dim);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: lowercase;
    margin-left: 0.25rem;
}

/* Input Fields */
form#contactForm input[type="text"],
form#contactForm input[type="email"],
form#contactForm input[type="tel"],
form#contactForm select,
form#contactForm textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--nav-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--nav-text);
    transition: all 0.3s ease;
}

form#contactForm input[type="text"]:focus,
form#contactForm input[type="email"]:focus,
form#contactForm input[type="tel"]:focus,
form#contactForm select:focus,
form#contactForm textarea:focus {
    outline: none;
    border-color: var(--nav-accent);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

/* Placeholder Styles */
form#contactForm input::placeholder,
form#contactForm textarea::placeholder {
    color: var(--nav-text-dim);
    opacity: 0.6;
}

/* Select Dropdown */
form#contactForm select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300ff88' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

form#contactForm select option {
    background: #0a0a0f;
    color: var(--nav-text);
}

/* Textarea */
form#contactForm textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

/* Character Counter */
.char-count {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: var(--nav-text-dim);
    margin-top: 0.5rem;
    font-family: var(--font-body);
}

#charCount {
    color: var(--nav-accent);
    font-weight: 600;
}

/* ===================================
   SUBMIT BUTTON
   =================================== */
.form-actions {
    margin-top: 2rem;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--nav-accent);
    border: 2px solid var(--nav-accent);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: #0a0a0f;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.4);
}

.submit-btn:active {
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ===================================
   STATUS MESSAGES
   =================================== */
#status {
    margin-top: 1.5rem;
}

#er {
    color: #ff006e;
    background: rgba(255, 0, 110, 0.1);
    border: 2px solid #ff006e;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-align: center;
    animation: shake 0.5s ease;
}

#success {
    color: var(--nav-accent);
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid var(--nav-accent);
    border-radius: 8px;
    padding: 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

/* ===================================
   CONTACT INFO SIDEBAR
   =================================== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--nav-border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-family: var(--font-brand);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--nav-text);
    margin-bottom: 0.75rem;
}

.info-card p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--nav-text-dim);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.info-card a {
    color: var(--nav-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-card a:hover {
    color: #00d4ff;
    text-decoration: underline;
}

.info-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
    font-family: var(--font-body);
}

/* Social Links in Sidebar */
.social-card .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-card .social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--nav-border);
    border-radius: 8px;
    color: var(--nav-text-dim);
    transition: all 0.3s ease;
}

.social-card .social-links a:hover {
    background: var(--nav-accent);
    color: #0a0a0f;
    border-color: var(--nav-accent);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.3);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }
}

@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 2.5rem;
    }

    .contact-subtitle {
        font-size: 1rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-header h1 {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    form#contactForm label {
        font-size: 0.85rem;
    }

    .label-icon {
        font-size: 0.9rem;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */
form#contactForm input:focus,
form#contactForm select:focus,
form#contactForm textarea:focus,
.submit-btn:focus {
    outline: 2px solid var(--nav-accent);
    outline-offset: 2px;
}