/* ==========================================================
   DevoEnv — Contact Page
   ========================================================== */

/* Contact Hero */
.contact-hero {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.contact-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, transparent, var(--bg-dark));
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.contact-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

.contact-hero h1 .gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero p {
    color: var(--text-secondary);
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section { padding: 4rem 0 8rem; }

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

/* Contact Form */
.contact-form-container {
    background: var(--bg-card);
    border: 1px solid rgba(0, 62, 217, 0.1);
    border-radius: 30px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-1);
}

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

.form-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-header p { color: var(--text-secondary); }

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group label span { color: var(--accent); }

.form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--bg-dark);
    border: 1px solid rgba(0, 62, 217, 0.15);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 62, 217, 0.1);
    background: #FFFFFF;
}

.form-control::placeholder { color: var(--text-secondary); }

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

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

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Error Messages */
.error-message {
    color: var(--accent);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Contact Info */
.contact-info {
    position: sticky;
    top: 100px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 62, 217, 0.1);
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.info-card:hover {
    border-color: rgba(0, 62, 217, 0.3);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-2);
    border-radius: 14px;
    font-size: 1.5rem;
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.info-card a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.info-card a:hover { color: var(--secondary); }

/* Social Links */
.social-card {
    background: var(--gradient-2);
    text-align: center;
}

.social-card h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: white;
    color: var(--bg-dark);
    transform: translateY(-3px);
}

/* Map Section */
.map-section { padding: 0 0 6rem; }

.map-container {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    overflow: hidden;
    height: 400px;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-darker) 100%);
}

.map-placeholder-icon { font-size: 4rem; margin-bottom: 1rem; }
.map-placeholder h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.map-placeholder p { color: var(--text-secondary); }

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .info-card { margin-bottom: 0; }
}

@media (max-width: 768px) {
    .contact-hero h1 { font-size: 2.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .contact-info { grid-template-columns: 1fr; }
}
