/* ============================================
   OASIS Contact Page - Styles
   ============================================ */

.contact-section {
    padding: 140px 0 80px;
    min-height: calc(100vh - 100px);
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}

.contact-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

/* Contact Info Card */
.contact-info {
    background: var(--gradient);
    border-radius: var(--radius-2xl);
    padding: 40px;
    color: white;
    position: sticky;
    top: 100px;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-info > p {
    font-size: 0.9375rem;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.6;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.5rem;
    color: white;
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 0.8125rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-text a,
.info-text span:not(.info-label) {
    font-size: 1rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.info-text a:hover {
    opacity: 0.8;
}

.contact-social {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-social > span {
    font-size: 0.875rem;
    opacity: 0.8;
    display: block;
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: var(--radius-full);
    font-size: 1.25rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

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

.contact-form-wrapper .form-group {
    margin-bottom: 20px;
}

.contact-form-wrapper label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.contact-form-wrapper input,
.contact-form-wrapper select,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    font-family: inherit;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 191, 165, 0.1);
    background: white;
}

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

.contact-form-wrapper select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%2364748B' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Form Success State */
.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    margin: 0 auto 24px;
}

.success-icon i {
    font-size: 3rem;
    color: var(--primary);
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Loading State */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading span {
    opacity: 0;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Simplified Footer */
.footer-simple {
    padding: 24px 0;
    background: var(--text-primary);
}

.footer-simple .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    padding: 0;
}

.footer-logo-small {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary-light);
    font-weight: 700;
    font-size: 1.125rem;
}

.footer-logo-small i {
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 120px 0 60px;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 32px 24px;
    }

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

    .footer-simple .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-info,
    .contact-form-wrapper {
        padding: 24px 20px;
        border-radius: var(--radius-xl);
    }

    .info-item {
        flex-direction: column;
        gap: 12px;
    }
}