/* ========================================
   CONTACT PAGE STYLES
   brave new art
   ======================================== */

.contact-page {
    min-height: 100vh;
    background: #0D0D0D;
    color: #FFFFFF;
    padding-top: 100px;
    padding-bottom: 4rem;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   HEADER
   ======================================== */

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.contact-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   CONTENT LAYOUT
   ======================================== */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: start;
}

/* ========================================
   FORM STYLES
   ======================================== */

.contact-form {
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(255, 0, 0, 0.2);
    padding: 3rem;
    transition: border-color 0.3s ease;
}

.contact-form:focus-within {
    border-color: #FF0000;
}

.form-group {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

label {
    display: block;
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    text-transform: none;
}

.char-counter {
    float: right;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-transform: none;
}

.char-counter.warning {
    color: #FF0000;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 1rem;
    background: #0D0D0D;
    border: 2px solid rgba(255, 0, 0, 0.3);
    color: #FFFFFF;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #FF0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

input[type="text"].error,
input[type="email"].error,
select.error,
textarea.error {
    border-color: #FF0000;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23FF0000' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

.error-message {
    display: block;
    color: #FF0000;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.2em;
}

.error-message:empty {
    display: none;
}

/* ========================================
   SUBMIT BUTTON
   ======================================== */

.form-actions {
    margin-top: 2rem;
}

.btn-submit {
    width: 100%;
    padding: 1.25rem 2rem;
    background: #FF0000;
    border: 2px solid #FF0000;
    color: #0D0D0D;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover:not(:disabled) {
    background: #0D0D0D;
    color: #FF0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-submit .btn-text,
.btn-submit .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: flex !important;
}

/* ========================================
   FORM MESSAGES
   ======================================== */

.form-message {
    margin-top: 2rem;
    padding: 1.5rem;
    border-left: 4px solid;
    display: none;
    animation: slide-in-up 0.4s ease;
}

@keyframes slide-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message.success {
    display: block;
    background: rgba(255, 0, 0, 0.1);
    border-color: #FF0000;
    color: #FF0000;
}

.form-message.error {
    display: block;
    background: rgba(255, 0, 0, 0.1);
    border-color: #FF0000;
    color: #FF0000;
}

/* ========================================
   SIDEBAR
   ======================================== */

.contact-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 0, 0, 0.2);
    padding: 2rem;
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FF0000;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.contact-method {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-method:last-child {
    border-bottom: none;
}

.method-icon {
    color: #FF0000;
    flex-shrink: 0;
}

.contact-method h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
    text-transform: none;
    letter-spacing: 0.05em;
}

.contact-method a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.response-time p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.response-time strong {
    color: #FF0000;
}

.timezone-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.faq-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-links li {
    margin-bottom: 0.75rem;
}

.faq-links a {
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 1.5rem;
}

.faq-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #FF0000;
    transition: transform 0.3s ease;
}

.faq-links a:hover {
    color: #FF0000;
    padding-left: 2rem;
}

.faq-links a:hover::before {
    transform: translateX(5px);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-sidebar {
        position: static;
    }

    .sidebar-section {
        display: inline-block;
        width: calc(50% - 1rem);
        margin-right: 1rem;
        vertical-align: top;
    }

    .sidebar-section:nth-child(even) {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding-top: 80px;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sidebar-section {
        display: block;
        width: 100%;
        margin-right: 0;
    }

    .contact-header {
        margin-bottom: 3rem;
    }

    .contact-content {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 0 1rem;
    }

    .contact-form {
        padding: 1.5rem 1rem;
    }

    .sidebar-section {
        padding: 1.5rem;
    }
}
