/* Contact Page Styles */

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(108, 99, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 229, 255, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: var(--font-headline);
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    padding: 80px 0 var(--section-padding);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 40px;
}

.contact-form-container .section-title {
    text-align: left;
    font-size: 28px;
    margin-bottom: 32px;
}

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

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group .required {
    color: var(--accent-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
}

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

.form-group 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='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: var(--bg-primary);
    border: 2px dashed var(--border-subtle);
    border-radius: 8px;
    transition: all var(--transition-medium);
}

.file-upload-area:hover {
    border-color: var(--accent-primary);
    background: rgba(0, 229, 255, 0.05);
}

.file-upload-icon {
    width: 40px;
    height: 40px;
    stroke: var(--text-muted);
    margin-bottom: 12px;
}

.file-upload-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.file-upload-hint {
    font-size: 12px;
    color: var(--text-muted);
}

.file-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--accent-primary);
    border-radius: 8px;
    margin-top: 12px;
}

.file-preview .file-name {
    font-size: 14px;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 80%;
}

.file-remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-remove svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    transition: stroke var(--transition-fast);
}

.file-remove:hover svg {
    stroke: #ff4757;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-medium);
    border: none;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: #33ebff;
    box-shadow: var(--glow-cyan);
}

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-outline:hover {
    background: rgba(0, 229, 255, 0.1);
}

.contact-form .btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

/* Contact Success */
.contact-success {
    text-align: center;
    padding: 60px 40px;
}

.success-icon {
    width: 64px;
    height: 64px;
    stroke: #27ca40;
    margin: 0 auto 24px;
}

.contact-success h3 {
    font-family: var(--font-headline);
    font-size: 24px;
    margin-bottom: 12px;
}

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

/* Contact Info */
.contact-info-container .section-title {
    text-align: left;
    font-size: 28px;
    margin-bottom: 32px;
}

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

.contact-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: all var(--transition-medium);
}

.contact-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
    fill: none;
}

.contact-details h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details a,
.contact-details p {
    font-size: 16px;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.contact-details a:hover {
    color: var(--accent-primary);
}

/* Additional Info */
.additional-info {
    padding: 24px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 12px;
}

.additional-info h3 {
    font-family: var(--font-headline);
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--accent-primary);
}

.additional-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    padding: 80px 0;
    background: var(--bg-secondary);
    text-align: center;
}

.cta-title {
    font-family: var(--font-headline);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Contact Page Specific Responsive */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 16px;
    }

    .contact-form-container {
        padding: 24px;
    }

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

    .contact-card {
        padding: 16px;
    }

    .cta-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 140px 0 60px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    .contact-form-container .section-title,
    .contact-info-container .section-title {
        font-size: 24px;
    }
}
