/* Contact Hero Section */
.contact-hero {
    position: relative;
    height: 300px;
    background: linear-gradient(
        135deg,
        rgba(186, 148, 219, 0.15),
        rgba(142, 113, 167, 0.15)
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 80px;
    animation: fadeInDown 1s ease;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(18, 18, 18, 0.4) 100%
    );
    z-index: 1;
}

.contact-hero h1 {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: 2px;
    animation: slideUpFade 0.8s ease 0.1s both;
}

.contact-hero p {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    color: #e0e0e0;
    animation: slideUpFade 0.8s ease 0.2s both;
}

/* Contact Container */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    animation: slideUpFade 0.8s ease;
}

.contact-form-section h2,
.contact-socials-section h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    background-color: rgba(142, 113, 167, 0.1);
    border: 2px solid var(--secondary);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(186, 148, 219, 0.15);
    box-shadow: 0 0 15px rgba(186, 148, 219, 0.2);
}

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

/* Contact Method Checkboxes */
.contact-method-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-item label {
    margin: 0;
    cursor: pointer;
    color: var(--light-text);
    font-weight: 500;
}

/* Submit Button */
.submit-btn {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: var(--background);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(186, 148, 219, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

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

/* Form Message */
.form-message {
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    animation: slideUpFade 0.3s ease;
}

.form-message.success {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.5);
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.5);
}

/* Social Cards Section */
.contact-socials-section {
    animation: slideInRight 1s ease;
}

.social-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border: 2px solid var(--secondary);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    background-color: transparent;
}

.social-card:hover {
    border-color: var(--primary);
    background-color: rgba(186, 148, 219, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(186, 148, 219, 0.2);
}

.social-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    filter: brightness(0) saturate(100%) invert(1);
}

.social-card:hover .social-icon {
    transform: scale(1.1);
    filter: brightness(0) saturate(100%) invert(1)
        drop-shadow(0 0 8px rgba(186, 148, 219, 0.6));
}

.social-name {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-content {
        gap: 40px;
    }

    .contact-form-section h2,
    .contact-socials-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 200px;
        margin-bottom: 50px;
    }

    .contact-hero h1 {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .contact-hero p {
        font-size: 0.95rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-container {
        padding: 0 20px 50px;
    }

    .social-cards {
        grid-template-columns: 1fr;
    }

    .contact-method-group {
        flex-direction: column;
        gap: 12px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 1.5rem;
    }

    .contact-form-section h2,
    .contact-socials-section h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .form-group {
        gap: 8px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 10px;
    }
}
