/* ============================================
   VISORIA CONTACT PAGE - DESKTOP STYLES
   URL: visoria.app/contact
   All classes use contact- prefix.
   ============================================ */

/* CSS Variables */
.contact-page {
    --contact-primary-purple: #8E70FF;
    --contact-purple-light: #a78bfa;
    --contact-purple-dark: #8b5cf6;
    --contact-lavender: #F4F0FF;
    --contact-mint: #E0F7FA;
    --contact-pink: #FFF0F6;
    --contact-white: #ffffff;
    --contact-text-dark: #2d1b69;
    --contact-text-light: #6b5b95;
    --contact-shadow-purple: rgba(142, 112, 255, 0.1);
    --contact-shadow-strong: rgba(142, 112, 255, 0.2);
}

/* Reset & Base */
.contact-page {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', 'Nunito', sans-serif;
    background: linear-gradient(135deg, #fdfcfb 0%, #e2d1f9 50%, #e0f7fa 100%);
    background-attachment: fixed;
    color: var(--contact-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.contact-page * {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */
.contact-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(142, 112, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.3s ease;
}

.contact-header.contact-header-scrolled {
    background: rgba(142, 112, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    position: relative;
    z-index: 1;
}

.contact-logo {
    display: flex;
    align-items: center;
    height: 50px;
    text-decoration: none;
}

.contact-logo-image {
    height: 100%;
    width: auto;
    max-height: 50px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.contact-logo:hover .contact-logo-image {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.contact-nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.contact-nav-links a {
    position: relative;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: color 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.contact-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.contact-nav-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.contact-nav-links a:hover::after {
    width: 100%;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 120px 0 80px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
}

.contact-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--contact-text-dark);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--contact-text-light);
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-text-content {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 var(--contact-shadow-purple);
    padding: 3rem 2.5rem;
    margin-top: 2rem;
}

.contact-text-content p {
    font-size: 1.1rem;
    color: var(--contact-text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: left;
}

.contact-text-content p:last-child {
    margin-bottom: 0;
}

/* Glass card */
.contact-glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 var(--contact-shadow-purple);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 var(--contact-shadow-strong);
}

/* ============================================
   FORM
   ============================================ */
.contact-form {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--contact-text-dark);
    display: block;
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid rgba(142, 112, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--contact-text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
    color: var(--contact-text-light);
    opacity: 0.8;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    outline: none;
    border-color: var(--contact-primary-purple);
    box-shadow: 0 0 0 3px rgba(142, 112, 255, 0.2);
}

/* ============================================
   BUTTONS
   ============================================ */
.contact-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--contact-purple-light), var(--contact-purple-dark));
    color: white;
    padding: 18px 40px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 12px 26px rgba(31, 41, 55, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transform: translateY(0);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    overflow: visible;
    width: 100%;
}

.contact-cta-btn:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.02);
    box-shadow: 0 16px 32px rgba(31, 41, 55, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.contact-cta-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-form-submit {
    margin-top: 0.5rem;
}

.contact-form-message {
    margin: 0;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

.contact-form-message--success {
    background: rgba(34, 197, 94, 0.2);
    color: #166534;
}

.contact-form-message--error {
    background: rgba(239, 68, 68, 0.2);
    color: #991b1b;
}

/* ============================================
   FOOTER
   ============================================ */
.contact-footer {
    background: linear-gradient(180deg, rgba(88, 0, 122, 0.645) 0%, rgba(88, 0, 122, 0.645) 100%);
    padding: 2rem 0;
    text-align: center;
}

.contact-footer-text {
    color: white;
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.9;
}
